Adina Haziza

Greenhorn
+ Follow
since Jul 16, 2018
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adina Haziza

But still i cannot get JSON object after i join the table. could you check it please?



the log cat :

5 years ago
Hi,

I'm facing difficulties when i want to convert two table(multiple) in sqlite into a JSON object. I manage to convert  a sqlite table to a json object. I've googling and mostly those site recommend to use Gson but i don't have single idea how to do it when sqlite involves. Can you give me some example how to convert it to JSON object? It's easier to understad from example. thanks

here's my code to convert single table:



and this is my DatabaseHelper table:


5 years ago
what if there's a lot of image? let's say i have 10 image and 10 explanation. do i had to use 10 if statement? thanks
5 years ago
Hi, I  have a few image store in drawable and a explanation of those image store in string(value). if i insert a string in edit text and press a button, i want it show an image and explanation of those image. for example, i insert "flower" and press button then it'll show flower and explanation of flower. do you have any idea how to do it?sorry for basic question. i'm new in android. thanks for your help.
5 years ago
hi, I'm new in android programing. I'm still learning about activity and java class. I'm creating a program that consist splash screen(activity), javclass1 (java class contain a program that receive data from bluetooth), javclass2(java class contain program to insert string that javclass1 receive ) and MainActivity (compare data from database with editText) . I want to make my splash screen run javclass1 and javclass2 so i can run my MainActivity. can you tell me how to do it? because mostly people tell me to use intent in splash screen to main activity without running javclass1 and javclass2. thanks for your help.
5 years ago