Reputation: 31232
I got the code for connecting java midlet to mysql in three parts[midlet,servlet and standard java]. but netbeans doesn't allow except midlet in Mobile Project which i created from_____________________ file->new project ->java me->mobile application.
Upvotes: 1
Views: 2844
Reputation: 14453
Cldc doesn't support JDBC API's. You won't be able to connect the database directly. You can use HttpConnection
for this. See the following links for your reference,
DataBase Connection Using J2ME
How to Connect With MYSQL Database On J2ME
Upvotes: 1