putExtra ( "key", "value" ) startActivity ( anotherIntent ) finish () class ) startActivity ( anotherIntent ) finish () Start New Acticity from Current Activity With Passing Required Data Intent anotherIntent = new Intent ( this, anotherActivity. Start New Activity from Current Activity Intent anotherIntent = new Intent ( this, anotherActivity. I looked up on Google and found out how to call another activity and then how to pass required data. But I did not know how to pass arguments to the new activity. I had written an application before where I starting one intent from another activity. I decided to keep a different Activity for the OpenCV part and hence I had to pass the bitmap data from my main Activity to the OpenCV part activity. I was making an application where I chose image file using browser intent and process it using OpenCV NDK. Try it out now! Pass Bitmap Data Between Activities in Android It combines features of project management software with productivity and time management tools. Taskito offers simple and intuitive tools to organize your daily tasks.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |