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. Audio Source for Speech Recognition

When the RecognizerIntent is used with ACTION_RECOGNIZE_SPEECH, or
ACTION_WEB_SEARCH for that matter, at what point does the invoked SR
Activity capture the voice?  To clarify, is the voice data right from
the MIC (raw) or post-processed (VOICE_UPLINK)?

I ask because with the new Nexus One makes use of a noise suppression
chip (Audience A0126) and I'd like to know if the SR engine is getting
pre or post-processed voice.

Thanks!


Scott

2. Spinner Questions

Hello, I am trying to add two spinners on a page with a submit button
for an episode guide like program. I am trying to make it so the first
spinner "seasons" controls the second spinner "episodes" (As there if
different # of episodes each season) So far I have the two spinners
using the following code:

public class Season extends Activity implements OnClickListener {
        public void onClick(View v) {
                switch (v.getId()) {
                }
        }

        @Override
        public void onCreate(Bundle savedInstanceState) {
                    super.onCreate(savedInstanceState);
                        setContentView(R.layout.arrays);

                        Spinner s = (Spinner) findViewById(R.id.spinner);
                    ArrayAdapter adapter = ArrayAdapter.createFromResource(
                    this, R.array.seasons, 
android.R.layout.simple_spinner_item);
                    adapter.setDropDownViewResource
(android.R.layout.simple_spinner_dropdown_item);
                    s.setAdapter(adapter);

                    Spinner s1 = (Spinner) findViewById(R.id.Spinner01);
                    ArrayAdapter adapter2 = ArrayAdapter.createFromResource(
                    this, R.array.episodes, 
android.R.layout.simple_spinner_item);
                    adapter2.setDropDownViewResource
(android.R.layout.simple_spinner_dropdown_item);
                    s1.setAdapter(adapter2);

        }

I was wondering how you would do that, and also how when you submit it
takes the season and episode and opens the right class.

Thanks

--~--~---------~--~----~------------~-------~--~----~

3. ADB working with HTC Droid Eris?

4. Creating Comunal ShoutCasts Lib

5. To read XML file using xslt

6. How do I get full-sized image back from Camera using MediaStore.IMAGE_CAPTURE ?

7. abort outgoing call