This post has been edited by macosxnerd101: 17 May 2010 - 05:57 AM
[J2ME] Connect to DatabaseHow to connect Sqlserver Database microediton with J2ME
Page 1 of 1
4 Replies - 14259 Views - Last Post: 04 November 2010 - 12:13 AM
#1
[J2ME] Connect to Database
Posted 17 May 2010 - 05:20 AM
Dear sir, I want to connect Mobile Applecation in J2ME with the Sql server Micro Edition. How this is performed. Plz tell me Step by stem. and How to save record in database of a Mobile Application in J2ME.
Replies To: [J2ME] Connect to Database
#2
Re: [J2ME] Connect to Database
Posted 17 May 2010 - 05:56 AM
Topic renamed to be more descriptive and moved to Mobile Development.
An easy way would be to use HttpConnection to post the data to a server, then have the server handle the database interactions.
An easy way would be to use HttpConnection to post the data to a server, then have the server handle the database interactions.
#3
Re: [J2ME] Connect to Database
Posted 28 June 2010 - 02:22 AM
i agree with macosxnerd101,. the easy way would be use HttpConnection,..
maybe this link will help you :
DataBase Connection Using J2ME
MIDP Network Programming using HTTP and the Connection Framework
maybe this link will help you :
DataBase Connection Using J2ME
MIDP Network Programming using HTTP and the Connection Framework
#4 Guest_Vijay Siripuram*
Re: [J2ME] Connect to Database
Posted 03 November 2010 - 11:48 PM
nitinverma274, on 17 May 2010 - 04:20 AM, said:
Dear sir, I want to connect Mobile Applecation in J2ME with the Sql server Micro Edition. How this is performed. Plz tell me Step by stem. and How to save record in database of a Mobile Application in J2ME.
Hello.
There are no classes to connect Database via J2ME. You have to use Web Application between J2ME and Database.
Through the Web application you make sqlconnection and retrieve data and pass that values to the J2ME application. read that data in J2ME application. is simple words we mediator to interact J2ME and Database Connectivity.
#5
Re: [J2ME] Connect to Database
Posted 04 November 2010 - 12:13 AM
HttpConnection would certainly be a good idea.
but also you should know about RecordStore which is implemented
in javax.microedition.rms package.
RecordStores allow you to store records locally on a mobile device.
but also you should know about RecordStore which is implemented
in javax.microedition.rms package.
RecordStores allow you to store records locally on a mobile device.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote








|