Inability to make a selection of the screen using the built-in browser

Hi all.

Java newbie here - coding experience is VB.

I'm trying to code using the JDE Eclipse against Sun JDK 6 for a Curve 8900 platform, V4.6.1.250, 4.2.0.113.

I have a dirt simple browser application that accesses a single Web page. Exit the screen of the page is formatted for PDAS and other portable devices.

The images on the site looks like a BB or PDA screen with up and down buttons that call graphical objects for display. It also allows zoom in on certain parts of the image when you position then click and hold the trackball on a Blackberry. (The description above is how it works when you browse using the standard BB browser.)

When I try to click on buttons or graphic, nothing happens.  I guess I did a class/method required and appeals against it, but being new, I don't know how to do it and did not find documentation online to point me in the right direction.

What I want to do is one click of the buttons via the trackball or press and hold the trackball to zoom feature work.

Here is the code I use:

package com.beginningblackberry;

Import net.rim.blackberry.api.browser.Browser;
Import net.rim.blackberry.api.browser.BrowserSession;
Import net.rim.device.api.ui.UiApplication;

SerializableAttribute public class BrowserApp extends UiApplication {}
    
Public Shared Sub main (String [] args) {}
BrowserApp instance = new BrowserApp();
instance.enterEventDispatcher ();
}

public BrowserApp() {}
Private site = Browser.getDefaultSession ();
site.displayPage ("http://www.ssec.wisc.edu/data/paw/usus_usa_radr_imag_none.html");
System.Exit (0);
}
}

Any help is very appreciated.

VBRefugee, I think you should start your programming BlackBerry checking the development layout of how the UIApplications are built. The UiApplication class does not display of really anything on the screen by itself, rather you would lead to an extension of a class of display on the screen where you can be private pushScreen (MainScreen()) again and you would customize your layout in the constructor of your screen extension adding your controls with a field of embedded browser. Take a look at some of the applications delivered by the JDE and the eclipse plugin example. I think it could help you, but I could have misunderstood.

Tags: BlackBerry Developers

Similar Questions

  • Avoid you must make a selection in the list of choices

    Hello

    I use Jdeveloper 11.1.2.0.

    I developed the CRUD operation in the table. Here's a selectOneChoice column. When I click on the CreateInsert button, you must make a selection error is coming. How to avoid it.



    Thanks in advance

    Let the EO attribute as mandatory, but in your JSF page, mark the attribute as required = false

    John

  • Unable to make a selection in the context of important updates. Grayed. Open as administrator and not user account can not change to receive automatic updates

    Sign on the user account as an administrator, but cannot change the automatic updates.

    Under updates important area is grayed out and cannot select to change

    Hello Bill,

    Thank you for visiting Microsoft Community.

    As I understood it, you experience the problem, you cannot change the automatic updates even if you are logged on as an administrator user account. The option is grayed out on the system.

    Certainly, I understand your concern.

    I would suggest trying the following steps and check if that helps.

    1. Open the editor of the register of the command RUN by typing "regedit" and click OK.
    2. In the tree on the left, open following files-online HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate.
    3. Remove the automatic "Update" folder This will remove all previous settings for automatic update.
    4. Open the automatic update of the control panel and option as usual.
    5. If automatic update is always gray, type the command "gpupdate/force" RUN and click OK or restart the operating system.

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Would it not be possible to make a selection based on the percentage instead of pixels? For example: 90% left, 5% of the upper part.

    Im having a little trouble getting a Photoshop Action to work the way I need to.

    Product photos are taken in different batches, and the only thing that is guaranteed, it must be transparent in the upper right. This means I need an action that makes a selection with the 'magic wand' tool and is independent to define an absolute selection through pixels (see images below).

    selection.PNG

    Photo: how it behaves

    selection2.png

    Photo: How I need to behave

    Anyone know how I can solve this problem without resizing the canvas to an exact size?

    Thank you in advance,

    Edvard

    Hi edvardkrupke

    Please try and change the rules per cent in Photoshop preferences.

    Check the screenshot below.once you change restart Photoshop to check

    Let us know if that helps.

    Kind regards

    ~ Mohit

  • How to move the selection from the magic wand of 2 pixels tool to take off the edges?

    Hello

    I am trying to make a selection with the magic wand tool and move the edges of the selection by a pixel or two, but the button "refine edge" does not seem to do anything.  I want to cut a pixel on the edge of an image that I cut into another image.  Any help would be great thanks.

    Depending on whether you have selected the image or the background, use Select > modify > expand your selection or select > modify > contract selection

  • Select only the objects in a rectangle selection

    I am a new user of Illustrator CS5, switching from Freehand. I'm trying to find out if there is a way to select only the objects in a marquee? In AutoCAD, you can make a selection on the left window to the right and only those objects entirely in the window are selected. If you the window right on the left all the objects that are "crossed" or affected by the window are selected. Is there a similar technique in Illustrator?

    Currently, I have to select the objects, and then go back and hold the SHIFT key to deselect the object I don't want, or place objects on different layers and then lock the layers to prevent additional items get selected.

    In AutoCAD, my main program, you simply draw a window selection, left or right, depending on what your next step would be. No special tools or rocking or thinking, that's just the selection primary process and very intuitive.

    I posted a discussion on the Illustrator forum several months ago, which still arouses comments so this seems to be a tool that would be appreciated by many users. Someone posted a script but it has not worked for me yet.

    Thank you for everything that you can do to solve this problem.

    This is a copy of my last post of the original thread. I found some discussions confused because I have no experience in writing or by using scripts. So I copied all the recommendations in a document to read without the comments and digressions. After several hours and a lot of searching on Google I found what solution adapted to my goal, which was a selection process fast and simple with fewer steps to use.

    So, I think I have this job. The following is what I did:

    1 copy the script by Carlos Canto post #11 here:

    http://forums.Adobe.com/thread/856221?start=0&TSTART=0

    2. open the ExtendScript Toolkit Utilities > Adobe utilities - CS5.5 > ExtendScript Toolkit CS5.5 > ExtendScript Toolkit CS5.5.App

    3. when the program opens, paste the script in the large Panel on the left.

    4. then go to file > save as.

    5. that the dialog box click on the arrow next to the save box slot to expand the section options.

    6. next, go to Applications > Adobe Illustrator CS5.1 > Presets > en_US > Scripts.

    7. then, in the Save as box enter a name to identify the script (I named mine Window1).

    8. click on save and close the Toolbox.

    Launch Illustrator and open a drawing.

    1 using the rectangle tool, I drew a rectangle around the objects.

    2. make sure that the new rectangle is selected.

    3. I went to file > Scripts > Window1.

    4A got an error message - error 8705: target layer cannot be changed 25-> iart.selected + true line:

    Oops, you must have ALL unlocked layers.

    5. you click OK.

    6 unlocked all the layers.

    7. my new activated rectangle.

    8. went to file > Scripts > Window1.

    9 here! Items in the rectangle are selected and the rectangle is removed.

    So yes, this script works as requested. Thank you, Carlos.

  • How to select only the objects in a marquee?

    I am a new user of Illustrator CS5, switching from Freehand. I'm trying to find out if there is a way to select only the objects in a marquee? In AutoCAD, you can make a selection on the left window to the right and only those objects entirely in the window are selected. If you the window right on the left all the objects that are "crossed" or affected by the window are selected. Is there a similar technique in Illustrator?

    Currently, I have to select the objects, and then go back and hold the SHIFT key to deselect the object I don't want, or lock layers to prevent additional items get selected.

    NO.

  • Align the selection to the layer (CS4)

    I know that there is this option to align a layer to selection... But what I often do is I want to make a selection and Center it on the layer - IE, the rectangle selection tool. How are you?

    I guess there should be a very simple way to do it.

    I want to do is darken/lighten the edges (a bit like making a thumbnail) around a few images, and I make a selection, invert the selection, feather and to make an exposure mask and go to little matter I think is very pretty. This is often where I want it to be centered on the layer.

    Thank you!

    Set the Distance 0, as in the example above.

    -Christmas

  • I have try the Lightroom CC and all my development tools have disappeared from the screen.  When I select develop, the sidebar is not completely empty.  Where it's going and how do I get it back?

    I have try the Lightroom CC and all my development tools have disappeared.  When I select develop, the sidebar is completely blank - black - nothing.  Where all the settings go and how can I get back them?

    If the Panel is visible and completely empty, open the window-> Menu panels and put checkmarks in the ones you want to display. Alternatively, you can simply press Ctrl/1-6 to bring the different sections. If the sidebar is gone, click the midway small gray triangle on the right side of your screen. Click twice to make it remain displayed.

  • That should make the function groups when it is selected in the phone app?

    I see an option for selecting groups when you use the Contacts feature in the phone application.  What makes that?  I want to set up groups of my own, but don't see how to do it or if it is still possible.  Any ideas?  My app has a function of groups and I set up some groups here as family, teammates in our fantasy football league, etc..

    Thank you

    jbacinti

    Basically, the use of groups allows you to send an email or a message to everyone in the group.  You simply select the group you want to instead of each individual.  To configure groups, check out these links:

    Send a message from your iPhone, iPad or iPod touch - Apple Support Group

    iCloud: create a group and add contacts

    Can create you additional groups to your Favorites. iPhone 6 s

  • Can develop is no longer window of saved passwords which shrinks web address to make it unreadable when the "Show passwords" option is selected? e

    Hello
    After the last update that I can develop is more saved passwords window shrinking the web address to make it unreadable when the "Show passwords" option is selected? What passwords are shown the window compresses web addresses that leaves the www / / http and I can only be able to view a letter or a description of the site. Given the number of passwords you need and different requirements (i.e. 6.8, or 10 characters, high low case number of cases etc.), I quite often find that I want to display the entire page.
    Is there a way I can expand this window please? I know I could use a master password, but I always like to follow the real things...
    THX Jas

    Lower right corner is a "triangle of 6 points" which allows this window to drag more big. Once more this setting is after the closure of the tab "content" and even after that Firefox is closed and reopened.

  • I'm trying to connect on Apple TV.  It keeps generating a 6-digit verification code, sent to another device.  I need a 4 digit or need to know how to make a space on the verification code entry screen

    I'm trying to connect on Apple TV.  It keeps generating a 6-digit verification code, sent to another device.  I need a 4 digit or need to know how to make a space on the verification code entry screen

    Read this noting the last two paragraphs:

    For Apple ID - Apple Support two-factor authentication

    You can try to add on your suggested such password or disable the service and then connect.

  • I use Photos to make a schedule, and when I add national holidays and have a personal calendar already selected for the import, national holidays replace a personal date when the two entries in conflict.  Any suggestions?

    I use Photos to make a schedule, and when I import two calendars of Mac, I can't play well together.  By example, if I add the national holiday calendar to a personal calendar already selected for the import, national holidays replacement a date personal when the two entries in conflict.  Users are allowed to several elements to show on a given date (I can add an article manually; and if I have two elements in a personal calendar, they both matter very well).  Does not seem serious if I import successively or simultaneously, the holidays always seem to prevail on personal items.  I am proud of my country, but want to avoid adding those who back in manually (and avoid having to check everything so closely).

    Any suggestions?  Thank you

    John

    (running Yosemite on a mini 2015)

    There is no way to have both separate schedules added and share a date.  Tell Apple what missing features you want restored or new features added in Photos via https://www.apple.com/feedback/photos.html.

    You could create a new calendar with personal anniversaries and holidays.  I think that would be the case with the exception of those holidays that might change the date to when if fell, which is Memorial Day for one.

  • How can I make my image on the screen is adjusted to match the size of the screen? __

    I want my police right to adapt to the size of the screen to the right

    Malkeleah wrote:
    > Your post is pretty light on details, so I can only give you General
    > advice. Choose what is applicable to your situation or post back with more
    > information on your system and its problems.
    >
    > 1. Make sure you use the correct resolution for your monitor. If
    > you have a monitor LCD (flat screen), using its native resolution. Refer
    > to monitor (or laptop) manual to find out what it is or, if it is a
    a single monitor, Google, using a native keyword like "make and model".
    ' > resolution.
    >
    > Control Panel > display > settings - move the cursor to the right
    > resolution, apply/OK outside.
    >
    > 2. If the resolution is already correct and you have a LCD screen
    > monitor, use the button on the monitor to adjust automatically. If
    > you have an old CRT monitor and the resolution is already
    > properly, use the buttons on the monitor to adjust the screen display
    > area according to the needs.
    >
    > 3. If you have a laptop and #1 and #2 are not applicable, reinstall your
    > video card drivers. Find them in the computer tech support site portable mftr.
    > for your specific model laptop.
    > ------------------------------------------------------------------------
    > MS - MVP - Elephant Boy computers - don't panic!

    Another thing that should be checked is to ensure that the DPI is
    Set 96 instead of another value. Control panel - display-
    Settings, then the button advanced - general tab is where looking for.

    --

    Smith y
    Windows XP Pro SP3

  • How can I make my view on my screen the entire page instead of just a part of the page

    How can I make my view on my screen the entire page instead of just a part of the page

    Hello

    This Microsoft Information should help you with your problem:

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

    See you soon.

Maybe you are looking for

  • Computer formatting and installation of El Capitan

    Hello everyone.Because I had to finish my thesis, I was forced to create a Linux partition on my Mac, with the addition of a bootstrapper. Given that I experienced a few problems to update my version of MacOs (sometimes bootloader not was not loaded

  • Toshiba 40RL933G: software to manage movie on Win 7 PC files

    Hi all. I am looking for another software than the Windows Media Player to manage my movies on my pc. Reason:Sometimes I copy a new film in movie library, or I add a new folder to the library and media Player does not index them. ->, I do not see the

  • Software registration for laptop Toshiba does not work

    Hello world the recording software starts in automatic start mode after the launch of the computer.But it fails every time. I could find an uninstall program or the software itself to change the settings for automatic start.Someone has a tip that I h

  • KB976972 and KB977074 fail to install

    Windows 7 64 bit download KB976972 and KB977074 automatically.  When I click on install, my 955 AMD with 12 GB of ram, tried for 15-20 min. to install and then abandoned.  Now, whenever I start the computer, I have to wait 10 min to what he gives up

  • Language in Outlook Express 6 option provides only French

    There is no option to select English