Invoke.invokeApplication can display inside a handler

Hi all

I have a vertical feeder that has size equal to the display (height and width), my question is that how can I add

VerticalFieldManager vr = new VerticalFieldManager();

StringBuffer stringBuffer = new StringBuffer("");
            stringBuffer.append("");
            stringBuffer.append("");
            stringBuffer.append("");   

vr.add(Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments( MapsArguments.ARG_LOCATION_DOCUMENT, stringBuffer.toString())));
add(vr);

How can I add the

Invoke.invokeApplication  inside a vertical manager is that possibe 

any help on this 

Thanks SujithRavindran

Hi simon,.

If in our application, we use the mapfield I'll be able to scroll the map, just like the default blackberry card or is it simply displays an image of statistical map or so can u please help me with my doubt

Thank you simon

Tags: BlackBerry Developers

Similar Questions

  • Invoke.invokeApplication to make a call opens everything else

    Install Eclipse version 3.4.1

    JDE 4.5 (with the Simulator)

    I have a few methods that I put inside my derived class of MenuItem. However, when I click on one that is supposed to just make a phone.  I can make a phone call successfully, but when I return to the application, a blank text message is open, and then click back to a new empty event in the calendar, then a void new AddressBook so?  I just want to make a phone call, new SMS populated or etc.

    I made a new class which extends MenuItem and the following functions are called a switch statement in the run() method.

      /**  * Action: Make a phone call     */ public void runPhoneCall() {        PhoneArguments call = new PhoneArguments(PhoneArguments.ARG_CALL, this.phoneNumber);        Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, call);  }   /**  * Action: Create an SMS     */ public void runSms() {      MessageConnection mc = null;        try {           mc = (MessageConnection) Connector.open("sms://");      } catch (IOException e) {       }       TextMessage textMessage = (TextMessage) mc              .newMessage(MessageConnection.TEXT_MESSAGE);        textMessage.setAddress("sms://" + this.smsPhoneNumber);     textMessage.setPayloadText(this.smsContent);        Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES,              new MessageArguments(textMessage)); }   /**  * Action: Create an E-mail  */ public void runEmail() {        MessageArguments messageArguments = new MessageArguments(               MessageArguments.ARG_NEW, this.emailAddressTo,              this.emailSubject, this.emailBody);     Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, messageArguments);   }   /**  * Action: Open the browser and go to a website URL  */ public void runBrowser() {      BrowserSession browserSession = Browser.getDefaultSession();        browserSession.displayPage(this.websiteUrl);    }   /**  * Action: Add a contact to the address book     */ public void runAddToAddressBook() {     ContactList contactList = null;     try {           contactList = (ContactList) PIM.getInstance().openPIMList(                  PIM.CONTACT_LIST, PIM.WRITE_ONLY);      } catch (PIMException e) {      }       if (contactList == null)            return;     Contact contact = contactList.createContact();      if (contact == null)            return;     String[] name = new String[contactList.stringArraySize(Contact.NAME)];      String[] address = new String[contactList.stringArraySize(Contact.ADDR)];       try {           name[Contact.NAME_GIVEN] = this.addressBookName;            if (addressBookAddressStreet != null)               address[Contact.ADDR_STREET] = this.addressBookAddressStreet;           if (addressBookAddressLocality != null)             address[Contact.ADDR_LOCALITY] = this.addressBookAddressLocality;           if (addressBookAddressPostalCode != null)               address[Contact.ADDR_POSTALCODE] = this.addressBookAddressPostalCode;           if (addressBookAddressCountry != null)              address[Contact.ADDR_COUNTRY] = this.addressBookAddressCountry;     } catch (IllegalArgumentException e) {      }       if (this.addressBookPhone1 != null) {           if (contactList.isSupportedField(Contact.TEL)                   && contactList.isSupportedAttribute(Contact.TEL,                            Contact.ATTR_WORK)) {               contact.addString(Contact.TEL, Contact.ATTR_WORK,                       this.addressBookPhone1);            }       }       if (this.addressBookPhone2 != null) {           if (contactList.isSupportedField(Contact.TEL)                   && contactList.isSupportedAttribute(Contact.TEL,                            Contact.ATTR_HOME)) {               contact.addString(Contact.TEL, Contact.ATTR_HOME,                       this.addressBookPhone2);            }       }       if (this.addressBookFax != null) {          if (contactList.isSupportedField(Contact.TEL)                   && contactList.isSupportedAttribute(Contact.TEL,                            Contact.ATTR_FAX)) {                contact.addString(Contact.TEL, Contact.ATTR_FAX,                        this.addressBookFax);           }       }       if (this.addressBookEmail != null) {            if (contactList.isSupportedField(Contact.EMAIL)                 && contactList.isSupportedAttribute(Contact.EMAIL,                          Contact.ATTR_WORK)) {               contact.addString(Contact.EMAIL, Contact.ATTR_WORK,                     this.addressBookEmail);         }       }       if (this.addressBookWebsite != null) {          if (contactList.isSupportedField(Contact.URL)) {                contact.addString(Contact.URL, 0, this.addressBookWebsite);         }       }       // TODO: Use ARG_NEW or ARG_COMPOSE?        Invoke              .invokeApplication(Invoke.APP_TYPE_ADDRESSBOOK,                     new AddressBookArguments(AddressBookArguments.ARG_NEW,                              contact));  }   private static final int CALENDAR_TIME_PADDING = 7200000;   /**  * Action: Open the Calendar and add an appointment event.   */ public void runAddCalendarEvent() {     Event event = null;     EventList eventList = null;     try {           eventList = (EventList) PIM.getInstance().openPIMList(                  PIM.EVENT_LIST, PIM.READ_WRITE);            event = eventList.createEvent();        } catch (PIMException e) {      }       if (eventList != null && event != null) {           if (this.calendarEventSummary != null) {                if (eventList.isSupportedField(Event.SUMMARY))                  event                           .addString(Event.SUMMARY, 0,                                    this.calendarEventSummary);         }           if (this.calendarEventLocation != null) {               if (eventList.isSupportedField(Event.LOCATION))                 event.addString(Event.LOCATION, 0,                          this.calendarEventLocation);            }           long startTime = System.currentTimeMillis() + CALENDAR_TIME_PADDING;            event.addDate(Event.START, 0, startTime);           event.addDate(Event.END, 0, startTime + CALENDAR_TIME_PADDING);         Invoke.invokeApplication(Invoke.APP_TYPE_CALENDAR,                  new CalendarArguments(CalendarArguments.ARG_NEW, event));       }   }
    

    Y at - it something I am doing wrong?

    Sorry for the mess.  I actually found the problem.

  • When I typed the fitbit ' "(!), my watch symbol can display color"swirl ". Now it jumps directly to the graphical version boring bar. Help!

    When I typed the symbol "fitbit" my watch to view color "swirl". Now it jumps directly to the graphical version boring bar. Help!

    Hi Bevan

    If you are referring to the application of the activity (rings icon), you can display a graphic (to move, Stand, or fiscal year) rather than the overview of three rings, which summarizes the progress of your day for all three goals.

    Back to Overview: looking at the graph, make slide down once on the face of the watch, and then drag to the left until you reach the overview.

    More information:

    Use the activity on your Apple Watch - Apple Support

  • a router monitor can display of my purchases in a site like eBay password protected?

    a router monitor can display of my purchases in a site like eBay password protected? If not, what exactly can a router monitor (on another computer), discovered on my wireless laptop? Thanks in advance for any help with this issue!

    Hello

    1. which version of the Windows operating system is installed on the computer?

    2. What is the exact application you're talking about?

    Router monitor is a tool that allows you to control the router that you are connected to and see the other IP connected as well as other important details.  He usually don't know the details on a Web page he's been watching just the traffic lights. However, some routers have the ability to connect what websites is visited and how much time is spent and how much bandwidth has been used.

    Therefore, you can also contact the manufacturer of the software for more details on the subject.

  • Problem with 'Invoke.invokeApplication' on 7.1 OS later

    We find that problems with:

    Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, call);
    

    throw

    java.lang.RuntimeException:Could not start internal application
    

    on 7.1 OSes such as 7.1.0.1098 and especially on a variety of devices * when the device is locked password (but not when locked screen).  We have seen this on earlier versions of 7.1 (such as 7.1.0.821 and below).  I see no changes documented between for example invoke 7.0.0 and 7.1.0 - anyone any idea?

    * including 9320, 9360 and 9790

    Which seems to be the case, this is the option "Allow outgoing calls so that locked" (in the Options / security / password), which was just a way to allow users to launch manual calls for password locked screen, now also applies to applications as well.  Definition of this indicator in options (assuming that you are not prevented to do so by BES policy) allows applications to make calls when the password locked again.

  • Can not find the handle!

    Hello

    I am updating an application and it works well in 5.0.But he can not just run under althougth 5.0, its icon appears in the home screen.

    All modules does not appear to be loaded compeletely.

    DEBUG:

    CodeStore.DependencyList.reset () - can not find the handle of the name update_1000-1

    CodeStore.DependencyList.reset () - can not find the handle of the name update_1000-1

    CodeStore.DependencyList.reset () - can not find the handle of the name update_1000-4

    Thanks in advance

    What version of BlackBerry Java SDK or BlackBerry JDE do you use? See the link below for information on compatibility.

    http://supportforums.BlackBerry.com/T5/Java-development/appropriate-version-of-the-BlackBerry-JDE-an...

  • Invoke.invokeApplication locking device

    I am trying to call Invoke.invokeApplication to open the e-mail editor. The device I tested on doesn't have an email account setup, so I get the dialog box saying "no accounts available. You will only be able to save a draft"(or something like that). It's fine and expected. However, when I click on Ok to close the dialog box, the application crashes.

    The device, on which I test is a Pearl 8130 from Sprint.

    I'll call you the next code in the keyPressed Web Manager:

    I think I solved my problem.

    In the method of keyDown() KeyListener, I added the following code:

    If (! isShown ())
    Returns false;

    That seemed to do the trick.

    If there is still something not right about this approach, I would appreciate your opinion.

    Thank you

  • Encountered error Invoke.invokeApplication to AddressBookArguments?

    Hello! I think I found a bug for Addressbookarguments on JDE 4.7 version sibulator.

    the following code generates the exception of NULL, but however this code works fine on 4.5 and 5.0 beta.

    Invoke.invokeApplication (Invoke.APP_TYPE_ADDRESSBOOK, new AddressBookArguments (AddressBookArguments.ARG_NEW));

    I'm doing something worng?

    /////////////////////////////////////////////////////////////////////////

    public class test0 extends UiApplication {}
    public test0() {}
    TScreen s = new TScreen();
    this.pushScreen (s);
    }
     
    Public Shared Sub main (String [] args) {}
    new test0 () .enterEventDispatcher ();
    }
    }

    class TScreen extends form {}
    public TScreen() {}
    Application.getApplication () .requestForeground ();
    Invoke.invokeApplication (Invoke.APP_TYPE_ADDRESSBOOK, new AddressBookArguments (AddressBookArguments.ARG_NEW));
    }
    }

    I don't know if this is happening on the device real or not.

    But I solved the problem! Rather than use a consturctor of parameters, use two parameters constuctor! It works very well with the argument two constuctor of AdressbookArguments with the new instance of Contact.

    I think it's a bug.

  • How can I get the 'handles' using the Radial filter in Lightroom 6

    How can I get the 'handles' using the Radial filter in Lightroom 6

    Please press 'H' as advised by dj_paige.

  • Adobe reader on my iPad can display PDF files with layers?

    Adobe Reader on my iPad can display PDF files with layers?

    Hello

    Currently, mobile products Acrobat DC (for iOS and Android) don't support any change to the visibility of the layer.  If you are not able to activate or deactivate layers in a PDF using Acrobat DC for iOS.

    You would file a feature request?

    Adobe - feature request/Bug Report Form

    Our product management team will take your request into consideration for a future release.

    Thank you.

  • How a DCR can display a screen that is AUTOMATIC, size the width of the BROWSER?

    How a DCR can display a screen size that is self adjustingto the BROWSER WIDTH?

    proses33.jpg

    David - please play with the parameters - and see if you can get it to work as you wish.

    For example, you could turn "width = 1100' to ' width = 100%" and see if you want to lead.

    No = streching maintains the ratio the screen size

  • You can display several photos on a single page with tool slide for the transition between them?

    Hi people,

    I have a series of pictures taken from the exact location, but on different dates. I would like to display on a single page, but to use a bar tools/drag to move or transition between photos. If the scroll bar can display the date of the photo, then that would be great.

    Is this possible in adobe?

    Any help would be great.

    Thank you.

    Such a device is not available, as you describe. You can create buttons that would show or hide photos, however, Acrobat Pro.

    If you work in Adobe InDesign, you can create a slide show using the States of objects, which are controlled by buttons to move forward or backward through the slide show. You can then save the effect as a SWF file and embed it in a PDF file. It's the only way I know to do with interactive PDF.

  • The number of characters we can display in a column

    I need to display the XML file in a column, can someone please clarify how many characters we can display in a column.

    Thanks in advance.

    Depends on the datatype of the col defined in DB.
    VARCHAR can store up to 2000 bytes of characters VARCHAR2 can store up to 4000 bytes of characters.
    Thus, max 4000

  • Generic custom control that can display an image or a swf?

    Hello

    I want to create a custom control that can take an image or a swf as an argument and display it in the same way.

    If the programmer uses this control (which is basically a button with custom view) I want to be able to simply indicate the source and the text to be included. Like this:

    < myControls:myButtonControl descriptionText = 'swf object' symbolObject = "{Application.application.shape01swf}" >

    or

    < myControls:myButtonControl descriptionText = "img object" symbolObject = "{Application.application.shape01img}" >

    where shape01swf and shape01swf are embedded as objects:

    [Embed("..) / assets/swf/Shape01.swf ")]"
    public var shape01swf: Class;


    [Embed("..) / assets/images/Shape01img.jpg ")]"
    public var shape01img: Class;

    What kind of object I create in my custom control that can display this?

    At this time, I created a class that extends the VBox so that I can view the image/swf above the descriptionText.

    (I use Flex 3).

    Hi CCJA,.

    You can make use of VBox itself as your tag root and your component should look like... below...

    You can make use of the Image control to display the image and also to load the SWF as well... It will serve the two... just aim you set the source he swf or image

    Thank you

    Jean Claude Chari

  • ADF can display you data in a grid as opposed to a table or list format

    I use JDeveloper 11.1.2.4 and am eager to display a list of products on a page in a grid layout, let's say 4 products through the page of 5 down, showing a total of 20 products with images on the page.

    Is there a component of ADF or all of the elements that I can use to display a list of products in this format rather than show products in a table.

    My use case is as a shopping cart application where I want users to choose one of the pictures produced a checkerboard which is then added to your shopping cart.

    Thank you


    Hello

    Yes. It is possible. You could use af:forEach / af:iterator to browse the lines and display then inside of the gridRow and gridCell.

    Arun-

Maybe you are looking for

  • Photos all turned gray

    Recently, a lot of my photos are not appear correctly. Under photos, the thumbnail shows correctly.  However, when I click to see the picture it is all grey.  I tried to upload on my computer, and once again, the thumbnail shows correctly but eventua

  • Where can I find the "recent pages" selection that used to be next door buttons 'Back-Forward "?

    Where can I find the "recent pages" selection that used to be next door buttons 'Back-Forward "?

  • Re: Install all drivers Toshiba tool - possible?

    Hello! Just changed to Toshiba Lenovo. My question: is there a tool like SystemUpdate of Lenovo to install all the drivers at the same time instead of downloading and installing each drivers by itself? Kind regards Dan

  • VI does not have dynamic user event

    I have several screw running in parallel. I want to instantly communicate a VI data to another.  I am trying to achieve using user events.  All my screws share a dynamic event via a global variable reference.  When I run the event user a VI, about 80

  • Display image captured after taking photo

    /******* works when "Take Photo" button clicked ********/ function takePicture() { var result = blackberry.media.camera.takePicture(successCB); } /******* post processing of photo click event ********/ function successCB(filePath) { try{ blackberry.m