[android-developers] Re: Could I exec some codes after my app is installed

2011-01-20 Thread Jens
Yes. Which is bad. Adding a BroadcastReceiver to your app for something that is spammed often enough start your app without user interaction .. eventually. For that extra abusive touch i recommend listening for ACTION_USER_PRESENT - whenever the user wakes up his device goes past the key guard

[android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread mort
On 18 Jan., 11:03, Marcin Orlowski webnet.andr...@gmail.com wrote: When my app is downloaded from Market and installed, could some code be executed? No. Which is good. I wouldn't say that in such a generalized way. I'd be annoyed if an Activity would be invoked, but I can imagine there could

Re: [android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread Dianne Hackborn
If you put your data in the new official place for private app data on the SD card starting with 2.2, it will be removed for you when it is uninstalled. On Wed, Jan 19, 2011 at 12:47 AM, mort m...@sto-helit.de wrote: On 18 Jan., 11:03, Marcin Orlowski webnet.andr...@gmail.com wrote: When my

Re: [android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread appel
Maybe you could put some automatic redirect in Android so that apps that write to the wrong location are redirected to the correct location? Most devs do not seem to care and just create files and directories in the root directory on the sdcard. -- You received this message because you are

Re: [android-developers] Re: Could I exec some codes after my app is installed

2011-01-19 Thread Marcin Orlowski
On 19 January 2011 09:47, mort m...@sto-helit.de wrote: I wouldn't say that in such a generalized way. Technical knowledge of phone users is much lower than desktops' so there'd' be much higher risk of them being 'pwnd' due to existence that mechanism. If you got no experience on i.e. hacking

[android-developers] Re: Could I exec some codes after my app is installed

2011-01-18 Thread xeagle
If my app is replaced by a new version one, my app can receive intent PACKAGE_REPLACED. However, when my app is installed first time, my app cannot receive intent PACKAGE_INSTALL or PACKAGE_ADDED. Why? So I think that I can only do something when my app is updated to a new version, not when my