I have a kml file which contains several 100 sidewalks as LineStrings. this would be constant for the entire android app. can i create a custom google map with such a kml file as an overlay and retrieve the same as a whole from the server and display on the phone.
please let me know if its possible and if yes..how?
for now i have store...
How do I get the Api level of the phone curently running my application? I am sure its simple but I can not find it as all my searches bring up tons of junk.
...
I want to put an ImageView in the middle of the screen, and it stays in the middle in all screen resolutions. There is nothing else in the view.
...
Which is favourable, efficient and faster? storing information in xml format and retrieving it or storing information in a db on android?
and also, in terms of portability, xml could be stored as an asset...can the same be done with db? do db come in as default package in all phones.
application involves dealing with over 1000 records ...
I have two classes and one class contain string array and its constructor how to call it in main with its object?
...
Hi,
I have different screen to work in an android application.
I'm using ViewFlipper for this.
I decided to used different class for different view children
public main extends Activity{
{
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.sign_in);
ViewFlipper viewFlipper ...
I'm now using this method: MediaStore.Images.Media.insertImage. There are two choices:
final static StringinsertImage(ContentResolver cr, String imagePath, String name, String description)
Insert an image and create a thumbnail for it.
final static StringinsertImage(ContentResolver cr, Bitmap source, String title, String description)
In...
Hi friends, When i run my android application it shows an exception "android runtime exception" with a message "Error: thread attach failed". it happens before the execution of "OnCreate" mathod of main class. what will be reason for that error?? anybody please help.
...
Possible Duplicate:
xml parsing in android
i have to parse the below give file in xml format
-
The url for above file is http://simplyappointments.com/[email protected]
Can anybody help me in this.... I will be very thankful to you.
...
hai friends i want to capture the frames while running the android camera in video mode is it possible?
...
my application shows this number format exception errror while running.
10-22 11:09:06.095: WARN/System.err(290): at java.lang.Long.parseLong(Long.java:330)
10-22 11:09:06.095: WARN/System.err(290): at java.lang.Long.parseLong(Long.java:307)
10-22 11:09:06.105: WARN/System.err(290): at com.htc.socialnetwork.facebook.FacebookU...
I've done some searching around and haven't found any good references for non-touch events provided to mobile browsers. Does anyone know of any good resources for what tilt events are supported or have experience with such things?
I'm really looking forward to adding some yaw controls.
...
How can I display an Integer value in TextView?
...
Like sun offers different certifications for j2ee developers, is there any android certification available ?
...
I have an application that has one service and 2 activities.One activity (the main one) is a preferences activity and the other one is a dialog themed activity. The service from time to time needs to open only the dialog themed activity (using FLAG_ACTIVITY_NEW_TASK).
The problem is that when the preferences activity is opened in backgro...
I am trying to develop a Facebook application for Android. I am unable to integrate the "Add Comment" feature to photos in Facebook Albums. Using the Graph API, I can show the previously made comments on a photo. However, I just can't add new comments to a photo.
Can somebody provide me some helpful advice?
...
I have taken an open-source app and am in the process of extending it to another application on Android. Currently when the button is pressed in the open-source app, it opens the default dialer provided by Android OS and gets the telephone number data as it is registered as a receiver. What I want to do is to create my own dialer skin an...
Hi everyone,
I am having a problem with facebook. I have registered an application with facebook, written the code for updating status via application. But when the status is posted facebook does not shows the application's icon on the wall. It only shows the small logo and not the big icon.
I have re-verified that the application icon...
I override the function getView(), but when debug I found it never be invoked, really weird...
public class EntriesActivity extends ListActivity {
private static final String TAG = "EntriesActivity";
private EntriesAdapter mArrayAdapter;
private List<Entry> mEntries = new ArrayList<Entry>();
String mGoalId;
@Override
protected ...
hi,
Json object is returned to a webservice which gets the i/p as
[OperationContract(Name = "Create")]
[WebInvoke(UriTemplate = "/Create/Data", Method = "POST",
RequestFormat = WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
bool CreateCustomer(StringBuilder objCustomer);
//in my service file im d...