0 like 0 dislike
80 views
in TPS530 by Q&A Expert (11.0k points)

Please log in or register to answer this question.

1 Answer

0 like 0 dislike
by Q&A Expert (11.0k points)
Open USB mode:

Intent closeusbmodeintent = new Intent("android.intent.action.ADB_MODE");

            sendBroadcast(closeusbmodeintent);

Close USB mode: Intent closeusbmodeintent = new Intent("android.intent.action.OTG_MODE");

            sendBroadcast(closeusbmodeintent);

Related questions

0 like 0 dislike
1 answer 55 views
Welcome to Telpo Q&A,

If you have a technical question ,please ask here, in English.
.
If you have faulty devices need be repaired,please create a issue ticket.

Please inquiry your ticket.

Notice :If you have an urgent question or cannot register account of Q&A, you can contact the online support in below jivochat .

Categories

...