×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    10

    Smile Display mobile sites in my j2me application

    Hi all,

    I am new to J2me. I have a requirement, to display mobile site pages within my application.

    For this I was told there was Browser Control method, which makes the browser with the web page to be rendered within application form.

    I have searched Google and found these posts

    http://forums.sun.com/thread.jspa?threadID=5235530

    http://discussion.forum.nokia.com/fo...ad.php?t=72540

    which states Browser control is not possible and I need to use suitable parser and renderer i.e., to create my own browser. But these posts are found to be posted in the year 2007 and 2008.

    I found this to be possible in BlackBerry
    http://supportforums.blackberry.com/.../337163#M61309

    So I am curious to know, is this possible currently in j2me?

    If not, Can you guide me to the alternative solution?

    Thanks in advance
    Girish

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Display mobile sites in my j2me application

    Welcome to Forum Nokia!!

    There is no "browser control" in MIDP (the standard for mobile Java). You have three options.

    1. Use a platform-specific API. Some devices will support a "browser control" through a proprietary API. For example, you have seen that BlackBerry devices have such an API. If you have a newer Nokia Series 60, it might support the eSWT API, which also has a browser component (org.eclipse.swt.browser.Browser). However, as soon as you use such an API, your application will work only on a very limited number of devices.

    2. Write your own HTML rendering engine. This is a big job, but if you're lucky, someone else has already done this. For example, j2mehtml.

    3. Using MIDlet.platformRequest(), you can launch the device's web-browser. This is very portable (works on almost all MIDP-2 devices), but is quite limited in terms of functionality.

    Graham.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    10

    Re: Display mobile sites in my j2me application

    Hi Graham,

    Thank you for your reply. I will work with the suggestions and get back to you when there is any doubt.

    Thanks again,
    Girish

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Display mobile sites in my j2me application

    If you're willing to not use Java and you target Nokia's Symbian based phones, then there's a browser control you can use in C++ apps.

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    10

    Re: Display mobile sites in my j2me application

    Hi Petrib,

    Thanks for the info.
    Girish

Similar Threads

  1. Not able to install application in mobile.
    By SymbianTH in forum Symbian
    Replies: 2
    Last Post: 2009-10-08, 11:34
  2. Want to run a j2me application from symbian
    By joy.mca in forum Symbian
    Replies: 15
    Last Post: 2009-09-12, 12:32
  3. Mobile learning server / environment published
    By mikaset in forum News and Announcements
    Replies: 0
    Last Post: 2008-03-25, 20:50
  4. Replies: 0
    Last Post: 2003-06-09, 04:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×