Android :: Want To Determine Audio Capabilities On Droid?

Mar 10, 2010

I'm experimenting with Android's audio recording and playback. Is there a way to enumerate the available audio parameters on my device?

Right now, when I pass a combination of parameters that the hardware (or emulator) doesn't like, I just get an error. So I am having to "guess":code...

Surely there's a better way!

This chart indicates that the only supported audio input sampling rate is 8 kHz? Is that correct?

Android :: Want to determine audio capabilities on droid?


ADVERTISEMENT

Android :: Determine Device Capabilities - Chipset Etc

Jun 19, 2010

I have a need to classify the device on first run to set some default settings for my games. This is my first time doing this and I've already hit some snags as to how to handle such a thing.

Basically I want to figure out if I can run the game with full quality everything on, which would be for the following phones: Nexus One Droid Incredible EVO X10 Maybe devour, haven't tested Any other snapdragon or cortex/pvr device

Everything else with a GPU gets low quality settings Anything without a GPU gets low quality plus a warning saying that the game will not perform adequately on their device

Ideally, I would retrieve some information like:

CPU = MSM7200, MSM7600, CortexA8, etc.. GPU = MSM7200, PVRSGX530, etc.. - OR - CPU speed = 378Mhz or 600Mhz, or 1000Mhz GPU max = GLES 2.0 or GLES 1.1, etc

but of course that's not really available as I only have a few pieces of information in android.os.Build, which mostly are:

Build.BOARD (IE trout) Build.DEVICE (IE dream) Build.MODEL (IE T-Mobile G1) and then whatever is in /proc/cpuinfo which I could fetch easily through either Java or native.

Examples on the end.

So here are the 3 approaches I was hoping to try:

1) Benchmarking - Run a simple test for 2 seconds and ballpark the raw cpu power from that. Pros - easy to implement, fairly reliable Cons - If it happens to run during a high-load moment on the phone (which can last for several seconds) it will be very far off and will misclassify devices. 2) Use a really big list of DEVICE or MODEL names and check against that list. Pros - It'll work Cons - The list is already over 60 entries and is growing at an incredible rate. It would be very hard to keep it current and keep all the variants straight 3) Pull some raw info out of linux and use that. Pros - Most detailed info available Cons - Can't find things like raw CPU Mhz, OpenGL version support, etc..

cpuinfo for a G1:

Processor : ARMv6-compatible processor rev 2 (v6l) BogoMIPS : 245.36 Features : swp half thumb fastmult edsp java CPU implementer : 0x41 CPU architecture: 6TEJ CPU variant : 0x1 CPU part : 0xb36 CPU revision : 2

Hardware : trout Revision : 0080 Serial : 0000000000000000

cpuinfo for a Nexus One:

Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS : 162.54 Features : swp half thumb fastmult vfp edsp thumbee neon CPU implementer : 0x51 CPU architecture: 7 CPU variant : 0x0 CPU part : 0x00f CPU revision : 2

Hardware : mahimahi Revision : 0081 Serial : 0000000000000000

View 4 Replies View Related

Android :: Programmatically Determine Installed Audio Applications On Droid?

Aug 19, 2010

I'm trying to programmatically determine what audio applications are installed on an Android phone. I'm able to enumerate all the installed applications, but don't yet see a way to figure out which ones are capable of playing audio? What property of the application would have to queried to determine if is capable of playing audio?

View 1 Replies View Related

Android : Determine Audio Frequency Of Sound Received Via Microphone

Oct 11, 2010

I am trying to understand how to go about determining the frequency of various sounds captured on the phone via microphone. I am attempting to display a graph plotting the frequency of the note.

View 1 Replies View Related

Motorola Droid X :: Swype Capabilities

Aug 31, 2010

Is there anyway to set it so that you use swype when the phone is in portrait and multitouch when the phone is in landscape mode?

View 6 Replies View Related

Motorola Droid X :: Waterproof Capabilities

Aug 5, 2010

I'm not saying they implied it is waterproof by any means. Just want to see how it handles an accidental encounter with water. I fish a lot and know I will have it with me on the water. It will be in a waterproof case of some kind, but you just neven know what might happen.

View 35 Replies View Related

Motorola Droid X :: Update Roaming Capabilities

Aug 12, 2010

I've been wondering why my service was HORRIBLE in my house when my previous phone had great service. The X would jump from 0-2 bars constantly. I updated my roaming capabilities (*228, option 2) and I'm getting pretty much full bars continuously and my speedtest showed my ping decrease by 100ms, download speed triple, and upload speed double. This may be a drain on peoples' batteries if they haven't updated their roaming capabilities and their service keeps jumping. This may have been discussed before, but I figured it doesn't hurt to repeat for other people who have issues with service.

View 15 Replies View Related

Motorola Droid 2 : Microsoft Exchange Capabilities

Sep 6, 2010

Does the D2 have microsoft exchange capabilities?I am trying to set up my work email account.Any ideas?

View 6 Replies View Related

Motorola Droid 2 :: Global Capabilities - 1.2 GHz Processor Inside

Nov 9, 2010

The Droid 2 alone wasn't all that impressive to me. But the Droid 2 global looks like it could be pretty sweet. I'm liking the 1.2 ghz processor inside. I don't know if Ill need the global capabilities but it seems like a pretty good upgrade from the standard Droid 2. Just curious what your guys thought is on this? Don't get me wrong I love my Droid Incredible but I'm wondering if the Droid 2 global will be a little snapping with the better processor.

View 16 Replies View Related

Motorola Droid : No Longer Found 3G Capabilities During Phone Calls

Nov 7, 2009

New to smartphones so please excuse the question if its idiotic. If i press the home screen during a phone call to multitask I find that I no longer have 3g capabilities.

View 5 Replies View Related

General :: HDMI Port And Cable For DROID 3 - Capabilities And Limitations

Oct 16, 2011

What are the capabilities and limitations of what can do with the hdmi port and cable for the DROID 3 any hacks of sorts for full hdmi or something.

View 1 Replies View Related

Android :: Determine When Droid GC Runs?

Feb 19, 2010

Does anyone know if there is a way to identify (in code, not LogCat) when the GC has run? Perhaps an intent is fired? I could analyze the LogCat output, but it would be ideal if I could determine when the GC has run from my code.

View 2 Replies View Related

Android :: Need To Determine Current IME In Droid

Apr 30, 2010

I have an application where I would like to warn the user if they are not using the default Android softkeyboard. (i.e. they are using Swype or some thing else).

How can I check which input method they currently have selected?

View 2 Replies View Related

Motorola Droid : How To Play Audio From Phone Through RR Audio System?

May 5, 2010

I connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.

View 2 Replies View Related

Android :: Droid ImageButton - Determine What Resource Is Currently Set?

Jun 30, 2010

Is there a way I can find what resource a particular ImageButton is set to, at any given time?

For eg: I have an ImageButton that I set to R.drawable.btn_on onCreate. Later, at some point, the ImageButton gets set to R.drawable.btn_off. I want to be able to check what resource the ImageButton is set to in my code.

View 3 Replies View Related

Android :: Determine How Much Text Will Fit In A TextView In Droid?

Aug 4, 2010

I have a layout that looks something like this:

[TextView 1] [TextView 2]
[ TextView 2 spill-over ]

Essentially, I need the contents of TextView 2 to wrap to the next line, but start where TextView 1 starts. I was thinking that if I knew how much text would fit into TextView 2 before it runs out of space on line one, I could take the rest of the text and put it in another TextView below the first two. So I need to measure how much text will fit into a TextView (which can be tricky because as far as I can tell, Android will try to break the text in a TextView at a good location so that it won't break a word in the middle if it can be avoided) or I need a new idea on how to lay this out.

View 1 Replies View Related

Android :: Determine Droid Is First Run - Not After Booting Device?

Jun 16, 2009

How to distinguish Android is first run or not after booting device?

View 2 Replies View Related

Android : How To Determine Droid Internet Connection?

Nov 15, 2009

How can I determine the current internet connection type available to an Android device? e.g. have it return WiFi, 3G, none.

View 2 Replies View Related

Android :: Determine Apps Installed On Droid Device?

Sep 6, 2010

Is there a way to determine what apps are currently installed on an android device? I guess reading /data/app directory doesn't do the trick (access denied).

View 1 Replies View Related

Android :: Determine Image Area Clicked In Droid?

Jun 20, 2010

Is there a way to determine in an Android app which area of an ImageView (x,y coordinates, for instance) was clicked by a user?

View 1 Replies View Related

Android :: Determine Velocity Of Droid Device Is Traveling?

Apr 27, 2010

What is the easiest way to find out how fast the Android device is traveling?

Also, is there a way to register an intent for speed? Example: intent if the device goes more than 20 miles an hour.

View 2 Replies View Related

Android :: Determine Revision Number Of Droid Build?

May 25, 2010

I know how to get the API level, android.os.Build.VERSION.SDK_INT, but there are also several revisions of each level release, e.g. for 2.1 there's rev 1 and 2. How do I determine the revision of a build?

The reason i'd like to know this is that I have a workaround for a bug in Android 2.1 (and 2.2), and this workaround will break the moment the corresponding bug is fixed. So right now i'm in the odd position of hoping that the bug won't be fixed (at least not until I can find an answer to above question).

View 1 Replies View Related

Android : Way To Determine Programmatically / Install Time For Droid App?

Jun 27, 2010

Is there any way to determine programmatically the time at which an Android application was installed? I don't see anything in PackageInfo, etc.

--EDIT--
To clarify, App A is installed at Time X. At some later time, Time Y, App B is installed. Is there any way App B can know when App A was installed? The link http://stackoverflow.com/questions/2831333/how-to-get-app-install-time-from-android/2920310#2920310 indicates that reading the modify time on the source dir of the App is sufficient. Is this really correct? Why?

View 3 Replies View Related

HTC Droid Eris :: How To Cheaply Stream Droid Audio Into Car Audio?

Dec 9, 2009

just started using the Pandora music app, but my kids in the back seat could not hear it. so I stopped by Walgreens and picked up the "JUPITOR JACK". you can't miss it cause it has the big red ad: "AS SEEN ON TV". it works well enough, but I had to tweak my car audio system to make it decent. whatever the droid plays comes out on the car radio, it's better then my old belkin FM transmitter.

View 9 Replies View Related

Android :: Does Droid Determine Whether To Move Layout Up When Showing Softkeyboard?

Sep 6, 2010

How does Android determine whether to move the layout up when showing the softkeyboard?

Note: I am aware that the activity property android:windowSoftInputMode="adjustResize|adjustResize|adjustUnspecified"
exists, as described here http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft
, but in my case it doesn't seem to have any effect. This is my problem:

I have two activities, pretty much the same layout, but the first one is using a ListView that holds a list of buttons. The second activity holds a scrollview with buttons.
The rest is the same, same number of buttons, same height of elements, etc.

Now, when I press the search button to open the search input bar, in my first activity, the entire layouts gets moved up.
While on the second activity, the layout is not being moved up but the softkeyboard just displays on top of it. This is actually how I want it to behave. How can I achieve the same with my activity that's using the ListView?

In my manifest, initially I didn't specify any android:windowSoftInputMode attribute, but even if I do, it doesn't make any difference; I tried all three values (adjustPan, adjustResize, adjustUndefined, without any difference).

This is my layout:

1) http://pastebin.com/5zzVxjbK

2) http://pastebin.com/KFtPuHvP

Interestingly though: when I set my ListView visibility in my layout 1 (left) to View.INVISIBLE, then the layout doesn not get moved up!

View 2 Replies View Related

Android :: Droid Maps : Determine Map Center After A Drag Has Been Completed?

Nov 20, 2009

Is there a way through the android maps API, where I can detect the map center after pan animation has completed? I want to use this information to load markers from a server dynamically.

View 2 Replies View Related

Motorola Droid X :: Droid X Has 4G Capabilities - WTF

Sep 1, 2010

BB and VZ employees are telling customers that the X will be 4G LTE capable with a soon to be released OTA update. Now I know that alot of people are saying that the X doesn't have the hardware and we can't believe what a BB or VZ rep says so.... Im just the messager and like on 300 "NO ONE THREATENS A MESSAGER"!

Here is the link

Motorola Droid X Supports "4G" Connectivity, A BestBuy Gimmick? | WWWery.com

View 49 Replies View Related

Android :: Unable To Determine Signal Strength On Droid - 2.0 - OnSignalStrengthsChanged Deprecated

Nov 17, 2009

The typical method to obtain signal strength has been to extend the PhoneStateListener class and override the onSignalStrengthsChanged method. Anytime the signal strength changes the system will call this method passing in the new ASU.

Since this method is now deprecated as of Android 2.0, how are we suppose to go about obtaining the signal strength? I tried using the method above on Droid (CDMA) and the ASU passed in is always -1.

There are also no details in the SDK as to why this was removed or what we are supposed to do now. http://developer.android.com/reference/android/telephony/PhoneStateLi...

View 7 Replies View Related

Android :: Determine Droid Database Maximum Size And Prevent SQLiteFullException?

Sep 7, 2010

I have few queries on Android SQLiteDatabase

1.) As normally the database stored in internal memory, can we specify the path of external storage and use it in similar way ?
2.) How to determine the size of available space of database ? I used getMaximumSize() from SQLIteDatabase class but that gives me 1099511626752
Is this in bytes ? If assumed then this seems to be too large and not practical. I am using HTC G1 to test this.
3.) How can I determine the size of an entry in table ? Or do I have to pull the whole table and manually see its size. Is it same that would be in phone storage ?
4.) Can I check if any free space available before making entry in database ? I want to prevent SQLiteFullException.

View 1 Replies View Related

Android :: Gas App - With Having GPS Capabilities

Feb 5, 2010

Why isn't there a gas app for the U.S? I would think with having GPS capabilities, that someone would create one using Google maps and possibly using GasBuddy.com - Find Low Gas Prices in the USA and Canada for prices.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved