I have a music player app on the Market and my users starting reporting problems with music showing up as "Unknown Artist" and "Unknown Title" after the Froyo update. I have noticed the same behavior on my Motorola Droid 2 running Froyo. Doing some googling, I find other users (and even Last.fm confirmed the issue) that "Android" is no...
I have an app that uses quite a few graphics in it.
When I open and close my app repeatedly on my emulator (1.5 - 2.2) it runs fine and by checking the heap I can see everything is being cleaned and gc'd properly.
However, when I run my app on an HTC Aria phone (2.1) the app crashes every time I try to re-open it. When I look at the h...
Suppose i'm working on an android application . Suddenly i connect my Android phone with my computr. Does Android OS has a mechanism to detect such hardware interrupts?
...
For some reason my onPostExecute() is not called after my AsyncTask finishes.
My class decleration:
public class setWallpaperForeground extends AsyncTask<String, Integer, Boolean>
My onPostExecute():
protected void onPostExecute(Boolean result)
Everything works fine, my doInBackground() completes successfully and returns a Boolean b...
Hi,
I would like to after I have updated by listAdapter I want to make sure that the list is scrolled all the way to the bottom so that it displays the last element entered in the list How can I do this ?
I tried this but no luck
lv.setTranscriptMode(ListView.TRANSCRIPT_MODE_ALWAYS_SCROLL);
thank you
...
Android:
public class LocationService extends Service {
@Override
public void onStart(Intent intent, int startId) {
super.onStart(intent, startId);
startActivity(new Intent(this, activity.class));
}
}
I launched this service from activity
In activity
if condition satisfies start
startService(...
I'm at the very early stage of learning Android. Can anyone tell me how I can use the text written in a Text box by user?
I'm trying to use getText() method but finding it confusing.
Thanks in advance.
...
I want a 3*3 grid with an ImageButton centered in each cell
I've done the code below
TableLayout tl=new TableLayout(this);
int intNbRows=3;
int intNbCols=3;
for (int i = 0 ; i < intNbRows;i++)
{
TableRow tr=new TableRow(this);
tr.setMinimumHeight(hauteur/intNbRows);//TODO : a voir
tr.setMinimumWidth(largeur/intNbCols); //TODO ...
I have an external jar that I can use in my Android application, I just reference it as an external jar from my application. Is there any benefit in creating an Android library project with this external jar for Android applications to use, or is this pretty much the same as referencing the external jar?
...
Hello,
Is there any way to get the details of media files that is executed in android(default) media player?
Thanks,
Nithin
...
Please help me out here. I need to make a list view as shown in the sample pic for my android app. How to do it? Also I need to add image along it as seen in the sample pic. and link it to another view to show some more details.please check links shown below.
pic1
...
hi! all
<TextView
android:id="@+id/msg"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textColor="#000000"
android:layout_weight="2"
android:ellipsize="end"
android:layout_marginLeft="8...
I am creating an android app, part of which utilises the twitter4j library to retrieve information from twitter, however, the app runs very slowly on the twitter activities.
I have not implemented caching yet, and am hoping that should improve the performance, does anyone have any advice for caching twitter4j calls on android?
alternat...
Hello,
Im using some time expiring url to watch a video from internet and so, when the expiration time come out, the video is not working anymore. In this case, im getting an error dialog box from the videoplayer saying the video is unreadable. that is quite fine, but i would like to display my own dialog box text. how can i do ? is the...
When I view the following xml file in the layout view (eclispse), I got NullPointerException:null message, but when I run the code, it works, can anyone explain this to me why?
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
...
Hello
In my android application,i want to apply OnPause,OnPlay,Next and previous,volume increase and decrease events on mediaplayer.
In the above image i just want to know how can i perform next,previous,play,pause events.
Could anyone please let me know where i can find these?
Please send me your valuable suggestions.
Thanks in advan...
Hello
I'm developing application (Android). This aplication is connected to OBD2 compliant vehicle /CAN BUS and read data from it. I've done succesfully connection using OBDKey and read data using OBD message format. This message format is mode + pin
But now I have problems with CAN BUS How should I send command called message_id? W...
Hello All,
I working on the app where I get the data from the server using rest call and add it to the view. I get all the initial data correctly. I use AsyncTask for doing it.
Now I want to periodically (say 2 mins) fetch the new data from the server and add it to view.Periodically fetching data (polling) from the server in Android.
...
hi,
I need to create custom broadcast reciever which will show me about any PHONE_STATE event occured.
Thanks
...
I'm having hard times parsing multiple different XML files on Android using the built-in SAX parser.
Nate and Aron Saunders have helped me with the right approach to this problem but I struggle in implementing it. You can read about it here.
http://stackoverflow.com/questions/3583876/how-to-parse-different-xml-files-using-sax-on-androi...