android

Service android json or soap?

Hi! iam about to call a service from my server. Should I use Json or Soap? My service is in asp.net Are there not any packages in android that has to do with the service connections? ...

How do I manually insert a database into a Android project?

The database file is identified by Dalvik when I insert it via the Dalvik Debug Monitor Server (DDMS), but when I add the database to the project assest it doesn't even upload to the device (as I can see through the DDMS). How to fix it? ...

How to get a list of available network providers?

Hey everybody, i'm trying to get a list of the available cellular network providers. Unfortunately i can't find any service or class that might help me out :( Does anyone have an idea on how to manage this? It has to be possible since you can see the list when you go to the settings on your Android device... Gr33tz Goddchen ...

How to program an image chooser in Android?

I would like to program a image picker which should choose an image from the library. Is it possible to do this in a smooth way with the Android sdk? I'm pretty new to Android programming. ...

Zoom Controls for ImageSwitcher in Android 1.6?

Hi folks, I wish to do the Image Switcher's Touch Event. That is when i touch it, it should wake up the zoom controls. After zoomed in, the image can able the touch scroll on the image up and down. how to do it? Is there any default zoom controls? If not, tell me your suggestion, idea and also valuable links about this? make a note the ...

Dynamic TextSwitcher after 5 sec

Hello, I am working with Android. Can anybody tell me how can i create something like... When i click one button once....numerical digits will show me automatically as increasing order like 1,2,3,4......so on with switched between two digits, after every 5 sec...I mean it shows only latest one digits like counter. I tried with this p...

Adding Contact in Android 2.2 API

I am using the new Android 2.2 API to add a contact. I am using the following code to perform the insert. ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); ops.add(ContentProviderOperation.newInsert(Data.CONTENT_URI) .withValue(Data.RAW_CONTACT_ID, id) .withValue(Data.MIMETYPE, Phone.CONTENT_IT...

How to begin creating 3D (Game-) GUIs for Android Applications (e.g. with OpenGL)?

I am new to Android Development. What I want is to know how I have to begin thinking to program a neat, sexy GUI. I guess the android.opengl API is a good starting point. Let's say we wanna create something like a simplified 3D-Pool-Billard-Game: You see the table from the top and you have on the table the balls. You want to make them r...

Is there a way to visualize the activity stack (activities in memory) on Android?

I'm currently debugging my app which is quite complex and has up to 5 activity levels. In order to detect memory leaks (i.e. activities that aren't removed from memory even finish() is called, due to some references held somewhere) I want to check which activities are still alive in memory. Currently I create hprof dumps, but it's not v...

Can SQLite handle large amount of data.

Hi! I will be making a mobile application in Android. My application is like Google Map's Get Direction feature, but a lot more complex, so I need to store data about points in the map. So I'm worried that SQLite may not be able to handle these large amount of data(or considering the limited storage of the phone). I have no background in...

Tablayout, start an intent within the framelayout

When using tablayout is there a way to start an intent within the framelayout to keep the tabs at top? I have both a tab-menu at top and an option menu. When one of the menu items are pressed an intent is started but I'd like to still have the tabs at top. ...

How to read Android Market comments?

Reading the users' feedbacks about my apps is really important, but in my phone I can only read those written in the language of my phone (Italian). Is there a way to read all of them? A program for PC or a website could be a good solution. (Actually Cyrket and AndroLib read comments directly from the market, but sometimes they don't ...

how to send data to multiple activities in controlled manner in Android?

I am working on an android application, where there are 4 activities. Activity1 is main activity and there are different buttons on that activity which can open other activities. Other 3 activities can also open each other. There is a thread running in Activity1 which returns some counter. I need to show that counter on all activities. ...

ListActivity layout Custom

I'm trying to make a list where each row has a text at the top and bottom and another one image aligned right (like the image attached). but I can not. Could anyone help me? sample image: http://www.freeimagehosting.net/uploads/fb6e2055f5.png ...

How to stop service after AsyncTask finished?

I have a service, that requests another class, which launches an AsyncTask Service->Weather Class->Execute Method->Asynctask->Execute this is launched in the service by new Weather(this).execute(); // the execute is a method of the class, not of the AsyncTask how do I detect in Service that the AsyncTask finished so I can call stopS...

ADK installation Windows 7 Home premium 64 bit OS

Hi, I am using MS Windows 7 Home Premium. 64 Bit OS. I am just wondering, can I install Android Development kit on this system. Thanks FArid ...

Added Android library project and now eclipse can't find my R class

I am trying to add an 'Android Library project' I have created to another regular Android project. The Library Project had a jar dependency and was also dependent on another java project in my workspace. I had to add both of these to the my 'regular Android project' because otherwise Eclipse could not find them (Not sure if this was th...

Is it possible to use Android scripts created with ASE as typical application for Android (e.g. written in Java)?

Hi, I am very very new to Android. I was encouraged to take a closer look at Android when I heard about possbility to write applications on Android in scripting languages like Python. This sounds great and in fact works great. I did some experiments and everything looks very interesting. I have noticed that I can either write my script...

how often should getRotationMatrix update?

I'm currently just bliting a rotation matrix onto the screen. The source of which is "RT" from; SensorManager.getRotationMatrix(Rt, I, accels, mags); Where accels and mags are from the sensors. The getRotationMatrix, and its display, are triggered once for every update of the acceleration sensor. Question; How often should get...

Make top row of GridView non-scrollable

I have a GridView of 9 rows of which the first one is sort of "header" row. As there are 8 more rows they flow beyond the end of screen and need to be scrolled down to. However this scrolling also causes the first row to go "off-screen". Was wondering if there is any way I can prevent the first row alone from being scrolled off? I don...