I have a project that builds against Android v2.1 . I can run it fine on a phone running 1.5 but when I try to launch it with an emulator running 1.5, the emulator doesn't show up on the list of available AVDs. I have the <uses-sdk android:minSdkVersion="3"/> tag in my manifest but it doesn't make a difference. Any ideas?
thanks
...
I am experiecing "This action is not currrently supported" error
condition when I do the following? I am using 2.1. Anybody knows
what I am doing wrong here?
public void onClick(View v) {
Intent intent = new Intent(Intent.ACTION_SENDTO);
Uri uri = Uri.parse("mailto:[email protected]");
intent.setData(uri);
intent.putExtra("subje...
Regarding Android >= 2.0.1.
This speaks for Application type of project:
The provided sample code makes it an
application.
Easy testing in dev tools.
This speaks for Library type of project:
From another application wanting to
trigger a sync, I would like to
include it as a library dependency.
What other benefits/drawbacks can y...
Hello
I've a ListActivity with a ListView, onItemClick i start an Intent,
Oncreate of this Intent i make a getParent but it's null. if i do this.isChild() it's false.
mPostList.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
Intent IntentDiscuti...
Hello everyone,
As the title suggest i have (sometimes) a concurrentmodificationexception while trying to create a route between two locations ...
Here is my code (and in case you're wondering MyOverlay does not try to access the other Overlays in the map)
private class fillRouteTask extends AsyncTask<Void, GeoPoint, Void> {
/**...
Hi all,
I have a strange situation I can't explain myself.
The following code works well:
solo.sleep(1000);
assertTrue(solo.searchText("Banking"));
but the following code fails:
assertTrue(solo.waitForText("Banking", 1, 1000));
Can someone can explain me this?
Kind regards,
Alban.
...
hi im trying to use the smack api to send/receive messages in facebook chat. im using:
host: chat.facebook.com
port: 5222
service: chat.facebook.com
username: my facebook [email protected]
password: my facebook password
logcat says im getting a "503 service unavailable error" but i cant work out why. my username/password work...
I know that with the telephony manager listen, you can listen for 3 different states. Iknow that CALL_STATE_OFFHOOK indicates that there is at least one call that is dialing, active, etc. My question is- with the telephony manager, is there a way to determine what number the phone is off hook with? I thought getLine1Number() might ret...
How the Linux drivers interact with the host devices through the Android Emulator? I mean for instance how a virtual sound device driver, compiled for ARM and running inside of the Emulator communicates with the actual speaker on the computer.
I heard that you need to use a special kernel image when running on top of the Emulator, so I ...
I'am using log to store all the transfer. How can I check the logged data?
Log.i("login", "recevied " + getResponse(response.getEntity()));
...
I like to call a menu already created an activity without using the button on the smartphone. How can I do it?
...
Are there any means of debugging JS code, or at least get errors, on Android devices?
...
Hello everbody,
I've been trying to find out how to create an intent that will open the user's preferred browser without specifying the URL. I know how to open it by giving a specific URL like this:
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(android.net.Uri.parse("http://www.google.com"));
contex...
I have downloaded Opensocial-java-client example which contain an android example: friendlist which load friendlist from goolge account.
I want to modify it to communicate with Orkut. I have the following question:
I cant find where can I get consumer key&& secret key for Orkut.
I only know https://www.google.com/gadgets/directory/...
I'm trying to have my app display my login activity when a user selects add account in accounts&sync or wants to use the app and isn't logged in yet. I've followed the example SampleSyncAdapter fairly closely, but can't get it to work.
in my auth service:
public IBinder onBind(Intent intent) {
IBinder ret = null;
if (...
is there any way to have an html file (i.e. an html template) be a resource in android? I'd like to reference it in a similar way that i store strings in the res/values/strings.xml. However, when i do this, it appears the HTML is not getting rendered correctly when i use myTextView.setText(Html.fromHtml(MessageFormat
...
Hi Guys,
Is there a way to change styles for Gallery? For example, borders, animation speed. Maybe there is list of predefined themes?
Thanks for any help.
...
My activity has a simple menuItem that start a counter...
the counter is stored in a field of the activity
the problem is with the "back button"
after closing the activity (back button), the timer (as in my intention) continues,
and restarting the activity behave correctly by reshowing the timer...
but I lost the reference to the counte...
Please help me with this code - I am basically going through a book and trying to create the examples myself but I can't get past this error. I've checked my LogCat and it says "java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'". I know there is probably some small detail I'm omitting...
Hi
is it possible to run java SE or Java ME app on android ???
...