[android-developers] Re: Issue with Threads and onCreate()

2009-03-11 Thread mobilekid
Thanks Stoyan, Is it a case of declaring the activity with android:configChanges in the AndroidManifest.xml, and then implementing what to reload in the onConfigurationChanged(Configuration) of that particular activity? On Mar 11, 11:23 am, Stoyan Damov stoyan.da...@gmail.com wrote: It's not

[android-developers] Re: Issue with Threads and onCreate()

2009-03-11 Thread mobilekid
For some reason that seems not to work in my case. I've declared the activity as android:configChanges=orientation in the AndroidManifest.xml, which I assume will call onConfigurationChanged (Configuration). So for testing purposes I've simply implemented it as follows: @Override public void

[android-developers] Re: Issue with Threads and onCreate()

2009-03-11 Thread mobilekid
Sweet! Thank you! On Mar 11, 12:37 pm, Stoyan Damov stoyan.da...@gmail.com wrote: keyboardHidden|orientation --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Problems with NotificationManager

2009-03-18 Thread mobilekid
I can't believe I've made this mistake, Cheers. On Mar 18, 4:58 pm, Marco Nelissen marc...@android.com wrote: Just use a different Intent for each of your notifications. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Implementing chat.......................

2009-03-20 Thread mobilekid
Follow this thread: http://groups.google.com/group/android-developers/browse_thread/thread/4778a4e2ed9d49e1 On Mar 20, 10:58 am, Pratap pratap.sola...@gmail.com wrote: We are workin on a project, in which we need to provide the facility of chatting betwn users, for that i  need to poll the

[android-developers] Re: How to achieve iPhone like transition effect between screens?

2009-03-20 Thread mobilekid
You can work out your own solution with animations and playing with the visibility mode of the layout wrappers holding your views in the activities. But that proves to be quite expensive solution. I think with the current API this effect is natively supported with ListActivities, there are many

[android-developers] Re: Problem with Camera and layout orientation

2009-04-11 Thread mobilekid
Huh still haven't found a soultiuon... and I doub't I'm the only person who has faced this issue... On Apr 9, 12:05 pm, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Hi, I've been trying to solve this for awhile now, and still couldn't find a solution to it. To properly display

[android-developers] Re: Problem with Camera and layout orientation

2009-04-11 Thread mobilekid
Yes, saddly that's the reality at the moment. I can't afford declaring my camera activity in 'landscape' from the manifest as I need to display other views in the same activity in portait. I guess the only hack here is to extend the views and rotate them -90 degrees... but I don't think I will

[android-developers] Re: Problem with Camera and layout orientation

2009-04-11 Thread mobilekid
Yes, saddly that's the reality at the moment. Yet I can't afford declaring my camera activity in 'landscape' from the manifest as I need to display other views in the same activity in portait. I guess the only hack here is to extend the views and rotate them -90 degrees... but I don't think I

[android-developers] Re: Early Look Android 1.5 SDK

2009-04-14 Thread mobilekid
Just found some of the feauters I've been looking for! Many thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread mobilekid
Just to add to my message, endDocument() doesn't get called... Does that mean that the document is too big too parse?! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread mobilekid
It isn't big at all, it's got about 25 elements, it's not not a very deep tree either. I've parsed way longer XML feeds in the past with the same implementation of SAX. I asked the server guy to remove the element where it got stuck, and then it managed to parse one more element down the tree,

[android-developers] Re: Parsing XML feed with SAX

2009-04-23 Thread mobilekid
What happens when you add a println statement before the last line? Is this reached? Is startDocument() called and how do you know that endDocument() is not called? In the quoted code you're not doing anything. Yes, startDocument() gets called, endDocument() doesn't, I know that as I've

[android-developers] Re: Problem with MapActivity on the 1.5 release

2009-05-27 Thread mobilekid
Yes, I did. Still getting the same error: 05-27 10:55:21.282: ERROR/AndroidRuntime(743): Uncaught handler: thread main exiting due to uncaught exception 05-27 10:55:21.342: ERROR/AndroidRuntime(743): java.lang.NoClassDefFoundError: main.ViewContactActivity 05-27 10:55:21.342:

[android-developers] Re: Problem with MapActivity on the 1.5 release

2009-05-28 Thread mobilekid
-permission android:name=android.permission.INTERNET/ uses-permission         uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/uses- permission in menifest file , as a child of menifest tag. On May 27, 3:57 pm, mobilekid mobilek...@googlemail.com wrote: Yes, I did. Still

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread mobilekid
I would do the same. Get the android ID like this: String android_id = android.provider.Settings.System.getString (this.getContentResolver(), android.provider.Settings.System.ANDROID_ID); Then send it to your back-end and query the number of times you've made the same call or the date you

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread mobilekid
Wireshark did the trick! Thanks. On Jun 3, 6:44 pm, mathiastck mathias...@gmail.com wrote: I run the emulator on my desktop, and use Wireshark filtered for http requests. http://en.wikipedia.org/wiki/Wireshark --~--~-~--~~~---~--~~ You received this message