[android-developers] SSL handshake logging in Android

2010-05-01 Thread sandy8531
I am having trouble with my HttpsURLConnection client. I can make one request to the server using my keystore, however the second (and subsequent) requests in the same JVM fail. ( I initialize a SSLSocketFactory using my keystore and set it on my HttpsURLConnection). I would like to debug this

[android-developers] System not terminating my process

2010-01-25 Thread sandy8531
When I navigate away from my application - I don't have an activities open - and my background service has been shut down (validated that service's onDestroy method was called). However my process seems to hand around and the system never seems to get around to killing my process. Is there any

[android-developers] How to share preferences between apps ?

2009-10-26 Thread sandy8531
I have a need to share preferences between two apps, where one app writes the preferences and the other needs read only access. I notice that there is this API available in Context : public abstract SharedPreferences getSharedPreferences (String name, int mode). Where I can set the mode to :

[android-developers] Re: How to share preferences between apps ?

2009-10-26 Thread sandy8531
Yes thats definitely an overkill for us - and a option of last resort :) I assume since the API exists there has to be a way to use it. On Oct 26, 1:45 pm, Jason Proctor jason.android.li...@gmail.com wrote: consider implementing cross-app preferences using a custom content provider perchance?

[android-developers] Two applications sharing android:sharedUserID

2009-09-01 Thread sandy8531
I have two applications in the field that share the same sharedUserid. What I just found out was that there is a bug in Android, where un- installing one application removes permissions from the other application also - thereby rendering the other application useless. Looks like this bug has

[android-developers] Re: Two applications sharing android:sharedUserID

2009-09-01 Thread sandy8531
that this -doesn't- requiring uninstalling, just performing an install on top of the existing app). On Tue, Sep 1, 2009 at 2:21 PM, sandy8531 mathur...@gmail.com wrote: I have two applications in the field that share the same sharedUserid. What I just found out was that there is a bug in Android

[android-developers] LocationManager NullPointerException

2009-07-29 Thread sandy8531
One of my customers is getting this ... is this a known problem ? Anything my code could have done to cause this ? java.lang.NullPointerException android.location.LocationManager.getProviders(LocationManager.java: 303) android.location.LocationManager.getBestProvider

[android-developers] Re: Getting PCM data from the builtin audio decoders

2009-07-16 Thread sandy8531
I have a similar need for my application. http://groups.google.com/group/android-framework/browse_thread/thread/dcd1cd51d3c4d036 Any suggestions ? -thanks. Sandeep On Jul 7, 3:26 am, dworz dw...@amazing.ch wrote: Hi I also need access to the decompressed audio-samples. I saw SoundPool

[android-developers] SQLiteFullException - is there a limit on db size ?

2009-05-01 Thread sandy8531
Some of my customers are getting SQLiteFullException The docs say that this means the SQLite database is full http://developer.android.com/reference/android/database/sqlite/SQLiteFullException.html An exception that indicates that the SQLite database is full. The exception text also opens the

[android-developers] Two applications in one Manifest file ?

2009-03-12 Thread sandy8531
Is it possible to have two application tags (application) in the same AndroidManifest.xml file ? If yes - is there anything special that needs to be done, I am trying it, the syntax is accepted by the XML parser but when I install my second application is not available.

[android-developers] Why do I sometimes get a null return, from ContentResolver query?

2009-03-07 Thread sandy8531
My external sdcard is connected, mounted and functional. I have over 1000 songs on the sdcard, however occasionally this query returns a null Cursor to me. Can someone shed some light as to why this happens ? Can I get this is the underlying table is locked by another thread ? Should I take a

[android-developers] Re: run app after installation using PACKAGE_ADDED or other mechanism?

2009-02-23 Thread sandy8531
Google team, is there a way for a application to get started or auto start itself when it is installed for the first time ? Reading through the forum it appears that the application being installed used to get the PACKAGE_ADDED broadcast in an earlier release, but I cannot get it to work in the

[android-developers] android:allowClearUserData and android:manageSpaceActivity

2008-12-16 Thread sandy8531
I notice that some system applications like Media Storage, allow me to clear their database through the Settings-Applications-Manage Applications. How can I enable resetting my applications DB using this method ? Do I need to implement some interface or intent ? I tried setting

[android-developers] Re: android:allowClearUserData and android:manageSpaceActivity

2008-12-16 Thread sandy8531
. That is all. On Tue, Dec 16, 2008 at 2:58 PM, sandy8531 mathur...@gmail.com wrote: I notice that some system applications like Media Storage, allow me to clear their database through the Settings-Applications-Manage Applications. How can I enable resetting my applications DB using this method

[android-developers] Re: JavaBinder: !!! FAILED BINDER TRANSACTION !!!

2008-12-09 Thread sandy8531
Binder IPC system reported an error when trying to submit an operation to it. On Mon, Dec 8, 2008 at 7:55 PM, sandy8531 [EMAIL PROTECTED] wrote: I get this message on the G1 device. Can anyone shed some light on what scenarios could cause this message, I suspect that it is coming from Platform

[android-developers] Service processing restrictions on main thread

2008-11-21 Thread sandy8531
I have a service which I start off in a separate process from the application using process:myname tag. Do I need to be careful to take longish running method calls out of the main thread, even when the service is in its own process ? I do some initialization during onCreate/onStart that could

[android-developers] HeapWorker wait kills my Service.

2008-11-20 Thread sandy8531
? -thanks, sandy8531. 11-20 10:41:11.496 E/dalvikvm( 1585): HeapWorker is wedged: 11561ms spent inside Landroid/database/sqlite/SQLiteStatement;.finalize()V 11-20 10:41:11.496 I/dalvikvm( 1585): DALVIK THREADS: 11-20 10:41:11.666 I/dalvikvm( 1585): 11-20 10:41:11.666 I/dalvikvm( 1585): HeapWorker