okay i am making a Quote Application and was wondering how can i have an intent that can bookmark a specific activity? So what i want is when the user clicks a button it bookmarks the activity into another activity that holds the bookmarks/favortites. Can someone explain this to me? Or a simple tutorial?
Here is the code i have: i want to know how i can add this code to program a button to create a new button in another activity? : `Button btn=new Button(this);
btn.setId(btn);
btn.setBackgroundResource(R.drawable.image);
btn.setMinimumHeight(150);
btn.setMinimumWidth(150);
Relativelayout.addView(btn); `
Thanks, any help is highly appreciated, Im just a noob wanting to learn.;)