Sail back to a remote resource in the Visual Studio plug-in

Environment: 32-bit Windows 7, latest development environment Sun's Java, Visual Studio 8 most recent plugin beta BlackBerry 9700 Simulator works very well in the white list remote .NET/ASP/SQL Server 2008 to use as remote as possibly .asp page direct service calls, XMLHTTP and server applications.

I built a skeleton plugin widget.  It has 7 menu options that call a message box to confirm the menu item pulled.  The menus are loaded from JavaScript on the onload of the index.htm.  I can navigate to a remote resource using the blackberry.ui.menu function which sets the location.href.  The remote site was whitelisted, so he gets up, badly formatted, but it is another question.

After navigating to this remote web page using location.href... blackberry.ui.menu items still show, but they died, probably out of context.  They don't pull the confirmation message boxes as they do since the start of the page index.htm, and there is no way to return from the remote page back to the local index.htm.page.  At least not in the menu items.

I tried adding permissions to the resource for blackberry.ui.menu and a lot of other elements in the config.xml file and nothing seems to help.  I have tried on the menu add a htpp:///index.htm 3 slashes to return to the local resource I've seen in other posts, but since the menu, I think, is out of context, it ignores or simply impossible to find the function.

Any suggestions?

I need to change the remote web site and handle menu events?

Is it possible to make menu items available to the application in the world so it doesn't matter where I go, the menus are always available?

I don't know what to try next.

Kind regards

Scott

If you want that menu items that are used around the world for local and remote content, you will have a link in a JavaScript file in each of these occasions and save your menu items.

It is a bug that the menu items are persistent after you navigate to another page. You can work around either by:

(1) delete the menu items before moving on to the next page

(2) on the loading of the next page, clear the menu items.

If you change the location.href, and then use the back button on the device, it should return to the previous page in history.

Tags: BlackBerry Developers

Similar Questions

  • Could not find a reference guide in order for the Visual Studio plug-n

    I've worked with this for about 3 days.  I have a web application I'm trying to put at the disposal with a widget with the latest beta of Visual Studio plug-ins.

    I don't know what functions/objects and syntax that is available for me in this plug-in.

    I worked the samples... I have this installed in a 32-bit windows 7.  I know that windows 7 is not yet supported, but it seems to work.  I was able to get the sample applications for work.  I can run pages of my .net website with browser Simulator 9700 very well.

    IntelliSense does not work for me in JavaScript... So I can't choose right around with an object browser to see what blackberry objects/functions are available within Visual Studio 8.  I tried to reinstall, and that he will show me that there is a syntax error there is no ability to search or auto complete objects as in c#.

    I looked and looked and I can't find a reference to command or something like that.  For example.  I created the menu items in my widget by using the 'new blackberry.ui.menu.MenuItem' variables and can call a function actions.js to print an alert, but it's only because I could find for this syntax in the examples.  I would call the pages of my web site from the menu items, but I can't understand this.  I have a simple link which can make a web page for me, but I don't know the syntax to make HTML calls of in the plugin since the black berry for example menu items.

    Is there a kind of complete command reference that can show me all the functions and syntax in the library of blackberry.io for example?

    Thanks in advance

    Scott

    Hi Scott,.

    In our first review of the plug-in, we do not support Intellisense.  It's on the right track, but it won't in version 2.0.  It will be a version of follow-up.

    The complete API reference can be found through a hypertext link on the Start Page that appears when you start everything first to create a BlackBerry Widget project.  It is on the right side of this page.  The hyperlink to access the following URL:

    http://www.BlackBerry.com/developers/docs/widgetapi/

    There is also a link to the documentation of complete widget including the reference of the JavaScript API on the same page where the samples, tutorials and labs are.

    www.BlackBerry.com/developers/widget

    The URL for the documentation complete widget can be found here:

    http://docs.BlackBerry.com/en/developers/subcategories/?usertype=21&category=BlackBerry+widgets&Subc...

    These links should help you get started.

    See you soon

  • directly in the bb browser vs pages showing the Visual Studio plug-in

    I use Visual Studio 8 with the latest Sun Java and Beta 2 of the plug-in.  I'm using 32 bit Windows 7... I know that it is not directly supported, but it doesn't seem to be most of the time and I don't have an XP or Vista machine that is imparted to me.

    I was able to take better advantage of the sample applications work.  I can navigate directly on my web site from .net.  I have another post about not knowing where the controls are.

    I understand that the display of the pages is different.  I created a few simple links on the page index.htm in the widget that I build. i.e.

    These are placed in the

    Also, since I don't know where the reference command... How to make a call to url programmatically in JavaScript?

    "a href ="http://xxx.xxx.x.x/Trade/SPLogin.aspx"> link has href ="http://finance.yahoo.com"> Link2.

    Thank you in advance,

    Scott


  • Impossible to uninstall the visual studio 2013 Community

    Tried to uninstall the visual studio 2013 to 2015 community, but this has happened every time

    Is there another way to uninstall?

    Hello

    Your question is beyond the scope of this community.

    Please post your question to the MSDN Visual Studio Forums.

    https://social.msdn.Microsoft.com/forums/vstudio/en-us/home?category=VisualStudio

    See you soon.

  • 64-bit in the Visual Studio Plugin support

    Announced a date when the 64 bit OS support (specifically Win 7) should be available for the Visual Studio plugin?

    Expect to see him in a few days now

  • Win 7 VPN client cannot access remote resources beyond the VPN server

    I have a Win 7 laptop with work and customer Win 7 VPN set up, and through it that I can access everything allowed resources on the remote network.

    I built a new computer, set up the Win 7 client with the exact same parameters everywhere, connected to the VPN with success, but can not access any of the resources on the remote network that I can on my laptop.

    Win 7 64 bit SP 1

    I did research online and suggestions have already had reason of my new set up.  In addition, I have a second computer that I've set up the VPN client, and I'm having the same problem.  VPN connects successfully, but is unable to access the resources.

    Tested with firewall off the coast.

    Troubleshooting Diagnostic reports: your computer seems to be configured correctly, distance resources detected, but not answered do not.

    I created another VPN client on the new computer to another remote network and everything works perfectly.

    Remember the old VPN connection to the remote network that does not work on the new computer works perfectly on Win 7 64 bit laptop computer.

    So, what do I find also different between identical configurations "should be" where we work and two new machines is not?

    It must be something stupid.

    Hello

    This question is more suited for a TechNet audience. I suggest you send the query to the Microsoft TechNet forum. See the link below to do so:
    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itpronetworking

    Please let us know if you have more queries on Windows.

  • How to avoid the visual studio project to be added to the list of recent but still get solutions

    When adding projects to a solution in visual studio, the project also gets added recent projects and Solutions list

    How ever I never open the project in the recent list so, indeed, it's cluttering up the list of these latest solutions so I would avoid getting projects added to the list of these last, but couldn't find a way to do

    Edit:

    Proposed by question to:

    https://social.msdn.Microsoft.com/forums/en-us/3bb8a2d5-c1ab-4b12-B0E9-5ceb1f317a3f/how-to-avoid-Visual-Studio-project-to-be-Adde-to-recent-list-but-still-get-solutions?Forum=VSSetup

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Error1316.A network error occurred trying to read from the Visual Studio 2010 Tools for Office Runtime (x 86) fileMicrosoft \vstor40_x86.msi

    while trying to uninstall Microsoft visual studio 2010 Tools for office Runtime(x86) of the Control Panel, it is showing an error as [Error1316.A network error occurred trying to read the file "C:\Program Files\Common Files\Microsoft Shared\VSTO\10.0\Microsoft Visual Studio 2010 Tools for Office Runtime(x86) \vstor40_x86.msi"] but the physical location of the file exists.

    Hi Haran,

    The Microsoft Answers community focuses on the context of use. Please reach out to the business community of COMPUTING in the TechNet forum below:

    http://msdn.Microsoft.com/en-in/vstudio/aa718325.aspx

  • Not able to use the intelligence of the Visual studio 2010 editor runtime SDK sample code?

    whenevr I start sdk sample project in visual studio, I can build, debug, run, but the problem is that VS 2010 editor showing a lot of red lines under several lines of code, with the mouse, place the cursor to show some sort of error (especially _ is not defined) Moreover, I'm not able to use VS editor intelligence function and I need to check the reference of the SDK software unaltered time .this who is the solution to this problem.

    1. create the environment variable root INDESIGN_SDK_DIR with the path to the folder of your SDK

    provable INDESIGN_SDK_DIR = "C:\SDK\InDesignCS6SDK".

    2. in your project, add this on the project settings:

    'VSProject'-> 'Properties'-> 'Properties of Configuration'-> ' directories of VC ++ "-> 'Executable directories' adds:

    \Devtools\bin $(INDESIGN_SDK_DIR)

    "VSProject"->"Properties"-> "Configuration Properties"-> "C++"-> "general"-> "Additional Include Directories" adds:

    \Source\precomp\msvc $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\xmedia $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\preflight $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\ui $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\tables $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\text $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\graphics $(INDESIGN_SDK_DIR);

    \Source\public\libs\widgetbin\includes $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\workgroup $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\interactive $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\interactive\ui $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\colormgmt $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\utils $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\incopy $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\layout $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\architecture $(INDESIGN_SDK_DIR);

    \Source\public\interfaces\cjk $(INDESIGN_SDK_DIR);

    \Source\precomp\common $(INDESIGN_SDK_DIR);

    \Source\public\includes $(INDESIGN_SDK_DIR);

    \Source\public\libs\publiclib\plugins $(INDESIGN_SDK_DIR);

    \Source\public\libs\publiclib\files $(INDESIGN_SDK_DIR);

    \Source\public\libs\publiclib\objectmodel $(INDESIGN_SDK_DIR);

    \External\asl\boost_libraries $(INDESIGN_SDK_DIR);

    \Source\sdksamples\common $(INDESIGN_SDK_DIR);

    \External\afl\includes $(INDESIGN_SDK_DIR)

    Adds the "VSProject"->"Properties"-> "Configuration Properties"-> "Linker"-> "general"-> "additional library directories:

    \Build\win\objr $(INDESIGN_SDK_DIR);

    \External\afl\libs\win\release $(INDESIGN_SDK_DIR);

    \External\icu\libs\win\release $(INDESIGN_SDK_DIR)

    Adds "VSProject"-> "Properties"-> "Properties of Configuration"-> "Linker"-> "Input"-> "Additional Dependencies":

    PMRuntime.lib;

    Public.lib;

    WidgetBin.lib;

    AFL.lib;

  • The Visual Studio application wizard comes with no instructions

    9.1 SDK

    Research of the archives, I discovered by chance a "Visual Studio App Wizard" which remained inactive and uninstalled in my hard drive for a while. Research (*) in the Adobe and Microsoft makes nothing websites.

    TIA,

    -Ramon

    (*) In fact, both companies seem to agree that we users should perform no more "research". We have rather "questions" to a computer.

    Just install it. It will appear as a new option when you create a new

    project in Visual Studio.

    Karl Heinz Kremer

    PDF acrobatics without a net

    [email protected]

    http://www.khkonsulting.com

    On Saturday, November 3, 2012 at 10:51, Ramon F Herrera

  • How to automate resource studio using visual studio 2010?

    Hi friends,

    I use the software studio Microsoft Resource for the localization process, now I want to automate my work for studio of resources by using Visual studio.
    If anyone can guide me how to do this?

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Visual Studio on MSDN. Please post your question in the MSDN forums. You can follow the link to your question:

  • Visual Studio error after installation of the CVI

    Ladies and gentlemen,

    After the installation of CVI (current version), I've got strange message in Microsoft Visual Studio 2005 (appeared every time when I build the solution, for example, by pressing Ctrl + Shift + B):

    I have no integration with CVI in Visual Studio - but where can I turn this off (without uninstalling CVI, of course)?

    Unable to find this in the preferences...

    Andrey.

    Hello-

    To remove the integration of Visual Studio, you must go through Add/Remove programs.  In Add/Remove Programs, select software National instruments, click Uninstall/change.  In the "National Instruments software" later dialog that appears, choose your latest version of LabWindows/CVI and select Edit:

    Then displays the LabWindows/CVI Installer dialog box.  Once it done, choose the Visual Studio 2005 wizards and select Remove:

    Sorry for the inconvenience - let me know if this does not fix things for you.

    NickB

    National Instruments

  • How to implement the automatic calculation is Visual Studio (I'm new to VS)

    IM new vb and I wondered how I would do automatic calculation in my application

    Here are my Apps UI (I wasn't expecting to get out that big)

    What I'm trying to do is

    1. number of nights * $55 = Total cost night

    2 total cost of night * 10% = load of Entreatment %

    3. total cost night + fresh entertainment % = Total Room (Night) and Ent. Fees

    4. total Room (Night) and Ent. Support + Service charge + phone = Total invoice

    All automatic

    I hope someone could please help me that would be great, if you have any questions please ask and I thank you in advance.

    Hi devils4ever30,

    I would repost among our developer audience in the Visual Studio forum:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio

    Thank you!

  • I have the version of visual studio 2010 ultimate and aparently there is a beta version of it 2011 and I would like to know if I can install the ultimate version 2011

    Hello, I have the version of visual studio 2010 ultimate and aparently there is a beta version of it 2011 and I would like to know if I can install the 2011 ultimate overwrting the 2010 release of visual studio 2010 ultimate version. should I uninstal it manually first? (even if I deleted the main application, some remained after) what should I do? I need help with this problem because I don't know if I need to uninstall the version of 2010 in order to install the new 2011 beta version or I just have to update like a normal program?

    Hello

    You'd be better suited post directly in the Visual Studio Forum for your questions.

    "" Installation and configuration of visual Studio".

    http://social.msdn.Microsoft.com/forums/en/vssetup/threads

    See you soon.

  • I CAN'T GET THE WINDOWS MEDIA PLAYER! Self-registration FAILED with Visual Studio 2010!

    Hello world!

    I just bought the Visual Studio 2010 Professional Edition, registered and everything. I have the Windows XP operating system and I wanted to do a media player using WindowsMediaPlayer, I. I saw on YouTube that all you had to do was simply right click, add click on choose the elements and go to components and click on WindowsMediaPlayer. I couldn't find that if I used Google and found that he had to go in System32, then click wmp.dll. After I did, he said

    "Self-registration impossible C:\WINDOWS\system32\wmp.dll.

    I want this thing so BADLY!

    Any help would be VERY VERY LARGELY APPRECIATED!

    Thank you

    TheElevatorMaster

    Hello
     
    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public to MSDN development.
    Please post your question in the MSDN Visual Studio category. 
     

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • Windows Update of the 80070026 error code

    when im updating my windows vista HomePremium 32-bit. shoing the error msg 80070026. How do I solve this problem please help me.

  • Need my email account to be unblocked

    my email account is blocked. I would like someone to unblock and I would like to create a new password. Thank you Original title: How do I fill? I thought that I already finished it. I would like to access my e-mail account as soon as possible. Thank

  • Toggle touchpad with keyboard shortcut for Dell XPS 13 (XPS L322X)

    Hello Is it possible to turn on/off the touchpad with a keyboard shortcut? Thank you! Karl

  • In WIN7Pro folder options

    As a new user of WIN7Pro having just upgraded from WinXP, I could not access the folder options to change the type of program with which open certain files (Viewer Windows, or Notepad etc.) AYONE can help me please?)

  • Download of blackBerry Smartphones Whats App error

    Hello I'm trying to download the app, I have set up a paypal account. When I try to download it, I get an error 10858 id. Because try money was deducted from my bank account which seems to be the amount of application whats app. What can I do?