Android :: Need Event That Tells When Device Is Hooked Up To A Power Plug?
Mar 8, 2010
What is the event that tells me when the Android device is hooked up to a power plug? I need to know what to monitor to know when the system goes from battery to charging and vice versa.
View 5 Replies
Feb 16, 2010
Anyone else had an issue with powering up? I now have to push all of my power cords down to get a charge now. If I just plug it into the phone, no charge. It's until I jiggle the cord, is when I get a charge.
Anyone else had this issue? I might take it back in for a new one soon.
View 3 Replies
View Related
Jul 25, 2010
When I plug in the micro-usb plug into the droid x it doesn't seem to charge the batteries and I have to unplug the A/C wall plug and replug it before it will start charging. I have looked at the status when I first plug in the USB port into the droid x and it says "power source plugged into USB" and then status is discharging. This doesn't seem normal to me, and I don't see why I have to unplug and replug the A/C plug everytime. Is there some chip which is just not registering correctly? Do I need to go to a verizon store and get it checked out?
View 5 Replies
View Related
Aug 16, 2010
My Droid running 2.1 update 1 will no longer charge on the 12v power plug and my sons droid running 2.1 update 1 no longer charges off the 120 power plug he has to use the usb cord to charge the phone. Any one else run into this?
View 5 Replies
View Related
Nov 5, 2009
Is there anyway to stop the phone from playing the default notification when you plug it in the to power adapter?
View 12 Replies
View Related
Sep 11, 2010
You know that layout editor in the Android ADT plugin that lets you design the layout for ADP1, ADP2 and Nexus One, has anyone created other device configurations? It requires device information such as the x-dpi and y-dpi, which can be difficult to find out. I'm just wondering if anybody has added more device configurations they're willing to share? Perhaps together we could compile a huge devices.xml containing many of the devices out there. I'm fully aware the layout editor has many faults and cannot be relied upon but it is sometimes useful to rapidly preview how the layout might look on a wide variety of devices without switching between emulators.
View 4 Replies
View Related
Aug 31, 2010
I am used to powering my phone off while charging it. On the Xperia as soon as I plug in the charger, the device turns back on. Is this normal? Is there setting somewhere I missed?
View 6 Replies
View Related
Sep 30, 2010
In fact, only the touch_down event will fire. Basically, I'm trying to implement a drag feature in my app so I need the touch_move event. I have a method that writes out the touch events to the LogCat in Eclipse but the touch_down is the only event that shows up. not even touch_up shows up. I have this problem when I debug on the device or in the avd.
This isn't really a code question. But has anyone had an issue getting different touch events to fire? If so, how did you resolve them? I'm using the latest Android SDK and Eclipse version. I'm using a simple ImageView.
View 1 Replies
View Related
Dec 11, 2009
I want to invoke my application once user creates / updates contact from his device.i.e once user hit "Done" button. is it possible ? If possible please provide sample code or link.
View 1 Replies
View Related
Sep 3, 2010
I want to get information of how to detect device support multi touch without OnTouchListener triggers event.
View 4 Replies
View Related
Feb 15, 2009
yesterday, I spent several hours trying to figure out how to capture the HEADSET_PLUG intent with a BroadcastReceiver. The manifest defines the <receiver>, with its intent-filter set to <action android:name="android.intent.action.HEADSET_PLUG" />.
The receiver is working correctly (I verified that by changing the intent filter to capture things like SMS_RECEIVED including the proper permissions and the receiver fired as expected on receiving an SMS), but when listening for HEADSET_PLUG, it never fires. Debugging the whole thing is a bit complicated, as the emulator doesn't seem to support headsets and I have to disconnect my target device (a HTC Dream) from USB in order to attach a headset (so there's no logfile viewing). Are there any special permissions required for applications to capture the HEADSET_PLUG intent (and if so, which? I've tried several, to no avail)?
Maybe the Dream doesn't fire such an intent at all (that'd be bad luck for me), but I guess that it must be an issue related to application permissions. The documentation says extremely little (well, actually: nothing) about the single permissions needed to perform all the actions described in the API docs, so this is absolutely something to be improved.
What I want to do: Upon detecting a headset, I want to re-route the ringtones from the speakers to the headset, so as not to annoy people in my vicinity by a harsh ringing sound (I'm used to this behaviour from my old phone) - by default, the speaker just keeps on ringing, no matter whether a headset is attached or not. This part is already working, but now I need to know how to detect headset attachment/ detachment events.
View 7 Replies
View Related
Nov 12, 2010
I need to use this for a Samsung Tablet.Usually if the device is switched-off and the USB cable is being connected the display will wake up for some seconds showing an animated battery.Instead I want to let it boot.I suspect this is close to the metal. Where do I have to make a modification?In the kernel, in the Android platform, or is this hidden in some proprietary code of the manufacturer?
View 1 Replies
View Related
Jun 4, 2010
I am trying in one of my application when i am going to start i mean power on my google android g1 my application automatically will start but i am unable to understand how can.
View 1 Replies
View Related
Apr 27, 2014
As I was nervously trying to install a custom rom, i wipe everything off my device ( HTC Desire X ds ), as per required by the instruction. But before in could install the rom, the device shut itself off. Now I can't even start it on bootloader, it just simply display a black blank after a short htc logo appears. Then after a while it vibrate 7 times in a row.
View 3 Replies
View Related
Nov 7, 2010
When I check in the settings of my X10 Mini Pro, it says that there's an update available and I need to check PCC to update. When I start PCC and plug in my phone, it says I am fully up-to data Can anybody help? I think my phone is generic
View 18 Replies
View Related
Jun 22, 2010
Has anyone else noticed that the Desire seems to power off VERY VERY slowly, or is it just me? Literally, and with no exaggeration, I hit the power button on the phone to power it down at 10:38am, and as of 10:56am the thing is STILL trying to power off.
I don't turn the phone off very often, but every now and then it's worth it, but it's taking far too long and I keep having to pull the battery. Anyone got any thoughts?
I'm assuming theres an app that is causing all the bother, but I can't think what. Anyone know of any apps that have this sort of problem? If noone knows, I'm going to have to factory-reset the phone, and I really don't want to have to set it all up again.
View 14 Replies
View Related
Jul 19, 2012
I want to develop a peripheral device to connect to an android phone via USB OTG. The OTG specs [1] says: "A Targeted Host shall provide sufficient power to each peripheral on its TPL in at least one supported configuration".
Where do I find those TPL ("Targeted Peripheral List") lists? I searched at Sony Ericsson (because I have a Xperia Mini) and Samsung (as a different manufacturer) but with no luck. Is this an android related list?
On github I found a code fragement [2] from DooMLoRD. It mentions a OTG whitelist. But it seems to be something like a skeleton.
I do this research because I want to use the peripheral device in high power mode with about 300 mA. I thought I could compare the TPL with devices that also need 300 mA.
[URL] .....
View 1 Replies
View Related
Feb 25, 2013
I am getting a nullpointerexception. Only thing is, it doesn't appear to be there at all devices, so is rather strange to me.. an idea is that it would be Bitmap, but since I declare it myself I guess this is not correct? Since it is not happening on my own device I just have to be sure...
[HIGH]Bitmap bm = BitmapFactory.decodeResource(C.getResources(), resId);
Bitmap result = mark(bm);
public static Bitmap mark(Bitmap src) {
int w = src.getWidth();
// int w = 150;
[code]...
View 11 Replies
View Related
Oct 16, 2012
I have a rooted Nexus s on 4.1.2
I am wondering if there is an app that can power off my device when battery drops to a certain level. Tasker's shutdown task not seems working for me.
View 3 Replies
View Related
Aug 6, 2010
Is there an app that tells how much battery each app uses? My phone is literally lasting me about 2 hours before the battery dies.It started before the facebook update so it's not that. I looked at my battery stats, it just says android system 99%.I am getting so frustrated.I may try flashing back to littlekernel, I have meatkernel now.
View 6 Replies
View Related
Apr 30, 2010
I'm on Aloysius v6 and just flashed the 2.41.00.03.10-eris.zip radio update. Ever since then when I connect to my computer with the USB cord, it constantly reboots.
View 1 Replies
View Related
Sep 9, 2010
When I use the wireless tether app the top bar shows that im hooked up but I also get a yellow windows type sheild that says AC disabled.
View 10 Replies
View Related
Jun 9, 2010
Picked up my HTC EVO on the 4th, and had Sprint order me the HDMI cable. Came last night. Tried to hook it up to my 37" 08' Samsung LCD HDTV, but was only getting AUDIO through to the TV, no VIDEO? I tried all three HDMI outlets on my LCD HDTV but got the same result on each one? Anyone know whats going on here? Anyone else experience this? Anyone have success trying to do what I was trying to do?
View 13 Replies
View Related
Jun 11, 2010
Blackberry messenger has the feature of letting the sender of the message to know if the receiver has READ the message or not. Is there a way to do this on an android? Any apps out there for this, or maybe you can do it in stock?
View 7 Replies
View Related
May 4, 2010
Can anyone please tell me the name of the app in which you get between a four and seven day forcast as a widget. By that I mean, say for instance the whole week looks like it'll be sunny, the widget will have 4 to 7 suns going across your screen with, I believe, the temperature to each day on the corner of each sun?
View 5 Replies
View Related
Jun 4, 2010
I have a Google number hooked up to my Palm Pre. What do I need to do to switch this to the Evo if anything?
View 11 Replies
View Related
Apr 12, 2009
I use onLongClick and onClick events of a button to get user inputs. Whenever; the user long click and triggers onLongClick event, the onClick event is also triggered. I couldn't find my problem. The code of two methods are shown in below: Code...
View 2 Replies
View Related
Sep 2, 2010
This happened to two programs of mine now and makes absolutely no sense. It usually comes about when I'm adding a resource file (in this case, a menu). In the package explorer: -the project name has a small red x, indicating that there is an error in one of its files -none of the sub-folders or files have an x or show any red highlights None of my code has errors! Ocasionally, I see this:
[2010-09-02 16:09:20 - FallDown] 'default' is not a best match for any device/locale combination.
[2010-09-02 16:09:20 - FallDown] Displaying it with 'Normal, Not Long, Landscape, Medium Density, Finger, Soft, Qwerty, Trackball, 480x320'
View 2 Replies
View Related
Aug 27, 2013
Wondering if there's an app that works really well to stream music from my phone (HTC Evo 4g LTE) to my speakers that are hooked to an airport extreme. The ones I have been able to find on the market don't work very well.
View 1 Replies
View Related
Nov 8, 2010
I just rooted my HTC hero. I downloaded a ROM that looked almost exactly the same as the default(ZEN EXP), so I decided I wanted to change it to AOSP 2.2.1 (Froyo) Every time I try to change it my android just tells me that it aborted the installation.
View 2 Replies
View Related