Android :: Detecting Hardware Capabilities

Jun 3, 2009

There are return values and such that allow handling if SensorManager sensors and location providers aren't available, but what about the camera and microphone for audio recording? Is there a way to detect those in software, or are we just to assume that every device running Android (even the rumored set-top box) is going to have a camera and microphone and try to use them?

In the case of the camera, it would seem that Camera.open() returning null would indicate the lack of hardware. I don't know if that assumption is valid or not, though, considering it isn't documented as such.

In the case of the microphone, though, I don't see anything that could possibly be checked. The same goes for the camera if you're wanting to do video with the MediaRecorder class.

Android :: Detecting hardware capabilities


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

Android :: Emulator Capabilities

Jul 12, 2010

Is not possible to use a cellular card on a laptop that runs the emulator to access the Internet? if the emulator can access the network if the laptop is using wi-fi or cables I am assuming it can still do the same regardless of what technology is used to connect the laptop to the network correct?

View 2 Replies View Related

Android :: WebKit Capabilities

Sep 2, 2009

Android platform and actually mostly interested in the browser. I created http://www.jqtouch.com/ in hopes of developing a web-based cross-device application framework — but I'm running into a lot of issues with Android. Does anyone know of any good resources which describe the features/implementation of WebKit on Android? At first glance, it appears it doesn't support HTML5, nor certain -webkit CSS3 extensions like gradients or transitions. Does support certain other WebKit features like opacity, etc.

Most of my searches are coming up futile, because I end up seeing generic info about Android having WebKit, or technical pieces specific to embedding WebKit in native apps — but no good documentation on general WebKit features available. Again, I'm new to the platform, so I apologize if this information is in the clear...

View 3 Replies View Related

Android :: Turning Off Certain Phone Capabilities

Sep 18, 2010

I just joined the site and have been playing around with development for Android platforms for the past few weeks. Is it possible to write code which allows an app to limit the sending and receiving of text messages and phone calls, kinda like airplane mode, over a certain period of time?

View 3 Replies View Related

Android : Way To Test Out GPS Capabilities On Phone?

Jul 21, 2010

I'm planning a mini road trip this weekend and I want to use it as a way to test out the GPS capabilities on the phone? I'd like to be able to replace my Magellan entirely. The maps are a bit out of date and it would be nice to have one less device to carry around.

I tried both NDrive and GMaps. I was unimpressed with both of them. Both were much more difficult to program than my Magellan when I tried programming them manually. NDrive was confusing to set up in the first place. GMaps worked quite nicely with voice programming, but I have no clue what commands I've got beyond that. NDrive didn't support this at all. On my Magellan I can give voice commands and have it pull up the POIs at the next exit so I can see not only where the next gas station is, but where the next gas station is after that. (Extremely useful if you're on an eighth of a tank and don't know if you must stop at this exit or if there's another gas station 2 miles down the road.) The voice for GMaps is extremely annoying.

I prefer free of course, but I'm more than willing to pay for a quality app if I can test it out before hand and make sure it does what I need it to do. Ideally I want the following:

Voice programming - I want to be able to say "Go to 1234 Main st" or something similar and it go.

Easy manual programming - I want to be able to easily enter destinations manually.

Trip planning - I want to be able to program multiple destinations. I recently went to Chicago. With my Magellan, I was able to program all the places I wanted to go before hand so I just had to click on the tourist trap I wanted to see and it directed me there.

Voice activation while driving - I drive alone most times. I'd like to be able to not have to take my eyes/attention off the road to search for the closest fast food place or gas station.

Integration with the other parts of the OS - I want it to do the standard things like mute the music when it gives voice prompts and turn it back up when it's done, mute voice prompts when the phone rings, etc. Any ideas on apps that will do all this?

View 2 Replies View Related

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 :: Capabilities Of Calendar/contacts Apps

Jan 6, 2010

I'll be buying and Android phone with Verizon sometime soon. The one issue stopping me at the moment has to do with the capabilities of the calendar/contacts apps, and I'm hoping someone who is familiar with the android OS can give me a workaround (so I can justify buying one sooner rather than later.)

I've been using Palm Treo's for years, and use my phone for running my business, including scheduling clients and making notes about client sessions. With the Treo, and using a third party calendar app (Datebk), I can link someone in my contacts/address book to an appointment. So when I look at my Wednesday 1pm appointment with John Doe, with one click I can go to a list of all appointments I've had with him over the years, and can easily go to any of them and find session notes, etc. It basically links my contacts and calendar so I have access to all the info on that client easily. (The old Palm PIM when was genius).

Is it possible to do anything remotely like this with Android? In the little playing around with Google Calendar, and in playing with the Droid and Eris at the Verizon store, I couldn't see that there's any way to do this, without manually creating a list of session dates for a client every time I make an appointment. I know that the Datebk creators have talked about an Android app coming later in the year, so I may have to wait till that happens. Much as I'd love to upgrade now, I run my business on my phone, and having the capability to handle client/session info in a way I can easily access is near the top of my priority list.

View 12 Replies View Related

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?

View 1 Replies View Related

Android :: Phone Choice - Get Multi-Touch Capabilities

Jul 18, 2010

So I'm in the process of needing a new phone, I've went through three blackberries and I am honestly tired of them, the only benefit is BBM and I can live without it...

Questions :

1. If I get the X10, since it it currently running 1.6, if I root and upgrade to 2.1...

Do I get Multi-Touch capabilities? Will it run smoother and more efficently?

2. Should I just wait for Sony to release their proprietary stuff and hope they do well?

3. Is the X10 really worth it? I'm between it and an Iphone right now, not much else of an option for a full touch on the Rogers network here in Canada for the phone selection that I have. You can see all the phones I am able to get here. (By this I mean these are literally the phones I can pick from, I get them as free upgrades)

View 8 Replies View Related

Android :: Manage Home Screen Interface Capabilities

Jan 21, 2009

I am looking for pointers on Androids capability to manage its home screen. for example I need to put my own application links programatically in a particular design/UI and manage it. Something similar to the Nokia E71 home screen interface capabilities.

View 5 Replies View Related

Android :: RSS Reader With Nice UI And Native Reading Capabilities

Aug 6, 2010

Anyone knows of an RSS reader with nice UI, offline reading, and native (built-in) reading capabilities?

I tried feedR and NewsRob, but they both still need to jump to 'browsers' when I wanted to read full articles. This would mean their offline reading features would be useless to me. When commuting, I always had no signals, and it would be useless if I could only read short article because of no network receptions.

View 11 Replies View Related

Android :: Detecting Where Has Been Touched

Jul 7, 2010

I have a single bitmap with several individual pictures in (each one is an option) and I would like to detect when the user touches these pictures. I am using the event.getX and event.getY to detect where is pressed, I know the top left X Y and bottom right location of each of the pictures. What is the best way of detecting which one is pressed? (i.e. tieing up the event press and which picture has been pressed?

View 2 Replies View Related

HTC EVO 4G :: Android WiFi Tether For Root Users (Infrastructure Capabilities)

Jun 12, 2010

WPA2 + infrastructure = strong security and access for your Android devices and other devices that didn't support ad-hoc mode (WiFi, etc). Written by Andrew himself - the guy who developed most of the code for this to work on the EVO. Props Andrew! Free Android WiFi Tether For Root Users App Now Supports WPA2 And Full Hotspot (Infrastructure) Capabilities On EVO 4G

View 22 Replies View Related

Android :: Detecting When Launched By An Alias

Sep 2, 2009

I'm trying to figure out how my Activity can detect if it was launched by an alias as opposed to by the main icon.

Is it possible to do this?

CODE:............

alias1 and alias2 appear as expected in the Launcher, but I don't see any way in multipleEntryPointTestActivity to tell which of these icons launched the application.

View 2 Replies View Related

Android :: ScaleGestureDetector Not Detecting Gesture End

Oct 31, 2010

I have hooked in a ScaleGestureDetector to an OnTouchListener as instructed in Android documentation. For some reason the ScaleGestureDetector does not always detect end of a pinch gesture. This happens mostly when pinching fast from large to small.

The effect is that after I have released both fingers the detector does not fire the gesture end event. If I touch the screen with one afterwards it still thinks I'm continuing the scale gesture (keeps firing onScale events). I have to do another gesture to get the detector to fire end event.

I have added logs to the OnTouchListener and when the scale gesture gets stuck I still get motion events normally when using one finger and event.getPointerCount() is 1.

I have made sure that I don't have any other listeners intervening. View that has the onTouchListener is not the only view on screen but this effect happens also when I'm very careful to begin and end the gesture inside this one view.

Is there any way to improve the end detection?

Or if there a way for me to manually set the ScaleGestureDetector to fire onScaleEnd and change scaleGestureDetector.isInProgress() to false?

View 1 Replies View Related

Android :: Detecting Which Drawable Folder Was Used

Nov 26, 2009

Is there a way to detect whether a image was pulled from the folder res/drawable or res/drawable-hdpi?I am trying to save space and have a program that is using some hdpi bitmaps and some mdpi bitmaps. When an image is placed in drawable-hdpi it automatically replaces the mdpi version. I need to know when this happens beacuseI am using bitamp.resize() to fix the image sizes.The problem is that the getDensity() method (in the if statment after the && ) returns the screen density and I need the original bitmap density. This allays matched the screenDPI and returns false. I have a lot of artwork and do not want to duplicate everything for every size screen. I am trying to just create hdpi bitmaps for the ones that don't look good when re-sized.

View 2 Replies View Related

Android :: Need Detecting Area Code

Oct 20, 2010

I'm trying to find out if the user is still within range of his own area code. Detecting roaming doesn't solve the problem since the user may still be in the same network with a different area code. I thought about getting the user's coarse location to find the city he's is in but this approach needs Internet access and might not be fast enough (this is done as the user is making a call and needs to finish before the call is made). Is there any way I can do this with just the info from the cellular network?

View 7 Replies View Related

Android :: Detecting Outgoing SMSs

Jun 6, 2009

I am writing a Security-oriented application for Android that is supposed to detect abuse of SMS sending.

In my work I encountered the problem of not being able to detect outgoing SMSs sent not through the use of conventional applications, i.e. merely by using SMS Manager's sendTextSMS method.

The conventional SMS applications add the contents of the sent SMS to the SMS Provider after they send it but I can assume that malicious applications will not do that... and neither will they provide the pending intents to the sendTextSMS method to be broadcast upon sending/ delivery.

My question is, is there any way I can detect the sending of the SMS without relying on the SMS provider?

View 2 Replies View Related

Android :: Detecting When Outgoing Is Accepted

Oct 16, 2010

As far as i know there is no way to detect when an outgoing call is accepted at public API level. I can detect incoming calls (with PhoneStateListener), outgoing calls by NEW_OUTGOING_CALL intent, but i can not find a way to distinguish the dialing and connected phone states.

View 4 Replies View Related

Android :: SQLite - Detecting Limit Hit?

Oct 11, 2009

I have an SQL which uses something like "LIMIT 100". If the cursor returns 100 rows, is there an efficient way of distinguishing between whether the LIMIT caused it or not? I suppose I could just call LIMIT 101 instead but I was hoping for a nicer way.

View 2 Replies View Related

Android :: Detecting Incoming Calls

Aug 27, 2010

I was trying to come up with an app that works on the call that a user gets on his phone. For this I wanted to know whether it is possible for me to get intimated when a call comes to the phone and is it possible to intercept the same.I tried to go through quite a few forums but could not get conclusive evidence on how to achieve this.Does anyone have an idea whether this is feasible and if so then how?

View 2 Replies View Related

Android : CTS Not Detecting Device After Restart / Way To Fix

Feb 18, 2010

I am testing an android device with eclair using the 2.1 CTS version. When CTS completes a set of tests and restarts the device a "device disconnected" messages appears on the CTS console. However after the device completes the restart to the android home screen CTS does not detect that the device is back online. I have to physically disconnect the USB cable and re-connect it. Do you think this is a device side issue or a USB driver issue on the Ubuntu machine (intrepid) where I am running the CTS?

View 2 Replies View Related

HTC EVO 4G :: Video Capabilities

Aug 25, 2010

I uploaded some .mpg videos into my phone but they wont play. What format do the videos have to be in? Or can you convert them to play on the EVO somehow?

View 6 Replies View Related

HTC Incredible :: USB Capabilities On Mac?

Sep 4, 2010

I'm sure I already know the answer to this, but is it possible to use the USB capabilities on a Mac? Or is the Incredible not Mac friendly?

View 7 Replies View Related

Android :: Detecting Socket Connection Failure

Apr 1, 2010

I am working on an app that uses a Socket to connect to a controller over TCP. The protocol library was written in Java and I am implementing it in android via a Service. where the Connection class is a Thread that handles the communications with the controller. It's where the Socket lives.I'm using the Preferences mechanism to store the IP and Port. If I feed the Socket the correct IP and Port, the Connection Service works beautifully. However, I am trying to simulate a user entering the wrong information and having the connection fail. The ultimate goal is to present a dialog and offer the ability to "reconnect" or "update settings". However, when I enter a wrong Port number, the application simply hangs.I was under the impression that Threads executed concurrently so I've tried moving the call to start the Connection Service to a Thread, but it still hangs the application.

View 3 Replies View Related

Android :: Detecting Physical Menu Key Press

Nov 21, 2010

I am trying to detect when the physical Menu button on my Android phone has been pressed.I though the code below would work but it does not.Where am I going wrong please?

View 1 Replies View Related

Android :: Detecting Ad Hoc WiFi Access Points

Feb 9, 2009

I am developing an application on the android platform. The app performs continues WiFi scan and sends information about the list of visible access points to server. However, I need to remove all the Ad Hoc points. The android.net.wifi.ScanResult api does not seem to have any information on "mode" of the network. Is there anyway I can distinguish a given point is Ad Hoc or Master?

View 3 Replies View Related

Android :: Detecting Idle Off Hook And Ringing

May 26, 2009

i'm trying to write a program whichs detects the different states of the phone and mke a different noise in each case.There is a problem that i really don't understand. Please someone can take a look at it and try to explain to ma what's wrong ?

View 5 Replies View Related

Android :: Detecting If System Apps Are Running

Oct 11, 2010

We are trying to automate our QA process. We make wallpaper apps for Android. Once an app is installed, is there a way to figure out if the application is running since these have apps don't have a main class which we can check by doing a ps on android shell. I think keyboard/language apps would face a similar issue

For eg. If I install tetris and run it. Its main package will show up in shell ps. xyz.abc.Tetris. But the same is not true system apps in android.

View 1 Replies View Related







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