Hi
I am getting this message on emulator when I run my android project:
The application MediaPlayerDemo_Video.java (process com.android.MediaPlayerDemo_Video) has stopped unexpectedly. Please try again
I am trying to run the MediaPlayerDemo_Video.java given in ApiDemos in the Samples given on developer.android.com.
The code is ...
When embedding WebView in an application and loading html-pages in it, JavaScripts alert() do not work.Give me an example pls
...
Below is an example of the type of problem that I have. I have data in a pojo that I need to display in a textview... the data has pseudo code that denotes each paragraph with [p]
I would like to somehow parse the [p]'s into paragraphs when they are displayed in the textview. Can this be done? Is there something I can substitute for the...
I have 2 EditText01 and 02. My button will be disable once the activity is started. And when these two EditText box got text inside, the button have to be enabled back. However my button is always disable and can't enable back using, button.setEnabled(true);.
Can anyone help me with this? Thx... :)
summit.setEnabled(false);
buttonEnab...
I want make an app/service that looks like (Nexus One touch buttons)
for the navigation keys (Home, menu,Back, Search)
The buttons should always stay on top and send the command to the actually app thats running.
Someone have ideas and sample codes how to do that?
Ken
...
Hi all,
I would like to create a Home Widget containing a ListView, but I don't know if this is possible and if it is, how to do it.
I was using a ListActivity and it was pretty simple, but can't figure out a way to do it using AppWidgetProvider.
Thanks for your help
...
Hi, I know a lot of posts have been made in regards to FTP, but none have led me to what I need. I'm trying to upload a picture to a server (currently attempting FTP) but do it without notifying requiring the user to be involved. I want to be able to seamlessly upload/download the image when a certain user action occurs, but I don't wa...
If yes, then is there any other method to make it a bit faster?
...
I create an android application. I need the check, how my application is working on the device. How to install the application on the android device ?
-Thanks in advance
...
Hi all,
I'm not very clear about the Intent object and how to use it to pass data between Activities. In my application I have several tabs between which I want to pass ArrayList. Here is a sample code I plan to use, but I'm missing the part where the main activity catches the Intent and passes it to the new activity on start :
1. myTa...
I'm looking for a way to make the Chronometer in Android (preferably 1.6 and upwards) show 10ths of a second while counting up.
Is it possible to do this? If not, is there a free (and preferably open source) library that does the same? Failing that I'll write my own, but I'd rather use someone else's!
...
hi friends,
I have a small problem... i tried searching high and low but couldnt find a way i can activate and deactivate the vibration at the time of incoming calls...
The option in the menu --> Settings --> Sounds & Display mentions - PHONE VIBRATE - vibrate phone for incoming calls...
i want to activate and deactivate it through co...
I wonder how could is possible to make custom shape key on android keyboard. To create custom keyboard is relatively easy, but what needs to be done to create new buttons. They also need to respond with all events as normal keyboard.
Any ideas where to start?
...
I save preferences in one activities but not able to get saved preferences in other activity. I can access saved preferences in the same activity but not in other one.
It is not giving me any error but always gibing null values in second activity.
Below is the code:
First Activity:
public static final String PREFS_NAME = "MyP...
Hi there,
Fairly new to Android, so just trying to work out:
I have a simple Maps app that plots a couple of locations. It's a demo for a potentially bigger app later. The one thing I would like to do is make it exit correctly. I want to assume that when a user hits the "Home" or "Back" button on the phone, that they have exited the ap...
Hey Folks,
Updated: I have now included the logcat file below. Looking at it it appears I am still having a permission problems (06-05 14:10:36.593) - I am guessing the same problem I am having with SDK 7
Well I was trying to get the HelloWebview example working with SDK 7 with no success (see HelloWebView Sample: java.lang.SecurityE...
I am new to Android development. I am using a x-platform development tool which builds and signs the APK for me. This tool has a bug and it does not generate APK's with the version code I specify, all APK's generated are version 1.0.
I would like to unpack the APK, edit the version code, and then resign and repackage it. It was signed u...
I have an Android Service that I would like to keep running even after the last Activity has been popped off the stack, or the User has chosen to do something else.
Essentially the Service is listening for changes on a remote server, and I would like to generate a Notification if and only if an Activity from the app isn't running(or vis...
Hi all,
I load a url over the web containing images (their source is another
url).
when then view loads the html, it loads it without the images. after
few milliseconds, the images come along but then the html is redrawn,
and it does so over the previous html, causing it the web view to hold
2 htmls one over the other (very ugly result)....
Hi, all
I have a TabActivity with several tabs. Each tab corresponds to a specific view, and those views may further switch to other views. For example, one of my tabs displays RSS feed list, after user clicks one of the RSS feed, it will switch to a view displaying a list of articles, and after user clicks one of the titles, a full art...