android

Android tabHost accessing specific tabs

I have a tabHost with tree tabs. How can I access a specific tab from the tabHost activity when this tab is not active at the moment. And a second question to this topic... How can I access the activity of a tab from another tab? I need this, because I have to update the second tab when something changes on the first tab. Thank you ...

Activate Bluetooth SPP in Android?

Hi, I am trying to use Bluetooth SPP to communicate over it. In some Android phones, SPP profile is not activated. I faced the problem in the application that SPP was not activated and so the connection could not be established over bluetooth and when I started another app that is 3g hotspot which I think activates SPP and I was able to...

Dynamic view high

Hi there, i'm new on Android plattform. I'm trying make a View that divide the screen in three sections. The first section should be 200dip high, the third section should be 50 dip high and the middle section should take the remaining place in the middle. Is there any way to implement it? I tried some ways but either it doesn't work or t...

what does it mean?? I finished my project, but now It errors that ı dont kow what to do...

Some lines's copy....: eclipse.buildId= java.version=1.6.0_18 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=tr_TR Framework arguments: -product org.eclipse.epp.package.pulsar.product Command-line arguments: -os win32 -ws win32 -arch x86 -product...

empty ListView, how can I show a message on a ListView when it's empty?

Hello. I'm developing an Android application. Is there any way to show a message on a ListView only with it's empty? I'm using a custom ArrayAdapter, so I have to create a specific object with the text I want to show. I'm wondering if there is a specific field on ListView to setup a message when it's empty. Any advice? Thanks. ...

Change native intent button names Android and Back button

hello everyone, I require urgent help.. I am creating a sample add contact application using android intents. heres my code: Intent addNewContactI; addNewContactI=new Intent(Contacts.Intents.Insert.ACTION,this.contactsUri); addNewContactI.putExtra(Contacts.Intents.Insert.NAME, "Sample Name"); startActivityForResult(addNewContactI,RESU...

Where is the all Android broadcast Intent list

I want to received the Android broadcast, is there a list of all intents? ...

android webservices method getting null parameter value while calling

when I invoke webservices method working fine without parameters. But with parameters I am getting null in the inside the webservice method. Here my code and wsdl file private static final String METHOD_NAME = "getCityList"; private static final String SOAP_ACTION = "http://service.country.com/" + METHOD_NAME; private static final ...

Android download large files

I'm trying to download a large .zip file from a web server but I have a weird behaviour, the description is: I'm executing the code in the device emulator, API level 3 (version 1.5) with an SD card of 512MB. I start the device with "Wipe data user" The length of the size from conexion.getContentLength() is 7012725 The server address is...

Passing multidimensional array using Serializable

Hi, I have passed one multi-dimensional array to another activity using putSerializable() and retrieve using getSerializable. But I got some problems. Please help me to solve my problem.. First activity String [][] selected_list= new String[10][]; Bundle list_bundle=new Bundle(); list_bundle.putSerializable("lists",se...

funny behaviour of listview from SimpleCursorAdapter android

Good day, please i don't know if it might be hard to tell, but could you please have a look at this code and tell me why my list view is behaving funny. like when i click on an item in the list, the state of the item is temporarily copied to another item in the row or even sometimes when i scroll. An example is if one item text is set to...

android clear cookie

hi how can i clear all cookies? thanks :) well , i mean...... in application developing... could u give me a sample code to clear all cookies? ...

Thread on Android

Hi all, I have doubt on thread Life cycle in android.This is my scenario I have downloaded data from web and stored it in the DB.all this activity i have done using thread,once the activity finished i passed the object to handler and proceed . But my doubt is whether i need to stop the thread? This is the Example s...

How to Add/Delete words to Android Searchable Dictionary Sample?

Please advice me how to add/delete words to the Android searchable dictionary sample. Thanks. ...

Anyone got a xml parser with expandablelistview

I need to implement an xml parser and the parsed result into an expandablelistview. Please help ...

What are the various options to parse a XML in android mobile device?

Hi, I have a huge set of xmls(2000 files each having 500 lines) to be parsed in Android for fetching the information from it. All the files will be present in the device. I had this to be done in iPhone and i accomplished it by converting all the XMLs to PLIST files. The PLIST processing in a iOS was faster than parsing a XML in iphone....

Can i configure gmail in Android emulator ?

Hi, i want to configure gmail in my android emulator, i went to the "Add a Google Account" under settings/Add Account, i have given gmail username and password, but after some time it is saying that "Can't establish reliable data connection to the Server" ? What is this error ? Can i configure gmail in emulator? please help ? ...

How to detect abnormal magnetic field/orientation readings and recalibrate orientation sensor (compass reset) ?

Hi, We are trying to develop an app that uses compass information, and facing a similar problem on the Droid Incredible [http://www.youtube.com/watch?v=qSDpHksACRc][at time-2:02]. my prob is similar to the link:http://androidforums.com/incredible-support-troubleshooting/73860-compass-calibration.html ** I have tested my app with nexus...

Android Delete from listview

I have listview that contain checkbox and an image when the checkbox is clikced I show a button at bottom of the screen that perform deletion, but when listview height more ,then the listview some portion move under the button ,so I need an alternative option for delete can anyone help me, I except something like menu? ...

how to use camera object to record video in Android

Hi, I want to use setCamera() of MediaRecorder class. For this I have to use camera object. But I'm unable to use it. Pls tell me how can I use camera object for this purpose ...