It's been tested on API level6, devices GalaxyA(SHW-M100S),
Motorio(XT720).

I'll try it on emulator again and post.

On Dec 4, 9:53 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> What are you testing this on? If it's an emulator, what SDK level is
> it? If it is a device, what model is it?
>
>
>
>
>
>
>
>
>
> On Sat, Dec 4, 2010 at 5:03 AM, gg9h0st <g9h...@gmail.com> wrote:
> > hello~
>
> > I'm working on a fake gps app and want to show "Settings ->
> > Application -> Development" activity when "Allow mock locations"
> > setting is inactive.
> > below is the code work pretty good.
>
> > Intent intent = new Intent();
> > intent.setAction(Settings.ACTION_APPLICATION_SETTINGS);
> > startActivity(intent);
>
> > The problem is I want "Development" activity not "Application"
> > activity. so I replace the
> > ACTION_APPLICATION_SETTINGS to
> > ACTION_APPLICATION_DEVELOPMENT_SETTINGS, like here.
> > Then it crashes.
>
> > Intent intent = new Intent();
> > intent.setAction(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS);
> > startActivity(intent);
>
> > 12-04 18:53:20.052: ERROR/AndroidRuntime(12511): Caused by:
> > android.content.ActivityNotFoundException: No Activity found to handle
> > Intent { act=android.settings.APPLICATION_DEVELOPMENT_SETTINGS }
>
> > anyone have a idea?
> > thanks :)
>
> > --
> > 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@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 3.0.1 Available!

-- 
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to