htc-hero

Which handset for university Android programming classes?

Next year there will be Android programming classes on Wroclaw University (Poland) but handsets for excersises needs to be choosen now. I was thinking about HTC Hero because: as HTC device it is a reference model for Android ecosystem; it will run system version 2.0; it has fair features/price ratio. Are there any arguments against H...

Adsense not displaying on HTC Hero

We've been developing an Android application which includes Google Adsense. However there seems to be a problem with the ads not showing on HTC Hero phones. It does show on HTC Magic. Have anyone else had the same problem? Are there any Hero-specific settings which is needed? ...

Building specifically for HTC phone

Greetings, I am trying to generate android platform specifically for HTC Hero. I have followed the instructions described and built from trunk (I suppose): http://source.android.com/download http://source.android.com/documentation/building-for-dream The problem is that there is no 'extract_files.sh' script. So what is the proper proced...

android.settings.INPUT_METHOD_SETTINGS doesn't work with HTC hero

My application has a button that sends the user to the locale setting. I do this with this code: startActivity(new Intent(android.provider.Settings.ACTION_INPUT_METHOD_SETTINGS)); This works fine with some devices, but with the HTC Hero I get: 02-03 13:59:27.501: INFO/ActivityManager(69): Starting activity: Intent { action=android.se...

Android: Intent.ACTION_SEND with EXTRA_STREAM doesn't attach any image when choosing Gmail app on htc Hero.

On the Emulator with a default mail-app all works fine. But I have no attach when I'am receiving a mail which I've sent from my Hero using a Gmail app. The default Mail app on the hero works fine. How can I make this code works with Gmail app on Hero? You can see the code below. private void startSendIntent() { Bitmap bitm...

loading a html file locally on the browser of a HTC HERO

How do you load a local html file into the browser on the HTC Hero mobile phone? ...

How to access programmatically what is displayed in an Android lock screen

Hi folks! 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 must be dragged down to dismiss the shown event and there might also be a Snooze bu...

Debugging android application on HTC Hero

Is it possible to connect the ADB with an HTC Hero? I tried following the instructions for the Win USB driver but when I try to install the driver I just get a generic message saying that there was a problem installing the driver. Looking at the supported devices, the HTC Hero isn't listed. Is this even possible? As a note, I've trie...

Do dispatchTouchEvent() gets called on HTC Hero?

Could someone with Htc hero (android 1.5) please try if boolean dispatchTouchEvent() method works on htc hero. I tried something on emulator and it works, but when i try it on my phone it doesn't get called. Thank you! ...

Mutli Lines Tab Screen

Hi, I'd like to create a screen which holds some Tabs in a multi lines formation. I'm using Android 1.5 and develop for HTC Hero devices. Thanks, Eyal. ...

Programmatically disable WiredHeadset

Hi, I have an HTC Hero with a major issue. It thinks that the headset/headphones are plugged in. I sent it to HTC and they said there is water damage so no fix. I have tried toggleheadset, toggleheadset2. I've rooted my device and installed the Android 2.1 ROM. Now I found out that AudioManager.setRouting and .setWiredHeadsetOn(bool) h...

HTC Hero Update 2.1 --> Broke Audio Streaming ????

Hi there, I have installed the 2.1 update on my HTC Hero yesterday, and happy as a puppy I instaleld my streaming app... Just to discover that it won't stream decently... It has to stream an mp3 stream and it works on my ADP 1.6 device, on a Samsung Galaxy S test-device (with 2.1) and on the 2.1 emulator... Logcat is gettign the follwoin...

Removing custom roms HTC Hero

Are there any ways to remove custom roms for HTC Hero and go back to the original rom that was shipped with the phone? ...

javascript geolocation on android doesn't work

I am developing a website that relies on pulling the geolocation data of a mobile user. I am doing it the typical way via: function initialize() { if(window.google && google.gears) { var geo = google.gears.factory.create('beta.geolocation'); geo.getCurrentPosition(useLocation, errorOnLocate); } else if(navigator...