[android-developers] Unexpected SecurityException

2013-09-29 Thread elio francesconi
Hi all, I wrote an application it controls dynamically the AIRPLANE_MODE, this is the piece of code: * // toggle airplane mode android.provider.Settings.System.putInt( mContext.getContentResolver(), android.provider.Settings.System.AIRPLANE_MODE_ON, on ? 1 : 0); // Post an

[android-developers] Is there a way to detect programmatically GPU?

2012-07-02 Thread elio francesconi
Hi all, I'm struggling to find a way to detect GPU before start using opengl and having a crash. is it possible to detect it programmatically? Thanks Elio -- 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] When the android id can change

2012-06-28 Thread elio francesconi
Hi all, I'm trying to figure out all cases when an android id can change. AFAIK the android id can change if: - the device is rooted, manually - changing OS (Cyanogenmod) Could it change upgrading the device in an official way? Thanks in advance Elio -- You received this message

[android-developers] Ho clean-up filesystem when remove an application

2012-06-18 Thread elio francesconi
Hi all, I'm wondering how cleaning up configuration and data stored into the filesystem, when a user removes an application. The scenario I'ld like to manage is: * user install the application * the application stores into filesystem (sdcard) data and config files * the user uninstall the