How to send a data from one activity to a dbhelper activity? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to send a data from one activity to a dbhelper activity?

I want to send a variable from a activity to dbhelper activity and use it in query.I tested intent but intent not work on dbhelper.anyone have a solution?

3rd Jan 2018, 9:41 AM
Ali_vbpro
Ali_vbpro - avatar
1 Answer
0
A variable? Create a DBHelper object so that call your query method. It should work. Download AndroidTutorials. It's an app for android developing, it has helped me a lot, and I hope it does for you too. Greetings :D
6th Jan 2018, 4:44 PM
jaaxdev
jaaxdev - avatar