android

point the drawable from another application in AndroidManifest.xml

I need to set the ic_launcher_browser icon from the Browser Application in my package for a particular Activity in AndroidManifest.xml (android:icon="") How do i do that?? Like android:icon="@android:drawable/xyz" Can't we specify android:icon="@packagename:drawable/xyz" Regards, Sanat ...

[Android] ListAdapter in preferences ?

Is there a way to use ListAdapter in preferences screen ? or i must use only chekboxpreference, textpreferences, etc.... ...

Develop seek button in Android?

I'm developing a radio tuner application where i want to implement the seek button. Like the normal seek button what my seek button does is it increments the value of radio frequency until the button is in pressed state and not after the button is released. How do i implement this seek button? Is customized button the only option ...if...

Application not installed on phone

hi i have samsung i5503 galaxy.but i got a problem in developing app. first i attach the phone with pc and turn usb debugging on,install the driver than as i run my app ,my phone is not appeared as running android device...so how can i run and test my app on real device.... secondly i make apk of my app and than mail it than i open this...

how to call a Method of a class kept under other package

Hi all, I am a beginner in Android Developing. Can any1 please guide me how to call a Method of a class kept under other package. Like class A in Package 1 calls a method in Class B of Package 2 which returns An array or object. Do i have to create an Intent for that?? actually i have to gather all information in 1 class from different...

How create and populate three columns on Android

I need populate three columns in Android activity with dynamic data. How can I do it? ...

Storing and retrieving url links

Hi, I have 300 url links that I want store, I plan to have 10 xml's, below is my code, how can I store the urls in a xml and retrieve them in this code?? I want to get the coordinates based on the users selection from a list view. public class official extends Activity { @Override public boolean onKeyDown(int keyCode, KeyEvent event) ...

How can I store map coordinates and retrieve them

I have 100 map coordinates which I plan to store in 5 xml,s, how can I store them in a xml and retrive them in this code. MapView mapView; MapController mc; GeoPoint p; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVi...

how to communicate from PC to Android device?

hello everybody, We can access the android device from PC through USB port. But here i want to do a bit different thing. That is, I want to send message from PC to android device programmatically. That means there are two application one will be installed on android device and the other will be install on PC. I will send message from PC ...

Prevent scrollbar from hiding on froyo

Starting with 2.2, scrollbars would disappear once the scrolling has stopped. Is there a way to make them always visible like before? ...

How to create stubs from WSDL in java, for android?

Hi all, I would like to create stubs from a wsdl file for Android. Are there any tools that would create the stubs for Android? Like how "wtk" (Wireless toolkit from Sun) can be used for CLDC compatible, BlackBerry. I do not prefer to use Ksoap2 as it is heavy. Any suggestions? ...

want to view both ondraw() grid view and textbox view in a single screen

In this method we are drawing edittext along with gridview . I am getting both.But the problem arises when i want to add another textbox in the same layout without the help of paint.see after code public UIGridView(Vector _heading, Vector _columnid, Vector _datatype, Vector gridvector, Display display, Context context, EditText ed, ...

GlSurfaceView is completly black when reloaded

Hi all In a nutshell, I use regular views for all my application except for on that uses a GLSurfaceView. the UI flow works well. I can navigate form one to the over except whith the GLSurfaceView when I open the first time the GLSurfaceView everything works fine, but when I switch to another view and come back (pause menu) my view...

android application icon id

I need to display notification in the status bar with the application icon. but i didn't find any way to retrieve the application icon id ? (I currently use the 1.5 SDK) ...

How to style a tablelayout in android

Can anyone tell me how to add a boarder to a TableLayout in android, like the one below? http://developer.android.com/images/table_layout.png ...

queryBroadcastReceivers does not find receivers registered with registerReceiver

Hi all, I need to find out which broadcast receivers can handle a given Intent. It seems that queryBroadcastReceivers() does not return receivers registered in code using registerReceiver() but only receivers declared in AndroidManifest.xml. Is this behavior by design? Any other way to find all installed receivers for some Intent ? ...

how to modify database in android

hi i am new to Android.what i did is i am creating a sqllitedatabase in class A.I am creating a table and inserting the some values.Now what i need is i have to insert some more values from class B to the same database.how can i done this.pls help me.Thank u in advance. ...

Add a GridView to a ListView in Android

I'm trying to create a ListView that will consist of to types of elements: Strings and a GridView. I.e. putting both Strings and a GridView inside one single ListView. The layout should look something like this: String Item 1.1 String Item 1.2 String Item 1.3 String Item 1.4 GridView Item 1 GridView Item 2 GridView Item 3 Gr...

Horizontal scrolling text in Android

I've been looking around for quite some time now, and I can't get a straight answer for my question. It's quite simple: How can I get a nice scrolling text just like the long app names in the Market when you select an application? ...

Glowing point animation

Imagine this scenario: I have a map as a image (simple image not google map) and I want to highlight a certain point on that image with a glowing/blinking red point. How do I make this point? Is it possible to have a animation for this ? ...