简体   繁体   中英

Connecting phpmyadmin and BlackBerry application (Eclipse)

Well long story short, my application needs to connect to the database in the web to collect information about login details and stuffs. I found out that I can use either JDBC or a webservice but the thing is, I dont believe that we can use JDBC in BlackBerry or if we can it would be very complicated, CMIIW so I had to use a webservice. Can anyone please elaborate what should I exactly do? I got the basic concept but completely blank on what to do? Where should I create the webservice and how do I connect it to the BlackBerry application and Phpmyadmin? Thank you in advance

On the server:

  1. Install MySQL
  2. Install PHP
  3. Make a php-script that gets POST- or GET- request, connects to MySQL, processes return values and returns xml.

On the device:

  1. Connect to the created php-script, make POST- and/or GET- request and process received xml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM