android

Scala actors thread control

Hello, I would like to know more about the extent it is possible to control where each Scala actor is running. I happen to be in a somewhat particular case : high reactivity is desired, a good part of the code is time-critical, and worst of all, I'm on Android. With this in mind, my main goal is : make the code as readable and straightf...

Android: Internet Accesing Application

Hi, I am making an application that fetches data from internet like web service,so it requires internet connection. So when i first click on my application, If internet connection is not available it should show me dialog that Internet connection not available get it connected.And if connection is available then it should be able to wo...

Beginning Phone Applications Development

I've been developing applications for a long time now, but now I want to jump into Phone applications development. There are four main candidates: Nokia's Symbian Apple's iPhone Google's Android Microsoft Windows Mobile Phone Can anyone suggest one, considering documentation, market, samples and availabilty of emulators, I'm not a mi...

refresh the table in android

Hello In my android application i am using a table with scrollview.I am giving the user a service suchthat if the user clicks on a row and say delete the row gets deleted from the table.But after this deletion i want the table to get refreshed and load only the fresh data from database. Could anyone please let me know how can i refresh...

Accessing Picasa from Android - Google Data APIs

Hello everybody, it seems that I'm not the first one, but I don't find anything that helps. I'm new to Android and would like to develop a real simple photo sharing app (three tabs: camera, gallery and upload to Picasa) to start off. Unfortunately the Google Data APIs for Java, don't run on Android and I didn't find a good tutorial for ...

How to get addresses if we give latitude and longitude using location API in Android.

Hi, I have an application where I try to get address of a location based on the latitude,longitude coordinates.When I try to print all the address of particular coordinates , I am getting only single address. IS there any way to get the list of all addresses for the coordinates supplied . My code snippet is as below: Where locationLatit...

show top status bar on mouse over in Android

Hai all I want to show the top status bar when i move my hand towards top of the screen in android Can anyone help me please Thanks in advance. ...

My app gets "Force close" on several devices

I have people complaining my application gets FC when they launch it (meanwhile others never had a single problem). Here is my full activity source. Since it happens on devices I don't own I can not fix it. From what they tell me it doesn't work on: Motorola Blackflip, Motorola Dext, Motorola CLIQ XT. Guess Motorola doesn't like my app a...

An IDE in my pocket?

Hey all, Does anyone know of an IDE for editing files such as PHP, HTML, and CSS through a SFTP connection? I have both an android device and an iOS (version 3, that is) device, and the only result I get for an application like this in both marketplaces is in the App Store. It didn't seem particularly appealing (also, it required a...

Is there any possible way to access a database server directly in Android?

Is there any way to access the a database server directly in Android? If not, why? Also, are there any external tools for this? ...

Calling a Web Service in Android

Hello All, I am currently working on an application in android where I need to call the Web Service. I am working in Android and I don't have an idea about how to call a web Service in Android. So, can anybody please help me out in how to call a Web Service in Android Programming. Thanks, david ...

Android Listview - first item is different

For some reason, the text has 0 width in the second row. Code: public LinearLayout getView(int position, View convertView, ViewGroup parent){ LinearLayout rowView; if(convertView==null){ rowView=(LinearLayout) mActivity.getLayoutInflater().inflate(R.layout.icon_list, null); }else{! rowView=(LinearLayout) c...

How to get addresses if we give latitude and longitude using location API in Android.

I have an application where I try to get address of a location based on the latitude,longitude coordinates.When I try to print all the address of particular coordinates , I am getting only single address. IS there any way to get the list of all addresses for the coordinates supplied . My code snippet is as below: Where locationLatitude,...

Android-MobileProfiles, How to change Profile to silent,ringer automatically on teh cahnge of mobile location

I need to change my profile to silent or pager or ringing based on the location(the location is setted as home or office based on geo information) so when ever phone is at that location that profile need to be changed automatically ...please help me out...its very urgent ...

Twitter Application

Hi all, Can anyone please tell me what is Message ID and how to retrieve that ID to implement in program for twitter application ...

Android HttpPut example code.....

Hi all , could anyone give me a httpPut request example code? ...

How can set onClickListner fo buttons..?

I am new to android. I want to set OnclickListner for different buttons which are located in different xml layouts. ...

android sensormanager roll angle

The documentation says : "the roll represents the device's sideway tilt between -90 and 90 degrees on the X-axis. The tilt angle is 0 degrees when the device is flat on its back, -90 degrees when the screen faces left, and 90 degrees when the screen faces right." but on my two phones (HTC magic and HTC desire), I've got positive degrees ...

How do I ask for information from another Android application?

Hi. I need third party applications ("Foo") to get information from my application ("Bar"), but my solution so far seems cumbersome: Application Foo needs information from Bar and sends a broadcast ("bar.POLL"). Application Bar listens for this broadcast, and replies with another broadcast ("bar.PUSH"); Foo listens for bar.PUSH and re...

How to Enable Logging in Android programatically.

Hi, I am working on an Android Application where I need to display log information when I execute the .apk file in release mode based on some condition. It can be like below: if(debug) display log inf. else normal execution I will set this variable to true to enable debug mode to display log information. Can anyone help me in ach...