Diabling WiFI or 3G for a given application

by MichelleC » Fri, 07 Jan 2011 02:32:30 GMT

Sponsored Links
 I have a requirement to disable WiFI (or 3G) for a given application
and can install my own system.img on a rooted phone.
For example I wanted to always go 3G for Google Maps.

I was looking at the source code for ConnectivityManager.java. Would
this be where I would change the code. Also is it
possible to obtain the application Id from a method in the
ConnectivityManager class.

Thanks for any insight.



Other Threads

1. @ Android-Dev-Team: Request for AsyncTask.getThread() method

Hi dear Android-Dev-Team!

As I'm working with AsyncTasks for a few days now and enjoyed how easy
you can make use of them, I missed something:

Would it be possible to give us access to the Background-Thread being
created by AsyncTask objects so we can join it, let it sleep etc.?


2. Ok button on AlertDialog should work as back button


In My code I am displaying a AlertDialog based on some condition.
if(refIdList.size() < Integer.parseInt(currentassetlimit))
String msg = ConstantsUtil.exceedAlertMessage;
                                                                msg = 
msg.replace(":limit", String.valueOf

Once this alert is displayed there should be a Ok button for this
dailaog and when user pressed this button user should go to previous
view. ( Same as pressing the back button in android )

I tried to call finish();   but its ending my activity this is not
what i want I just want to go to previous page (view).

Somebody pls help me.

Thanks in advance.

3. Need an help in Andoid.mak file

4. Which component build generates libEGL.so and libGLESv2.so

5. gears porting for X86 in Android

6. Error reading jdwp list: EO

7. using Pmem in skia image decoding