Android :: Detecting Button Type Of Front Nav Keys

Jul 14, 2010

"I would like to detect if the navigation keys of the front of the phone (Home,Menu,Back,Search) are hard-keys (ex. G1) or soft-keys (ex. Nexus One).

This api http://d.android.com/reference/android/content/res/Configuration.html... gets close but is related to the keyboard and not the front facing keys.

KeyEvent [url]has a FLAG_VIRTUAL_HARD_KEY flag, I can only detect that after the key is pressed. I'd like to find out what type of buttons the user has without asking the user to press a key first.

I would have expected such an api to be under [url] but android.hardware has very little info about the actual hardware of the device."

Android :: Detecting button type of front nav keys


HTC EVO 4G :: Remap Keys On The Front?

Jun 15, 2010

Is there a way or a program to remap the keys on the front? It would be great to be able to double press or hold down and have shortcuts to other programs.

View 1 Replies View Related

Android :: Add Two Possible Keys In One Keyboard Button

Dec 19, 2009

I've been trying to create my own android keyboard following this guide and looking at the latinIME souce code.

While reading the kbd_qwerty.xml file I noticed the different tags used and explained here. I was expecting to see certain tag to reproduce what BetterKeyboard application does. They draw more than one key on each button. Example.

Are they adding images or this is somehow possible from the xml?

View 1 Replies View Related

HTC Incredible :: How To Control Four Front Panel Button Illumination?

May 7, 2010

The darn things are never lit when I need them. is there a way to keep them on all the time, more often, or when I need them? Had the same issue with MotoDroid.

View 6 Replies View Related

Samsung Galaxy S :: Front Center Button Function?

Jun 11, 2010

Is the center "button", just a button (similar to the Omnia II devices) or is it a digital trackpad (like the Omnia I) models?

View 1 Replies View Related

General :: Home Button And Front Screen Won't Lock?

Sep 26, 2012

home button and front screen won't lock?

View 1 Replies View Related

Motorola Droid 2 :: Keyboard And Front Button Backlighting Not Lighting Up

Sep 1, 2010

i was messing around with ADW Launcher and when i put my phone down i flipped it over and noticed the phone had froze. Didn't think a whole lot about coming from an Eris it was nothing i wasn't used to.Well when i pulled the battery and went on the market place, i noticed the Keyboard wasn't lighting up.Then i noticed even the front facing buttons were lighting up, now mind you i'm sitting in a rather dark room with my laptop watching a movie so it def should have lit up.I've reset the phone a few times now and still no backlighting and i don't know what settings they are under.

View 2 Replies View Related

Samsung Captivate :: Soft Keys/Button Issues

Sep 11, 2010

First off, I love the Captivate. I just recently swapped it out with the HTC Aria, and haven't looked back since. However, I do miss certain aspects of HTC's Sense UI...

Anyways, my main concern with this phone is the 4 Soft Keys below the Samsung logo. I will address my issues/concerns/questions in the following list:

--How bright are your soft keys when backlit? (In comparison to other Captivates or other Android devices)

--Mine seem to have a slight yellow/brownish tint to them. Anybody have pure white, or anything different?

--The Home button: is your roof slightly different sizes when comparing the left to right. (Yes, I am aware this is nit-picky. not worried or bothered, just curious)

--Finally, my responsiveness on any of the 4 buttons is spotty at times. Especially once pressed when they are no longer lit. Have many others experienced this, and if so, which button(s) in particular give you trouble?

View 5 Replies View Related

HTC Incredible : Lock Button On Top Of Phone - Volume Keys - Ringtone 'cut Off'

Nov 1, 2010

I am coming from a blackberry..and this is my first Android phone..the Incredible..

I made a mp3 as my text message tone...its only 6 or 7 seconds long..but, the problem I am encountering is that when my phone is idle and my text message tone goes off upon receipt of a new text...I am finding myself using the unlock button to awaken the phone..swiping my finger on the screen to unlock the phone, and then going to the message icon to FINALLY disable the text message tone from continuing.

Is there a way for the phone to recognize that I am touching it, using the lock button on top of the phone or the volume keys..or SOMETHING other than having to actually wake, unlock, and enter the message area?

View 2 Replies View Related

Motorola Droid X :: Wake Phone From Other Than Power Button - Hard Keys

Jun 26, 2010

Biggest thing I'm concerned about...can the X be woken up by one of the front hard buttons? Without 3rd party app?

View 10 Replies View Related

General :: How To Change Function Of Hardware Keys (Mic Button / Volume / Rocker)

Jan 23, 2012

I'm ultimately looking for a way to play/pause and skip music without turning on the screen. I had an HTC Hero a while back running CM7 RC, and I had a few options for this. Holding the volume rocker up or down skipped the song forward and backwards respectively, and when I had a headset in, the Mic button could also have these functions. A single press would play/pause, or answer a call (depending on phone state), double tap would skip the song, and a long press would activate voice search.

I now have the Epic 4G, and none of these functions work anymore. The volume rocker just changes the volume, and the mic button only answers calls, or activates voice dialing, and even then, the screen has to be on and unlocked. I find this of mild annoyance. I haven't found any obvious way to change these settings.

Basically, I want to know how do I change the function of hardware keys? Specifically, the mic button on a wired headset and the volume rockers for music functions.

View 9 Replies View Related

Samsung Vibrant :: Type To Respond Words / Type Do Not Show Up On Screen

Jul 20, 2010

After awhile of heavy SMS use if i open a message and go to type to respond the words i type do not show up on the screen. Id i minimize the keyboard it shows. If I expand it they go away.

View 1 Replies View Related

General :: Changing App Type Or App Action Type?

Nov 7, 2013

My current situation is that I have a phone with 2 camera apps on it, stock and camera FV-5.

Camera FV-5 is slower than the stock camera, so I only use it in situations which I need manual control.

Whenever I open whatsapp and try to send a photo, the app asks me which camera I want to use, with no option to always use stock. I don't want camera FV-5 to exist as an option, as I will open it if I want to use it.

Is there a way to remove an app from the list so that my phone does not recognise camera FV-5 as a camera?

View 4 Replies View Related

Android :: Type "point" Symbols In Meebo / Paste - Type It In App?

Nov 3, 2010

My login for jabber account contains "point" symbols ( ���dima��� ).
So, how I can paste or type it in the application?

PS These symbols are the same which displayed while entering passwords

View 3 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

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.

View 2 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

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