Intent intent = new intent(this,class_name.class); startActivity(intent); finish(); try this!!
On Jul 23, 4:09 am, Victoria Busse <victoriasarabu...@gmail.com> wrote: > Alright, thanks, I'll try that now :) > > On Thu, Jul 22, 2010 at 11:09 PM, Justin Anderson > <janderson....@gmail.com>wrote: > > > Yes... Intents can be used for your own Activities. You do need to make > > sure that you have the activity you are trying to call in your manifest file > > though. > > > ---------------------------------------------------------------------- > > There are only 10 types of people in the world... > > Those who know binary and those who don't. > > ---------------------------------------------------------------------- > > > On Thu, Jul 22, 2010 at 3:20 PM, Victoria Busse < > > victoriasarabu...@gmail.com> wrote: > > >> Then this must have been a misunderstanding I thought intents were only > >> for calling already existing apps of the phone and not my own created > >> ones.. > >> :)) > > >> And if I now understand it correctly if I click on the button I can simply > >> call the intent from the java file I created to open the new view?!?! > > >> On Thu, Jul 22, 2010 at 10:16 PM, Justin Anderson < > >> janderson....@gmail.com> wrote: > > >>> And why would you not use an Intent and create a new activity for this? > >>> From what you are describing I see no reason why you wouldn't want to do > >>> it > >>> this way. > > >>> ---------------------------------------------------------------------- > >>> There are only 10 types of people in the world... > >>> Those who know binary and those who don't. > >>> ---------------------------------------------------------------------- > > >>> On Thu, Jul 22, 2010 at 3:13 PM, Victoria Busse < > >>> victoriasarabu...@gmail.com> wrote: > > >>>> I am working on a video editing app and when I select a video from a > >>>> gallery like view a menu comes, from which I can choose "edit video" ... > >>>> and > >>>> from there a new view/window should open that loads the video into > >>>> it.... I > >>>> hope that makes it a bit clearer :) > > >>>> On Thu, Jul 22, 2010 at 10:10 PM, Justin Anderson < > >>>> janderson....@gmail.com> wrote: > > >>>>> Not really sure I follow... What do you mean by "selected content"? > > >>>>> ---------------------------------------------------------------------- > >>>>> There are only 10 types of people in the world... > >>>>> Those who know binary and those who don't. > >>>>> ---------------------------------------------------------------------- > > >>>>> On Thu, Jul 22, 2010 at 3:07 PM, Victoria Busse < > >>>>> victoriasarabu...@gmail.com> wrote: > > >>>>>> Hi there, > > >>>>>> sorry for the following explanation... I just didn't know how to > >>>>>> describe it differently... > > >>>>>> What I would like to do is when I click a certain button, my app > >>>>>> should open a new "window" and loading the selected content into this > >>>>>> new > >>>>>> window/view. It shouldn't be like e.g. the send intent, which opens a > >>>>>> completely different, but still be part of my app just showing a > >>>>>> completely > >>>>>> new view... > > >>>>>> I just don't know right now, what I have to do or even if this is > >>>>>> possible, so if anyone could help me or direct into the correct > >>>>>> direction or > >>>>>> knows a great tut for that...any sort of help is more than welcome... > > >>>>>> Thank you very much > > >>>>>> -- > >>>>>> You received this message because you are subscribed to the Google > >>>>>> Groups "Android Beginners" group. > > >>>>>> NEW! Try asking and tagging your question on Stack Overflow at > >>>>>>http://stackoverflow.com/questions/tagged/android > > >>>>>> To unsubscribe from this group, send email to > >>>>>> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > >>>>>> For more options, visit this group at > >>>>>>http://groups.google.com/group/android-beginners?hl=en > > >>>>> -- > >>>>> You received this message because you are subscribed to the Google > >>>>> Groups "Android Beginners" group. > > >>>>> NEW! Try asking and tagging your question on Stack Overflow at > >>>>>http://stackoverflow.com/questions/tagged/android > > >>>>> To unsubscribe from this group, send email to > >>>>> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > >>>>> For more options, visit this group at > >>>>>http://groups.google.com/group/android-beginners?hl=en > > >>>> -- > >>>> You received this message because you are subscribed to the Google > >>>> Groups "Android Beginners" group. > > >>>> NEW! Try asking and tagging your question on Stack Overflow at > >>>>http://stackoverflow.com/questions/tagged/android > > >>>> To unsubscribe from this group, send email to > >>>> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > >>>> For more options, visit this group at > >>>>http://groups.google.com/group/android-beginners?hl=en > > >>> -- > >>> You received this message because you are subscribed to the Google > >>> Groups "Android Beginners" group. > > >>> NEW! Try asking and tagging your question on Stack Overflow at > >>>http://stackoverflow.com/questions/tagged/android > > >>> To unsubscribe from this group, send email to > >>> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > >>> For more options, visit this group at > >>>http://groups.google.com/group/android-beginners?hl=en > > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Android Beginners" group. > > >> NEW! Try asking and tagging your question on Stack Overflow at > >>http://stackoverflow.com/questions/tagged/android > > >> To unsubscribe from this group, send email to > >> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > >> For more options, visit this group at > >>http://groups.google.com/group/android-beginners?hl=en > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Beginners" group. > > > NEW! Try asking and tagging your question on Stack Overflow at > >http://stackoverflow.com/questions/tagged/android > > > To unsubscribe from this group, send email to > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en