General :: Change Charging State From USB To AC Adapter?
Feb 10, 2014
change the charging state from usb charging to ac charger without using ac charger.I mean how to scam my tablet to think that is charged with ac charger when im charging with usb from pc.
HTC Flyer P510e
View 1 Replies
Oct 4, 2010
I am using a Gallery view where the view corresponding to each item is non-trivial and consists of text as well as multiple buttons. When I click to drag the gallery view (somewhere not on one of the buttons) the button's drawable state changes to pressed and appears as if all of the buttons are currently being pressed. Additionally, the same behavior happens for the selected state (e.g. all of the text of the child TextViews changes color). I am trying to prevent this behavior and have found the android:duplicateParentState xml attribute as well as the setDuplicateParentStateEnabled property. This seems like it should accomplish what I am trying to do, but it seems to have no effect.
View 1 Replies
View Related
Mar 9, 2010
I cant find a way to save the checkbox state when using a Cursor adapter. Everything else works fine but if i click on a checkbox it is repeated when it is recycled. Ive seen examples using array adapters but because of my lack of experience im finding it hard to translate it into using a cursor adapter. Could someone give me an example of how to go about it.code...
View 3 Replies
View Related
Aug 17, 2010
My HTC Wildfire shows a red LED when charging, which changes to green when fully charged. But as I have red/green colour blindness I cannot tell when it is fully charged. Anyone know of an app that will allow me to change these colours?
View 9 Replies
View Related
Oct 30, 2009
Since the Droid is a micro-USB connection, I am assuming that we do not have to purchase the over-priced Motorola/VZW accessories? All that is necessary is standard car/wall adapter that accepts USB input. Then, any micr-USB cable will suffice. A quick look at different sites has the chargers for ~$10 and a micro-USB cable is only ~$3.
View 6 Replies
View Related
Jun 25, 2013
I just got a Galaxy S4 and am trying to customize everything I can, but I can't figure out this one thing at the moment. When I plug the charger into my phone, a short tone plays. How can I replace that tone with one of my choosing? Right now, the file I want to use is a midi file but I could change it to another format if I need to.
View 1 Replies
View Related
Jul 11, 2009
Am I right if I say that, there is no broadcast action currently for the SIM card state changes?
View 2 Replies
View Related
Oct 12, 2010
I was looking at the way Android handles orientation change for my application (I discovered that it restarts the mainactivity on orientation change :| ). I've seen that you can ovveride the method protected void onSaveInstanceState(Bundle outState)to save stuff, then have the in onStart. The problem is that I've my view with custom objects and a listview using a custom adapter... Everything is in a ArrayList of these objects, but I've noticed that you can't put arbitrary objects in the bundle! So how do I save the state?
View 2 Replies
View Related
Feb 5, 2010
I am able to display multiple overlayItems on Googlemap, now I want to change icon of any specific overlayItem (to show it is currently selected event). I want to do it through navigation buttons (next, previous) as on Google maps.
I am using StateListDrawable to display icons for OverlayItems. code...
Now my question is how do I change the state of any overlayItem/Icon on map when user click on one of navigation keys?
View 1 Replies
View Related
Feb 19, 2009
I wanna write an app to enable and disable the Bluetooth device synchronized. Referring the Android source code, I registered following receiver to receive the bluetooth state change event:
CODE:............
But it doesn't work. Although the BT status has been changed (the icon of BT has been appeared or disappeared), the receiver could not receive nothing.
View 5 Replies
View Related
May 6, 2010
I m currently working on landscape mode for android app in which i want to know how to maintain the state of the activity and views displayed on orientation change i.e from portrait mode to landscape mode ?
View 3 Replies
View Related
Aug 1, 2010
I am using the Android SDK icon-button for refresh (ic_menu_refresh) in a widget and I need to change the selection state when it is pressed. How is this done? Do I define an XML for the button?
View 1 Replies
View Related
Feb 17, 2010
I want to send an intent to my service everytime the state of Wifi connectivity changes. So when I currently use a broadcast receiver to listen for the state changes in Wifi, so when this recieves an intent I want to be able to send this info on to my service. Is this possible and if so the correct way to do it?
View 2 Replies
View Related
Apr 9, 2009
I have a main activity class that launches a couple of my subordinate activities from a tabHost.
Periodically (actually when I receive an incoming message on a socket), I want to inform the subordinate activities that application state has changed so that they can refresh their views.
In Swing I could wire this together using something like a PropertyChangeListener. As far as I can see, the Android design philosophy requires creating an Intent and broadcasting to (as far as I can tell all) other activities that are running.
This strikes me as overkill considering that I'm only trying to notify my own views of a model change. Am I missing something?
View 2 Replies
View Related
Oct 20, 2009
I have a custom View, what is the proper way of saving / restoring it's state after orientation change. I know I should implement onSaveStateInstatnce() and onRestoreInstanceState() methods, but how exactly (with which argumets) and when I should call them?
View 4 Replies
View Related
Aug 11, 2010
I have a compound UI component built up from a ViewGroup containing a number of TextView, ImageView etc. components. Many of these have StateListDrawables as their images/backgrounds. Is there any way of making them select from this drawable based on the state of the parent ViewGroup rather than the component itself? Ideally I want to be able to change the visual state of all children of the ViewGroup (text colour, image etc) based on the state of the ViewGroup, preferably without having to hook up complex logical code. This seems like a fairly common sort of requirement, so I was hoping it would be straightforward in Android - am I going to be disappointed?
View 1 Replies
View Related
May 20, 2010
Not sure of this has been asked but is there a way to change what screen is displayed while the DI is charging?
View 5 Replies
View Related
Jan 8, 2010
For some reason the notification led does not flash while the phone is charging when I have a new text, voicemail, etc. Is there an option somewhere that I am missing to change this? While charging, the LED stays a constant amber.
View 2 Replies
View Related
Feb 8, 2009
I'm a little confused by what I'm seeing with regards to phone state transitions via the PhoneStateListener. When I receive a call, this is what happens: (call comes in) RINGING -> IDLE (I pick up) OFFHOOK (I hang up) IDLE It's that first transition from RINGING to IDLE without any interaction from me (not ending the call, not answering the call) that confuses me. Do I really have to implement an idle counter to know that an incoming call has really ended? Seems like the reported phone state represents some sort of phone state that isn't the obvious one.Is this a bug or am I just not in tune with the paradigm here?
View 2 Replies
View Related
May 1, 2010
Three Droids in the family, had for approx 1 month, with no real battery problems other than drain with GPS use. Battery usage extremely predictable. Until yesterday. Day before yesterday, wife's phone reported battery charge of ~30% after being on media dock charger all night. Figured it was a connection glitch of some kind. Happened again today, then while I was looking at the phone, battery went from ~20% to 100%. Now seemed more like a status reading problem. Picked up my phone from its media dock - a different one - and surprise surprise, it too was reading ~30% after being on dock charging all night.
(Yes, we have power and the docks are plugged in.) Powering down phone doesn't reset status, still reads ~30%.
View 3 Replies
View Related
Oct 5, 2010
I have created one custom view that contains the horizontalscrollview. Now when i changes the orientation its scroll state change to 0 every time. I got the previous scroll state by using onSaveInstanceState(Bundle savedInstanceState) and onRestoreInstanceState(Bundle savedInstanceState) . in onRestoreInstanceState i am using following method to get reposition the scroll, hoz_scroll.scrollTo(hoz_x_pos, hoz_scroll.getScrollY());
View 2 Replies
View Related
Jun 20, 2013
Which MHL Adapter is compatible for Samsung SG4?
I've bought two different adapters (today)....and neither is compatible. Now, I'm hearing that I have to buy a Samsung HDTV Adapter. Is that true? Do you have a compatible MHL Adapter for a SG4? If so, can you tell me who manufactured it and where I can buy one?
View 2 Replies
View Related
Feb 25, 2014
I have just been reading the thread about how to flash a ROM on to a phone without SD. My phone unfortunately does not come with a sd card reader so i might be unable to flash ROM's. know if there is a way to do this, or if you could use a micro USB to SD adapter to be able to make this work.
View 3 Replies
View Related
May 1, 2012
I've got an older model Xbox 360 without a wifi adapter, and no internet at home, so could the Xbox be tricked into tethering thinking its a wiring adapter? Is it possible. SGH-T959V
View 6 Replies
View Related
Nov 10, 2009
Charging Battery - Alternative Methods? Charging with USB Cable to any Computer?
View 12 Replies
View Related
Apr 18, 2014
I am hooking up my Samsung s4 to my tv to mirror the image on my phone. I read that a lot of people are having problems finding adapters that can charge the phone while using the hdmi adapter. I was wondering if I took the cable going from the adapter to the phone and if I spliced into it and added another source of power that was 5 volts would that make up for the lack of power coming out of the hdmi adapter or would that damage my phone. I attached a picture for reference.
View 1 Replies
View Related
Aug 16, 2013
So i bought a samsung Micro Usb to Hdmi or MHL adapter that was supposed to work for the Galaxy s4. I plugged everything in to my 42inch Vizio and I couldn't see a picture. Connect their Galaxy s4 with Vizio tv's using an MHL adapter and not the internet.
View 5 Replies
View Related
Dec 31, 2012
Are there commands to switch the bluetooth adapter on and off from the shell? Googling has turned up nothing in particular.
(If it matters, I'm using a Galaxy Nexus, and trying to put together a script to cycle my bluetooth adapter on boot.)
View 1 Replies
View Related
Jan 27, 2012
Basically what am trying to do is use my HTC Amaze 4G or my ASUS Transformer as a usb blutooth adapter for my pc running windows 7 so i can connect my ps3 controller or wiimote via bluetooth so i can use it as a game controller. I figure since i have both of these devices that are bluetooth capable i wouldn't have to buy a usb bluetooth adapter. how to do this or if there's some required app or driver?
View 1 Replies
View Related
Sep 25, 2012
What i want to do, is use either my tab 2 7.0 or my old htc hero as a router. I want to set up a homegroup from my server, but dont want to buy a router. My isea is to create a network and broadcast it from the wifi card in the ohone. This probably wont connect to the internet any time soon, but i feel that as long as i only need to access movies and stuff from my server the phone card's radiuswill suffuce.
View 1 Replies
View Related