New to Android – sample app doesn’t do anything

May 19, 2012

0

I’m new to Android, but have done Java, GWT, and App Engine development in the past. I’m running Eclipse 3.6 on Ubuntu 10.04. I installed the Eclipse development plugin, created an avd, installed the android samples, and created an Eclipse project with the NotesList sample. When I run the project (ran it in the debugger)… [Read more…]

I can’t see my own posts here?

May 18, 2012

0

I get responses to my questions, but it’s annoying that I can’t search for my own posts to see whether any replies have come in. I am on many other mailing lists where this is not the case. Is there any reason that this one should be different? Thanks! Tobiah – Queen – Another One… [Read more…]

Newbie having trouble detecting when VideoView video playing completes

May 18, 2012

0

Hi Guru’s New to Android. I am developing an app that plays videos based on a touch map that is read from the local disk, this map defines areas of the screen that relate to a particular video to play. This is all working very nicely now. However, when the video completes I have to… [Read more…]

Layout: Battery usage bar

May 17, 2012

0

Hi everyone Just wondering if anyone knows how the layout (specifically the power used bar) is created for the power consumption page with android. ive been trying to recreate it will little success. Id like to use the little power meter in my application. Any help is greatly appreciated Many Thanks Harpritt – HP Compaq… [Read more…]

TextView.setError() strange behavior

May 17, 2012

0

The documentation for the method TextView.setError() says that the method: “Sets the right-hand compound drawable of the TextView to the “error” icon and sets an error message that will be displayed in a popup when the TextView has focus. The icon and error message will be reset to null when any key events cause changes… [Read more…]

Streaming video

May 16, 2012

0

Hi all. I need to add a feature to my app which streams video. - One source I have has a file extension of m3u8. I’m unsure as to whether Android can handle this? - I also have to handle an RTSP protocol. This isn’t something I’m too familiar with. 1) Is MediaPlayer the right… [Read more…]

How to Declare file write permission in framework code

May 16, 2012

0

hi friend, i created a custom listview in framework path:> /froyo/frameworks/base/core/java/android/widget/ and i am using this listview inside homescreen widget just like analog clock. Inside this custom listview as per my requirement, i am creating a file output stream as FileOutputStream out = new FileOutputStream(“sdcard/share.png”); But at this line i am getting a FileNotFoundException (permission… [Read more…]

TranslateAnimation problem

May 15, 2012

0

Hi all, I use TranslateAnimation to move a view from position A to position B, and I want the view to stay at B after animation. I use setFillAfter according to its usage. It does stay at B, but the view’s focus still stays at A. Does anybody meet the same problem? Another way is… [Read more…]

Concern on AsyncTask in an Activity

May 15, 2012

0

I’m just confused about the lifecycle of activity and AsyncTask. I have an activity which opens new AsyncTask. Now if finish() that activity, will be background task also get closed ? Or will it be still going ? If going on then how long it will be going, till my code exceute or till the… [Read more…]

admob ads in android app not showing all the time

May 14, 2012

0

Hello, so i am creating an android app. I have followed the tutorial and example on the admob website. I requestFreshAd() in test mode and then setTestDevices(). This works most of the time but not all the time. I understand that requestFreshAd() is making a request for an ad and needs internet connectivity. I am… [Read more…]