android-emulator

GPX file containing speed information

霸气de小男生 提交于 2019-12-03 04:06:25
I am currently using the DDMS perspective to simulate movement of the android emulator with a gpx file. However, I have only been able to find gpx files with lat/lon pairs in them and not with speed, altitude, etc. Any recommendations on a place to find a good gpx file which contains the above data for emulator testing purposes? Thanks. Update : I've noticed that the file I am using does indeed have altitude in it, yet when I retrieve it it shows up as zero. Only the lat/lon is showing up properly. Can the android emulator only use the lat/lon of gpx files and not altitude? You do not need to

Bluetooth Low Energy on Android Emulator

孤街醉人 提交于 2019-12-03 03:52:52
问题 I studied about Bluetooth Low Energy. But I don't have supported BLE device for testing. Therefore, I want to ask : Do the Android emulator supports BLE feature for testing? I tried with the following code on Android Emulator 4.3 (x86) and Android Emulator 4.4 (ARM) : // Use this check to determine whether BLE is supported on the device. Then // you can selectively disable BLE-related features. if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH_LE)) { Toast.makeText

How to debug an Dalvik executable on Android with GDB?

你说的曾经没有我的故事 提交于 2019-12-03 03:52:39
I want to debug an android application using GDB, I do not have the source code and I am used to GDB. Would anyone know how to do that? It seems I would need to attach to the process of the application and use gdbserver but I have not really found a good tutorial on how to do that... Thanks! There might not be step-by-step tutorials, but people have been using a gdbserver to debug JNI apps. Check the following links: http://honeypod.blogspot.com/2008/01/debug-native-application-for-android.html http://vilimpoc.org/blog/2010/09/23/hello-gdbserver-a-debuggable-jni-example-for-android/ http:/

Genymotion Error: “Unable to load VirtualBox Engine” on Yosemite. VirtualBox installed

半世苍凉 提交于 2019-12-03 03:40:22
问题 I have a Macbook Pro 13 inch with OS X Yosemite [Memory 8 GB, Graphics Intel Iris Graphics 6100 1536 MB]. I am trying to setup Genymotion as Android Emulator. I installed Oracle VirtualBox first from https://www.virtualbox.org/wiki/Downloads [VirtualBox-5.0.0-101573-OSX.dmg], and then Genymotion for personal use from Genymotion [genymotion-2.5.0.dmg]. But I get the following error - I checked all the previous answers on StackOverflow and the Google search results, and I did the following, but

Connection with adb was interrupted You may want to manually restart adb from the Devices view

北战南征 提交于 2019-12-03 03:35:29
I am using Windows 7 and JDK 6. I downloaded the package of Android SDK with Eclipse and followed the instructions to create the first Hello World application. However, when I stand on MainActiviy.java and click on run I get the following error in the console: Connection with adb was interrupted You may want to manually restart adb from the Devices view. I tried many answers that I saw here: 1. Restart adb server 2. Make sure that the path is to the correct JDK 3. I went over preferences and didn't see any warning or error. I can run the emulator- and it works fine. But it doesn't run the

Building Android from source - emulator and AVDs [closed]

*爱你&永不变心* 提交于 2019-12-03 02:22:54
Closed . This question needs to be more focused. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it focuses on one problem only by editing this post . I have built the Android source for the emulator. I read in the Android Source documentation that the path to 'emulator' is added autmatically during a successful build. However I have two questions about this: If I open a new shell or close my existing shell, 'emulator' is no longer found. Surely I don't have to build each time I want to run the emulator? If the emulator requires an AVD

Is it possible to discover and run third-party Android Instant Apps on an emulated device?

人盡茶涼 提交于 2019-12-03 02:05:53
I'm currently trying to learn about Android instant apps. Since I don't own any real devices that support them, I'm using the emulator (from Android Studio 3.0 Canary 9). I can successfully run "toy" instant apps ( like this ) on my emulated Nexus 5x (with Play Store), so I believe that my development environment is configured correctly. However, I was curious to learn about the discovery process for third-party apps, and find out what the user experience is like. Lacking a suitable device of my own, I used the emulated Chrome browser to search for sites (like Stack Exchange) that have instant

Android emulator with proxy settings - Error FATAL:.//android/base/sockets/ Check failed: isValidFd(fd). fd 1404 max1024

牧云@^-^@ 提交于 2019-12-03 01:58:30
问题 need to run emulator with proxy settings , I am using the following command in command prompt to start emulator emulator -avd AVD_for_3_7_WVGA_Nexus_One -http-proxy http://username:password@IP:Port Without http-proxy switch it is working fine , where as using the http-proxy following error occured : FATAL:.//android/base/sockets/SocketWaiter.cpp:89:Check failed: isValidFd(fd). fd 1404 max1024 回答1: I'm experiencing the exact same issue. Luckily there is a workaround and I can say it's working

Got exception: fragment already active

℡╲_俬逩灬. 提交于 2019-12-03 01:52:05
问题 I have a fragment ; MyFragment myFrag = new MyFragment(); I put bundle data to this fragment: Bundle bundle = new Bundle(); bundle.putString("TEST", "test"); myFrag.setArguments(bundle); Then, I replace old fragment with this one and put on backstack : //replace old fragment fragmentTransaction.replace(R.id.fragment_placeholder, myFrag, "MyTag"); //put on backstack fragmentTransaction.addToBackStack(null); //commit & get transaction ID int transId = fragmentTransaction.commit(); Later, I pop

Android Emulator Tips and Tricks [closed]

你离开我真会死。 提交于 2019-12-03 01:34:06
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . What is your Emulator feature that you could not work without? Which unknown great shortcut, console command or startup option is