android

Update missed calls notification on android

I need to cancel the missed calls notification for a certain number. I've seen the NotificationMgr class on com.android.phone but i'm unable to call it trough reflection. Is there any other way? ...

Force Close problem while Moving track ball on disabled EditText On HTC Hero Phone?

dear friends, i have a small form with four EditText fields in which second EditText is disable for text Editing. now when i roll Android Phone ball to move from the top to bottom first time it selects disabled EditText and then third EditText and moves downward to foruth EditText. but when i try to move upward on Disabled EditText...

Android: how to share code between projects signed with the same certificate

In Android documentation concerning code signing we can read: "By signing multiple applications with the same certificate and using signature-based permissions checks, your applications can share code and data in a secure manner." How exactly such code sharing can be done? Is it possible to release main application and multiple exchange...

Error getting GPS location on Droid + android 2.0 sdk

Hi all I am trying develop an application which shows user current location. To find user's current location i am using following code: import android.location.Location; import android.location.LocationListener; import android.location.LocationProvider; import android.os.Bundle; public class MyLocationListener implements LocationLis...

Android developer phone 1 downgrade firmware

Hi Everyone, I am trying to downgrade Android developer phone 1's firmware version from 1.6. to 1.5 by following this link... http://developer.htc.com/adp.html Here I have completed till steps #7 of Update the Device Radio Firmware. while in steps 8, It start to load update.zip file. It analyze the update.zip file. and at last it sho...

How to create touch interactive charts for android

I need charts for my application where the user use gesture to redraw the charts in android. Could you suggest any charting API,tool or software which supports. ...

Android Email application, search Global Address List

Is there a way to search a global address list (GAL) in the mail application? ...

Audio (MediaPlayer) On an Android (Archos 5 IT)

First: Does anyone know the filepath for an Archos? I'm trying to get some media/audio to play, and it just won't find it... public void onClick(View v1) { final MediaPlayer mp = new MediaPlayer(); try { mp.setDataSource("ARCHOS5:/Music/manowar.mp3"); ...

Finish any previous activity in stack from current activity?

How to finish any previous activity in application stack (at any level , I mean not immediate parent) , from current activity like on some particular event I want to invalidate this previous activity? Any help ? Thanks. ...

Possible to programatically access X-Mms-Content-Location?

I'm seeing a strange issue on a phone and I'm trying to come up with a way to troubleshoot it to find out more. Is it possible to access the X-Mms-Content-Location attribute of a message from a MMS message programatically, using the Android SDK? This is one example of the error that I am investigating. If I can access that attribute,...

android: implementation and make listener to a socket

hey everybody, i'm devlopping an application for android, i need to make a session between client(cell phone) and e web server (apache) and keep alive this session to receive notification from the server for this i may implement socket also make a listener for this socket to notify the client if a file is ready to download, after recei...

may i use gdata for mobile calendar.

Dear, i want to add, delete, update mobile Calendar events. may i use gdata for it. if yes then my code is public void start() { try { CalendarService calService = new CalendarService("MyCalendarInter");\\ Line no 1 CalendarFeed resultFeed = calService.getFeed(new URL("content://calendar/calendars"), ...

Long-press duration

I am doing an IME but it would be similar to a long-press of a button in an Activity. I want to add a functionality when someone long-press the delete key, it deletes a whole word. My issue is that when you long-press it, it delete a whole word, but it doesn't repeat the action which makes sense. Which would be the best way to solve th...

How to show virtual keypad in an android activity

Why am i not able to show the virtual keyboard in my activity. Here is my code: package som.android.keypad; import android.app.Activity; import android.os.Bundle; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; public class ShowKeypad extends Activity { InputMethodManager imm; @Override ...

Android programming: Authentication and data exchange with Java EE

I am having a Java application running in a Tomcat server using Spring, Hibernate, etc. and a two web interfaces, one implemented in Tapestry 5 and the other one using Flex with BlazeDS and Spring-BlazeDS. In my first android application I would now like to log in to the server and retrieve some data. I´m wondering how I could achieve ...

Android SDK - Other ways?

If I needed to build an android SDK that other developers can integrate into their android apps, is jarring my SDK the only way to go about it? As far as I have learnt, jarring has the following considerations: If your app uses a layout, then you have to create it programmatically. Since jar files cant carry any resources. The jar wil...

[android] capturing key event for backspace

I am having difficulty capturing the backspace key as a keyboard Event in javascript/jQuery. In Firefox, Safari, Opera, Chrome, and on the iPhone/iPad, I capture a keyup event on a text input box like this: $(id_input).keyup(function(event) { that.GetHints($(this).val().trim(), event, fieldName); }); This event captures user keystr...

What is the easiest way to determine the velocity of an Android device?

What is the easiest way to find out how fast the Android device is traveling? Also, is there a way to register an intent for speed? Example: intent if the device goes more than 20 miles an hour. ...

Preferred Options for Webservice to Android

I need to get an Android app to interface with an XML webservice (it's really just a request which returns XML), but as the data is large and includes some things I don't need (like a huge description block), I was thinking of transforming it via a server into a format that would be good for Android, and also to be reduced considering it...

Offline SDK and ADT installation

I am trying to install on a VM that is offline. I have downloaded eclipse. I have downloaded the android sdk and pointed to it in eclipse. I still cannot see any target platforms in order to create an android project. What am i missing? I need to set this up without using the android sdk/avd manager to download the platforms. Can a...