[android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the app on SD card. I want to disable AUTOSTART option in settings screen in my own code if it may be detected whether the app is installed on SD card. Is it possible? If answer yes, how

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Marcin Orlowski
On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the app on SD card. I want to disable AUTOSTART option in settings screen  in my own code if it may be detected whether

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
Thanks Marcin Orlowski. Your answer is very useful for me. 2011/2/16 Marcin Orlowski webnet.andr...@gmail.com On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Kevin R. Octavian
how to make an app can be autostartup? On 2/16/11, San Zhang dahua007...@gmail.com wrote: Thanks Marcin Orlowski. Your answer is very useful for me. 2011/2/16 Marcin Orlowski webnet.andr...@gmail.com On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
http://stackoverflow.com/questions/1056570/how-to-autostart-an-android-application 2011/2/16 Kevin R. Octavian kevin.r.octav...@gmail.com how to make an app can be autostartup? On 2/16/11, San Zhang dahua007...@gmail.com wrote: Thanks Marcin Orlowski. Your answer is very useful for me.

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Marcin Orlowski
On 16 February 2011 14:13, Kevin R. Octavian kevin.r.octav...@gmail.com wrote: how to make an app can be autostartup? Do not pollute existing threads with new questions. Start new thread. As for your question set up broadcast listener on that:

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread San Zhang
Aslo you have to add a permission in AndroidManifest.xml as bellow: uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED/ 2011/2/16 San Zhang dahua007...@gmail.com http://stackoverflow.com/questions/1056570/how-to-autostart-an-android-application 2011/2/16 Kevin R.