Audio Input on Android Emulator - android

How can one get audio input on the Android Emulator? I'm using the 2.2 SDK, and emulating on Ubuntu 10.10.
I have the hw.audioinput property set to yes on my emulator, but I get the message "Recognizer not present" when I run the Voice Recognition API demo app on the emulator. On my phone, of course, it works fine.
I'm trying to use the speech input stuff from the SDK as mentioned here: http://developer.android.com/resources/articles/speech-input.html. They don't mention a thing about getting it to work on the emulator.
I've seen postings all over the forums about this with little to no sure solutions or successes. You know how it goes with forums. That's why I'm posting this question to StackOverflow; hopefully we can get one clear-cut answer!

Voice Recognition is handled with an application. The emulator doesn't come with this .apk pre-installed. If you can get Voice.apk from your device and install it in your emulator you might then have it. Check out this post also:
how voice recognition in android works?

You might need a virtual SD card? See this discussion here about it.

Related

How do I run Udemy app on any emulator?

I've tried on at least 8 different current android emulators to install and run the Udemy android app, but in all of them I get "This app is incompatible with your device," in PlayStore.
I have some courses in Udemy that I'd like to download with subtitles and currently the only way that I know of of doing that is by downloading them in android. I don't own a smartphone.
One thing I've found common in all the latest emulators is that they all emulate some sort of tablet and not a phone, as I can see in settings that all of them have "About Tablet" at the bottom.
I was hoping if someone could tell me of any emulator that's based on a phone (preferable a Samsung one) rather than a tablet. Or any other way I could change the emulator to show as a phone in PlayStore?
I know this was posted some time ago and I am not sure if you came right, but the only way I have managed to get it working is by installing Android in a VMWare Player virtual machine.
The steps I used are as follows:
1) Downloaded the Android ISO from http://www.android-x86.org/download (I downloaded the android-x86_64-7.1-rc2.iso)
2) Downloaded VMWare player from www.vmware.com
3) Followed instructions on here https://www.tactig.com/install-android-nougat-vmware/
It is possible to install on Virtual box from what I see, but I have never tried it. Instructions are here: https://www.avoiderrors.net/install-android-7-0-nougat-virtualbox/
From there I was able to install the latest version of Udemy, only message I got was that it was not optimized for the device.
Hope this helps.

Genymotion failed to create framebuffer image,not getting any workable solution

Hello Developers,
I spent my continuous effort to solve Genymotion errors i was getting on my window vista based system.I followed all the available questions and there solutions but nothing works in my favor.Here i am adding the error details which i am getting-
Very First i was getting the No ip address found for device .i updated my genymotion and virtual machine so that is solved.
Now i am getting error unable to start virtual device.Failed to create frame buffer.Make sure that your video card support open gl 2.0,update driver.
Tried -
Updated driver from intel site ,no effect after that too.
Updated genymotion latest i am using,Jdk everything,Virtual machine
Sorry Due to new bees here i am not able to upload images .I will update once i get atleast 10 reputation thats minimum requirement.
Please guys provide my solution.Almost two full day i am continuously trying please guys provide me solutions.
this same thing happened to me. I found this link which explains that starting an Open GL 2.0 software application (Genymotion emulator) over Microsoft RDP will cause the software to run on the client machine, not the host. I requested my boss to login to the physical machine, launch the emulator, and then log out so I can RDP back in, sure enough my emulator was running and accessible. I have found also that using TeamViewer will not give this error, so perhaps if no one is able to access your physical computer, you can start the emulator through TeamViewer and revert back to RDP as needed. Best of luck with this, it was very frustrating to me as well!

Cloudpebble "Installation failed. Check your phone for details."

I'm using Cloudpebble to develop a watchface for myself. Everything compiles well and I've not had troubles sending the face to my watch until now.
After compiling the watchface and linking to the phone, it returns an error of "Installation failed. Check your phone for details." However, the phone does not shed any light on what these details might be.
I've checked the usual suspects such as full watch slots and inability to connect to phone, but those were not issues in my case and I'm rather stumped as to what the problem might be. Any help would be greatly appreciated.
Pebble App Version:
2.1.0-beta9 2.1 (Android)
Watch Firmware: 2.7 2.8
Watchface Source: GitHub
UPDATE 11/20:
I didn't mention before that the phone app would crash often when attempting to load my watchface on the watch because I chalked it up to beta software. Today brought watch firmware 2.8 and phone app 2.1 proper, and while the phone app no longer crashes, the mysterious error continues without additional information on the phone.
The answer to my particular issue, as it turns out, was that I had unused fonts. It's not a very obvious problem, so I hope this helps others out.
The main issue really was poor error reporting from cloudpebble due to the lack of error clarification returned from the pebble app to cloudpebble.
I have opened an issue on the cloudpebble github (that's where I found the answer) so if any further developments happen, they'll more than likely be there.
I found that the app had to be on a specific page for it to properly install on the pebble. I found this to be true if I installed on the terminal using the Pebble commands or using the web IDE CloudPebble.
The app has to be on the "My Pebble" scene/activity. Make sure when you attempt to install an app to Pebble that you are on that scene/activity regardless if you are installing using the web IDE or the command line.

How to run Google Glass Project on emulator?

I don't have a google glass device. But I am very interested to do apps for Google Glass. I want to run a Hello World in Google Glass without the use of device.
I followed the tutorials for Google Glass. Then I found some sample projects of Google glass. Can Anyone tell me how to run a simple Google Glass Project on an emulator or without a device.
And can you tell, Is there any alternative way to test the Glass APK developed by us without device.
First you need to set up Glass On mobile or an Emulator in Web. Gooogle Glass is orignally a launcher over android you need to install the apks of that launcher.
Here you will find the APK's (however Camera for Glass never worked for me.)
Here is an Album showing you the process (on Nexus 7)
And This is the set of Demo's
After all set up you have to connect the android phone and then install the apk's using adb.
e.g.
adb install -r com.sample.packagee
after that you can launch the app through voice command or if it doesnot support voice trigger then launch it like
adb shell am start -n com.mikedg.android.glass.launchy/.MainActivity
I am writing down a wiki for the issues and the to do's Please check it here..
There are no simulators right now available to do perform testing without the device.
First :
You can try this https://github.com/zhuowei/Xenologer and install the apk on mobile device which is more or less similar to what you are looking for.
Second :
You can try thus but u have to build your application based on Mirror API http ://glasssim.com/ or
https ://developers.google.com/glass/tools-downloads/playground
Third to have your custom apk install :
https ://developers.google.com/glass/develop/gdk/quick-start#installing_the_samples
To display your hello world Try second option it should work. It will add your card in Glass Timeline.
Hope this answers your question.
Thanks
There is not an emulator for Glass at this time. Testing on Glass is an important part of a Glassware development life cycle as the user experience is completely different from what you can experience on a phone or an emulator.
Feel free to follow issue 253 on our issue tracker for updates as the GDK evolves.

Eclipse won't recognize G-tablet

I am trying to view a sample app on a real device (a ViewSonic G-tablet), but the device won't display in the "Choose a running Android device" area. The virtual devices show, but no real devices show (there is only one plugged in, the G-tablet). Some other information...
I am using a Mac with Eclipse SDK 3.7.1 w/Android
App is noted as debuggable in manifest file (android:debuggable="true")
G-Tablet is set to allow debugging
Device selection is set to manual in SDK
I CAN view files on G-Tablet using Finder
I have reviewed Android developer docs
I have searched a lot online for a fix, without success
Please also note...
There is NO option on G-tablet to allow "unknown sources". However, I have downloaded apps outside the customary channels (e.g. Firefox from the Firefox site) and it works fine.
I do NOT want to do anything to the G-tablet to void the warranty.
I have already checked for/installed updates using the Android SDK Manager.
The fixes I was able to find on StackOverflow related to this problem did not work for me. I am thinking the problem may be device specific. One fix discussed getting a driver for the device, but I couldn't find one.
Can anyone please help me figure out how to get the SDK to recognize my device? I'd appreciate any insight on this.
Can you export the app as an .apk and run that on your G-tablet?
also is the android:minSdkVersion set to a value lower than your G-tablet's version?
Found the answer after trying a zillion things. All that needed to be done to fix the problem was turn to OFF 'USB debugging' and then turn it right back on. I found the idea on this page... http://www.mobileread.mobi/forums/showthread.php?t=156247 . Hope that might save someone else hours of time.

Categories

Resources