android Programming Glossary: hero
Android intent for playing video? http://stackoverflow.com/questions/1572107/android-intent-for-playing-video tostart This works on most phones but not on the HTC Hero. It seems to load a bit different video player. This does play.. before the startactivity it does work on the HTC Hero. However since this is a HTC specific call I can't run this.. improve this question I have come across this with the Hero using what I thought was a published API. In the end I used..
Android - drag and drop - list rearrange http://stackoverflow.com/questions/1940117/android-drag-and-drop-list-rearrange row and so on to change to order Just like on the HTC Hero in the clocks app where you can rearrange the order of clocks..
BitmapFactory OOM driving me nuts http://stackoverflow.com/questions/1955410/bitmapfactory-oom-driving-me-nuts so that my app is the only thing running. I'm using an HTC Hero for device testing Android 1.5 . At this point I'm thinking..
OpenGL extensions available on different Android devices [closed] http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices gl.glGetString GL10.GL_EXTENSIONS I've got a HTC Hero so I can share those extensions next. java android opengl es..
Android: BitmapFactory.decodeByteArray gives pixelated bitmap http://stackoverflow.com/questions/2183808/android-bitmapfactory-decodebytearray-gives-pixelated-bitmap same app in the simulator rather than on my phone a HTC Hero there is no pixelation. How on earth is this possible Below..
Android: Intent.ACTION_SEND with EXTRA_STREAM doesn't attach any image when choosing Gmail app on htc Hero http://stackoverflow.com/questions/2206397/android-intent-action-send-with-extra-stream-doesnt-attach-any-image-when-choo doesn't attach any image when choosing Gmail app on htc Hero On the Emulator with a default mail app all works fine. But.. 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... fine. How can I make this code works with Gmail app on Hero You can see the code below. private void startSendIntent Bitmap..
Android on-screen keyboard auto popping up http://stackoverflow.com/questions/2496901/android-on-screen-keyboard-auto-popping-up As far as I can tell all of these users are using the HTC Hero . Is this a bug in 1.5 Is there anything I can do about it ..
Android multiple screen sizes with same density http://stackoverflow.com/questions/2638202/android-multiple-screen-sizes-with-same-density is very different. So let's consider the screen of a G1 or Hero which has a resolution 480x320 and a density of approx 160dpi...
AlarmManager and BroadcastReceiver instead of Service - is that bad ? (Timeout) http://stackoverflow.com/questions/3117350/alarmmanager-and-broadcastreceiver-instead-of-service-is-that-bad-timeout Timeout does not happen after about 10 seconds on my HTC Hero still on Android 1.5 API Level 4 but well on my Nexus One 2.1..
Android - Application (apk) Maximum size http://stackoverflow.com/questions/3536463/android-application-apk-maximum-size from that 52.5MB Images and it runs on the my HTC Hero mobile but On Emulator it shows an error Failed to upload my_application.apk..
Android - onBackPressed() not working http://stackoverflow.com/questions/3558385/android-onbackpressed-not-working return It works on pre 2.x devices but doesn't work on a Hero with 2.1 update 1 and a Nexus One with 2.2. Is there somwthing..
Installing application on SD-card in Android sdk 2.2 http://stackoverflow.com/questions/3584297/installing-application-on-sd-card-in-android-sdk-2-2 will be even lower due to apps already installed etc . HTC Hero on the other hand has only 288mb internal memory leaving it.. 90mb app will install to SDcard on nexus one but won't on Hero due to memory limitations. The reason you are getting that error..
Running multiple AsyncTasks at the same time — not possible? http://stackoverflow.com/questions/4068984/running-multiple-asynctasks-at-the-same-time-not-possible AsyncTasks at the same time. Platform is Android 1.5 HTC Hero. However only the first gets executed. Here's a simple snippet.. descr. accordingly. I don't have this problem with an HTC Hero running Android 2.1. Hmmm ... android android asynctask share..
Screen blinking when using a webview with flash http://stackoverflow.com/questions/5095977/screen-blinking-when-using-a-webview-with-flash Archos 101 Nexus One Nexus S Galaxy S Xperia Desire HTC Hero and really more every activity with a webview blink a few milliseconds..
How to disable orientation change in Android? http://stackoverflow.com/questions/1512045/how-to-disable-orientation-change-in-android and loses all its states. This does not happen with the hero version. My application is quite big so I don't want it to restart..
Android intent for playing video? http://stackoverflow.com/questions/1572107/android-intent-for-playing-video g1 version But this intent is missing from the hero. Does anybody know a list of intents classnames that should..
Push .apk to /system/app/ in HTC HERO http://stackoverflow.com/questions/2048478/push-apk-to-system-app-in-htc-hero you can remount the partition as read write host adb shell hero su hero# mount o remount rw t yaffs2 dev block mtdblock3 system.. remount the partition as read write host adb shell hero su hero# mount o remount rw t yaffs2 dev block mtdblock3 system hero#.. mount o remount rw t yaffs2 dev block mtdblock3 system hero# cat sdcard myApp.adk system app myApp.adk hero# mount o remount..
Android Intent for Twitter application http://stackoverflow.com/questions/2077008/android-intent-for-twitter-application only show me my twitter apps on my phone so htc peep htc hero or twitdroid . I have tried it with intent.settype application..
Android: Intent.ACTION_SEND with EXTRA_STREAM doesn't attach any image when choosing Gmail app on htc Hero http://stackoverflow.com/questions/2206397/android-intent-action-send-with-extra-stream-doesnt-attach-any-image-when-choo 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.. the answer. android email attachment android intent htc hero share improve this question For me the problem was solved..
Reading barcodes with android http://stackoverflow.com/questions/2240341/reading-barcodes-with-android Hi I am developing an application for the android htc hero. I am looking into ways of using the inbuilt camer to read 2D..
How to get the icon of other applications (Android) http://stackoverflow.com/questions/2384713/how-to-get-the-icon-of-other-applications-android something that can help me I'm testing this app on my hero so the api level is 3 android 1.5 . Thanks. java android ..
getLine1Number return null but not always http://stackoverflow.com/questions/2443524/getline1number-return-null-but-not-always in the sdk all works perfectly on some devices like my hero with 1.5 it returns null on the tattoo with 1.6 it works but..
I'm getting a NullPointerException when I use ACTION_IMAGE_CAPTURE to take a picture http://stackoverflow.com/questions/3275749/im-getting-a-nullpointerexception-when-i-use-action-image-capture-to-take-a-pic which is why it's null. However some camera apps like the hero do. Awesome. So the answer is to specify EXTRA_OUTPUT. The nexus..
Android MediaPlayer error codes? http://stackoverflow.com/questions/3857578/android-mediaplayer-error-codes it inevitably dies. On 2.1 phones more specifically a hero I get this log output W MediaPlayer 7919 info warning 1 26 I..
Android intent for playing video? http://stackoverflow.com/questions/1572107/android-intent-for-playing-video tostart.setDataAndType Uri.parse movieurl video startActivity tostart This works on most phones but not on the HTC Hero. It seems to load a bit different video player. This does play the first video thrown at it. However every video after that.. explicit tostart.setClassName com.htc.album com.htc.album.ViewVideo before the startactivity it does work on the HTC Hero. However since this is a HTC specific call I can't run this code on other phones such as the G1 . On the G1 this works tostart.setClassName.. a video Thanks android video sdk android intent share improve this question I have come across this with the Hero using what I thought was a published API. In the end I used a test to see if the intent could be received private boolean..
Android - drag and drop - list rearrange http://stackoverflow.com/questions/1940117/android-drag-and-drop-list-rearrange I can rearrange list items with dragging list rows to another row and so on to change to order Just like on the HTC Hero in the clocks app where you can rearrange the order of clocks Wouter android multithreading list drag and drop share..
BitmapFactory OOM driving me nuts http://stackoverflow.com/questions/1955410/bitmapfactory-oom-driving-me-nuts for this problem which goes away when I reboot the phone so that my app is the only thing running. I'm using an HTC Hero for device testing Android 1.5 . At this point I'm thinking the only way around this is to somehow avoid using BitmapFactory..
OpenGL extensions available on different Android devices [closed] http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices device do report the extensions list please. String extensions gl.glGetString GL10.GL_EXTENSIONS I've got a HTC Hero so I can share those extensions next. java android opengl es share improve this question OpenGL ES extensions on HTC..
Android: BitmapFactory.decodeByteArray gives pixelated bitmap http://stackoverflow.com/questions/2183808/android-bitmapfactory-decodebytearray-gives-pixelated-bitmap 2678 4315351421_54e8cdb8e5.jpg Even stranger when I run the same app in the simulator rather than on my phone a HTC Hero there is no pixelation. How on earth is this possible Below is the code I use for loading a bitmap from a URL it is based..
Android: Intent.ACTION_SEND with EXTRA_STREAM doesn't attach any image when choosing Gmail app on htc Hero http://stackoverflow.com/questions/2206397/android-intent-action-send-with-extra-stream-doesnt-attach-any-image-when-choo 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.. 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.. 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 bitmap Bitmap.createBitmap editableImageView.getWidth editableImageView.getHeight..
Android on-screen keyboard auto popping up http://stackoverflow.com/questions/2496901/android-on-screen-keyboard-auto-popping-up on screen keyboard without them even touching the EditText . As far as I can tell all of these users are using the HTC Hero . Is this a bug in 1.5 Is there anything I can do about it android android softkeyboard share improve this question ..
Android multiple screen sizes with same density http://stackoverflow.com/questions/2638202/android-multiple-screen-sizes-with-same-density about the same physical size even if the number of pixels is very different. So let's consider the screen of a G1 or Hero which has a resolution 480x320 and a density of approx 160dpi. An image 300 pixels wide will be 1.875 inches across. This..
AlarmManager and BroadcastReceiver instead of Service - is that bad ? (Timeout) http://stackoverflow.com/questions/3117350/alarmmanager-and-broadcastreceiver-instead-of-service-is-that-bad-timeout remote pid 819 has died. ps strangely enough this Timeout does not happen after about 10 seconds on my HTC Hero still on Android 1.5 API Level 4 but well on my Nexus One 2.1 update1 Questions Why this timeout Any easy way to avoid this..
Android - Application (apk) Maximum size http://stackoverflow.com/questions/3536463/android-application-apk-maximum-size and development. Update This time i am having 58Mb application from that 52.5MB Images and it runs on the my HTC Hero mobile but On Emulator it shows an error Failed to upload my_application.apk on device 'emulator 5554' java.io.IOException..
Android - onBackPressed() not working http://stackoverflow.com/questions/3558385/android-onbackpressed-not-working Intent.FLAG_ACTIVITY_NEW_TASK startActivity setIntent return It works on pre 2.x devices but doesn't work on a Hero with 2.1 update 1 and a Nexus One with 2.2. Is there somwthing I am missing from the example Or can anyone point out why..
Installing application on SD-card in Android sdk 2.2 http://stackoverflow.com/questions/3584297/installing-application-on-sd-card-in-android-sdk-2-2 etc leaving a user with only around 190MB app space which will be even lower due to apps already installed etc . HTC Hero on the other hand has only 288mb internal memory leaving it with a very small app size ram . Depending on the phone 90mb.. it with a very small app size ram . Depending on the phone 90mb app will install to SDcard on nexus one but won't on Hero due to memory limitations. The reason you are getting that error is that after the android os takes the needed ram out of..
Running multiple AsyncTasks at the same time — not possible? http://stackoverflow.com/questions/4068984/running-multiple-asynctasks-at-the-same-time-not-possible at the same time &mdash not possible I'm trying to run two AsyncTasks at the same time. Platform is Android 1.5 HTC Hero. However only the first gets executed. Here's a simple snippet to describe my problem public class AndroidJunk extends Activity.. the phone in question runs Android 1.5 I updated the problem descr. accordingly. I don't have this problem with an HTC Hero running Android 2.1. Hmmm ... android android asynctask share improve this question AsyncTask uses a thread pool pattern..
Screen blinking when using a webview with flash http://stackoverflow.com/questions/5095977/screen-blinking-when-using-a-webview-with-flash graph_01.swf This work pretty well but on every device I tried Archos 101 Nexus One Nexus S Galaxy S Xperia Desire HTC Hero and really more every activity with a webview blink a few milliseconds of black screen then the animation finally appear...
How to disable orientation change in Android? http://stackoverflow.com/questions/1512045/how-to-disable-orientation-change-in-android My activity stays in portrait mode but seems to get restarted and loses all its states. This does not happen with the hero version. My application is quite big so I don't want it to restart and lose all its states when the keyboard is opened...
Android intent for playing video? http://stackoverflow.com/questions/1572107/android-intent-for-playing-video tostart.setClassName com.android.camera com.android.camera.MovieView g1 version But this intent is missing from the hero. Does anybody know a list of intents classnames that should be supported by all Android devices Or a specific one to launch..
Push .apk to /system/app/ in HTC HERO http://stackoverflow.com/questions/2048478/push-apk-to-system-app-in-htc-hero the device boots. But if you have root access to the device you can remount the partition as read write host adb shell hero su hero# mount o remount rw t yaffs2 dev block mtdblock3 system hero# cat sdcard myApp.adk system app myApp.adk hero# mount.. boots. But if you have root access to the device you can remount the partition as read write host adb shell hero su hero# mount o remount rw t yaffs2 dev block mtdblock3 system hero# cat sdcard myApp.adk system app myApp.adk hero# mount o remount.. the partition as read write host adb shell hero su hero# mount o remount rw t yaffs2 dev block mtdblock3 system hero# cat sdcard myApp.adk system app myApp.adk hero# mount o remount ro t yaffs2 dev block mtdblock3 system Alternatively after..
Android Intent for Twitter application http://stackoverflow.com/questions/2077008/android-intent-for-twitter-application to show a list of applications with intent.createChooser that only show me my twitter apps on my phone so htc peep htc hero or twitdroid . I have tried it with intent.settype application twitter but it doesnt find any apps for twitter and only..
Android: Intent.ACTION_SEND with EXTRA_STREAM doesn't attach any image when choosing Gmail app on htc Hero http://stackoverflow.com/questions/2206397/android-intent-action-send-with-extra-stream-doesnt-attach-any-image-when-choo 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.. 02 05 17 03 37.585 INFO Gmail 11511 size 0 Thank you for the answer. android email attachment android intent htc hero share improve this question For me the problem was solved with the following lines of code Bitmap screenshot Bitmap.createBitmap..
Reading barcodes with android http://stackoverflow.com/questions/2240341/reading-barcodes-with-android barcodes with android Hi I am developing an application for the android htc hero. I am looking into ways of using the inbuilt camer to read 2D barcodes and extract the string returned from the barcode...
How to get the icon of other applications (Android) http://stackoverflow.com/questions/2384713/how-to-get-the-icon-of-other-applications-android the user but I cant find anything that lets me do this. Is there something that can help me I'm testing this app on my hero so the api level is 3 android 1.5 . Thanks. java android share improve this question Ok I figured out how to do it...
getLine1Number return null but not always http://stackoverflow.com/questions/2443524/getline1number-return-null-but-not-always not always I use the telephony manager to get the phone number in the sdk all works perfectly on some devices like my hero with 1.5 it returns null on the tattoo with 1.6 it works but on some other tattoos it returns null... I start to get crazy.....
I'm getting a NullPointerException when I use ACTION_IMAGE_CAPTURE to take a picture http://stackoverflow.com/questions/3275749/im-getting-a-nullpointerexception-when-i-use-action-image-capture-to-take-a-pic out the stock camera application doesn't send EXTRA_OUTPUT which is why it's null. However some camera apps like the hero do. Awesome. So the answer is to specify EXTRA_OUTPUT. The nexus one camera app will save the image to that location. Then..
Android MediaPlayer error codes? http://stackoverflow.com/questions/3857578/android-mediaplayer-error-codes it. It works great for the most part but after 5 30 minutes it inevitably dies. On 2.1 phones more specifically a hero I get this log output W MediaPlayer 7919 info warning 1 26 I MediaPlayer 7919 Info 1 26 I MediaStreamService 7919 mPlayer..
|