How to disable USB tethering in android

by satish kuma s,n. » Fri, 20 May 2011 09:30:38 GMT


Sponsored Links
 Hi all,

Can you please tell me how we can disable the USB tethering in
android.

Regards
Satish

-- 



Re: How to disable USB tethering in android

by Mark Murphy » Fri, 20 May 2011 18:07:27 GMT


 


This is not possible from an SDK application, sorry.

If your interest is in creating custom firmware that has USB tethering
disabled, please visit  http://source.android.com  and use the support
resources found there.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android App Developer Books:  http://commonsware.com/books 

-- 


Sponsored Links


Other Threads

1. Focus a key in on-screen keyboard

I wanna ask that how can i make a key in the virtual keyboard's user
interface focused(orange lighted maybe)? Which attribute or function
may i use for it while developing an on-screen keyboard? Waiting for
your help.

-- 

2. Query Content Provider from non-Activity class?

I have set up the model part of my application similar to the
MicroJobsDatabase file in the MicroJobs sample application.  As I like
how slick the structure is, I wanted to have all of my data in this
file, including data queried from content providers.

The way the MicroJobsDatabase class works is that it has several
cursor factories that are returned to an Activity that needs the
data.  This works great because the MicroJobsDatabase class extends
the SQLiteOpenHelper class.

What I would like to do is create content provider cursors in this
class in a similar fashion.  The caveat seems to be that content
resolvers and managed queries need to be called from an Activity
subclass.  So what is the common wisdom here?  Query the content
provider data in a separate Activity subclass and call it as a
startActivtyForResult and deal with it that way?  Or is there a way to
query a content provider from a class that does not extend Activity?

An example usage would be if I wanted to query the Contacts content
provider to give my app an arraylist of current contacts and then let
the user store "user groups" of those contacts in the SQLite
database.  In which case, the calling Activity would just request the
Contacts cursor created in the model class and then use it as the list
adapter.

All of this works fine if I call the content providers from an
Activity, but I would really lie to do that from my model class and
create a cursor factory for each content provider I query.

Any help would be greatly appreciated because I am kinda stumped here.

-- 

3. button click

4. Storing data on the SD card in Froyo - files deleted when upgrading

5. Persisting preference data from onDialogClose in DialogPreference doesn't work

6. images in android

7. Streaming audio from windows c++ music studio application to android java application