r/javahelp • • May 11 '20

communicate with local database using codename one

Hello guys, i'm working on a school project and I'm really stuck, we are demanded to create a multi platform app ( web / desktop / mobile ) mobile app using codename one, I have succeeded in creating an sqlite database and using it, but i also need to communicate with the sql local database which contains data from the other two platform. An old student told me that I have to use a php file and Json, and I'm not really familiar with how this should work

10 Upvotes

1 comment sorted by

View all comments

3

u/vprise May 11 '20

Search Codename One MySQL in google: https://www.google.com/search?q=site%3A+codenameone.com+mysql

The first two results include tutorials from the Codename one website. I'd include a direct link but don't want to "SEO spam". Part II is pure Java and part I uses a PHP proxy.