[android-developers] Re: Keystore

2011-04-26 Thread Sahil Verma
Seconding the usage of password managers. I put my keystore passphrase in a password file using KeePass. My blog post about password management might be of some use to you: http://vermasque.blogspot.com/2011/04/simple-effective-password-management.html -- You received this message because

[android-developers] Re: Problem installing android sdk in ubuntu 10.10

2011-04-26 Thread Sahil Verma
To make sure it's not a problem with SDK manager, try going to that URL with your web browser. You should see a valid XML file when you go to that link. -- 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] Re: Database shared by Activity and Service. What's the best approach?

2011-04-17 Thread Sahil Verma
Instead of repeatedly hitting the database to see if something is available, you could find some way for the service to send the new datum to the application when it is received from the external device. I think this could be achieved with an explicit intent. This allows the application to

[android-developers] Re: onSaveInstanceState(Bundle) onRestoreInstanceState(Bundle)

2011-04-15 Thread Sahil Verma
I've had this same problem too and actually posted to the mailing list a few weeks ago but got not responses: https://groups.google.com/d/topic/android-developers/6GfbdsJIj9k/discussion I was testing it on hardware by simply rotating the phone, changing the orientation and recreating the

[android-developers] Re: onSaveInstanceState(Bundle) onRestoreInstanceState(Bundle)

2011-04-15 Thread Sahil Verma
For sample code of what I was doing, you could take a look here: https://github.com/vermasque/song-alarm/blob/master/src/org/vermasque/songalarm/SongAlarmActivity.java -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Creator problem using location.

2011-04-07 Thread Sahil Verma
The documentation for createFromParcel suggests that the location object should have been written to the parcel with writeToParcel. Have you tried this method on the location object instead of writeParcelable on the parcel object? -- You received this message because you are subscribed to

[android-developers] Re: adb devices returns an empty list

2011-04-04 Thread Sahil Verma
In order to see the connected device in Linux, I have to start adb server as root. You might have to kill an existing adb instance if it is already running (pkill adb). sudo adb start-server adb devices On Apr 4, 1:08 am, argongold argongol...@gmail.com wrote: Hi, I've a mini MID device and

[android-developers] Instance state randomly not being restored on orientation changes

2011-04-04 Thread Sahil Verma
I have an app that handles onSaveInstanceState and onRestoreInstanceState appropriately in Android 2.2. When I change the orientation of the device, my UI shows the same state as shown during the previous device orientation as expected. However, if I flip the orientation enough times in random