I would like my Android application to react to an incoming email from specific address.
I've heard that you can do it with incoming SMS, but emails are cheaper. Unfortunately, I am not an expert on Android's "intents", so would be really grateful for your help.
...
Any android developers had any success changing the package name of your application (in the manifest) of an application already being distributed in the Market?
During my upgrade progress, I decided to change the package name slightly, which means that android identifies it as a new application. So, I suppose saved preferences will be ...
Hi,
I want to add an image icon in expandable list view .I have seen the tutorial they have added only in child elements .Is there any other way to add image icon in parent
Any help would be appreciated.
Thanks in advance.
...
Hi,
I am trying to display a SpreadSheet in the Android application with auot adjustable columns and each columns should surrounded by lines.I used the Table Layout the data are displayed in the Table format but i dont know how to surround each column with lines, auto adjustment.If anyone knows it please help me.
...
I'm trying to run a background task which runs every minute or so for an android application but I am struggling to ensure that the task actually runs every minute. I've tried a variety of approaches from using SystemClock.sleep() to the AlarmManager (both repeating alarm and a fixed alarm) but it seems that unless the device is charging...
I have a doc file in my project located at /data/data/........./files/abc.doc
I want to open this file like the Android built-in feature to open file.
I want this through my Android application.
Can anyone help me? It is urgent.
...
Hi,
I am trying to send a GET via Android's HttpURLConnection (which is an org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection), and upon receiving the response, an IOException is thrown:
in doRequestInternal(): "Received authentication challenge is null"
What does this error mean, and what is causing this? I am w...
Is there Any way to set the width of the Layout.
Because most of the time it doesn't work?
...
Hi,
In my android project, I have 2 Activities. How can I launch an Activity from an Activity.
I know I can do 'startActivity', but my activity has NOT registered for any Intent, is there anyway I can still launch it from my activity?
Thank you.
...
Is there any sort of xml reference?
I found this which turned out to be invaluable for me
http://groups.google.com/group/android-developers/msg/d334017d72909c79
but I can't figure out how I was supposed to know how to do that, had
I not found that post.
I know that the api reference has xml attributes listed for many of
the classes......
I'm trying to teach myself how to write android apps and I'm having trouble registering a button click and taking actions based on which radio button is selected at the time. This is a simple tip calculator:
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import androi...
I get a String data from Cursor, but I don't know how to convert it to Array. How can I do that?
String[] mString;
for(cursor.moveToFirst(); cursor.moveToNext(); cursor.isAfterLast()) {
mTitleRaw = cursor.getString(cursor.getColumnIndex(SBooksDbAdapter.KEY_TITLE_RAW));
}
mString = mTitleRaw ????
...
My application wants a functionality of picking a contact from the
phone contact, I have achieved this using the following intent
Intent intent = new Intent(Intent.ACTION_PICK, People.CONTENT_URI);
startActivityForResult(intent, 001);
How do i start pick contact activity with an option to create a new contact from the pick list, si...
How to make android EditText smaller than default in height?
This is the default hight:
If I change the height, I can't see my text, but it has extra blank on bottom. check this image:
...
I'm working on a web-app at work, and would like to access my development computer from my HTC Hero device. Preferably linux, but I have access to windows and mac computers. The emulator can debug locally, and helps a lot, but it's not good enough to debug real touch-events.
Ad-hoc wifi will breach our strict network policy. No matter h...
Hi,
I have an application that differs for different languages by resources.
Is there a possibility to install the same application on Android several times?
So, as a result I will have German version, French version, English version of the same program, but each installed as a separate applications with different icons.
Thanks.
...
Hi,
I am using Spinner control in my application and my Code is
Spinner s1=new Spinner(this);
s1.setLayoutParams(new LayoutParams(100,30));
ArrayAdapter adapter=new ArrayAdapter(this, android.R.layout.simple_expandable_list_item_1);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
ad...
how to select multiple item in ListView in android.
...
Hi,
Does anyone know any good tutorial about setting up environment and importing libraries for Android development with IntelliJ IDEA?
I downloaded some Android plugins but still the IDE marks all Android objects (Activity, SurfaceHolder...) red.
Thanks!
...
I am using an activity with the dialog theme set, and I want it to be full screen. I tried all sorts of things, even going through the WindowManager to expand the window to full width and height manually, but nothing works.
Apparently, a dialog window (or an activity with the dialog theme) will only expand according to its contents, but...