Questions tagged [htc-android]

For programming questions specific to hardware developed by HTC that runs the Android operating system.

126 questions
29
votes
5 answers

HTC M8 Unsatisfied Link Error after 5.0.1 update

When trying to push an app to my device using Android studio, I'm getting the below log readout in AS about 80% of the time. Any clues? Waiting for device. Target device: htc-htc_one_m8-FA43NWM07298 Uploading file local path:…
Psest328
  • 6,575
  • 11
  • 55
  • 90
21
votes
3 answers

Android HttpClient OOM on 4G/LTE (HTC Thunderbolt)

I have gotten some reports from users of crashes when try use my application on Verizon's 4G/LTE. Looking at the stack trace, it looks like Android's HttpClient.execute() implementation is throwing an OOM. This happens only on 4G/LTE devices,…
psychotik
  • 38,153
  • 34
  • 100
  • 135
15
votes
4 answers

maxlength attribute of input in html does not work on HTC One M7

I got a simple input field which has a maxlength="2" attribute. The code looks like this below: It works fine on most Android devices. However, on the HTC One M7, it does not work. On this device, it just…
Long Dao
  • 1,341
  • 4
  • 15
  • 33
12
votes
2 answers

Camera autofocus callback not happening

I am using the Camera API on the Android and gotten my code to work on several platforms including the Samsung Galaxies and HTC Desire. So far I'm only experiencing a problem on the HTC Desire Z, which is intermittent. in my code I'm calling the…
Ian Low
  • 399
  • 4
  • 14
9
votes
1 answer

HTC Only Hard Crash inside OpenGL

I have been seeing this problem for a while in my application. It shows itself by randomly hardlocking or rebooting HTC phones when they are rendering using OpenGL. Checking the logcat it appears to be a deadlock issue as you will see this…
TurqMage
  • 3,321
  • 2
  • 31
  • 52
9
votes
1 answer

setOrientationHint rotates video counterclockwise on some phones' front facing cameras (HTC)

The Problem: Certain Android devices (listed at the bottom of the question) exhibit unexpected behavior when utilizing the setOrientationHint(int degrees) function for videos taken with the front facing camera. The expected behavior is for the video…
Daniel Smith
  • 8,561
  • 3
  • 35
  • 58
9
votes
2 answers

Why don't some xhdpi mobiles display image located in /res/drawable only?

This is a scenario. There are folders: drawable drawable-ldpi drawable-mdpi drawable-hdpi draawble-xhdpi An image (usually background, but not bound to such images only) is located in /res/drawable only. I test the app on Galaxy S3 and the…
sandalone
  • 41,141
  • 63
  • 222
  • 338
8
votes
2 answers

How to find out how much free heap size is available for bitmap for Android 2.*?

Our application uses a lot of bitmaps. It works fine for example on G1, XOOM. But on HTC Desire there is an OutOfMemory error. In code we use try/catch(OutOfMemoryError e) and all devices(except Desire) throw exception, but HTC just kills the…
StanleyKh
  • 101
  • 1
  • 7
8
votes
3 answers

HTC One X - Webview becomes white/empty after touch

I've an Android application which has text box for search, some buttons, webviews (1 visible 2 invisible) and an admob adview. the app just searches on some special sites and it works great on emulator, samsung galaxy devices. but I've issues with…
7
votes
2 answers

Account doesn't appear in contacts app settings on device from HTC

I write my own SyncAdapter based on example in SDK. It should add contacts from external source, and it works perfect in device emulator. But when I run it on HTC Desire after all I can't see my Account in Contacts->Display options Also I tried…
Henry Pootle
  • 1,196
  • 1
  • 11
  • 30
6
votes
4 answers

Android Studio adb - USB Device Not Found - Verizon Resolution

How do I get Android Studio adb to recognize my usb device (HTC Droid DNA) I keep getting the USB device not found message in the abd log. Windows also will not install my drivers and my HTC sync manager is updated? Android Studio 0.5.2 Device:…
natur3
  • 236
  • 1
  • 3
  • 14
6
votes
1 answer

NullPointerException in webview.java (android.webkit.WebView$PrivateHandler.handleMessage)

Every few days I get a crash report for my application with the following stack trace, or small variants thereof (with different line numbers based on different android versions) java.lang.NullPointerException at WebView.java:8241:in…
PacificSky
  • 3,422
  • 2
  • 25
  • 24
6
votes
1 answer

Standard intent URI broken?

I'm having problems with intent URIs on a particular device, so I tried the CommonsWare URLHandler sample as suggested here: Launching my app using the intent URI, and the intent URI hyperlink on its sample page also fails to invoke the application.…
Simon
  • 453
  • 5
  • 14
6
votes
1 answer

Disable HTC Noise Cancellation

I have an app that reads the microphone. Specifically I'm detecting blowing into the microphone ;) It doesn't work on a lot of HTC devices. I've picked up an HTC Droid Eris as well as an HTC Droid Incredible. In addition to those I have reports…
Bill Mote
  • 12,644
  • 7
  • 58
  • 82
5
votes
3 answers

How to disable audio output processing on an htc phone with Android

I am trying to measure the audio path from speaker to microphone on two different phones, an htc Wildfire S running Android 2.3.5, and an htc One X running Android 4.0.3. Using Eclipse, I coded an app that has wave files played back using an…
Ingo Schalk-Schupp
  • 843
  • 10
  • 26
1
2 3
8 9