Possible Duplicate:
  ICS Android enable gps programmatically? [closed using an alternative approach]  




I was using the code below to enable and disable GPS programmatically and worked perfectly in 2.2 and 2.3.

Intent i = new Intent();
i.setClassName("com.android.settings", "com.android.settings.widget.SettingsAppWidgetProvider"); 
i.addCategory(Intent.CATEGORY_ALTERNATIVE);
i.setData(Uri.parse("3"));     
context.sendBroadcast(i);


However, when trying to use the ICS (4.0) realized it did not work. Then I discovered that it was a bug as link below.
http://code.google.com/p/android/issues/detail?id=7890

I believe we have fixed in ICS.

Could anyone tell me if there is an alternative to solve this in ICS?

I think an OS ridiculous "open source" have so many restrictions. I'm already starting to regret having opted to develop our applications on Android.


Question: Proper word for "understood"
Answer: Why not just


  "I understand."


It conveys personal contact, empathy, understanding, care.
Whereas...


  "You're being understood"


just emphasises the distance between you &amp; the victim …err… subject.