Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
ASK THE EXPERT:COMMUNICATION AND NETWORKINGIN SERIES 40 APPSMichael SamarinDirector,Developer Training and EvangelismFutur...
INTERACTIVE SESSION• This is special webinar “Ask the Expert” on all things related to  building connected apps for Series...
Communication options• Networking:   • Http / Https   • TCP sockets, secure sockets   • UDP• Messaging:   • SMS / MMS• Blu...
Generic Connection Framework (GCF)• Defined in Connected Limited Device Configuration (CLDC) 1.0  specification• Package: ...
Connector, factory class from GCF• Any type of connectivity can be initialized with Connector:• Connection c = Connector.o...
MIDP 2.0:• HttpConnection                “http://”• HttpsConnection               “https://”• SecureConnection            ...
WebServices API (JSR-172):• RPC Package:    • Subset of J2SE API JAX-RPC 1.1• XML Package:    • Subset of JAXP 1.2• http:/...
Bluetooth (JSR-82):• L2CAP         “btl2cap://”• RFCOMM        “btspp://”• OBEX          “btgoep://”• http://www.developer...
Wireless Messaging API (JSR-205):• SMS (text, binary)                     “sms://”• MMS (text, video, image, audio)       ...
THANK YOU!Want to learn more?www.developer.nokia.com            Michael Samarin, Director of Developer Training and Evange...
Upcoming SlideShare
Loading in …5
×

Ask The Expert: Communication and networking in Series 40 apps

1,074 views

Published on

Our new Ask the Expert webinar series puts the power in your hands. You can choose what topics are covered and what questions are answered during these highly interactive sessions. In this webinar, expert developer Michael Samarin of Futurice will answer some of your questions about communication and networking in Java™ apps for Series 40 phones. Ask about any aspect of the topic that interests you: Bluetooth, HTTP, web services — anything related to creating connected mobile apps. To get the most out of this Ask the Expert webinar, send your questions now to webinar.experts@nokia.com. Then, register and get ready for a great hour of interaction and learning.

Check out the full list of forthcoming webinars: http://www.developer.nokia.com/webinars

Published in: Technology
  • Be the first to like this

Ask The Expert: Communication and networking in Series 40 apps

  1. 1. ASK THE EXPERT:COMMUNICATION AND NETWORKINGIN SERIES 40 APPSMichael SamarinDirector,Developer Training and EvangelismFuturice
  2. 2. INTERACTIVE SESSION• This is special webinar “Ask the Expert” on all things related to building connected apps for Series 40• It is interactive, and your questions are driving discussion• You can ask questions right now in the chat window, or for future sessions send your questions in advance to webinar.experts@nokia.com• Today, we will go first through questions we have received and F.A.Q. and then will switch to interactive mode
  3. 3. Communication options• Networking: • Http / Https • TCP sockets, secure sockets • UDP• Messaging: • SMS / MMS• Bluetooth: • L2CAP, RFCOMM, OBEX
  4. 4. Generic Connection Framework (GCF)• Defined in Connected Limited Device Configuration (CLDC) 1.0 specification• Package: javax.microedition.io• All communication options are based on CFG• http://www.developer.nokia.com/Resources/Library/Java/_zip/GUID- A8A297BB-EA23-4E2C-A9D1- 6403BBEE0CD9/javax/microedition/io/package-summary.html
  5. 5. Connector, factory class from GCF• Any type of connectivity can be initialized with Connector:• Connection c = Connector.open(“protocol://”);• All supported protocols implement Connection, and general communication architecture is quite similar, for example:• UDPDatagramConnection u = (UDPDatagramConnection)Connector.open("datagram://”);• HttpConnection c = (HttpConnection)Connector.open("http://");
  6. 6. MIDP 2.0:• HttpConnection “http://”• HttpsConnection “https://”• SecureConnection “ssl://”• ServerSocketConnection “socket://”• SocketConnection “socket://”• UDPDatagramConnection “datagram://”• http://www.developer.nokia.com/Resources/Library/Java/_zip/GUID- 0D0A1092-5037-4421-B466- B958CB777414/javax/microedition/io/package-summary.html
  7. 7. WebServices API (JSR-172):• RPC Package: • Subset of J2SE API JAX-RPC 1.1• XML Package: • Subset of JAXP 1.2• http://www.developer.nokia.com/Resources/Library/Java/-!developers- guides/networking/web-services.html
  8. 8. Bluetooth (JSR-82):• L2CAP “btl2cap://”• RFCOMM “btspp://”• OBEX “btgoep://”• http://www.developer.nokia.com/Resources/Library/Java/-!developers- guides/networking/bluetooth-connections.html
  9. 9. Wireless Messaging API (JSR-205):• SMS (text, binary) “sms://”• MMS (text, video, image, audio) “mms://”• http://www.developer.nokia.com/Resources/Library/Java/-!developers- guides/messaging/wireless-messaging-api-20.html
  10. 10. THANK YOU!Want to learn more?www.developer.nokia.com Michael Samarin, Director of Developer Training and Evangelism, Futurice

×