[android-developers] Re: SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread cnordvik
Use Intent.FLAG_ACTIVITY_CLEAR_TOP. Yes, I guess you mean for the main menu right? I can add that one, but if the user makes the Contact gestures 5 times, then I end up with 5 views with 5 adapters with the same data? Let's say the user makes the following gestures: - View Contacts - Browser

[android-developers] Re: SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread cnordvik
Use for every activity you launch when you don't want it to stack up. http://developer.android.com/reference/android/content/Intent.html#FL... Sorry for not reading the documentation properly. Thanks! -Christer --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Webview with progress and url overriding

2009-10-09 Thread cnordvik
What makes you say that? Is your WebChromeClient object being ignored? Uh, well it seems like the website that I tested did a redirect so the progress bar got a bit confused. It was working great actually. Just thought the API was a bit strange with both a WebViewClient and a WebChromeClient so

[android-developers] Re: MyTouch Lag Problems

2009-08-27 Thread cnordvik
I noticed my phone was lagging all the time and googled for Android slow and this tip made my phone twice as fast: http://code.google.com/p/android/issues/detail?id=3453 I turned off the location functionality and haven't seen any lag since :-) -Christer

[android-developers] Re: How to manage service lifecycle when device kills it due to low memory

2009-08-26 Thread cnordvik
Thanks for a very detailed and informative response! It's a polling alert for football/soccer matches (FotMob actually), so maybe it is important after all :-) As a user I want to know what is running in the background and polling frequently but I have noted that Scoreboard and other apps

[android-developers] Re: Transparency on Views behaving differently in 1.5

2009-04-27 Thread cnordvik
This is a workaround for the 1.5 emulator if anyone is interested: ... android:background=@color/my_transparent_background ... ... color name=my_transparent_background#/color ... -Christer --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Transparency on Views behaving differently in 1.5

2009-04-26 Thread cnordvik
Does this change happen with the current binary of your app, or after you recompile it against 1.5? This happens only when I recompile it against 1.5 and run it in the emulator. Haven't tested the 1.1 binaries in the 1.5 emulator. If I switch target to 1.1 and run it on my phone then it works

[android-developers] Re: Capturing exceptions on user's phones?

2009-03-17 Thread cnordvik
1) When an exception occurs, the application will just drop back to the home screen and the user won't actually know that an exception has occured. Any luck on sorting this out? A dialog that informs the user of the error and a report this problem button that opens the email app would be