I've read on the Android developers site that Android graphics subsystem (Surface Manager) is based on Linux Frame Buffer device. I was just wondering how OpenGl Es works with it... does it use special 3D drivers for FB (like directfb, but this seems improbable as it seems died). How is it implemented?? I can't find any info around...
I...
Hi guys!
How can i put a URL into the More -> Website part of the contact info?
I was trying using this code:
Log.v(TAG, "twitter screen: " + screenName);
values.put(ContactsContract.CommonDataKinds.Website.TYPE, ContactsContract.CommonDataKinds.Website.TYPE_HOMEPAGE);
values.put(ContactsContract.CommonDataKinds.Website.UR...
I am new to android. I have created a simple application that starts a service to register an SMS broadcast receiver. The application works fine but I keep getting alerts that different process are not responding. The associated buttons are to "Force Close" or "Wait". The particular process varies. For example, "com.android.inputmethod.l...
Is there a simple way to have text be able to have a black outline? I have textviews that will be different colors, but some of the colors don't show up on my background so well, so I was wondering if there's an easy way to get a black outline or something else that will do the job? I'd prefer not to have to create a custom view and make...
ok so here I have a difficult one. apparently no1 does know a thing about this issue but I did find some app implementing the behaviour so hopefully...
I'll keep this short as I am sure if you stumbled upon it too, then you'll recognize the issue straight aways.
I have a horizontal Gallery with SrollViews in it. The 2 onTouchEvents (th...
Hi,
I've got a ListActivity with a ListView in it. I need to draw a repeating image around the border ("on top of it (I guess after the listview is renderered))
How can I hook in my own drawing code for this?
...
Could anyone supply a sample of a working proximityAlert code? Including the activity that sets the alert, the receiver that accepts the alert, and the manifest xml?
Thanks!
edit:near geopoint would be great
...
//Check that external storage is mounted and accessable
String accessable = Environment.getExternalStorageState();
if (!Environment.MEDIA_MOUNTED.equals(accessable)) {
buildWarningMessage();
}
//Set the cache directory
CACHE_DIRECTORY = externalRoot + "/folder/.cache/";
@Override
protected void onDestr...
How can I attach Java source to an Android project?
I'm able to browse java source for a Java project, but not for an Android project.
I modified project properties and add Java source in "Libraries" section, still not working
Any suggestions ?
...
Anyone know how to add playlists to Android in code?
I kind of get that I have to insert it into the content resolver but do I have to just put the song id in or do I have to put all of the song's data in?
I have been looking for sample code but haven't found any yet.
EDIT:
Found an answer here is how I do it:
public static void ad...
Hi All,
I am fairly new to Android and I am trying to use Wi-Fi Adhoc Mode in my application. But I could not find any API or method to set the same. I read a thread in Android Forum and could not come any concrete solution on how to use enable Adhoc mode in Android.I used to use WPA_Supplicant conf file in Linux to enable Adhoc mode.
...
Hey all, this is quite an elaborate problem for me that i've been trying to figure out for a while now. Even explaining it is a little difficult for me but i'll give it a try.
I am using a gutted version of the Snake Android sample. Pretty much I am using the TileView class verbatim and am only trying to display a few tiles on the scree...
Will SharedPreference be destroyed if the Context has been destroyed?
For example, if the Context is an Activity, and this Activity has quit.
I tried in my code, and the SharedPreference turns to be null, as well as the Context.
I also tried to find some clues in the opensource code, but it's complicated for me.
...
hi,i am unable to view maps on the emulator. I am under proxy internet connection, I also set the proxy via GUI and also have set api Key alongwith the perimissions and library.
here's my code:
package com.example.MyMapActivity;
import org.apache.http.HttpHost;
import org.apache.http.conn.params.ConnRoutePNames;
import org.apache.http....
Hi everyBody, I have a problem with listView, I used ArrayList to store data, and a customized Adapter. But, when I remove all the data, and add one item again, it does not display anything in this list. What happens to my List, can anyone help me?
static ArrayList<String> chattingListData=new ArrayList<String>();
static IconicAdapter...
I want to send data to server from client(Android), below is my format
http://101.34.45.45/rawData?data={"userId":"guest1","timestamp":"2010-07-01 08:58:23","wifi":[{"ssid":"guest","rssi":"40"},{"ssid":"guest1","rssi":"80"}]},
i'm trying series of trial but no use, how this can be done?
...
I have an app that is making use of photos stored on either the SD card or directly on the phone.
I have 2 Activities that seem to be having some kind of problem (Acitives for Viewing and Editing a record). A single record references a photo by storing a URI that gives the location of the related photo.
When I click on my View activity...
Has anybody blogged about this comparison, or does anyone want to give it a shot here? Would be nice to see some reasoned thoughts on Adobe AIR on Android vs. the "native" Android SDK (in Java).
Edit: Despite few views and no answers, I'm leaving this question up here since it's a topic that needs to be covered at some point... but if ...
I have an app that accesses music and I had at least one user complain that some of his songs are on internal storage and that causes a force close.
My question is do I have to do 2 calls for each song now or can I make a query that will look at both the internal and external memory?
...
I have a few doubts about view flipper
I am using viewflipper to go to another view using scroll_left
animation.
i have kept 2 linearlayouts inside the ViewFlipper
now i want 4 views....
like 1st view contains 3 btns.
1st btn click -> 2nd view scrolls in -> back pressed 1st view scrolls
back
2nd btn click -> 3rd view scrolls in -> b...