I've more than one activity (inside the same Application) that needs to have access to the database. What's the best pattern to implement this ? Do I need a content provider even if all activities belong to the same application?
Which activity should have the responsibility for opening and closing the database ?
...
My app changes orientation when I move from vertical to the left. But does not when I move from vertical to right?
...
I have heard that the ARCHOS 5 Internet Tablet doesn't have the Google APIs SDK, but rather the plain vanilla Android 1.6 OS build. Is this true? And does anyone know of any other devices like this currently on the market or in the works?
I'm particularly interested in phones, but would like to know about any such devices. My company...
PROBLEM SOLVED!!
I just found my mistakes, after looking through the debugger over and over again, but anyway, thanks everyone!!
Hi there, I am very new to Android and was working through some tutorials. Now I got stuck at the Tab tutorial. The code seems to be fine at first glance as I am not getting any errors, but when I try to run ...
Hey guys..
I'm recieving a Float Array from a Bundle like so...
Bundle b = this.getIntent().getExtras();
float camObjCoord[] = b.getFloatArray("tweets");
Sadly I'm not being allowed make the data public. It will only allow final.. what would be the best way around this?
...
Can more than one WakeLock be held at a time? If for example I want to hold a PARTIAL_WAKE_LOCK but at times, I also want to hold an additional SCREEN_BRIGHT_WAKE_LOCK, later releasing it, but still holding the PARTIAL_WAKE_LOCK? Can this be done and is it advised, or should I release one WakeLock before acquiring another?
...
Hi Folks,
Is there any Possible to make the ListView horizontally? I done this Using Gallery view. But the Selected item comes to the center of the Screen Automatically. I want to avoid it. the selected item at the same spot i have clicked. How to Rectify this Problem? My Idea is to set the ListView with Horizontal Scroll. Share Your Id...
Does the android simulator use the same amount of memory as the real device?
For example if my app doesn't run out of memory on a simulator, does it mean that it doesn't run out of memory on an actual device?
...
I have a chat app and one the problems I haven't been able to solve is the EditText input box stops showing text after a while. I've verified the problem myself but it seems to depend on the IME you use. I use HTC's ime and have never had the problem. For purposes of finding the problem, I switched to stock Android ime and the problem sh...
how come I don't see detailed Israel map when I integrate with the MapView in my MapActivity?
I can see just about any other country except Israel.
thanks,
Ori
...
Basically every time I try to exit my application using the home button and then reenter it, it makes me force close the game before I can open the game up. I haven't been able to find out how to have it save the state when I leave the app, I need it to save an arraylist and some variables and booleans, but I don't know how to do it. Her...
So I have my Activity, and on pressing a "Quit" button I call Activity.finish(). This effectively closes my application.
The problem: The Dalvik-process of my application is still hanging around as a zombie in background. It seems like this is normal as other applications do the same. Even The hello-world example hangs around in memory....
Is there a way to outline android's TextView text?
...
I am unable to deploy the code on LG Ally mobile , I want to know if someone can find me the Windows platform device driver software for LG Ally . I tried http://www.lgcommunity.com/file_library.aspx but this did not work.
...
Hello,
I'm currently making an app where it would communicate with a simple database that will be hosted on a server. The database will only have three columns, a _id, title, and url link. I've successfully done this using the phone's local database using SQLiteDatabase but I want it so that any other phone can also access the same data...
Hi,
I created a simple login screen that stacks a login button, the username and password edit boxes vertically from the bottom.
When someone clicks the username/password fields, the virtual keyboard comes up and hids the editbox or button below it. I have seen this in another application that the login button always stays in the visi...
I'd like to make my font sizes configurable but i'd also like to make use of the style tag in my layouts. Is it possible to change the definition of a style at runtime? or is the only option to manually change the individual style elements on each textview etc.?
...
I would like to detect if the navigation keys of the front of the phone (Home,Menu,Back,Search) are hard-keys (ex. G1) or soft-keys (ex. Nexus One).
This api /android/content/res/Configuration.html#keyboard gets close but is related to the keyboard and not the front facing keys.
KeyEvent (http://d.android.com/reference/android/view/Key...
is there any way to make a listview zoomable? or at least make the content able to be zoomed in on?
...
After doing the whole "enterprise" programming for a while, I'm seriously disillusioned by the language itself and always feel quite hampered if I have to go back to it. The project size of your average Android app isn't too intimidating and the libraries are actually quite nice regarding their coding style, but if I could avoid Java, I'...