I wanna create an app by using acceleration sensor.But I don't know how can I test it in emulator?
I don't think the Android emulators support the acceleration sensor nicely by default.
However, you can download SensorSimulator from Google, which lets you give the Android emulator simulated sensor data with the mouse. Just follow the instructions on the website and you should be good to go.
Update (4/5/2016):
As Maks kindly pointed out, OpenIntents SensorSimulator has moved here: http://github.com/openintents/sensorsimulator
Additionally, some hardware emulation is now supported: http://tools.android.com/tips/hardware-emulation
Related
i know it might be the same as this question. i am from the philippines as well but the phone mentioned in that link is a samsung which is an internationally well-known brand and i know that adb supports that brand. what i am planning and really want to buy is this locally known phone. it got a really nice specs but i am worrying that i might not be able to use it on app development. i found adb drivers on the net and installed it but i don't know how to use them with android studio. the reason why i want to use a phone for development is because my laptop slows down with i run android studio and the emulator at the same time. if some co-pinoy already know a phone that they already used for app development within the same price range of flare x, please let me know. please guys i really need help on this matter.
Any phone that allows you to enable USB-Debugging will be suitable for android development. Most developers try to stick to a phone that has a clean Android base like a Nexus or Moto X, as it rules out any interference with vendor specific changes to Android (like Samsungs TouchWiz).
See this page for further information on using a hardware device for development. Google does not recommend any specific device.
Also see this list for device vendors providing ADB drivers. If you want to play it safe, stick to these vendors.
This download page suggests that the Google provided driver is suitable for the Cherry Mobile Flare X too.
I have a very simple question. I am trying to enable NFC on Open NFC AVD (emulator). If I go to Settings-Wireless- NFC it does not seem to allow me to check the box. and subsequently the android beam option is disabled. How can I enable NFC on emulator?
I have seen someone was mentioning a separate application on emulator "Setting OpenNFC". Where can I find it? is it not supposed to show up on emulator application list?
I am running android-4.2.1_r1 Open NFC 4.5.2, Android SDK API level 17.
thanks in advance for answering my question.
Use OpenNFC 4.4.1 instead of 4.5.2. It has a dedicated app pre-installed in emulated device called "Setting OpenNFC" for starting NFC funcionality. The only disadvantage is the lower API Level:/
Or the virtualbox appliance can also be a good solution. Check it here http://open-nfc.org/wp/2013/04/25/new-virtualbox-appliance-embedding-open-nfc-for-android/
I'm working on an Android project that uses the accelerometer feature of tablets. I'm now slightly at the beginning of this project, so there is no objection to find the solution of my complaint. The question is, I have no android device right now and I want to test the sensitivity or directions of my accelerometer. As you know, there is no such a feature in android emulators. How can I test these sensors and events?
You can try this to emulate sensor data in the emulator:
http://code.google.com/p/openintents/wiki/SensorSimulator
The SensorSimulator allows to Simulate the accelerometer in you emulator with the mouse actions.
Just download the and install it from This link.
So far I haven't been able to find any solution that would allow me to test voice input via microphone on the android emulator.
I have been able to get away during development by limiting my testing to cheap Android phones (sorry, I don't have much money) but now some users complain that my app doesn't work on Android 3 and 4.
So, I am desperately looking for an Android emulator (that can run on Windows 7) to help me test my microphone-based app on various Android versions (did I say fragmentation?)
Is there any android emulator that supports microphone input?
Other suggestions that can utilize the standard Android "emulator"?
As you noted, the live-android (with this HowTo) is outdated, so as far as I can tell, you have only one (free) option that goes up to Android 4: Android x-86 on a USB thumb drive plugged into another netbook or laptop you have.
The only problem I see is that a standard Android USB cable for connecting your debugger will not work because netbooks or laptops don't have a micro USB connector like real Android devices have.
This is an old question so the answers here need updating.
All of the emulators included in the AVD manager (Eclipse/Android Studio) support microphone input now, although the ARM versions don't really have a sample rate that matches reality. The microphone inputs x86 based emulators work really well, but only at 8kHz.
There is a new kid on the block called Buildroid for VirtualBox (formerly VirtualBox-AOSP). This may be what you are looking for.
Thanks to Babu for this solution. Emulator can supports virtual input and record sound same like laptop
i am a final year student.. planning to do an android application for my final year project. I plan to do an attendance management system app for lecturers, where i plan to connect a usb fingerprint scanner to the (Lecturers) android phone/ tablet with android version 2.3 and above..using a mini USB OTG to USB 2.0 connector. The fingerprint scanner that i would be using are most probably either the Digital Persona U ARE U 4500 USB fingerprint reader or the Upek Eikon fingerprint scanner.
Im really lost and i dont know how to approach and where to start, beginning from choosing a suitable SDK and im in a doubt if the SDK might work/compatible with my android phone and also the android app which im going to create.
Please.. help me out sir,.... as the resources/info/ tips i received from lecturers and online sources were really not helpful.I really hope you will help this desperate soul out.Thank you
Tablet : Google Nexus 7
Mobile Phone: http://instantcom.my/mobile-devices/m3-touch-n-type
I think the best bet for you is neurotechnology embedded SDK for android. The SDK can actually achieve what you want to do. Goto Their Site Here
Your best bet may be to obtain a Motorola Atrix (the first version, which includes a fingerprint reader and an SDK to use it) or some other phone with the reader built-in (there may be some available now but I'm not certain).
If your only options are to use a USB-attached reader you will need to find hardware that has enough power to drive it as well as an SDK that can communicate with the sensor on Android via USB.
I would start here if you don't know much about making apps for android.
http://developer.android.com/training/index.html
And the SDK is here, I use the plugins for eclipse which sets up everything into a nice android project for you.
http://developer.android.com/sdk/index.html