I want to create a page with X questions (the questions are stored in a database and I read them), headline and buttons at the end.
When the user clicks on one question than the question should transform into a dialog where the user can modify the question, however the other questions above and beneath it should still display the same w...
Hello,
I am new to android. I have a loginActivity which validates a user number and then starts a "searchactivity".
At runtime, I see the search activity coming up (after user is validated) but then android is having problems stopping the loginActivity.
I am getting a "java.lang.runtimeexception: Unable to stop activity {com.insruanc...
I've got an activity which uses an AlarmManager to call a BroadcastReceiver at a particular point in time. This all works fine, except when I try to add some extra strings to the intent when calling the BroadcastReceiver, they always come up as null on the other end.
Activity code:
Intent intent = new Intent(this, ScheduleReceiver....
The name of my Android app is 14 characters long with no spaces, as such, the full name is not visible on the home screen when displayed under the launcher icon.
I want to use an alternate name for displaying under the launcher icon, so I can break up the name into two strings separated by a space - so that the words should wrap.
How c...
how do I make a navigation bar like this?
http://www.freeimagehosting.net/uploads/8aa355f9ef.png
...
Is there a broadcast receiver or some kind of setting that we can listen/monitor to get notified if the internet/network has been connected.
...
I'm using android scripting environment with python (ASE), and I'd like to terminate the shell executing the script when the script terminates.
Is there a good way to do this?
I have tried executing on the last line:
os.system( 'kill %d' % os.getppid() )
but to no avail.
...
Hi all,
I will try to be as clear as possible.
Here What I am trying to do
An Image Viewer, where Image would be display as big as they can on the device screen.
For this purspose and for a better user experience, I thought of a Gallery.
Untill there everything is OK!
The problem
The problem is that in the function getView of my Ada...
Like the title says, what is the difference between a dialog being dismissed or canceled in Android?
...
Hey all,
I heard recently that Google were to opensource the Google I/O Android application - the one which showed the next available talk, speaker info, etc. Does anyone know whether this is true, and if it is, do you know where I can access the source?
On a related note, does anyone know of a sample application which concentrates on ...
Hi,
I'm using a datepicker in Android to let the user to choose the date. I want it to do one thing if the user picks a date and sets it (I have that working fine) and then to clear a certain text field if the user pushes the cancel button on the datepicker (open up the datepicker but then cancel out of it).
The way I've been trying is...
I want to know if it is faster to load and play a small wav than a small mp3 file on android media player. The wavs are about 30 KB and the same files as mp3s are about 20 kb. The mp3s have the advantage to save resource space. The sound files have to be played with split second timing.
...
I'm writing a simple budget app for myself, and I'm having trouble figuring out how to write to internal storage. I don't seem to be writing to the file properly, and I can't find any more in depth examples than the Data Storage article on developer.android.com
Basically, I'm trying to write a test float to the MyBalance file, then rea...
I am trying to get the contacts from the phone but all I can get is the name, the phone numbers return null.
Cursor cursor = getContentResolver().query(People.CONTENT_URI, null, null, null,People.NAME + " ASC");
startManagingCursor(cursor);
cursor.moveToFirst();
if(cursor.getCount() > 0){
while(cursor.moveToNext()){
i...
I might not like it, but the number of unofficial Android devices is growing and most of them have custom modifications to the Android OS or do not comply with the Android Compatibility Definition Document.
For example, the aPad/iRobot has made changes to the way the system handles screen rotations and the Eken has a virtual Menu button...
I have a MapActivity. If it's set to an appropriate location and zoom level to see traffic none is shown after it's first created until you interact with the map (click on it, drag, etc) at which point traffic shows up. Naturally I want traffic to show up without any user interaction after it loads but I've been unable to figure out how ...
Hi guys,I use signpost-oauth do oauth in android, and after login on the web page, return to the Activity, the provider is null sometimes.
public class LoginActivity extends Activity implements View.OnClickListener {
private static OAuthConsumer consumer;
private static OAuthProvider provider;
private static final Uri CALLBACK= Uri.p...
The problem I am having seems to be that if I have a view (e.g. myButton) inside a RelativeLayout set to alignParentBottom - (as per the code below) - and then wrap the RelativeLayout with a scrollview (necessary so the content will be viewable on smaller screens or when orientation changes to landscape) - then, when the parent bottom is...
Sorry if the title is kinda confusing, and if the Android tags don't really belong, I thought I would add them in since this is for an Android application.
What I want to do, is be able to access the object neoApi inside the Neoseeker class, from its inner class RunningTimer. Now, in my code, you can see what I would think to work, but...
Where can i find information about Windows Mobile OS or Android.I need to know, if they support SDL or not.
Does all android phone support SDL?
...