I am trying to do the autocompleteTextView. I am trying the Wiki Example. For Wiki it works. But for my own api its not working. I am trying to call by lastname. I tried using the jSonObject. But looks like i am making some mistake. Here is my Code.
I am a beginner. How will my string can be a clickable one that can redirect to other layout.
I am trying to return an array from my AsyncTask back to my Activity as I am trying to create a ListView from that array.
Unfortunately, the program bounds error because it wouldn't let me return an array.
I am trying to create an android messaging application.This is my code and when i run it i get an error saying "Unfortunately app has stopped".
I have two activities:
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
public void click(View view) {
Intent intent= new Intent(this, TranslucentActivity.class);
startActivity(intent);
}
}
public class TranslucentActivity extends Activity
how to clear the gridview when i request for another adapter if i use the lazy adapter here i put my code for gridview activity and lazyadapter i m use the asynctask for gridview items
here i put my code for gridview
Gridview Activity.java
public class VisitorActivity extends Activity implements OnClickListener{
{
@Override
public void onCreate(Bundle savedInstanceState) {
This is my activity class which parsing RSS
public class RSSReader extends Activity {
ArrayList<String> xmlImage=new ArrayList<String>();
ArrayList<String> xmlList=new ArrayList<String>();
ArrayList<String> xmlLink=new ArrayList<String>();
public class arkaPlanIsleri extends AsyncTask<Void, Void, Void> {
private ProgressDialog dialog = new
i am writing one activity class like below
public class HeaderFooter extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.headerfooter);
}
}
and i am extending one more class from HeaderFooter class
public class Home extends HeaderFooter
{
@Override
public voi
I'm trying to set an array in a class from another activity in Android.
here is my main activity:
public class main_activity extends Activity {
int i = 0;
TextView title;
TextView inst;
TextView word;
EditText edittext;
Button btn;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setCon