For programming questions specific to hardware developed by HTC that runs the Android operating system.
Questions tagged [htc-android]
126 questions
5
votes
1 answer
Can't select option in android webview
Android's WebView is correctly displaying the option items, but when I try to select one of them, the dropdown popup closes, the default selection keeps showing up and the dropdown menu freezes which means another click doesn't display the selection…

casaflowa
- 51
- 1
- 4
5
votes
3 answers
Android App Crashes on HTC and Sony Ericsson Phone
We launched the app on the Market today - Nomad. I am getting reports that the app crashes on HTC and Sony Ericsson Phones. I got the following Log report from one of the USER.
java.lang.RuntimeException: Unable to start activity…

Harsha M V
- 54,075
- 125
- 354
- 529
5
votes
1 answer
HTC One X - shows "compatibility" menu icon
I have application which uses Sherlock ActionBar package.
The application uses platform-specific behavior for menu (so it's 3-dot icon in ActionBar on ICS and classic menu under HW button on pre-ICS)
I had recieved report from one user with HTC One…

Jan Langer
- 657
- 1
- 6
- 17
4
votes
2 answers
copying sqlite db to android device fails
I have an sqlite db which I copied to the 'asset' folder. In my prog I check if the database already exists, if not I create a new one and copy it.
I used (more or less) the code from…

user678199
- 41
- 1
- 2
4
votes
4 answers
Android Studio "No Connected Devices" HTC One (M7)
I know there are some questions like this but the solutions don't seem to work for me.
What I tried/have already:
I enabled Developer Mode on the device
I enabled USB Debugging and Fake Position in Developer Options on the device
I can deploy a…

CodingYourLife
- 7,172
- 5
- 55
- 69
4
votes
0 answers
Delete all 0 kb / null file from SD card in specific folder or DCIM /camera/thumnail or subfolder too
How can I delete all 0 kb / null files from SD card in specific folder or from DCIM /camera/thumnail or from subfolder too.
In my case I deleted last pic from my device inside capture and put the pic only in my app pic. as per my code its working…

Arpan24x7
- 648
- 5
- 24
4
votes
2 answers
ConsumerIrManager not working on HTC m8 lollipop
before the official lollipop update ConsumerIrManager was working fine with the HTC m8 (And so did the official HTC IR samples from htcdev) -
After update it doesnt work anymore
ConsumerIrManager gives Error-16
any idea what HTC may have changed?

ktwo
- 86
- 1
- 3
4
votes
1 answer
Mediaplayer seeking not correct in HTC
I am working in an app with both recorder and player and
it almost completed. In most of the devices Samsung,Motorolla,
Sony the app is so stable and working perfectly. When i tried it in htc
I came across a serious issue.
When the audio starts…

Sreedev
- 6,563
- 5
- 43
- 66
4
votes
1 answer
HTC One bug? Parts of HTTP header appearing in URLConnection InputStream
I have some code to download an XML file that has been shipping in a paid app for a few years - never had any trouble until I recently saw this happen with an HTC One.
Wondering if there is something I am missing or if this should get reported…

hooby3dfx
- 936
- 1
- 8
- 18
4
votes
1 answer
Unknown host exception returned when attempting to connect to the server on the HTC Rezound and only on 4g
I have a very specific Android HTC Rezound issue and I'm hoping someone may have a solution.
While using the HTC Rezound AND connected to a 4g network I recieve an unknown host exception error when attempting to connect to our servers using…

user1570047
- 41
- 1
4
votes
1 answer
Has anyone else seen a bug with HTC Flyer's Web View (hardware accelerated) or found a fix?
This issue is VERY specific to the HTC Flyer. One that has been upgraded to Honeycomb or later. It appears that if Hardware Acceleration is turned on, then the WebView just renders blank. The background color appears and you can scroll. You can…

cottonBallPaws
- 21,220
- 37
- 123
- 171
4
votes
7 answers
Eclipse doesn't find my HTC Sensation
I don't have my Sensation any more, so obviously this no longer is a problem for me. I've decided not to delete the question since it might help others with the same problem.
Thanks for all your attempts to help!
I'm trying to program apps for my…

Punchlinern
- 714
- 5
- 17
- 33
3
votes
1 answer
HTC Wildfire Plugin for debugging not working in UBUNTU
I got this following devices :
I got my Ubuntu 64 bits PC
I got my Wildfire (not S, but normal Wildfire)
In my phone,
I have turned on:
USB debugging mode
Also in the charging mode
However, ECLIPSE didn't find my device in their DEVICE section.…

Thet Mon Aye
- 205
- 3
- 17
3
votes
3 answers
Exception in Drawable.createFromResourceStream() -- HTC ONLY?
I've released an IME (soft keyboard) app and I am getting crash reports from HTC phones only. Here is the stack trace:
java.lang.NullPointerException
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:465)
at…

Barry Fruitman
- 12,316
- 13
- 72
- 135
3
votes
1 answer
Inserting contacts on HTC
I have problems with inserting contacts in HTC devices,
it looks that it works fine on other devices.
I'm using code from: Inserting contacts in Android 2.2
ArrayList ops = new ArrayList();
int…

Janci
- 863
- 1
- 9
- 24