Software Archive
Read-only legacy content
17061 Discussions

How to Open Native Settings App in Android?

Troy_B_1
Beginner
285 Views

Hello,

I am trying to detect data connection using the Connection plugin and when no connection is detected I would like to open the native Android Settings App so that the user can either turn on data or wifi. Does anybody here know how to do this?

I am using XDK 2170 and Cordova/JQuery Mobile framework.

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
285 Views

You're going to have to find a Cordova or Phonegap plugin that will do that. Any attempt to do something "native" requires a plugin. Sometimes one has been written, sometimes you have to write it yourself. See the intro sections of the following docs for more info:

0 Kudos
Reply