For programming questions specific to hardware developed by HTC that runs the Android operating system.
Questions tagged [htc-android]
126 questions
3
votes
1 answer
App is published in Android Market but not visible in some phones
I have application published in the market. Below is the link provided. I have HTC Wildfire and Desire with me. Both have android 2.2
https://market.android.com/details?id=com.cricket.fast
Now I can see this and install this application on HTC…

Umakant Patil
- 2,227
- 6
- 32
- 58
3
votes
1 answer
Threads not running in Marshmallow devices
I've developed one location based app which uses Google Maps API and GPS. In my app I've used finish() and finishAffinity()in certain methods to close the app.
It is working fine with all the mobiles except the HTC One M8 (Marshmallow). In that…

Surya
- 47
- 8
3
votes
1 answer
android call recording on htc one m8
I'm writing a call recording component and I am testing it on HTC One M8.
the phone is not rooted, and I am using standrad API to record calls like in this example:
MediaRecorder recorder = new…

Oren
- 937
- 1
- 10
- 34
3
votes
2 answers
How to access programmatically what is displayed in an Android lock screen
Today I am looking for a way to mimic the behavior I know from my HTC Hero's lock screen: the calendar and alarm clock can put text & drawables there to inform about an upcoming event or an expired alarm. The lock screen remains there in that it…

Zordid
- 10,451
- 11
- 42
- 58
3
votes
2 answers
Not able to create directory for SharedPreferences or DataBase
We're having a crash when starting the app and it tries to create the shared preferences and read from the database. It happens in different devices, mostly HTCs but also LGs, that are running Gingerbread, and they are not rooted.…

cperes
- 33
- 2
- 6
2
votes
0 answers
Android Facebook SDK - Different Devices, Different Results
I have hooked up the Facebook application. I have a couple different devices to test on, and I'm getting different results. So far, everything is working great with my Motorola Droid phone, but I get a different experience when it comes to running…

stringa
- 161
- 1
- 2
- 6
2
votes
0 answers
HTC wildfire clear history does not clear browser history
I have developed my app to display browser history. I query the android.provider.Browser.BOOKMARKS_URI table to fetch data & update my UI. This works well on Google Nexus S, but HTC Wildfire gives some issues. It seems to have a customised browser…

AndroidGuy
- 1,270
- 4
- 15
- 32
2
votes
1 answer
HTC Evo 3D Preview
Im trying to get the preview from the separate backfacing cameras in HTC Evo 3D. I access the camera using camera.open(CAMERA_STEREOSCOPIC) but the preview aspect ratio is 640x480 or 1270x768. There are two camera images at the same image side by…

Lukas
- 455
- 4
- 11
2
votes
2 answers
Image capturing issue in HTC mobile
i am using following code for capturing the image in Android:
String fileName = "image.jpeg";
//create parameters for Intent with filename
ContentValues values = new ContentValues();
…

Sandy
- 6,285
- 15
- 65
- 93
2
votes
3 answers
SharedPreferences EditText dialog squashed on HTC WildFire
I'm using SharedPreferences in my Android app in the standard way. On the HTC WildFire device (resolution 240x320), the EditText is squashed up when the virtual keyboard is displayed.
Has anyone else come across this is there a solution? I've been…

Chris Seatory
- 276
- 2
- 4
2
votes
1 answer
Building AOSP for my HTC Device
So, I decided to do something about the AOSP ROM deficiency of my HTC device and build one of my own.
I have the kernel source archive from HTCDev, which as the kernel source .zip and a platform.zip file in it (which further has the 'development'…

buggerman
- 31
- 2
2
votes
2 answers
Speech Recognizer on HTC One M7
I wrote a speech recognition app using android's built-in speech recognition classes. The following exception shows up in my developer console when the startListening function is called on the speech recognizer object obtained using…

Mike Seeds
- 400
- 3
- 10
2
votes
0 answers
Android RemoteControlClient always shows "Unknown Artist" on htc one
We are trying to set metadata on the RemoteControlClient (lockscreen) when playing music from a service. This works fine on most phones/emulators, but we cannot seem to populate the "artist" field on an htc one (possibly other htc sense based phones…

Jonathan S.
- 1,540
- 1
- 15
- 26
2
votes
2 answers
Prevention of phone number detection is not working on HTC device
I have to prevent detection of Phone number in my application.
I am using:
meta tag in my html. This prevents the phone number detection on Xolo device. But it doesn't work on HTC device. Is…

MysticMagicϡ
- 28,593
- 16
- 73
- 124
2
votes
3 answers
Android manifest that will support Galaxy S4, HTC One
Im trying to create Android manifest that Google Play will show to Samsung Galaxy S4, HTC One and so on since current one doesn't list those in compatible devices list.
I did search Stack Overflow, but all advices here didn't help me. Below is…

Some Dude
- 33
- 5