Hi all,
is it possible to programatically access specific rows in a list of CheckedTextViews to change the state of their textboxes?
my program has a listview which has several CheckedTextViews which the user can press to toggle state.
I want to save the state of the checkboxes when the user leaves the activity, so I have in my onPau...
Is there a tool or application that I can use to stamp Android .APK files (on my server, before a download) with a unique number that is queryable at runtime?
...
I have been playing with android:gravity attribut but still cannot make my text content justify in the textview. Does anybody know if it is supported ? Is there a way ? Anybody succeeded ?
...
Hai All,
I am newbie to androids Apps, guys i have one doubt,Whether is it possible to add buttons(ok,cancel) in the ContextMenu,if so please provide some reference..
Forgive me if i have asked a silly novice question
Thanks a lot in Advance
...
Hi,
I am developing an Android application where you should be able to browse restaurants.
Im retrieving the information about the restaurants from a service, they are not stored locally on the device. But I want to allow the user to add a restaurant to his/her favorites.
What is the "best" way to store that kind of info on the devi...
Having checked out the froyo code I can successfully build froyo, but what I really want is only building libwebcore.so, is there a special target for this?
Just make -f Android.mk in external/webkit isn't working for the obvious reasons.
...
I need to create a Robotium application that would use Settings application to turn ON/OFF WIFi from menu Settings->Wireless & networks->Wi-Fi. I managed to find some sample code here that demonstrates how to launch application by having apk file only. The problem is that my Robotium application should have the same signature with the (s...
I have a Gallery which contains text values such as Movie, Music, Games, Magazine, etc. My problem is, I want to display separators across the Element.
For instance, there must be a separator between Movie and Games.
How can I do this?
Thanks in advance,
Tilsan
...
I have an Android app that in the onCreate() method, preloads a lot of graphics.
When I test my app on my HTC Aria and launch it, it runs fine. However, if I press the back button to exit my app, and then launch the app again, it crashes with an OutOfMemoryError: bitmap size exceeds VM budget. If I then launch the app for the third ti...
Hi Friends
I want to pass an array from one Activity to another Activity,for example pass arrat frin image_view Activity to Blackimage Activity how will i pass please give solution to this problem in android
...
I've downloaded a few networking apps (games) that have you log in, then take you to a "home" type screen where you can change your settings, or start a new game, or view your buddies etc.
My question is two-part:
1) how are these "multipanel" apps created? Is each panel its own activity? I've tried adding different panels through Vi...
I'm making an app that needs to sort a Sqlite table of weeks by date and display just the date and the total hours worked that week in a listview.
My activity extends listview and uses SimpleCursorAdapter to populate the listview. My date column is a TEXT field formatted like this "YYYY-MM-DD"
Here is my database query function, I bas...
Hi,
I want to make a http request with android.
is use this:
void testHTTP()
{
HttpClient httpClient = new DefaultHttpClient();
HttpUriRequest request = new HttpPost("http://www.google.com");
try {
HttpResponse response = httpClient.execute(request);
//System.out.println("response protocol version: " + response.getPro...
Hi, I'm trying to produce a simple server that will allow me test the Androids security features. I need to develop an application that will open a socket.
I've produced something similar in C, but I am having no look with java. Here's the application in C
// simpleserver3.c
#define MY_PORT 9999
#define MAXBUF 99
void inda...
I need to save some state when the user leaves my game during game play. Saving the state doesn't seem to be an issue, but I can't figure out how to restore it. The onCreate function isn't called when the Activity is resumed (only when it is first created), so I can't get my state back there. Logically, I would use onRestoreInstanceState...
I have an application with 4 tabs. By default every tab width is 1/4 of the screen width. How can I override this?
I need the tabs to have a different width for each one. Any ideas on how to accomplish that?
...
Hello! Now I have (1: the UI-loop, there my SurfaceView is placed), (2: a second thread, there the draw function from the UI-loop is called AND the update calculations from my Engine) and (3: the engine, there all the calculations stuff are).
Now I wonder how the best and smoothest way to do the SurfaceView independent from the actual f...
I added a ViewSwitcher to a LinearLayout, which has two views of different height, However it seems the ViewSwitcher is occupying space of the biggest of the views, rather than arranging itself. Is this how it should be?
What to do in the other case? I was trying to create an accordion, where the title panel, when clicked grows in size
...
Howdy, I am a programmer that has worked almost exclusively with c++/c#/vbs and am just now entering into the world of Android development. I am running into a few issues that I cant seem to find answers for/ dont want to watch lengthy tutorial videos to find out so I figured I would ask here and get a quick answer.
I dont know if this ...
I have an application building against Android 2.1 and I want to override the back button.
I have followed the example here:
http://android-developers.blogspot.com/2009_12_01_archive.html
And my code is as follows:
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (Integer.parseInt(android.os.Bui...