Android Retrieve Image From Sqlite And Pass It To Next Activity Through Listview Item
Thanks in advance. I sucess to pass data from list view to next activity but now i need to add an image from my database to listview and then pass it to the next activity. Or if it
Solution 1:
YOu can pass the image path using intent.putExtra("ipath",imagePath)
before calling the startActivity(intent)
. And then get this path in your next activity. Load the image now..
Solution 2:
retrieve image path from db and stored in hashset or hashmap and then stored in sharedprefrence and in next activity you can get the image from sharepreference. Hope you get all those things
Post a Comment for "Android Retrieve Image From Sqlite And Pass It To Next Activity Through Listview Item"