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'm trying to do some task using AsyncTask. But when I completed with it. Its is not showing any kind of syntactical error. But while running it is showing the error as in the following image
I tried to debug it, but could get what the problem is.
// 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'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 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...
i am creating a simple test app for login process but the error that i get that when i use the browser in the emulator and try the url that i used it give me web page not available
i used the localhost 127.0.0.2 but it give me the same msg and i used the ip of my pc the same msg anyone can help me ??
java code
package com.sencide;
import java.io.BufferedReader;
import java.io.IOException;
i
I am creating an android app drawer, but it fails when i call the activity. Seems like it's something wrong on line 39.
I developed an app to connect my android app to remote server and display data in listview
I did everything and i spend 2 weeks to do it but the data don't show up in the listview
these are the files i used to accomplish that, please help me because i must finish this app quickly
MediaActivity.java
package com.shadatv.shada;
import java.io.BufferedReader;
import java.io.InputStream;
import ja