android

I have just created small android project in Eclipse, which files I should add to version control?

I have no idea, which files should be versioned for a new android project created in eclipse. Could anyone tell me, what I should add?? ...

Where to store GPS data on Andorid

HI I write app that hold route information (array of GeoPoint ) for every race. At the end of each race I want to save information about race. They may have 100-200 GeoPoints (70.22222, -20 33333), each race. Example for one race: 70.22212, -20 33253 70.25222, -20 33463 70.26232, -20 33573 70.27242, -20 33683 . . Now I store this in...

Display a list of check box in android?

I just want to know what is is called. I wanna make a list of checkbox, when I click on it, it will be checked, and when clicking on the text, It will start other activity. I found on APIDemo but nothing's similar ...

Persistant Taskbar in Android

I want to have a persistant taskbar like the status bar of Android. I dont want it to load with individual activity. i want that taskbar to remain persistant for all activities that too at the bottom of the screen.*(Not on top of screen where status bar is present.) Thank you for your help. ...

Android Activity with 2 status bar?

Can i create an activity with 2 status bar? Can i put the status bar at the bottom of Activity? ...

android click <a> in webview to play a mp3 music file...

i have a mp3 file list , i wanna display it with webview my html code just like following: i wanna to click any to play the mp3 , how can i do that ?_? could somebody help me? <html> <body> <a href="http://myweb.com.tw/1.mp3"&gt;1.mp3&lt;/a&gt;&lt;br&gt; <a href="http://myweb.com.tw/2.mp3"&gt;2.mp3&lt;/a&gt;&lt;br&gt; <a href="http:...

Android : Can icon behind transparent View be made clickable?

Hi All, I have activity which has transparent background. When it is launched i can see icons on home screen. Can we make these icons on home screen behind clickable ? Can we send touch event to these home screen icons(e.g Browser) when we click on activity screen? Thanks, Veena ...

Android WebView stopped unexpectly after loading an url

Hello, i have a big problem and i did not find a solution for my problem. I try to load an url and i use this tutorial: http://developer.android.com/reference/android/webkit/WebView.html My Code: public class HomeView extends Activity { WebView mWebView; public void onCreate(Bundle savedInstanceState) { try { supe...

android.app.IntentReceiverLeaked: Activity com.example.brown.

friend's , I'm facing the problem in map view,initially i have map view with search option in header for searchin up content i'm using here my code for search... Intent intent = getIntent(); findViewById(R.id.map_search).setOnClickListener( new OnClickListener() { public void o...

Place imageviews along a curved path

Hi all, I am trying to develop a custom gallery like application in which, i would like to place Image views along an elliptical path whose size varies with position. All ideas are welcomed. Thanks & Regards, Sen ...

android datatype casting

In my program this is one switch case but it is not executed can u give me the solution Resources r2 = getResources(); String[] strtemp409A=r2.getStringArray(R.array.strtemp409A); String[] strtemp11=r2.getStringArray(R.array.strtemp11); String[] strtemp113=r2.getStringA...

Creating a gridview of images' thumbnails that expands when tapped in Android

I would like to create a gridview of images, in which, these images will be downloaded based on a web service response. The thumbnails of images will be displayed in a gridview, similar to how iPhone displays photos. User can tap on the image and the corresponding full-res image will be shown, sized to fit within the android phone. Up...

Android - change textView at run time

Hi, I´m working with a lineal layout and I´m trying to change the text of a TextView but it doesn´t refresh. When I debug I´ve checked that the text have changed correctly. Thanks public class Position extends Activity { Button botonempezar; Button botonsalir; TextView text; @Override public void onCreate(Bundle savedInstanceS...

Android thredding problem?

Hello everyone, I want to know that when the Thread is running then if I press the home key of the emulator/device, then what will happen? Will thread gone be close or pause or any other? waiting for your quick reply. BR, gsmaker ...

Catch a Spinner selection with a Button?

Hello! As the title says, i have a Spinner with just a couple of options and a button. I didnt declared any Listener for the spinner, instead of that, what i want is use the button and perform different actions depending on the spinner selected option. So, i declared a handler in the button option "android:onClick", but once there, i d...

android layout designing tools

dose any tools existing for our android layout design? I mean just drag the buttons,edittext,layouts...etc and that tool generate the xml file for our layout.. anybody know about this tool...please let me know ...

How can I add a contact in android?

hi all, i am writing code to add contact in android. here is my code: ArrayList ops = new ArrayList(); int rawContactInsertIndex = ops.size(); ops.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI) .withValue(ContactsCo...

How to mount sdcard permentaly?

Hi Friends, is there any way to write data to a sdcard when the card is mounted as a disc via usb? If I unplug it everything is fine.,how to solve this problem?anybody knows,please give sample code for me. Thanks All ...

Convert list in to byte[] for storing in SQLite in Android

Hello, I have this array declaration: List<GeoPoint> race = new ArrayList<GeoPoint>(); I want to store this array in to SQLite database. Can some one give me code for converting this array in to byte[] or give me code for another solution ? Thanks ...

Post message to facebook wall from android fb sdk always error

I have problem with fb sdk for Android (downloaded from http://github.com/facebook/facebook-android-sdk). Tried to post wall but always get error (permission already set and logged in to fb) here is the code snippet onClick function, i made small modifications on their sample code: Bundle params = new Bundle(); params.putString("messa...