android

android eclips download failed...

am new to android, i am just following this site step by step , but eclips download link not working, Please share the link where eclips download available, Thanks ...

Do android support multiple languages?

If i run my android application with a htc magic with locale English, I find my application running properly and if i try to run it on Motorola droid with locale korean, My application(apk) is not even installing on the device. Does android support different language? Is it is because of different language OS versions? ...

How to start Titanium application ported to Android without welcome Appcelerator screen?

I am new to Titanium and created a HelloWorld application. Every time my application starts up a Titanium startscreen is show. ...

how can we find lat long from address in android?

i have a address and wants to find the latitude and longitude for that address...anybody know how can we get lat long from address in android... i am using this code Geocoder coder = new Geocoder(getApplicationContext(), Locale .getDefault()); List<Address> address; address = coder.getFrom...

Android, CheckBox, XML Layout, array.xml

I want to build: Functions: The TableLayout should be hidden unless user checks "Include Drinks?", [DONE]. Checking "Include Drinks?" also checks Pepsi and sets its quantity to 1. [DONE]. Checking any Drink will set its quantity to 1, unchecking will set to 0. [?] Unchecking "Include Drinks?" unchecks all and sets quantity to 0. [?]...

Android: ExpandableListViews and Checkboxes

Hey all. I have being playing around with expandable list views recently. I am trying to get a list view that has a checkbox as one of the elements of the child view. I found this tutorial, http://mylifewithandroid.blogspot.com/2010/02/expandable-lists-and-check-boxes.html, and it seemed perfect. However when I compiled it and sta...

Simpledateformat parse issue

I'm parsing a date which is in format EEE, dd MMM yyyy HH:mm:ss Z. One of the sample values is Thu, 02 Sep 2010 04:03:10 -0700. This is the parsing code: SimpleDateFormat FORMATTER = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z"); Date date = FORMATTER.parse(dateString); This works absolutely fine if Phone Language is English bu...

Android: How can I display a google map in an android app?

i have built an app that does some cordinate claculation for me. it works well it retreives points froma database i built as well. What i want to do now is when a menu button is pressed display a map. I did a tutorial that is simplay a map display.. thats all it does when it runs. but when i try to incorporate what i have done in my...

How to remove a runnable from a handler object added by postDelayed?

Hi, I have an "open" animation and am using Handler.postDelayed(Runnable, delay) to trigger a "close" animation after a short delay. However, during the time between open and close, there is possibly another animation triggered by a click...my question is, how would I cancel the "close" animation in the handler? Thanks ...

scrollView issue in android

Hello In my android appl;ication I am using a table inside a scrollview and below that there is a footer. Now the issue is the last row of the table is covered by the footer and is not visible. Is there any solution for this. My layout xml is <ScrollView android:id="@+id/Scroll" android:layout_height="wrap_content" ...

how can i modified the default locale in android

hello everyone: by default,the android system's default location is US and language is en. but i want to set the default location to other country.so, the users will see their mother language when the first time start up android. i have tried to modify the code(/dalvik/libcore/luni/src/main/java/java/util/Locale.java),changed the local...

ViewSwitcher can't remove the child view?

I removed all child view from the ViewSwitcher by mSwitcher.removeAllViews(); But when I add a previously removed view back, it throws an java.lang.IllegalStateException and says I haven't remove this view from its parent. Here is the code: View curView = mSwitcher.getCurrentView(); mSwitcher.removeAllViews(); Log.d(TAG, "parent >...

new android project share/copy the same string.xml file.

Hi guys, I am new to the android development as well as eclipse IDE, but I do have some experience in using Java (Used to work with C# in vs2008 before). Right now I have both Eclipse and Android SDK up and running. I did manage to do the "Hello, world" in android. But when ever I am making a new project it shows up in the solution explo...

Android. ExpandableListAdapter and Sqlite

hi, are there any good examples out there of using an expandablelistadapter with the results of an sql query? The docs give 3 examples of using expandablelistadapter, but none of them deal with sqlite Thanks Kevin ...

android how to save a bitmap - buggy code...

Hi, Im trying to serialize a class in wich i have a bitmap variable. Here is the code that is a bit working.... I need help to find out what is still wrong..... private Bitmap myVideoScreenshotBm; private void writeObject(ObjectOutputStream out) throws IOException{ out.writeInt(myVideoScreenshotBm.getRowBytes()); out.writeInt(...

Android: How to store data on internal memory?

It's perfectly described here how to do it, the only problem: He doesnt know the function openFileOutput(); private void saveSettingsFile() { String FILENAME = "settings"; String string = "hello world!"; FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE); //openFileOutput underlined red ...

android dev: Services

i need to know that do i define the service class as a seperate .class file or do i define it within my main class of the activity ? can someone provide me with an example apart from this one... http://developer.android.com/reference/android/app/Service.html ??? :/ Thank you ...

TabLayout in android

hi,guys... please, let me know how to bring a activity within the following Tab Programatically.. ts1.setContent(new TabHost.TabContentFactory() { public View createTabContent(String tag) { //here i have to bring my page(Activity) return frameLayout; } }); please , its very urgent....help me out to find the solut...

Could you tell me where I can find specification of simple_item_list_1 or simple_item_list_2?

Could you tell me where I can find specification of simple_item_list_1 or simple_item_list_2? Or tell me how to use them both? ...

Set as favorite in android

Hello In my android application,i would like to set the clicked row as favorite but would like to continue in the same page and should not like to navigate to favorite page. How can i store these as list and send it to favorite page without navigating to that page. Please let me know if any suggestions. Thanks in advance:) ...