Newsletter:

(Tutorial) Mobile and Embedded Marge in JAVA

Marge Framework in Mobile & Embedded

The Mobile & Embedded community is a collaborative and evolving environment for developers working with Java ME Platforms. Here you will find a thriving culture of developers and technology experts with similar interests and goals. Check this site regularly for the latest product updates, technical articles, community news, and more.
This mobileandembedded project is the umbrella project that contains all of the projects of the Mobile & Embedded Community.

The Mobile & Embedded Community is founded on these four principles that are characteristic of open source development:

  • Transparency
    Projects are open to everyone who becomes a member of the community.
  • Participation
    People are enabled to work together to create and innovate for the betterment of the community.
  • Compatibility
    Promote existing standards, align with the Java Community Process program, and preserve the Java technology specifications.
  • Engineering Excellence
    Define processes and guidelines that facilitate the creation of high quality, deployable solutions.

These principles were chosen to enable the Mobile & Embedded Community to grow rapidly, develop high quality and innovative technology, and accelerate the development of next generation applications for mobile and other market segments.

  1. What is Marge?
    Marge is project intended to help Java Bluetooth development. It contains a framework, also called marge-core, build on the top of JSR 82 (Java APIs for Bluetooth) that facilitates the development of Java applications that uses Bluetooth.
  2. What is Bluetooth?
    Bluetooth is a wireless technology.
  3. What is JSR 82?
    JSR (Java Apis for Bluetooth) is a Java ME optional package thats provides Bluetooth supporting.
  4. Where can I learn more about JSR 82 and Bluetooth and Java?
    Mobile and Embedded Wiki - Bluetooth Resources.
  5. Is it possible to use the same marge-core JAR in Java ME and Java SE applications?
    Yes, marge-core is compiled using Java 1.3 and it is compatible with Java ME and Java SE, which means that it just uses classes and methods that are contained in both plataforms.
  6. My device has Bluetooth but I can not create Java Bluetooth applications, what should I do?
    Probably your device does not support JSR 82 (Java APIs for Bluetooth). You can check in your device specification or take a quick look at j2mepolish searching for btapi.
  7. How could I create Bluetooth applications in my desktop?
    The blog entry "JSR 82 is not only for mobiles!" explains a lot around it.
  8. Does Marge support OBEX?
    Currently is not supported. JSR 82 (Java Apis for Bluetooth) is divided in two main packages javax.bluetooth (core Bluetooth) and javax.obex (OBEX protocol). Some devices just implements the first one, so the idea is create another package with Marge facilities for OBEX. Also, it is possible to implement OBEX by hand using RFCOMM and maybe create Marge facilities directly in the current package.
  9. How to Start with Marge 0.5 ?
    Marge 0.5 is almost compatible with 0.4.0. Try to add the new jar and check what have changed, it is intuitive. Currently, there is two ways to have devices connected using Marge: Default (1) and AutoConnect (2). In addition, you can use Marge independently, like if you just want the inquiry stuff.

{ See Marge in action }

Click here for more details..

Courtesy: java.net