HowTo send the browser to the background (ApplicationMenuItem)

I have the following scenario:

Application screen A, x

--> called a browser with the URL session where an image is displayed

works well

Request A, x screen adds an ApplicationMenuItem in the browser

to make it easy to open some other URL with other images

Request A, x display also adds an ApplicationMenuItem in the browser,

to return directly to the screen X application has

It is uncomfortable if the user performs a work more in the browser-

then he also has to use 'switch to the application' or hit the

'return' of many times

It works well to return to the Application, screen x

but then if hit 'return' of the x screen it returns to the browser

but of course, I want to return to the last screen to request A

so my question: is it possible to move the browser in the background application

and remove the battery from the screen?

answered by myself ;-)

inside the run() to my ApplicationMenuItem I added:

ApplicationManager.getApplicationManager().runApplication(mainApplicationDescriptor);

now the browser passed to my request, and the hiotting going back inside my app now works as expected.

BTW: to get the handle of my app I used

ApplicationDescriptor.currentApplicationDescriptor()

Tags: BlackBerry Developers

Similar Questions

  • I want to keep my browser in the background when I click a link

    I want to keep my browser in the background when I click on a link.
    I used to have in place but had to reset the default value.
    I don't remember the setting.

    You can view these prefs:

    • browser.tabs.loadBookmarksInBackground
    • browser.tabs.loadDivertedInBackground
    • browser.tabs.loadInBackground
  • Close and notifyDestroyed, just send the application in the background

    notifyDestroyed sends just my MIDlet in the background, but the application is still running. Further more, choosind close on the BB menu (called by pressing the push to talk key) also does not close the application. What I am doing wrong?

    Ok. Finally fixed it!

    It seems that the PushRegistry mechanism was still alive in the background, not allowing the application to close normally. More precisely: the RIM MIDletMain.MIDletPushRegistryWorkerThread support thread has been blocked. I have no idea why, and frankly I don't have the time to investigate it. For now I just closed PushRegistry and the application closes very well.

    In my view, deserves a congratulations to do so, if only for the sake of my Ego... push... push...

    AA I understand, many people who hit similar problems, where it won't leave MIDlets on BlackBerry. So I thought I would give details on how I found the solution:

    I ran the application in the debugger in Eclipse, then leave and looked at the lily of active threads. Normally, after leaving the app, all associated threads must die. Thus, one of the remaining wires related to the app is the culprit:

  • I have a really basic problem with Adobe to draw, I made a drawing on top a photograhp, then delete the background and now when I send the image in jpg format, it is too small. Any ideas how to make images to draw out more?

    Just like the title says, I have a little problem with Adobe draw. I put a picture as a background, designed something on it, deleted the photo behind and when I send the drawing to myself as an image is too small. I have no idea how to change or enlarge the image. Help?

    HI Marco,.

    I just spoke to the engineer on this yesterday (sorry, I wanted to write). We were unable to reproduce the problem, and looking at the code, there is no reason for this. I'm sorry.

    I don't know if this will help, but if you want, I can get you on the list of our tester for you the most recent draft of the app. If you want to try this, write to me (thanks to feedback in-app; tap the icon of the draw, then give us your comments) with the email address you would like that I use for Apple TestFlight.

    Sue.

  • Designed the large page background color/text and images. Seems ok, but when I send pdf the background page is much too small.

    Designed the large page background color/text and images. Seems ok, but when I send pdf the background page is far too small - the drawings are ok.

    Send to the printers tomorrow but pdf does not appear correctly! Any ideas? Please, I beg you!

    Please tell us

    -This page - is that he recorded in a graphic file? What type? If not, where is it?

    -How exactly do you send as PDF - what app do you use? and what are the measures?

  • When I saw a page in my browser, I see the background

    Recently when I try to view a page or the entire site in a browser, all I see is the background of the site. Everything else is missing, same thing happens when I try to publish the site as a testsite, just the background appears. The active panel shows as connected. Can someone help me with this?

    Hi there, as we have seen most e-mail/case is an orphan and a style tag not closed in the metadata of the page 'hand Master"Master (in properties-> metadata Page) which are causing the problem. See the following screenshot - http://prntscr.com/331pkz.

    Remove the following line of code from metadata and it should work fine.

  • How to get the background image to fill the browser and stay fixed in IE and Firefox?

    Basically what it says in the title. I came very close to achieve, but something comes to Moor in the html and css code...

    First of all, I use the latest version of Firefox and IE8 to test this situation.

    I used 2 sources of information to get this done: 1) http://css-tricks.com/perfect-full-page-background-image/ and ) 2 http://stackoverflow.com/questions/8958697/css3-background-size-cover-doesn ' t-make-image-co-ver-vertical


    In 1 case , the example of the called page CSS-Only Technique #1 gives the code that works almost perfectly for me, except that obviously I need to a background image, but the CSS provided ago obviously just for an image has fallen in the body of a page without taking account of any other content that may already be there. "The html code that I put on the page is simply < img class ="bg"src ="... / pictures/background_image.jpg "> "

    Of course, I used the CSS code in the example, less the last piece which is "@media screen" etc., which seems irrelevant to me. Of course by replacing the values according to the picture on my page.

    So what happened was that it worked almost as expected in both browsers (which means the image filled both browsers first as it should and also remained fixed when I zoomed in, inside or outside, in each case), except that the picture went on top of the current content that I already there precisely because there isn't a background in this 'technical '. (A note on the side of curious, is that the image didn't turn down content, I expected under normal circumstances, but he went right on top of it so she she hidden (like the z-index).)

    One thing that bothers me in this regard 'technical' is that if you click on view the demo just below the code provided, you will see on the example of work page (bottom of the forest), the image clearly works as a backdrop and the content is fortunately located on top! So I don't know if the person who provides the example was trying to deceive people or what! Or he got lazy and showed another page which did not use the exact code, he has provided. No matter.

    In any case this leaves me with only half-completed work, because I still need a background image that functions as the 'normal image' code provided.

    In 2 cases and on this page, the first example provided gives the CSS for clutter - namely the code in the html {...} part and shows also the same "normal image" code as shown in box 1. In this case however, that the person provide a suggestion, the html and the css is not really properly more Moor some css and html seems a little redundant. So this time, when I used the part "html" in the CSS code (i.e. just the bit that was no longer relevant), I had two different behaviors in each browser and neither of which was quite what I'm looking for. In IE8, initially the page seems well (background fills the page and the content is on top) but when I Zoom in or out the background also zooms in or out accordingly so is NOT fixed. In Firefox, the background image stays fixed, but because the image is initially not the height of the browser I guess the code it extends down (keeping the proportions - so the image enlarges essentially) to fill it. The fast way to get around it is probably add white space at the bottom of the image just to give it sufficient height is not extensible / resize automatically. But it would be nice to know at least how to work around this problem in the code. Overall, I would say that the result in Firefox is closest to the desired solution, but of course it is not arranged things with IE8.

    Apologies for the long description, but which should at least provide much info for anyone who might have a possible solution for me. Essentially what would be great is if someone could advise me how to take the code of case 1 and apply it to a piece of 'background' coding as the type that is contained in html {...} in Case 2 . Like I said, it is almost there, but I just can't operate atm after trying to combine different bits of code this way and that... Also, if anyone has another version of html-css that works well to achieve then please by all means of let me know! V thanks a lot in advance!

    It works in modern browsers of the CSS3 support.  But not pre - IE9.

    http://ALT-Web.com/test/resizable-BG.shtml

    Nancy O.

  • How can I change the background color of browser window during playback of an animation of edge?

    Anyone know how I can change the background color in the window of the browser when my Edge animation plays? Is this possible?

    ADD to compositionReady Manager, replace the hex color code your desired color

    Force the body of the Web page to a specific color

    $("body").css ("background-color", "#5d5e61");

    Darrell

  • How I would get the background of the body element to open the browser window wide

    How I would get the background of the body element to open wide the browser window? I've heard that using an HTML tag or CSS rule that I can put across a background which is placed in the body element without using javascript is that true?

    You could, but why, (she also would work properly, as it is)?

    This size not your background image and that only the window correspond to your design, not your design to adapt to the window. If you want your design to fit a window much easier and not javascript dependent way would be to use page css liquid layouts, (as I said earlier, the background image will not develop unless you use values of %).

    For liquid layouts testing - http://www.adobe.com/devnet/dreamweaver/articles/bk_dwcs4_mastering_css.html

    PZ

  • Extra-large everything on screen (except the background photo).

    All my icons, the pointer arrow and the background are HUGE!  I selected Classic icons and small DPI without result.  Please send a solution to change everything on my screen back to normal size.

    Thank you!

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not fix it:

    Go to the website of the manufacturer of your computer/laptop > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    Then:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution

    Change the screen resolution

    Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.

    See you soon

    Mick Murphy - Microsoft partner

  • Activity monitor close unexpectedly when running in the background on the left

    Recently upgraded to Mac OS Sierra and Activity Monitor to close unexpectedly when running back plan left (do not smoke and open the activity monitor window) to a blank desktop when you use an application in another office. Clean install I tried but the activity monitor would still be down at random times when left running in the background to another empty office. Someone at - there experience this problem? For most browsing on the web using Safari on another desktop computer when Activity Monitor quit unexpectedly.

    Activity monitor also using a lot of energy since the upgrade?

    Any help would be appreciated. Thank you.

    Model: MacBook Pro (retina, 13 inches, early 2015)

    OS: macOS Sierra: 10.12 (installed via the upgrade, own installed after this problem).

    Do not forget that you are using the activity monitor version which was installed when you upgraded to Sierra. Activity monitor located in the your Mac utilities folder.

    If you have moved a previous version to a different location, it will not work.

    If you are using the correct version, post crash report. Error reports lies in the application of the Console under System reports or reports from usersand end in the suffix .crash. If you choose to do so, omit or hide any information that you consider personal.

  • Logo version 33.0 is as painted Firefox piece of canvas in the background by hand. Is what to be expected or spam?

    Last week, I've upgraded to Firefox v.30.0. After it has been installed, the standard logo appeared and was overlaid by another top resembling Firefox painted by hand with pink canvas Board in the background. Is this normal or a spam? What should I do?

    Hello bipinbaxi, this is just an excerpt interactive integrated favouring the gaming capabilities of the browser, which airs for 1-2 weeks.

    https://blog.Mozilla.org/blog/2014/10/14/play-awesome-indie-games-directly-in-Firefox-including-the-award-winning-FTL/

  • How can I change the background color for the bar 'help file edit view history bookmark tools' in Firefox 29,0

    How can I change the background color for the bar 'help file edit view history bookmark tools' in Firefox 29,0

    You can add a theme of solid color to change the color of the top of the browser window, which contains the Menu bar.

    https://addons.Mozilla.org/en-us/Firefox/themes/solid

  • How to set the background colors of different message by account?

    I have two email accounts (let's say a private one for companies) in Thunderbird. Sometimes I (wrongly) mail on the wrong account. That is, I read some messages in a single account, followed by reading in the other account. I hit 'empty' to send a message and be sure to make sure I'm in the right account, that I want to mail to. Every now and then post to the wrong account, get the name wrong 'sender' and I ' answer to "name of the message.

    I looked at the account settings and found I can change the background color (in the e-mails triggered and and sent in the mail while composing). I changed the background color in a SINGLE account (in light yellow) and expects the other account be unchanged (white). Not the case. Change the background color in the account for a single account settings changes the color in all accounts (both).

    It is unexpected and unwanted, and my problem is still there.

    There is an add-on that accounts of color coding and records:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/account-colors/

    and also the modules allowing to choose the correct identity:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/identity-Chooser/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/correct-identity/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • When you send the Web page link, the link is not active

    When I want to send the link to a Web page I visit, I choose my yahoo email account and the webpage link is inserted in the email box, but it is not an active link and cannot be clicked for this person to go. They could, however, copy and paste the address into a browser bar, which everyone would know how to do. If I choose my gmail account, the link is active. What is a firefox problem or yahoo? There are moments where the yahoo link would be active, but it seems that it is never active.

    Some publishers have magical powers to linkify automatically a URL. Yahoo does not that for Firefox, although I heard that it does for users of Internet Explorer.

    Instead, you must use the link button. I have attached some screenshots illustrating.

Maybe you are looking for