I'm using class that extends AsyncTask but I have error at the line that executes the class
I couldn't figure it out
here is the class that includes my main class and the class that extends AsyncTask
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.http.NameValuePair;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONOb
I'd like to know how to add an AsyncTask (successfully) to the following code. I've already implemented the AsyncTask (to the best of my knowledge - using info I've found on the net) however it keeps crashing and I'm not sure exactly why...
I am creating an android application then allows the user to view their profile after logging in. I completed my login page, however, when directed to the profile page, the data cannot be retrieved. Can anyone tell me what went wrong??
I am new to android development.I tried this RSS Reader app using some blog.I couldn't figure out the errorin my code.Its showing ANR error.Please help !
package com.example.simplerssreader;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.
// Mystock.java
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.os.Bundle;
I am creating an android app drawer, but it fails when i call the activity. Seems like it's something wrong on line 39.
The code works fine in java console but when in android emulator it gives an error.
I am developing a facebook-integrated application and i am experiencing a very weird issue.
I log in normally, but as i am about to log out the SDK forces a login again...
package com.machinarius.facebook;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
I am new with facebook api. I tried multiply tutorials but nothing works out for me...
I am using api level 10, platform 2.3.3, the connections works fine, but when i log out and open the application again it should show me the welcome text with me name but instead
the application crash...