Opening wap browser from j2me application

is there any way to open a wap browser which already available on the handset?
the scenarion maybe like this, there is a menu and each item on the menu when chosen will open a wap browser directed to a certain wap site.
so if there's is an item for Yahoo! Mail, wheh user click it. the wap browser would open the yahoo mail site.
TiA

Hi,
I'm trying a similar thing (open the default mobile browser with the command line platform request). I works, but I tried it on different emulators, and they don't react the same way. For exemple with the Nokia SDK series 40 (standalone and with WTK2) the midlet is first running and I have to exit the midlet before I am asked if I want to go to the url.
What can be the reason ? Is it possible to force the browser to be openned and have the midlet running background ?

Similar Messages

  • Open web browser from java application to specific page

    Hi,
    I used the code from http://www.javaworld.com/javaworld/javatips/jw-javatip66.html to open a web browser to a specific URL. That worked great! However, I run into a problem if the URL targets a specific page, for example, "http://www.yahoo.com/news.html" would give me an problem with the shortcut problem. Any ideas how to get around that?
    The command rundll32 url.dll,FileProtocolHandler http://www.yahoo.com/news/ would work fine, except anything ends with .htm or .html.
    Thanks,
    David

    It looks like url.dll doesnt like .htm or .html files. For more info look here: http://www.jsiinc.com/SUBI/tip4100/rh4162.htm
    For some reason it is confused by the 'm' character in .html which is odd considering it has no problems with .com
    So if you want to keep using url.dll, do something like this:
    replace ".htm" with ".ht%6D"

  • How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive w

    How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive without opening a browser?
    The guts of my computer were rearranged and I got a new main hard drive. My old one is still in there and I can get stuff from it, but when I go to the Mozilla folder on the old one, I can't figure out if there's anything I can do to get all my bookmarks from that drive to my new one, where Firefox is newly installed.

    If you open Firefox then Firefox will always use the default profile folder as found via profiles.ini on your system drive.
    You either need to import the file in your current default profile or copy the file to your current profile folder while Firefox is closed.
    Firefox 3 stores the bookmarks and the browser history in [http://kb.mozillazine.org/places.sqlite places.sqlite] and no longer creates an HTML backup by default.
    There are also (five) JSON backups in the bookmarkbackups folder within the Firefox profile folder.
    You can either copy the file places.sqlite to your [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or import the most recent JSON backup from the bookmarkbackups folder of that old profile.
    See:
    http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See http://kb.mozillazine.org/Profile_folder_-_Firefox
    "Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders.
    See http://kb.mozillazine.org/Show_hidden_files_and_folders
    Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
    You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files.

  • Send SMS from J2ME application to a mobile number...

    Hi guys,
    Need your help on sending SMS from J2ME application saved from mobile to send to another mobile number...
    I have tried the WMA demo from suns WTK it send message but the other number cannot received the message.
    Please help or give any idea or sample code that can guide
    me...
    Thanks in Advance...
    Regards,
    Psyeu

    WMADemo works fine.
    Try to do this:
    1. Open WMADemo
    2. Run WMA Console (File->Utilites->WMA Console)
    3. On the top of the window of WMA Console you will see the number of "Console's phone". If you don't have any started emulators, the number will be +5550000.
    4. Run WMADemo
    5. Select SMS Send in emulator menu.
    6. In destination address write +5550000
    7. Enter message
    8. Push "Send" command. Emulator asks you to send SMS. Push "OK" twise.
    9. Then you will see your message in WMA Console

  • Opening a browser from an applet

    I got a problem, I want to open a browser from my applet, but I just found one way:
    getAppletContext().showDocument(new URL(
    "http://www.java.sun.com"), "_blank");
    but the problem is: with this, the default browser with defaul settings is opened, and that's what I don't want...
    how can I open the browser with some settings (for example size, or no-url-bar, etc)
    thx for help

    hi,
    try this code:
    public void showDocument(java.net.URL url, String targetWindow)
    when targetWindow can be:
    "_blank" Display the document in a new, nameless window.
    "windowName" Display the document in a window named windowName. This window is created if necessary.
    "_self" Display the document in the window and frame that contain the applet.
    "_parent" Display the document in the applet's window but in the parent frame of the applet's frame. If the applet frame has no parent frame, this acts the same as "_self".
    "_top" Display the document in the applet's window but in the top-level frame. If the applet's frame is the top-level frame, this acts the same as "_self".

  • Browser enabled InfoPath form not opening in browser from a link in a Task list

    I have a browser enabled InfoPath deployed to SharePoint as a template in a Forms Library. The form opens in the browser when a user navigates to the Form library and clicks New.
    There is an Approval workflow associated with this form which kicks in whenever a new Form is submitted. The workflow creates a task in a task list. The task list shows a Link column which provides the link to open the form. Now, when a user clicks on the
    link (in the Task list), the form always open in InfoPath instead of opening in a browser.
    I see that the URL for the form (http://<Server>/Training/Enrollment%20Forms/<FormName>.xml)  is same in both the Forms Library and Task list link.
    What am I doing wrong or what do I need to do to make the form open in browser from the Task list link.
    Thanks
    Rajat

    This question is asked constantly - we just discussed this last week, I believe - so you can probably find a lot more discussion to help you out if yous earch within this form or browse through the topics.  The reason for your issue is because of
    what you just wrote - the URL is directly to the XML file, so it tries to invoke InfoPath.  Browser forms are rendered by Forms Services, which has a much different URL.  Go click on one of your existing forms, and notice how different the URL is. 
    To get forms to open in the browser when invoked from a different location, you must use this full Forms Services URL.  Built-in workflows only generate a link to the XML file, and since the task in a different list than the form, then it has no idea
    how to open the form in the browser.  Only users who don't have InfoPath installed will see it in the browser automatically.  This is why I generate my own URLs dynamically with custom workflows and don't use OOTB workflows.SharePoint Architect || Microsoft MVP ||
    My Blog

  • Open a browser from swing panel

    How can we open a browser from a swing panel? I want to open a browser from my panel, when i hit on a button or a link?
    Second question how can i create a link in a panel?
    Thanks

    odd, someone just asked that:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=555001&tstart=0&trange=15

  • Why does it take 3 goes to open my browser from my desk top?

    It takes me 3 attempts to open my browser from my desktop icon. 3 lots of double clicks before Firefox will open. Things changed about a week ago. All was well before then. What has happened?

    I would have thought if you select a program to come to the forefront it is
    "active"and ready to use?  Is this an issue or am I doing something wrong? 
    Thanks
    Tried this on my setting but after having clicked on the icon the Bridge
    window is present, ready and active. No need for an click here.
    Have you already tried system maintenance for OS using Apple Disk utility to
    check and repair permissions?

  • [Question] Can I call a wap browser from a j2me program?

    Hi, everybody, I am new to j2me programming. Now, I want to call a wap browser to visit a site from my j2me program.Can anybody tell me how to do it?

    Check this from MIDP2: Classes MIDlet
    platformRequest
    public final boolean platformRequest(String url)
    throws ConnectionNotFoundException

  • Opening a browser from a swing application

    hi,
    I want to open a browser (with specific URL) from my application, on the actionEvent of certain Button. Is it possible ? If any body is aware of it plz help me.
    Thanks
    Atul

    Try out the following site,
    http://www.stanford.edu/~ejalbert/software/BrowserLauncher/
    rgds
    Ravi

  • Open Browser from My Application

    I have created a Notepad in Java.I want to create an option which should open the browser and pass the contents of the Notepad to it.Can anyone suggest how do i go about doing this??Thanx in Advance

    Here's one possibility: save the text in a temporary file and open it in the browser with Runtime.exec:
    http://www.javaworld.com/javaworld/javatips/jw-javatip66.html?

  • Problems getting files to open in browser from SP 2010 search results page

    We are in day 4 of having upgraded from MOSS 2007 to SharePoitn 2010 via database attach.
    When a user looks in their document library, and clicks on a PDF, they are asked if they want to check out and open or just open, and when they make the selection, acrobat reader opens the doc.
    When a user performs a search on the same library, and clicks on a PDF in the results page, the user is prompted if they wish to download the file, and then, after they save it, the file is downloaded and nothing else happens.
    The users do not want their disks filled with unnecessary copies of files.
    Note that I did add an "application/pdf" mime type to the allowedInlineDownloadedMimeTypes property .
    This is only occuring when using the download results page.
    Does anyone know a fix for this?
    Thank you.

    Hi lwvirden,
    Generally, if the PDF is added to the Web Application's AllowedInlineDownloadedMimeTypes property , the PDF files will open in browser when clicking them regardless of on the search result page or the document library.
    I recommend to delete the PDF from the Web Application's AllowedInlineDownloadedMimeTypes property and then re-add it to see if the issue still occurs.
    Here is a table summarizes the various PDF rendering behaviors in search and library in the link below(same for SharePoint 2010):
    http://stevemannspath.blogspot.in/2013/04/sharepoint-2013-pdf-support-and.html
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx#DownloadFunctions
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Opening default Browser from embedded Flash

    The Situation is this:
    I have a running flash application myapp.swf (Actionscript
    2), which runs on a server and requires a parameter (
    http://myserver.com/myapp.swf?myparam=value).
    I now want to create an AIR Wrapper for this application. So
    I embed the above URL in a html-based AIR Project using the embed
    tag. When I launch my new AIR Project the application is displayed,
    but when I click on a link within the flash application a new AIR
    window opens, displaying the respective Webpage.
    But it should instead open a new tab or window in the default
    Browser of the respective operating system.
    I have tried the following without success:
    - Attempt to create a flash-based AIR Application. The
    application did not work properly since the swf file is on a server
    and not within the AIR Appplication. If I download the swf-file and
    put it in this directory I can't pass it the required parameter
    - Trying to open a default Browser window like this:
    http://snipplr.com/view/4442/adobe-air-open-new-url-with-sandbox-bridge.
    I belive this only works with a flash-based AIR Application too
    The best solution for me would be, if I could solve the
    problem without having to alter the flash part. But, if neccessary
    changing the flash part would also be an option.
    I really would appreciate any comments / suggestions on this
    matter

    I should probably add, that I am not a very experienced AIR
    Developer.
    quote:
    So lets get this straight, you now have the content
    embedded/loaded within a HTMLLOADER, right?
    Probably not... I have a Html based project. Meaning that I
    refer to an initial html file from my application.xml. In this html
    File I embed the mentioned flash application using the following
    line:
    < embed height="100%" width="100%" src="
    http://myserver.com/myapp.swf?myparam=value"
    />
    Could I use HTMLLoader in a HTML-based AIR app?
    quote:
    And when the AIR APPLICATION is launched, you would want the
    links that are embedded within the HTMLLOADER to open up in a
    browser?
    This is correct, but it should open up the default Browser
    like IE or Firefox but not a new AIR window.
    quote:
    Are you using: navigateToURL(new URLRequest("
    http://" + url), "_blank");
    I am not using navigateToURL since the flash application I am
    working with "does not know" that it is wrapped by an AIR
    application. Therefore, it opens new URLs the way it is normally
    done in a flash stand-alone application.
    As I see it AIR recognises that a link is being called and
    opens a new, AIR window instance.
    I have seen the article about Windows Vista before, but I
    would think that it is not directly related to my problem, since I
    do not have to problem whether links are being opened in, for
    example, Firefox or Internet Explorer but links are opened in a
    build-in AIR Window.
    I hope shed some light on the problem I am having...

  • How to open a browser from a program??

    How can i open a browser to a specific page from my aplication??

    Or if it's a desktop application, you can use the Runtime class to execute an app. The following will open up MS Access Database. Just change the string to point to the application you want to run.
    String app = "C:\Programs Files\Microsoft Office\Access\Msaccess.exe";
    Runtime rt = Runtime.getRuntime();
    Process p = rt.exec(app);
    p.waitFor();
    Hope that helps!!
    Taji

  • Opening a browser from javafx webstart.

    I am deploying an application as a web start (.jnlp) application. I was wondering if there is a way to open a browser window when running the application from web start.
    This code snippet is what I currently use (this does not work for web start). This code works as a standard application and as a browser applet.
    How can I get this to work for webstart?
        var browser: Boolean = "{__PROFILE__}" == "browser";
        public function openBrowser( url: String ): Boolean{
            if(not browser){
                var applet = FX.getArgument("javafx.applet") as java.applet.Applet;
                Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler {url}");
               return true;
            else{
               AppletStageExtension.showDocument(url, "_blank");
                return false;
        }

    Control browsers from your Java application

Maybe you are looking for

  • Solaris Management Console 2.1 in Solaris 10 x86 nv-b40 and nv-b42.....

    I have been Solaris 10 x86 on my Intel machines and never had any problem with SMC. However, things seems to have changed since nv-b40 release. SMC out-of-the-box does not work even the first time. I get a message like Server is not running, Toolbox

  • SharePoint Online workflows show server error when link is clicked. Cannot terminate them.

    This is for SharePoint Online. I have a number of workflows on a list that are in a 'suspended' state when I navigate to the workflows page for the item. When I click the link to view the workflow, I get a server error.  I need to terminate these wor

  • Compaq Presario Desktop, IJ750 (Inkjet)

    Hi, I am having problems with my computer printer in which it is jamming.  I cannot buy another printer to replace it because I am told that they no longer make Compaq printers or inkjet printers anymore.  Is it worth keeping my computer because I am

  • CMR - how to deal with no child records

    Hi, I have developed a number of CMP EJBs, created relationships, mapped and deployed OK using WSAD v5 + DB2 backend. When I call findByPrimaryKey on the parent in the one to many, everything works unless there are no child records. The server genera

  • PostgreSQL doesn't start

    I have installed postgresql using pacman & now it doesn't start. I get "FATAL:  could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory"  full log here: $ sudo rc.d start postgresql :: Starting PostgreSQL [BUSY] pg_