ToolbarButton of SDK 6.0 does not work

Hello

I use BlackBerry SDK 6.0. I created a ToolbarManager, added some ToolbarButtonFields and then I added ToolbarManager to the main VerticalManagerField. It works fine, all toolbar buttons work as expected.

But the problem is when I using setStatus (toolbarManager). In this case, none of the buttons work.

Here is my code:

ToolbarManager tbManager = new ToolbarManager (Field.USE_ALL_WIDTH);
                       
StringProvider spTest = new StringProvider ("Test button");
ToolbarButton tbbTest = new ToolbarButtonField (getImage ("test.png"), spTest);
tbbTest.setCommand (new command (new CommandHandler() {}
public void execute (ReadOnlyCommandMetadata metadata, object context)
{
Dialog.Inform ("toolbar button clicked");
}
}));

tbManager.add (tbbTest);

the line taken out - no action is displayed when you click on the button
setStatus (tbManager);

the line taken out - it works, but I like the toolbar located at the bottom of the screen
vmMainManager.add (tbManager);

What Miss me? Any help will be appreciated.

Thank you.

You may want to substitute the touchEvent.  If so, you're probably demolish the event for the Manager of the toolbar that you want to use.

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Java SDK v6.0 does not work with Eclipse v3.6

    How blackberry trying to compete with the other smartphone when it come to applications when the tools cannot anti same compatible with the latest version out there like Eclipse 3.6 or their plug-in for Visual Studio 2010.

    As a programmer I'm really disappointed in a business this way this long to release an SDK to the developer and not even are ready to be used with the latest tools.

    RIM has never been the fastest when it comes to development tools.

    A great tool that many people want is the GUI Builder, he announced last December, said he would come out mid-2010 (so ~ June) and we are still waiting.

    As annoying as it is, we are simply working around him, when it comes to our development time reduction but we still have options if the tool does not work or you don't like how it works.

  • Installation of 6.0 SDK Update site does not work

    My developer zone account does not work to install the new SDK. I've already changed my password several times.

    Enter the login several times will cause installation to fail...

    Any ideas?

    Finally, I solved the problem. You must enter your email at the bottom of case...

  • File.upload ActionScript does not work on Air SDK for iOS devices

    I try to use the ActionScript File.upload to transfer a file on Air SDK for iOS environment, but the File.upload does not work properly. No event on the file upload handler is executed after File.upload is called, and no exception is caught. When I check the side network traffic server, I found no application http even didn't hit the server after execution of File.upload. The code is below.

    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:View ' http://ns.Adobe.com/MXML/2009 "xmlns:s ="library://ns.adobe.com/flex/spark"title ="HomeView"> "

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    private var file:File;

    private var dir:File;

    This method is executed to create a file and download it when you press the download button.

    protected void OnUploadButtonPressed(event: MouseEvent): void {}

    trace ("upload button clicked");

    var urlReq:URLRequest = new URLRequest ("http://10.60.99.31/MyPath/fileUploadTest.do");

    urlReq.method = URLRequestMethod.POST;

    var str:String = "this is test";

    var imageBytes:ByteArray = new ByteArray();

    for (var i: int = 0; i < str.length; i ++) {}

    imageBytes.writeByte (str.charCodeAt (i));

    }

    trace ("size =" + imageBytes.length);

    try {}

    dir = File.applicationStorageDirectory

    I also tested in several different directories

    dir = File.createTempDirectory ();

    dir = File.documentsDirectory;

    var today: Date = new Date();

    var filename:String = 'IMG' + now.fullYear + now.month + now.day + now.hours + now.minutes + now.seconds + now.milliseconds + ".txt";

    file = dir.resolvePath (filename);

    var stream: FileStream = new FileStream();

    Stream.Open (file, FileMode.WRITE);

    stream.writeBytes (imageBytes);

    Stream.Close ();

    Review the content of the file to check if the file is written successfully.

    var readStream:FileStream = new FileStream();

    readStream.open (file, FileMode.READ);

    var: string result = readStream.readUTFBytes (readStream.bytesAvailable);

    trace ("rear read result =" + result); The result is shown here as planned.

    file.addEventListener (Event.COMPLETE, uploadComplete);

    file.addEventListener (IOErrorEvent.IO_ERROR, ioError);

    file.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityError);

    file.addEventListener (ErrorEvent.ERROR, someError);

    file.addEventListener (ProgressEvent.PROGRESS, onProgress);

    file.upload (urlReq); This line does not work. No handler is executed. No http request struck the coast server.

    trace ("after file upload test");

    } catch (error) {}

    trace (e);

    }

    }

    Complete Manager

    private function uploadComplete (event: Event): void

    {

    trace ("Upload successful.");

    }

    IOError handler

    private void ioError (error: IOErrorEvent): void

    {

    trace ("Upload failed:"+ error.text ");

    }

    Manager SecurityError

    private void securityError(error:SecurityErrorEvent):void {}

    trace ("security error:" + error.text);

    }

    Another Manager

    private void someError(error:ErrorEvent):void {}

    trace ("an error" + error.text);

    }

    Progress Manager

    private void onProgress(event:ProgressEvent):void {}

    trace ("progressHandler");

    }

    This method is executed to call the URLLoader.load when the delicate touch.

    protected void OnTrickyButtonPressed(event: MouseEvent): void {}

    var urlReq:URLRequest = new URLRequest ("http://200.60.99.31/"); This points to a server not - exist

    urlReq.method = URLRequestMethod.POST;

    urlReq.data = new ByteArray();

    var loader: URLLoader = new URLLoader();

    try {}

    Loader.Load (urlReq); This line is very important in iOS7. He decides if the latter file.upload may work.

    But in iOS8, file.upload does not work even if that line is executed.

    trace ("after urlloader load");

    } catch (error) {}

    trace (e);

    }

    }

    []] >

    < / fx:Script >

    < s:Button = "200" x = "200" width = "400" height = "200" label = "Upload" click = "OnUploadButtonPressed (event)" / > "

    < s:Button = "200" x = "500" width = "400" height = "200" label = "Tricky" click = "OnTrickyButtonPressed (event)" / > "

    < / s:View >

    ------------------------------------------------------------------------------------------ -----------------------------------------------------------------------


    When it is run on the simulator of the Air, it works very well as expectedand the file is successfully downloaded to the server. But when run on iOS devices (in my case, iPad), as I explained at the beginning, no event on the file upload handler is executed and not the http request has even hit the server. So I think that the problem may come from the client side.

    During my attempt to solve the problem, I found something complicated about this problem on iOS7. In other words, if you call the URLLoader.load method (although the URLLoader.load points to an address non-existed) before calling the File.upload method, the File.upload will work as expected on iOS7. Specifically, when the above OnTrickyButtonPressed method is run before the OnUploadButtonPressedmethod, File.upload will succeed on iOS7. But this only happens on iOS7. On iOS8, File.upload still refuses to work, regardless of knowing if the URLLoader.load is executed before.

    I think in my case, the problem is not the problem of sandbox or a session of Firefox problem described in the two links below, because not even a http request hit the side server. It seems that the Air SDK for iOS comes to fail send the http reason request any.

    http://StackOverflow.com/questions/5967382/Flex-4-FileReference-issues-with-Firefox

    http://StackOverflow.com/questions/351258/how-do-i-make-Flex-file-upload-work-on-Firefox-a nd-safari

    To make my problem clear, I list my environment below:

    • Development environment: Windows7 (64-bit) / Mac os 10.9.4 (tested on both OS platforms.)
    • IDE: Flash Builder 4.7
    • Air SDK: 3.8 / 16.0.0 (after that I have updated to the latest Air SDK 16.0.0, problem persists.)
    • Application server: Tomcat7 + spring

    Finally, I want to mention that download the file using URLLoader.load isn't an option in my case because I want to download large files in the future, which cannot be addressed with the URLLoader.load.

    I struggled with this for days. If I really appreciate it if anyone has an idea about this.

    Thanks in advance.

    Hi KA RYU.

    We have reproduced the issue successfully, our team would work on it.

    -Tushar

  • NotificationGlobalSettings modeChanged signal does not work after restarting

    Hello

    I test this on the OS SDK 10.2.1.1927 for my Alpha of Dev C. My application is headless without long-term stop. The signal and slot work perfectly upon deployment of app on device. My slot is called as soon as there are changes to the Notification Mode of the phone.

    But once the restart of the device, for some reason any. Housing starts running headless, the signal and slot is CONNECTED, because I use the bool to check if the connection is successful. And yes it returned true for the connection.

    But in fact, my slot is not called at all. All changes may not be received. Someone at - it get the same question?

    OK, get it fixed. I don't know if BlackBerry will fix this in the operating system or not, but in case you need, then the another work-around is to delay the connection.

    Delaying the call connect to connect this signal modeChanged (bb:latform::NotificationMode:Type) to your site that handles things when the overall Notification Mode is changed.

    In my case, I tested with a delay of 3 seconds and it does not work properly. After the device restarts, it still works properly.

  • 10.2 PushCollector example does not work

    Hi, I tried to compile and test the PushCollector example for 10.2 SDK but I does not compile properly and the message did not provide sufficient information to be able to fix it.

    Examples of projects are at this location: https://github.com/blackberry/Cascades-Samples/blob/master/pushCollector/10.2/

    E:\bbndk-beta\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: jump incompatible... /... /pushCollectorCommon/arm/libpushCollectorCommon.so in the research - lpushCollectorCommon

    make [2]: leaving directory E:/area of work/pushCollector / x 86

    make [1]: leaving directory E:/area of work/pushCollector / x 86

    E:\bbndk-beta\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: could not find lpushCollectorCommon.

    CC: E:/bbndk-beta/host_10_2_0_15/win32 / x 86/usr/bin/ntox86-ld caught signal 1

    make [2]: * [o-g/pushCollector] error 1

    make [1]: * [debug] error 2 make: * [Simulator-Debug] error 2

    Sorry, I'm noob in developing c ++. Is it possible by using various projects such as libraries? I have not used before projects before library in c ++ and I do not know how to configure them properly.

    It is possible to use this library with an absolute path?

    https://github.com/BlackBerry/Cascades-samples/BLOB/master/pushCollector/10.2/pushCollector/.cprojec...

    I was able to run the example.

    The order in the sequence of generation is very important. When I built the correct order, that I was able to correctly generate the package of the project PushCollector and then I could deploy on the device. The sequence is, in case anyone has the same problem:

    -Clean all projects

    -Create a 'pushCollectorCommon '.

    -Create a 'pushCollectorHeadless '.

    -Create a 'pushCollector '.

    -Run 'pushCollector' to the device (I used a Dev Alpha B with 10.2.0.1445, the Simulator does not work)

  • Call WebService PlayBook does not work

    Hello world

    I have an app developed in Tablet SDK for Adobe Air with flash builder, that calls a web service on the internet. It works very well in the development environment, but does not work on playbook and Simulator. which I did nothing!

    any idea? If I missed something?

    Thanks for any help!

    Is that what you gave your app permission to access the internet?

  • After the upgrade from 5.5 to 6.1 VCenter Web Client vSphere page does not work?

    Dear expert;

    I need your help to solve my problem describe as below: -.

    After Upgrade VCenter from 5.5 to 6.1 the vSphere Client Web page does not work, so I need to solve

    Thank you.

    This problem is solved by using below command

    The '% VMWARE_PYTHON_BIN' list '%VMWARE_CIS_HOME%\VMware Services\lstool\scripts\lstool.py identity' - url http://localhost:7080/lookupservice/sdk - type vcenterserver > c:\psc_services.txt

    '% VMWARE_PYTHON_BIN' Unregister '%VMWARE_CIS_HOME%\VMware Services\lstool\scripts\lstool.py identity' - url http://localhost:7080/lookupservice/sdk - Service_ID id in step 4 - user "[email protected]" - password "XXXXX" - non-cocher-cert

  • Calling a Flex action when you display a view html Bridge does not work

    Hello

    I have a second question.

    Our plug-in displays a view of the hosts using the html bridge code.  When our view is active and the user

    call the context menu in the Navigation on the left - and attempts to perform an Action (for example: Host disconnect).

    the container (IFrame) in which appears our point of view, is made to have a bright white background, and the action does not work

    work - no dialog boxes don't start or anything like that.

    Is there anything I can do to prevent this?

    Thanks for some tips more

    Cathy

    Hi Laurent,.

    I made a Plugin Acme - it does nothing except show a label and a text.  Then I added this to my plugin.xml for a host.

    The first photo shows just the plugin at the beginning.  Then I call the contextmenu - and select "Disconnect" - the third watch

    what looks like the view, and it's normal 'disconnect' are you sure... box is not running...

    But I noticed that I use the sdk 6.0ga - so maybe I should try with update 1?

    But for our production, we use the sdk 5.5, because it must operate on 5.5 as well.

    I also tried another host of Actions, such as alarms-> new alarm definition - but that works properly.  I don't know what could be the difference.

  • footer css does not work

    I add a footer on my page and I want to change the color but his does not work, I created a class of footer, but the background won't change I don't its something simple, but I can't see it here is my code please.

    <! DOCTYPE html >

    < html lang = "en" >

    < head >

    < meta charset = "utf-8" >

    < meta http-equiv = "X-UA-Compatible" content = "IE = edge" >

    < meta name = "viewport" content = "width = device-width, original scale = 1" >

    < name meta = "description" content = "" >

    < name meta = "author" content = "" >

    <!-TemplateBeginEditable name = "doctitle"-->

    < title > my events calendar < / title >

    <! - TemplateEndEditable - >

    " < link rel ="stylesheet"href =" https://MaxCDN.bootstrapcdn.com/font-awesome/4.5.0/CSS/font-awesome.min.CSS ">

    <!-'bootstrap' Core CSS-->

    " < link rel ="stylesheet"href =" http://MaxCDN.bootstrapcdn.com/bootstrap/3.3.5/CSS/bootstrap.min.CSS ">

    <!-Custom-> CSS

    "< link href ="... / CSS/business-casual. CSS"rel ="stylesheet">

    <! - fonts - >

    " < link href =" http://fonts.googleapis.com/CSS?family=open+sans:300italic, 400italic, 600italic, 700italic, 00italic 8, 400, 300, 600, 700, 800 "rel ="stylesheet"type =" text/css"> "

    " < link href =" http://fonts.googleapis.com/css?family=Josefin+Slab:100, 300, 400, 600, 700, 100italic, 300itali c, 400italic, 600italic, 700italic "rel ="stylesheet"type =" text/css"> "

    < div id = 'fb-root' > < / div >

    < script > (function (d, s, id) {})

    var js, SJF = d.getElementsByTagName (s) [0];

    If (d.getElementById (id)) return;

    js = d.createElement (s); js.ID = id;

    js. SRC = "//connect.facebook.net/en_US/sdk.js#xfbml=1 & version = v2.5 & appId = 512896575525133;

    fjs.parentNode.insertBefore (js, SJF);

    (} (document, 'script', 'facebook-jssdk')); < /script >

    <! - HTML5 Shim and Respond.js IE8 takes in charge of HTML5 elements and questions from the media - >

    <!-WARNING: Respond.js does not work if you view the page via file://-->

    <!-[if lt IE 9] >

    " < script src =" https://OSS.MaxCDN.com/libs/html5shiv/3.7.0/html5shiv.js "> < / script > .

    " < script src =" https://OSS.MaxCDN.com/libs/respond.js/1.4.2/respond.min.js "> < / script > .

    <! [endif]-->

    <!-TemplateParam name = "class" type = "text" value = ""-> "

    < / head >

    < class = "@@(_document['class']) body @" >

    < div class = "mark" > my events calendar < / div >

    < div class = "address bar" > < strong > where all your events are a click away < facilities > < / div >

    <! - navigation - >

    < nav class = "navbar, navbar - default" role = "navigation" >

    < div class = "container" >

    <!-brand and toggle get grouped together for better mobile display->

    < div class = "bar navigation-header" >

    < button type = "button" class = 'bar of navigation-toggle' data-toggle = "collapse" data-target="#bs-example-navbar-collapse-1" >

    < span class = "sr only" > toggle navigation </span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < span class = 'bar icons' > < / span >

    < / button >

    <!--navbar-brand is hidden on larger screens, but visible when the menu is reduced-->

    "< a class = 'bar of navigation-brand' href ="... / index.html "> my events calendar < /a >"

    < / div >

    <!-collect the nav links, forms, and other content to alternate->

    < div class = "navbar-collapse collapse" id = "bs-example-navbar-collapse-1" >

    < ul class = "navbar-nav nav" >

    < li >

    "< a href ="... / index.html "> home < /a >"

    < /li >

    < li >

    "< a href ="... / calendar.html "> calendar < /a >"

    < /li >

    < li >

    "< a href ="... / events.html "> events < /a >"

    < /li >

    < li >

    "< a href ="... / venues/venues.html "> sites < /a >"

    < /li >

    < li >

    "< a href ="... / registration.php "> feedback < /a >"

    < /li >

    < /ul >

    < / div >

    <!-/ .navbar-collapse->

    < / div >

    <!-/-> .container

    < / nav >

    <!-TemplateBeginEditable name = "EditRegion2"->

    < div class = "container" >

    < / div > <! - TemplateEndEditable - >

    <!-/-> .container

    <>footer

    < div class = "footer" >

    < div class = "row" >

    < div class = "col-lg-12 text-Center" >

    < p > copyright & copy; Your site Web 2014 < /p >

    < / div >

    < / div >

    < / div >

    < / footer >

    <! - jQuery - >

    " < script src =" https://code.jQuery.com/jQuery-1.11.1.min.js "> < / script > .

    <!-'bootstrap' Core JavaScript-->

    " < script src =" http://MaxCDN.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js "> < / script > .

    <! - script to activate the carousel - >

    < script >

    $('.carousel').carousel ({}

    range: 5000 //changes speed

    })

    < /script >

    < / body >

    < / html >

    Thanks for the help I got it sorted, I removed my site from the wamp server and installed new ones now thanks again HAPPY NEW YEAR.

    My resulotion of new year is to get this bloody site finished lol

  • Server.findForType () does not work as expected

    Hi all,

    I have problem with finding vApps using the Server.findForType () method.

    Lets start from the beginning...

    Goal is to produce streams of work that could be called from outside using SOAP (SOAP is unfortunately obligatory). Portal that will call worlflows is underway of another people.

    They said a number of input and output parameters that workflows must accept and provide.

    I have test with vCenter Orchestrator environment, Director and everything works fine.

    SOAP host is created in Orchestrator using the build workflow (attached configuration - SOAP_Host_Configuration.rtf).

    I use SOAP UI to test the portal > communication Orchestrator.

    I am able to call using SOAP UI workflows.

    I am producing a simple workflow what powers on TIME using the string as an input parameter and who would return the same data as output parameter - VAPP UUID, ID, href, or anything that is considered VAPP unique brand.

    Out of SOAP UI of my VAPP is attached (SOAP_UI_vApp_Info.txt).

    If I try to use Server.findForType () it only works if I specify it like this:

    Server.findForType ("vCloud:VApp", "8265a03471add63d97f36c52e86fba8cebade2a3ca7bfcb4cb58cdff9ae9f8c / / /https://172.16.140.215/api/vApp/vapp-c7b33a3e-2174-465d-a4f2-0fa9663dc75d");

    and it does not work if if specify like this

    Server.findForType ("vCloud:VApp", "urn: vcloud:vapp:c7b33a3e - 2174-465 d-a4f2-0fa9663dc75d");

    In this case I get error:

    [21:49:35.911 2014-08-10] [I] Server error: ch.dunes.model.sdk.SDKFinderException: cannot perform the operation ' find (' TIME ',' urn: vcloud:vapp:c7b33a3e - 2174-465 d-a4f2-0fa9663dc75d') ' on the plugin "vCloud".

    Problem is that data "8265a03471add63d97f36c52e86fba8cebade2a3ca7bfcb4cb58cdff9ae9f8c / / / . https://172.16.140.215/API/vApp/vApp-c7b33a3e-2174-465D-a4f2-0fa9663dc75d "cannot be retrieved afterwords and be used as a unique identifier VAPP - vapp.dunesId returns nothing. "

    I use:

    vCenter 5.5.0 1623101

    vCO 5.5.1. 1617127

    vCloud Director 5.5.1 1753992

    vCloud Director Plugin 5.5.0.1894135

    vCenter Plugin 5.5.2.1869849

    Thank you very much for the help.

    Goran

    Of course, no problem. I found even a better way to retrieve by ID directly.

    Ex:

    vApp = host.getEntityById ("PPPV", "urn: vcloud:vapp:65a4db36-8efa-4512-afb5-7d663c13e2be");

    Kind regards

    ALEKS

  • VMware View Manager "service does not work correctly."

    Location:

    I have 2 view connection Server 5.1.1 (VCS01 and VCS02) and VMware vCenter 5.0 1 u1 (VC01). The vCenter server is added to the view configuration and works without a problem. I don't use composer in this configuration, and I have a certificate installed, valid SSL on 3 servers.

    question:

    If I could connect the console administrator from view of VCS01 and I change something of the setting in "View Configuration\Servers\vCenter servers" vCenter server, vCenter server service turns red in the dashboard view admin with the status: 'the service does not work properly. This produces a few minutes later.

    error.PNG

    The setting I changed allowed caching of size on a particular server.

    If I check the log on the second server View (VCS02), I see the following errors:

    714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > VC_OUTAGE:Url [Audit]: https://vc01.DomainName.x:443 / sdk
    2012 11-15 T 14: 11:24.493 + 01:00 WARN (0AFC-0100) VirtualCenter < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] https://vc01.domainname.x:443 / sdk is currently unavailable - attempt to reconnect
    2012 11-15 T 14: 11:25.960 + 01:00 WARN (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] problem in VC operation: "Authorization to perform this operation was denied." [com.vmware.vim25.NoPermission]
    2012-11 - 15 T 14: 11:25.984 + 01:00 INFO (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [Audit] VC_OUTAGE:Url: https://vc01.DomainName.x:443 / sdk
    2012 11-15 T 14: 11:25.984 + 01:00 WARN (0AFC-0100) VirtualCenter < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] https://vc01.domainname.x:443 / sdk is currently unavailable - attempt to reconnect
    2012 11-15 T 14: 11:25.985 + 01:00 WARN attempt to reconnect (0AFC-0100) previous VC < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] didn't work, will wait before trying again.
    2012 11-15 T 14: 11:41.111 + 01:00 WARN (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] without the permission of Sciez VC.
    2012 11-15 T 14: 11:42.566 + 01:00 WARN (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] problem in VC operation: "Authorization to perform this operation was denied." [com.vmware.vim25.NoPermission]
    2012-11 - 15 T 14: 11:42.569 + 01:00 INFO (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [Audit] VC_OUTAGE:Url: https://vc01.DomainName.x:443 / sdk
    2012 11-15 T 14: 11:42.570 + 01:00 WARN (0AFC-0100) VirtualCenter < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] https://vc01.domainname.x:443 / sdk is currently unavailable - attempt to reconnect
    2012 11-15 T 14: 11:42.570 + 01:00 ERROR (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] exceeded maximum number of VC reconnection attempts.
    2012 11-15 T 14: 11:42.571 + 01:00 ERROR (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] permission to perform this operation was denied.
    2012-11 - 15 T 14: 11:43.021 + 01:00 INFO (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [Audit] VC_OUTAGE:Url: https://vc01.DomainName.x:443 / sdk
    2012 11-15 T 14: 11:43.021 + 01:00 WARN (0AFC-0100) VirtualCenter < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] https://vc01.domainname.x:443 / sdk is currently unavailable - attempt to reconnect
    2012 11-15 T 14: 11:44.501 + 01:00 WARN (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] problem in VC operation: "Authorization to perform this operation was denied." [com.vmware.vim25.NoPermission]
    2012-11 - 15 T 14: 11:44.503 + 01:00 INFO (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [Audit] VC_OUTAGE:Url: https://vc01.DomainName.x:443 / sdk
    2012 11-15 T 14: 11:44.503 + 01:00 WARN (0AFC-0100) VirtualCenter < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] https://vc01.domainname.x:443 / sdk is currently unavailable - attempt to reconnect
    2012 11-15 T 14: 11:44.504 + 01:00 WARN attempt to reconnect (0AFC-0100) previous VC < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] didn't work, will wait before trying again.
    2012 11-15 T 14: 11:59.630 + 01:00 WARN (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] without the permission of Sciez VC.
    2012 11-15 T 14: 12:01.072 + 01:00 WARN (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] problem in VC operation: "Authorization to perform this operation was denied." [com.vmware.vim25.NoPermission]
    2012-11 - 15 T 14: 12:01.074 + 01:00 INFO (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [Audit] VC_OUTAGE:Url: https://vc01.DomainName.x:443 / sdk
    2012 11-15 T 14: 12:01.074 + 01:00 WARN (0AFC-0100) VirtualCenter < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] https://vc01.domainname.x:443 / sdk is currently unavailable - attempt to reconnect
    2012 11-15 T 14: 12:01.076 + 01:00 ERROR (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] exceeded maximum number of VC reconnection attempts.
    2012 11-15 T 14: 12:01.076 + 01:00 ERROR (0AFC-0100) < ConfigureHostsCbrc-8f714f2e-55dd-48b3-8a39-ac825f59a6cd-1352984469542 > [ServiceConnection25] permission to perform this operation was denied.

    Once I reboot VCS02, the State turns green again in the view admin console. So I have a workaround, but I wonder if there is a fix or is it a (UN) known error?

    I had similar errors when I enabled cached host and had to give my user VC the privilege to change the configuration advanced options for guests. It's so she can allow the CBRC in advanced settings. (not in the documentation).

    It seems however, that your VC username missing certain necessary rights. I suggest double check for you rights user VC and take a look at your logs of VC. It should give you some info.

  • IMenuManager::HandlePopupMenu does not work in InDesign CC 2014

    Hi all

    I used IMenuManager::HandlePopupMenu() in my code below, it works well before (CS3, CS4, CS5, CS6).

      //GSysPoint pt = GetMousePosition(); // also tried this and
      //GSysPoint pt = e->GlobalWhere();
      GSysPoint pt = Utils<IEventUtils>()->GetGlobalMouseLocation();
      menuMgr->HandlePopupMenu(kMyPluginMenuPath, pt, pt, kFalse);  // assert pops up here
    
    
    

    But it does not work in CC2014 more (I use InDesign on Windows 7 64 bit 32 bit), in the debug version, it popups on say the window, and there is no menu popup.

    IMenuManager.HandlePopupMenu.png

    I find no documentation on this topic in the SDK of 9.0, 9.2, and CC2014. Anyone have any suggestion on this subject?

    Thanks in advance.

    Eric

    Hi guys,.

    The problem was solved by the 5th parameter of the method set.

      GSysPoint pt = Utils()->GetGlobalMouseLocation();
      menuMgr->HandlePopupMenu(kMyPluginMenuPath, pt, pt, kFalse, controlViewOfCurrentWidget);
    

    Kind regards

    Eric

  • AIR 4.0 captivates runtime does not work: alert "requires a version of Adobe AIR.

    I create a captive AIR runtime application, and it does not work on a target computer Windows *. Instead of this, the following alert:

    This application requires a version of Adobe AIR, which can not be found. Please download the latest version of this run of http://www.adobe.com/go/getair, or contact the author of the request for an updated version.

    How can I present the captive runtime differently so it does not appear this message? The application is a pure ActionScript application compiled with the binary adt of the stand-alone version of the SDK software (this is not Flex).

    In addition, I am troubled that a captive runtime ping Adobe AIR application somehow. I see occasional pings to an adobe site at launch of the application (something like airdownload2.adobe.com, if I remember correctly). No I do not use service calls in my application at this stage of development, it is very simple and should not be the net ping at all. Why is this happening? I need to disable it too.

    * Problem occurring only on a Windows 7 Home Premium 64 - bit specific computer. It's unfortunately the thin client machine so I can't tinker with it.

    SOLVED

    It turns out be a case of user error.

    The client, on the problem machine, has been stealthily in the zip package using some owner zip utilities that they have configured on their machine and double-clicking the exe file it there instead of having unzipped the package and running exe Explorer file. The error message is misleading.

    Obviously this question will be avoided for the retail version after that a Setup program is built.

  • Bug in AIR, landscape does not work

    First: In my FlashCS6 I export for AIR 3.2 and I test on my Samsung Galaxy S3.

    Now on the bug. In Flash, AIR controls under general we have landscape and full screen, I chose the two of them, now, when you open the application on mobile, turn off the screen and you rotate the phone, the screen turns into portrait orientation.

    If 'push' landscape option does not work.

    Any solution for this?

    Download the SDK you want to try, might as well be AIR 3.6 at this stage. Unzip the package to download a file. The folder can keep its name and its location, but out of habit I've name it correctly and put it in the Flash Pro folder. So, I have an AIR3.6 folder sitting next to Flash Pro CS6. Then go to the Help menu in Flash Pro and choose the option manage AIR SDK. There, you can add in the SDK you just expanded and then choose as the version of the player in the properties panel.

Maybe you are looking for