[mono-android] ActivityGroup deprecated?

2012-02-02 Thread emalamisura
Hey guys, So I am using Tabs with multiple ActivityGroups with great success, and then by accident I found this on StackOverflow saying ActivityGroup is deprecated? http://stackoverflow.com/questions/6634233/problem-in-opening-sub-activity-of-activitygroup So now I am wondering, how do we go abou

Re: [mono-android] SPAM-LOW: Re: Can't get SQLite Working, keep getting exception?

2012-02-02 Thread emalamisura
Just to close up this question, this occurs if you have multiple projects and do not reference EVERY single project in your main Mono project. For example, in a typical .NET project you would try to keep your main project references down to minimum to reduce dependencies, but this doesn't work wit

[mono-android] Occasional Receive Failure?

2012-03-08 Thread emalamisura
I occasionally will get a Receive Failure exception of type InvalidOperation on the emulator with the following snippet of code: using (StreamReader sr = new StreamReader(response.GetResponseStream())) { var token = sr.ReadToEnd();

[mono-android] GetResponseStream().ReadToEnd Fatal Exception

2012-04-09 Thread emalamisura
So I posted about this earlier where ReadToEnd will throw an exception randomly and rather rare, but it is indeed happening. It happened last night, and nothing is logged to LogCat, absolutely nothing. As you can see in the code below I have this wrapped in a Try/Catch but it doesn't matter, the

Re: [mono-android] GetResponseStream().ReadToEnd Fatal Exception

2012-04-10 Thread emalamisura
Hi Jon, I haven't had the opportunity to compile to the latest Alpha just yet, but I am planning on doing that this weekend once I tie up some loose ends. Once I am on Alpha I will keep an eye out for this, I did some tidying up of the code above with wrapping the streams in using blocks, removin

Re: [mono-android] Build/Clean issue since 4.2 when making just code changes

2012-05-30 Thread emalamisura
I've noticed something kind of close where Intellisense doesn't seem to be working correctly. Visual Studio actually thinks that parts of the application are missing, it builds just fine but it will show you tons of errors. When you debug it will say "Class Uknown" when in fact it does exist, the

Re: [mono-android] 4.2.1 issues

2012-05-30 Thread emalamisura
Same reference/Intellisense issues, it also affects the debugger and won't let you analyze anything since it hints it doesn't exist. I submitted this bug as a private bug since I took a screenshot of my source code, this is probably the biggest show stopper ive encountered thus far in all Mono Andr

[mono-android] Analyzing Heap/Memory Allocations?

2011-08-12 Thread emalamisura
Is there a way to analyze the heap and memory allocations much like how Eclipse will let you for Android? I need to know because I have ran into a situation where I had to take manual control of Orientation changes, and Google has stated this can cause serious memory leaks if you are not cleaning u

[mono-android] Starting Intent

2011-08-12 Thread emalamisura
I would like to have my starting intent no load an activity if this is possible, I need it to check some values and then decide which activity to load. I currently am doing this by loading a main activity and the very first thing I do is check, and then switch activities. This is obviously not id

[mono-android] Can't get SQLite Working, keep getting exception?

2011-08-15 Thread emalamisura
hmm can't seem to get SQLite working in Mono Android, I keep getting NoClassDefFoundError. I searched and found this bug report https://bugzilla.novell.com/show_bug.cgi?id=635995#c1 which may or may not be related. I saw references to add a Mono.Data.SQLite reference, but for the life of me I cou

Re: [mono-android] Starting Intent

2011-08-16 Thread emalamisura
Wow, that's embarrassing, yes I meant activity obviously but for some reason I kept saying Intent. In any case, I think I found a solution. It doesn't seem very clean to me but from my research its as good as it gets on Android. In my Launcher activity on the onCreate the very first thing I do i

Re: [mono-android] Can't get SQLite Working, keep getting exception?

2011-08-16 Thread emalamisura
I assure you it is definitely throwing this exception, the LogCat output doesn't really include anything else of relevance that I noticed. I will take another look and see just to make sure, I removed the code so I will have to add it all back. I added a reference to that assembly you are menti

[mono-android] F/MonoDroid(19561): ERROR: Unable to detach current thread from the Java VM!

2011-09-09 Thread emalamisura
I consistently get this error: F/MonoDroid(19561): ERROR: Unable to detach current thread from the Java VM! It happens whenever I do an async operation, the Application doesn't die and appears to be stable afterwards, no odd behavior but this error just occurs over and over in LogCat as each async

[mono-android] View.IOnTouchListener Not Working in 1.9.2

2011-11-02 Thread emalamisura
Hey guys, I upgraded to 1.9.2, I create several TouchListeners in OnCreate and those TouchListeners expose a public EventHandler that I then attach to below the TouchListener creation but before the SetOnTouchListener call. Works great, but when I upgraded to 1.9.2, the touch listeners are comple

Re: [mono-android] View.IOnTouchListener Not Working in 1.9.2

2011-11-03 Thread emalamisura
http://bugzilla.xamarin.com/show_bug.cgi?id=1854 -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/View-IOnTouchListener-Not-Working-in-1-9-2-tp4960055p4961069.html Sent from the Mono for Android mailing list archive at Nabble.com.

[mono-android] Threading with Rotation

2011-11-16 Thread emalamisura
A common issue with maintaining state is handling Rotation with multiple threads in Android. For instance if you start a thread, and then rotate the phone before the thread is done with its work Android destroys the previous Activity and generates a new one. Any references you had to your previou

Re: [mono-android] 2.0 beta 4

2011-11-17 Thread emalamisura
In MonoDevelop go to settings -> Updates -> Install unstable Developer Updates -> Alpha Updates -> Click Check for updates now By the way this also installs the updates for Visual Studio I'm glad they communicated this so well... /sarcasm -- View this message in context: http://mono-for-android

Re: [mono-android] 2.0 beta 4

2011-11-18 Thread emalamisura
Yeah I just double checked this and it actually downloaded Beta 3 for me, not Beta 4. My bad guys, I downloaded it in haste out of sheer excitement. But needless to say this has been frustrating since I wasted a couple more hours thinking I was using Beta 4. G... My lesson is to pay more att

Re: [mono-android] Too Expensive for Me

2011-12-03 Thread emalamisura
If you seriously think 400 bucks is expensive you might want to find a new line of work? Because Database software for 25k is actually considered cheap in this industry, look at how much Oracle charges for its software for example. After all is said and done you are looking at 100s of thousands o