android

How to use QuickSearchBox in my Android application?

I want to implement a search method in my application. I have a database, I want to search in that database using a quick search box. Please help me to achieve this task. ...

move the gallary elements automatically

Hi i want to move my gallary elements without tracking.for this give me some suggestions and example code.Thanks in adavance ...

how to start android application from my application but the application should not be visible to others

hi, supposing that i have created an application "MyApp" and it contains a button.When this button is clicked it should start another application say"App".this application "App" should not be available in any other part of the phone. please help me with this. thank you. ...

how to set input type to be numberdecimal but also allow a "-"

I have set input type to be numberdecimal but also want to populate the editText with a "-" programmatically. I can add the text but then I am unable to edit the text as it doesn't confirm to the number decimal format. Any idea on how I can say inputtype is numberdecimal but a "-" can be allowed? ...

BluetoothChat doesn't work

I can't connect Motorola Droid and Nexus One using BluetoothChat It's always return "Unnable to connect". So the socket is always close. But when I try to connect Motorola Droid and Nokia N97 They are always connect. How can I connect Motorola Droid and Nexus One ? Where is the problem? ...

internal problem in android

i have 10 buttons in my application and i set clicklistener on them. i had implement onclick method for 5 buttons within switch-case it works completely. but when i implement the 6th button my application stops unexpectly it throws following exception . 08-04 10:30:55.314: ERROR/AndroidRuntime(282): FATAL EXCEPTION: main 08-04 10:30:55...

How to have a transparent ImageButton: Android

<ImageButton android:id="@+id/previous" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/media_skip_backward" android:background="@drawable/transparent"></ImageButton> This is what I tried to get a transparent ImageButton so as to place those buttons on a SurfaceView. But Eclipse, gives me...

About the RenderScript

Recently,i search for articles about renderscript,but it seems that there's none. can any one give me some articles talking about renderscript? ...

How to catch user's click on the android screen of any application?

Hi! Is it possible to write service that can catch any user's click on the touch screen and read text of the click no matter what application currently is active? For example user click on browser or any other application and that service will know what word is written in the location of the screen. Thank you. ...

display the images vies one by one

Hi i am working on one kid application in that application i want to show 1+1 =2 ,1+2=3 etc.For this i want tio display the number images one by one .That means fiorst display the 1 after + after some time another number.For this give me some suggestions.Please give me some example code .Thanks in advance ...

please tell me about this exception

08-04 12:22:42.692: DEBUG/EAS SyncManager(223): !!! EAS SyncManager, onCreate 08-04 12:22:42.852: DEBUG/EAS SyncManager(223): !!! EAS SyncManager, onStartCommand 08-04 12:22:42.920: DEBUG/EAS SyncManager(223): !!! EAS SyncManager, stopping self 08-04 12:22:43.281: DEBUG/Eas Debug(223): Logging: 08-04 12:22:43.311: DEBUG/EAS SyncManager(...

execute 2 methods one by one using handlers

Hi i want to execute one method and take some time and then ececute run another method.Is there any possibility for this in handler .Give me some suggestions.Thanks in advance. I am using the below code in handlers but it is not working properly. RefreshHandler extends Handler { public void handleMessage(Message msg...

I want to insert new contact into android contacts, that the account is not set.

the account is not set , how to insert a new contact, and after inserted , the contact can be shown in the conatcts' application? ...

Determine free ports

Hi all, I was looking at the API, and Ive tried to determine this: On a given port, check if it's available or already some application listens to it. Thanks, ray. ...

how to change ExpandableListview left icon to others (android ExpandableListView)

hi guys, now i want to use a ExpandableListView show my data , i want to change the itme left icon or let it disappear. can some on give me a suggestion . thx. ...

Creating a web service project

How do I start a project wherein I can design an application which fetches weather forecasts from existing web sites? ...

Connecting Android application to HTTP Server

Hi Everybody, I create an application of user registration. When user registers in the application, I want to save the user data on an HTTP server. How can I do this? Thanks Deepak Kumar ...

Merging adapters in android

I am having two different data in two different adapters. Now i want to merge both data in a single adapter. is this possible?? How can I do that? Regards, vani ...

Enable a currently disabled Spinner in Android

Hi, I was fooling around with Android and my Java knowledge is limited at best (for instance, I'm perplexed by the fact that it allows inline classes!?). My question is as follows: I have a layout where there are three dropdown menus. I initialise all three of them inside onCreate(). The first one takes its values from a string-array...

Changing View properties after onCreate().

First time poster, new to Android, and I seem to have hit a roadblock on this problem: I'm creating a dynamic layout, consisting of several identical "composite" objects (these are basically "floating" LinearLayouts, each containing an icon (ImageView) and a caption (TextView)). The (x,y) coordinates of each LinearLayout are subject to...