Kindle fire, microphone - android

I am an android developer. I plan to implement my existing android application (which does voice to text) on Amazon Kindle Fire. I created a test device as per the amazon kindle help as i don't have kindle fire with me. I have a doubt that what happens if i click on microphone icon on my app with out connecting external mic (kindle does not have built-in mic as per specification). Does it lead to a crash? Do kindle handle this?

I agree with CommonsWare above that you really need to own the hardware to develop an app properly for that platform.
To assist a bit with other that are looking into this issue, it has been reported (and I have verified) that you can use cellphone headsets with the Fire and some apps to recognize the headset mic.
Source: http://www.the-digital-reader.com/2011/11/27/how-to-add-a-microphone-to-the-kindle-fire/
Are you developing natively or using a crossplatform IDE like Titanium or PhoneGap?

Related

Is it possible to flash or install stock Android on a smart watch?

I am looking to install stock Android (Lollipop/Marshmallow etc.) on my LG Watch Urbane. I cannot find any help on this since everywhere I search, I only get information about Android Wear.
I do not want Android Wear but a full, regular version of Android running on the watch. My main reason for doing this is to be able to eventually write my own personal custom Android ROM for the watch, but in order to start I want to see how regular Android will run on the watch.
I found that a CyanogenMod could be run on Samsung Galaxy Gear as demonstrated by this video: https://www.youtube.com/watch?v=rb0R_JeI6gg
Is there is strict specific hardware requirement to port Android (or even CM, misc. ROMs) on a smart watch? By this I mean, can I take any off the shelf smart watch and port Android to it? What steps do I need to take (like rooting, unlocking a bootloader etc.?)

Can I develop Android watch app to run without mobile phone?

I am planning a new application that I would like to put on the smartwatch. I would like to have it usable also when there is no phone nearby. The app needs no Internet connection to work, could synchronize data to the phone later and I do not need anything from the phone while the app is running. However I could use the phone no problem to install the app.
I have googled, there are some foggy talks on a web that this is not possible, Android watch must always be connected to the phone for apps to run. How much is it true?
With Android Wear 2.0 it is possible to now develop standalone applications and thus eliminates the need for a mobile 'companion' completely.
Please follow this link for more information: https://developer.android.com/wear/preview/index.html
As I am aware, the current Android Wear version always requires a companion app for installation purposes etc. But with 2.0 this is no longer necessary. It would probably make sense for you to start developing with 2.0 now. That being said, it is still in a development preview and can officially run on only two smart watches (Huawei Watch and LG Watch Urbane 2nd Edition)
Wearable apps are run directly on wearables and don't require presence of a phone except for installation or phone-provided features (voice recognition, SMS, internet connection etc.)
Note that some features are wearable-provided or phone-provided depending on the hardware configuration of the watch/wearable (eg. GPS).
Yes, it is most definitely possible. As long as the wearable app doesn't require any functionality from the phone then it can operate as a standalone device. It will require a companion app on the phone to install the app on the wear device.
There are several wear apps that work without the need to be tethered to the phone, including Google Play music. There is the possibility of designing wear apps for hardware on only a few wear devices - I know that Ghostracer has standalone functionality using GPS, but it requires the wear device to have a GPS chip (it is designed for the Sony SmartWatch 3).

Is it possible to make the Gear 2 smartwatch (running tizen) the bluetooth microphone for an android phone that it's paired with?

Basically I want to make the tizen smartwatch into a bluetooth headset for a period of time. We have a tizen and an android developer handy and we're willing to build anything necessary to make this work.
This kind of process seems to work with built-in android applications like the standard phone app. But there doesn't seem to be any documentation online as to how an app developer would leverage streaming the mic.
It should be noted that we do need to get the audio into the microphone input on the phone for our third party software to work. It's not as simple as just getting the audio to the phone.
Any help, even someone telling us what isn't possible, will be greatly appreciated.
It is possible to play sound with the HTML audio tag: http://developer.samsung.com/forum/board/thread/view.do?boardName=SDK&messageId=269002&startId=zzzzz~&searchSubId=0000000032&searchType=ALL&searchText=sound
It is possible to capture the sound in a Host Android application
It is possible to exchange data bytes by bluetooth with the accessory SDK: http://developer.samsung.com/samsung-mobile#accessory
The data transfer is quick and efficient, so low quality sound may works with little delay
So it certainly is possible. But you'll have to code (or use compatible javascript and android libraries) all the streaming code which is quite a lot of work

Is it possible to know the host device where an HTML5 app was launched?

I would like to know if my app was launched in an iPod Touch 5g, a Samsung S3 mini, or an iPad 4, is it possible?
What I have tried it with navigator.userAgent but I can only detect if it's an iPod or iPad, but not its specific version (5th gen for example)...
I would like to know that because I am generating audio signals and, as every device have its own codec/amplifier circuitry, I could fix deviations in code.
I would like to know if I am generating the same dB level for each device as it is mandatory for my app...
You're asking about event based analytics tool for your app. I generally use Flurry SDK for that, but since your question is for HTML5 app, you can use Bango SDK or Google Analytics, although I am not sure both supports event based analytics or not.

What are the limitations for app development on the kindle fire?

I think its time to ask this question since the kindle fire has been out a few days now.
I've been hovering around the net to see just how different android vs kindle fire development differed.
How different are the 2 in terms of developing apps?
Is it true that standard apps in the marketplace aren't available?
See Amazon's FAQ here: https://developer.amazon.com/help/faq.html#KindleFire
Over 75% of android apps will run fine on Kindle Fire as is. As for the apps that don't work, it's because they could be using Google APIs. These APIs have to be replaced with Amazon APIs.
In short, Amazon has tired their best to keep it as simple as possible for an android app developer to switch to Kindle app development.

Categories

Resources