android

How to provide animation when calling another activity in Android?

Hi, I have two Activities A and B. I want to have the shrink Animation when Activity A calls B and maximize animation when Activity B calls A. I don't need the animation xml files for this. When we call another Activity in Android it gives its default animation and then it calls shrink animation. What I want is that the default anim...

FACING ERROR WHILE CALLING AXIS2 WEB SERVICE ...

Hello , I am new to axis ,I have created a web servcie with couple of methods using axis2 and deployed it on tomcat.And am calling that web service from my android program with the help of ksoap.But wen i call a method which doesn't take any parameter am gettin fine reply from web service which i can able to see on my screen,But wen i c...

Getting the Position of an Android phone by using GPS

Hey, it's me again, I've got another question regarding to basic Android programming: How can I access the GPS for getting the current Position of the mobile phone the app is running on? How long can this take to retrieve the information? In this case the GPS might be disabled, how can I enable/disable it again. Which permissions must ...

How can I add graphic elements in android using code?

How can I add graphic elements in android without the use of drag it into main.xml? I mean using code to make them ...

Android Home Screen Widget (icon, label - style)

I'm trying to create an icon/widget (1 cell x 1 cell) that can be placed on the home screen of android. The widget will look and act exactly like the other standard shortcuts in android. It will have an icon and under that a label, it will be selectable with the trackball (highlight able) it will be highlighted when it is selected/clicke...

How do I call a bookmark library in the Android and return a bookmark?

Hello! How do I pick out a bookmark that I saved on my Android without using the cursor method? (http://stackoverflow.com/questions/1561535/android-how-do-i-deal-with-storing-bookmarks) Intents? or other ways? thanks. ...

An activity contain both map and tab in android

Actually my map layout code with out tab is below one <?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:orientation="vertical" android:layout_width="fill_parent" android:id="@+id/linerlayouttransparent" ...

Android Service onBind -> onStart

Hello, I have a comprehension question about Android Services. I have a Service that performs background http operations and a Activity that should display the current state of these http operations. So I implementet the Binder interface and so on. I can call the bindService method and onServiceConnected of my ServiceConnnection is ge...

details of the update process

Hi, Could someone describe to me what happens when an android application is updated? Is it the old version uninstalled and then installed the new one ? What about the resources the application might need ? ...

Xerces on Android

Hi I found several references in the mailinglist archive about Xerces, but it is still not clear to me if it is possible use Xerces succesfully in Android. Could you please provide me this information? If the answer is Yes, could you please give me some tips or references on how use Xerces instead of default Android XML parser? Thank...

Reading Resource Files from my own APK in Android Native Environment

I'm porting to Android. My existing project has a ton of resource files that I'm porting into my Android project. I have them all in /res/raw/, and I would like to access those resources in my native library with functions such as fopen() and such. Can this be done, or do I have to go through JNI for this as well? I would really pref...

ExpandableListView child items don't get focus when touched...

Ok, so I wrote an ExpandableListView and subclassed BaseExpandableListAdapter... Everything works fine except I cannot get the child views to take focus when clicked. If I use the trackball everything works fine. But if I try to click on a child I get no feedback whatsoever. I have tried setting android:focusable, android:focusableInT...

Is there a limit for the number of files in a directory on an SD card?

I have a project written for Android devices. It generates a large number of files, each day. These are all text files and images. The app uses a database to reference these files. The app is supposed to clear up these files after a little use (perhaps after a few days), but this process may or may not be working. This is not the subjec...

When I assign ringtone in android using code it won't paly it in a loop, why?

I use this code: ContentValues values = new ContentValues(); values.put(ContactsContract.Data.CUSTOM_RINGTONE, Environment.getExternalStorageDirectory().getPath() + "/ring.wav"); getContentResolver().update(ContactsContract.Contacts.CONTENT_URI, values , "DISPLAY_NAME = 'Ani'", null); It works great but it play only one time. How do I...

Multiple choice list with custom view?

I've seen example com.example.android.apis.view.List11 from ApiDemos. In that example, each row takes the view android.R.simple_list_item_multiple_choice. Each such view has a TextView and a CheckBox. Now I want each view to have 2 TextView's and 1 CheckBox, somewhat similar to the List3 example. I tried creating a custom layout file ro...

How do you get the selected value of a spinner -- Android

Hi everyone, I'm trying to get the selected items string out of a spinner. So far I've got this: bundle.putString(ListDbAdapter.DB_PRI, v.getText().toString()); This doesn'y work and gives a casting exception (I thought you could cast a view to a widget that inherits it... obviously not!). So how do you get the selected value of a...

Security Exception while implementing global search for Messaging

I am trying to enable global search for messaging application (i.e., messages can be searched from home screen search box). I have followed all the steps given in http://developer.android.com/reference/android/app/SearchManager.html I am getting the following exception 04-16 12:49:26.917: ERROR/DatabaseUtils(102): java.lang.Security...

Change Call Screen

I need to change or customize the call screen when initiating a call on Android. After searching on google I do not find any way to do it. There is no way to send DTMF tones during a call, the idea is to send a specific number to the call screen. So when a call is made is possible to see the number to dial during a call to the PBX. I ...

Where is the Android Metamodel located?

Hey, I would like to use Android for Model-Driven-Software-Development. For this, I need to locate the Android Model in the SDK. I already searched a while for it, but were not able to find it. Has anyone an idea where it could be? Is it possible, that it is the AndroidManifest.xml-File in the folder android-sdk-\platforms\android-x\a...

android internal phone storage

how can you retrieve yours phone internal storage from an app? I found memoryinfo, but it seems that returns information on how much memory your currently running tasks. I am trying to get my app to retrieve how much internal phone storage is available. ...