This example MIDlet demonstrates how to use Share API on Nokia Asha software platform 1.1 to share photos or messages to various destinations. The MIDlet also implements OAuth 2.0 authorisation for Facebook.
Figure: Sharing information on popular social networks with a custom MIDlet
If you are sharing content using the Facebook icon button, you need to first obtain a Facebook application ID before the content can be shared. For more information, see https://developers.facebook.com/.
If you are sharing content using the Share icon button, you need to provide login credentials of the selected account (for the first time) before the content can be shared.
You need the following to develop and test this MIDlet:
Nokia IDE for Java ME (Eclipse) or NetBeans with Java ME support
Nokia Asha SDK 1.1 or a Nokia Asha software platform 1.1 device. The MIDlet has been tested on Nokia Asha 501.
A popular social network account, such as Facebook.
For instructions on how to get started with Java ME, see Getting started.
For more information about the MIDlet, see:
Design on information about the design and functionality of the MIDlet.
Implementation for information about implementing the MIDlet
You can download the project files for the MIDlet from the download page.