// 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 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.
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 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;
package As2.packageTK;
import java.util.ArrayList;
import java.util.Random;
//import android.app.Activity;
//import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.View;
import android.widg
below is my java code for xml parsing.
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.
Here is my code:
import java.util.Locale;
import android.app.Activity;
import android.content.Context;
import android.media.AudioManager;
import android.media.SoundPool;
import android.media.SoundPool.OnLoadCompleteListener;
import android.os.Bundle;
import android.os.Vibrator;
import android.util.Log;
import android.view.MotionEvent;
import android.vi
I have a simple socket server running on my PC and I made a client for the pc to talk to itself however I wanted to adapt it for Android but it keeps crashing telling me something is wrong in the closeChat() method but I cannot figure out what.