Android Question b4a&php - app implementation and problems

Schakalaka

Active Member
Licensed User
Longtime User
Hello.

i'm almost done, my new app and i wanted a "code evaluation" from you so i can improve it even more and help solving problems found

The app has a mysql and php backend of which a part I wrote it myself, the other I used a program to generate it.

the app uses a timer, which continues to advance even in the background
Problems encountered:
1) when the app is open, if I am on another section, when the time expires, it brings me back to the home page but does not update the data in the database. (maybe some passed variables are empty)
2) when the app is close, the timer take more time to finish (it is setted as service)
3) sometimes when I go to another section it closes and reopens section and home

I include:
zip with code
zip with php code + database loaded on the server
I wrote the persons.php file taking inspiration from material found in the forum

B4X:
https://drive.google.com/file/d/1WlWZoNNrHgiylTgGEXaNeLfPFi0TYfva/view?usp=sharing

Release apk
B4X:
https://drive.google.com/file/d/13vsM8ujLJqFqr36j_35DkMTukKnxCRe9/view?usp=sharing


There is probably some "design" problem.

Please take a look
 

Attachments

  • clickandclaimbtc.zip
    378.4 KB · Views: 137
Last edited:

kisoft

Well-Known Member
Licensed User
Longtime User
Hello, what exactly are you asking about?. You should put it in the I'll give a job section.. I suggest using jrdc2
 
Upvote 0

Schakalaka

Active Member
Licensed User
Longtime User
i'm not too much expert in b4a and php. this is an experiment.
i have felld good working with php&json.
i had test jrdbc2 but it not worked as well. also i think that i can t use it on my server, because i haven t ssh access for start the jar file..
anyway it is not too much different from php.

i think that there this app can be organise better in code level, but i don t know where start

i have add tha apk file on first post
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…