Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7278475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:52:47+00:00 2026-05-28T22:52:47+00:00

I am making a j2me website launcher for an url http://www.google.com. I am using

  • 0

I am making a j2me website launcher for an url “http://www.google.com”.

I am using this code:

public class LuncherMidlet extends MIDlet {
    boolean Isflage;
    public void startApp() {
        Isflage = false;
        try {
            Isflage = platformRequest("http://www.google.com");
        } catch (ConnectionNotFoundException ex) {
            ex.printStackTrace();
        }
        if(Isflage){
            destroyApp(true);
            notifyDestroyed();
        }
    }
    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }
}

This code is working fine, but when I try to close the browser of mobile it shows a message for connect to server. If I say no then it again open the this j2me launcher again. It’s not exiting from mobile browser. My launcher reaches in a loop.
Kindly suggest me on this issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T22:52:47+00:00Added an answer on May 28, 2026 at 10:52 pm

    When you invoke platformRequest(), it would call to native apps, and on close on browser it is browser’s stuff that is being invoked. You can’t change it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm maintaining a J2ME application where I found a http request to http://www.google.com in
Making this tutorial: http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html I have ListActivity-derived class and onCreateContextMenu, onContextItemSelected overrides. I think
making an infinite loop in javascript, and jQuery... this is my current code: $(#bg2).css({opacity:
Making a new class in VS10 gives me using System; using System.Collections.Generic; using System.Linq;
I am making an application which has j2me in client side and dotnet on
Making my first steps in RIA Services (VS2010Beta2) and i encountered this problem: created
When making changes using SubmitChanges() , LINQ sometimes dies with a ChangeConflictException exception with
I am making an application for 3d ball balancing game on j2me, I need
Making a search result list (like in Google) is not very hard, if you
Making sense out of an .MSI verbose trace. I created the .MSI using VisualStudio

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.