Insert and show data SQL server 2008 to Blackberry native app
i want开发者_运维问答 to ask about development in blackberry. I have background in .Net. If i want to develop an native application in BB to do data insert operations in Ms.SQL server 2008 database from blackberry. what should i learn and what should i do ? thank you for your advice.
Any sample on this ?
--Raghav
First of all, see short introduction to Blackberry UI structure.
For described task we may create UiApplication.
Then, we should have 3 kind of screens (we can use MainScreen class):
- for list of records, where we can use ListField UI control
- for detail view, where we can use LabelField UI controls
- for new record creation, with EditField UI controls
Also, you can use ButtonField UI controls and MenuItem menu actions
On Blackberry we can use REST or SOAP web services to transfer data on server side
On server side we can use connection to SQL database to complete CRUD actions
See also:
J2ME REST Client
How to build and run a J2ME Web service application
精彩评论