Connecting USB Devices to Android Emulator











up vote
0
down vote

favorite












From what I know, android emulator cannot listen to USB or any other devices of Hosting machine, and thus I have a question: Is there any way to emulate USB connections (or any other device connection like headphones or microphone) on an Emulator? Maybe through adb or emulator command tools? Or maybe there is a way to have the emulator see devices connected to the host (PC, Windows OS)?



My application has an option menu where all connected audio devices are listed, and the user can choose from this list. However, for Android TV I'm using an emulator and I can't connect new devices to test it out.










share|improve this question
























  • I don't think it is possible
    – Vladyslav Matviienko
    Nov 8 at 10:42










  • look into using virtualbox with android, it might work
    – takecare
    Nov 8 at 11:13















up vote
0
down vote

favorite












From what I know, android emulator cannot listen to USB or any other devices of Hosting machine, and thus I have a question: Is there any way to emulate USB connections (or any other device connection like headphones or microphone) on an Emulator? Maybe through adb or emulator command tools? Or maybe there is a way to have the emulator see devices connected to the host (PC, Windows OS)?



My application has an option menu where all connected audio devices are listed, and the user can choose from this list. However, for Android TV I'm using an emulator and I can't connect new devices to test it out.










share|improve this question
























  • I don't think it is possible
    – Vladyslav Matviienko
    Nov 8 at 10:42










  • look into using virtualbox with android, it might work
    – takecare
    Nov 8 at 11:13













up vote
0
down vote

favorite









up vote
0
down vote

favorite











From what I know, android emulator cannot listen to USB or any other devices of Hosting machine, and thus I have a question: Is there any way to emulate USB connections (or any other device connection like headphones or microphone) on an Emulator? Maybe through adb or emulator command tools? Or maybe there is a way to have the emulator see devices connected to the host (PC, Windows OS)?



My application has an option menu where all connected audio devices are listed, and the user can choose from this list. However, for Android TV I'm using an emulator and I can't connect new devices to test it out.










share|improve this question















From what I know, android emulator cannot listen to USB or any other devices of Hosting machine, and thus I have a question: Is there any way to emulate USB connections (or any other device connection like headphones or microphone) on an Emulator? Maybe through adb or emulator command tools? Or maybe there is a way to have the emulator see devices connected to the host (PC, Windows OS)?



My application has an option menu where all connected audio devices are listed, and the user can choose from this list. However, for Android TV I'm using an emulator and I can't connect new devices to test it out.







android android-emulator






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 12:54









takecare

1,04011224




1,04011224










asked Nov 8 at 10:26









Danil.B

528




528












  • I don't think it is possible
    – Vladyslav Matviienko
    Nov 8 at 10:42










  • look into using virtualbox with android, it might work
    – takecare
    Nov 8 at 11:13


















  • I don't think it is possible
    – Vladyslav Matviienko
    Nov 8 at 10:42










  • look into using virtualbox with android, it might work
    – takecare
    Nov 8 at 11:13
















I don't think it is possible
– Vladyslav Matviienko
Nov 8 at 10:42




I don't think it is possible
– Vladyslav Matviienko
Nov 8 at 10:42












look into using virtualbox with android, it might work
– takecare
Nov 8 at 11:13




look into using virtualbox with android, it might work
– takecare
Nov 8 at 11:13

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205809%2fconnecting-usb-devices-to-android-emulator%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205809%2fconnecting-usb-devices-to-android-emulator%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Schultheiß

Verwaltungsgliederung Dänemarks

Liste der Kulturdenkmale in Wilsdruff