[Playbook Simulator] Doesn´t work :(onclick event (apiDemo.zip for example).

Hello everyone.

I downloaded the example webwork "apiDemo.zip."  I have compiled and deployed correctly, but when I run the work of doesn´t webwork.

The webwork is very simple, just a single button and when the button is pressed, it shows and alert message.

Someone has a problem?  How to fix?

Thank you, best regards.

I Don t know how, but now the code works properly.

(Maybe a javascript error).

Thank you.

Tags: BlackBerry Developers

Similar Questions

  • Pen pressure simulation doesn´t work more.

    Hi everyone, my pen pressure simulation doesn´t works more. I am a pc user and have cs6 extended 64 bit a a wacom cintiq 21ux with the latest drivers. By clicking on the route of the path, the path have all the same thickness. But it should be thin at the beginning of the end. Can someone help me, please?

    In the dialog box the way you check simulate pressure and in the brush Panel under dynamic form > size Jitter > control you have selected the pen pressure ?

    You don't need a tablet of pressure for the above operation.

  • Microsoft Flight Simulator has stopped working. Windows is looking for a solution to the problem

    Original title: games

    When I start my X Microsoft Flight Simulator (Deluxe Edition), it is running propely for some time (15 to 20 minutes) that it no longer works and gives me a message "Microsoft Flight Simulator has stopped working. Windows is looking for a solution to the problem"and he have me to close the program. (I have Windows 7)

    Help, please. :)

    I just "uninstalled" pack of the accelerator, and it worked fine.

  • cfmailparam file argument doesn't work in events

    I wrote a cfc to send emails and use cfmailparam to attach an optional image. It worked then I turned into an asynchronous event for users do not have to wait for it to process all mails. Still, it worked fine, until I tried to include an image (which use cfmailparam of course). A cfdump of the #cfcatch # reported:

    Index of string out of range:-1
    He points to the line of code that has cfmailparam in it.

    Which has a string error going to do playback of a file? This code worked perfectly when it has not been managed as an event. I tried to replace a file name dynamic with a hard coded path, but it makes no difference. I also tested cffile and it can read the gif as a binary file and write as well.

    Is this a bug with cfmailparam running within an event? Below is my code (for the part of the intrusion via cfmail):

    < request of intrusion via CFMAIL = "recipients" to = "" #email # "from =" e-mail < noreply@#request. "AppInfo.email_domain # >" subject = "' #email_title # ' replyto="noreply@#request. " ' AppInfo.email_domain # ' failto="failedmail@#request. AppInfo.email_domain # ">"
    < CFMAILPART type = "html" >
    < HTML > < BODY bgcolor = "white" >
    < len (sender_logoPath) CFIF >
    < file CFMAILPARAM = "" #sender_logoPath # "layout ="inline"contentid ="senderlogo">"
    < IMG src = "cid:senderlogo" > < BR >
    < / CFIF >
    #ParagraphFormat (newMessage.message_txt) #.
    < BODY / > < / HTML >
    < / CFMAILPART >
    < CFIF IsDefined("image_url") and len (image_url) >
    < CFMAILPARAM file = "" #request.appInfo.imageattachment_path #image_url #_email.jpg ' type = ' image/jpeg' available 'attachment' = > "
    < / CFIF >
    < / intrusion via CFMAIL >


    Does anyone have an ideas please? To clarify, the code has worked with cfmailparam when he was just a regular cfc called from a .cfm page, and as a gateway event it can send e-mails without correct attachment. Are attachments permanently 100%. I worked on this problem for 7 hours now. :-( Thank you.
    Gary.


    P.S. Here is the stack trace if it means something to someone:
    java.lang.StringIndexOutOfBoundsException: String index out of range:-1 to java.lang.String.substring (unknown Source) at coldfusion.tagext.net.MailParamTag.resolveUrl(MailParamTag.java:204) at coldfusion.tagext.net.MailParamTag.resolveUrl(MailParamTag.java:181) at coldfusion.tagext.net.MailParamTag.setFile(MailParamTag.java:91) at cfcommsEmailer2ecfc1325954500$funcONINCOMINGMESSAGE.runFunction(\\Dcdb01\websites\dev\sit e2\gateway\commsEmailer.cfc:100) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:348) at coldfusion.runtime.UDFMethod$ (UDFMethod.java:258) ArgumentCollectionFilter.invoke to coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) to coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:211) to coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:173) to coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:192) at coldfusion.filter.EventComponentFilter.invoke(EventComponentFilter.java:67) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:203) at coldfusion.filter.EventRequestMonitorFilter.invoke(EventRequestMonitorFilter.java:46) at coldfusion.filter.ClientScopePersistenceFilter.invoke at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.eventgateway.EventProxy.invokeComponent(EventProxy.java:52) at coldfusion.eventgateway.EventRequestHandler.invokeCFC(EventRequestHandler.java:165) at coldfusion.eventgateway.EventRequestHandler.processRequest(EventRequestHandler.java:102) (ClientScopePersistenceFilter.java:2 8) to coldfusion.eventgateway.EventRequestDispatcher$ (EventRequestDispatcher.java:121) Task.run to coldfusion.util.SimpleWorkerThread.run(SimpleThreadPool.java:214)

    Adobe reported this bug as #63544. The solution, thanks for the CF Jean-Francois Pypops engineer, is to specify an absolute URL pointing to the file. The documentation does not indicate that a URL can be used, but fortunately for this feature not documented, I have a workaround until a fix is available.

  • How buggy is the Playbook Simulator?

    It seems most of the things I write are causing problems with the Playbook Simulator.

    I tend to write most of the content of the page HTML from JQuery

    The simplest things can cause the Simulator to die

    An example...

    If (Debug) $("#debuglog").append ("attempt to display " "+ sp +")
    ");

    Here, I'm just writing for a div called debuglog so I can see what is happening - sp is a page that I just shot locally via Ajax - must write errors, it's the only way to debug a page.

    Who broke things, by removing the old tag led her to begin to work again in the Phone Simulator

    Still, he does not in the Playbook Simulator - it will work on a real Playbook?

    All the little stupid things that SDK WebWorks complains just work in Android

    Answer to myself for the benefit of third parties

    Buried in the forums, you will find a thread on the Playbook having problems with JQuery 1.5.1

    The solution is simple - downgrade to 1.5.0 or 1.5.2 upgrade when it comes out

    It took me a week to find out what was wrong. All my applications now work simply by changing to 1.5.0

    While the browsers work very well with 1.5.1 the Playbook Simulator is not

    I hope this helps those of you who are also frustrated that I was

  • BB10 Dev Alpha Simulator Dev Mode doesn't work

    Hello!

    I have a problem with BlackBerry 10 Dev Alpha Simulator. When I go into the VM for the 10 Dev Alpha settings BlackBerry Simulator and enable development mode, the icon of the Mode of development will not displayed it.

    I can't see the IP address of Simulator and install my application.

    Screenshot:

    U can not find the icon of the mode of development in the Simulator. What you have to do, it is after switching to the mode of development for sure, go into settings,-> select network from the drop-down list-> note in ipv4 ip address... And it's ip address, you use the mode of development.

  • The event handlers that doesn't work do not

    Hello. I'm trying to get my .fla to go on my case-3 film, but when the home page appears, do not click on the buttons to instances of film. I have check the names, and they are correct. Can you find anything in the code? Thank you

    package {}

    import flash.display.MovieClip;

    import flash.events.MouseEvent;

    SerializableAttribute public class Main extends MovieClip

    {

    var startPage:StartPage;

    var hillPage:HillPage;

    var pondPage:PondPage;

    public void Main()

    {

    startPage = new page of home;

    hillPage = new HillPage;

    pondPage = new PondPage;

    addChild (startPage);

    Add event listeners

    startPage.hillButton.addEventListener (MouseEvent.CLICK, onHillButtonClick);

    startPage.pondButton.addEventListener (MouseEvent.CLICK, onPondButtonClick);

    hillPage.backToStartButton.addEventListener (MouseEvent.CLICK, onBackButtonClick_Hill);

    pondPage.backToStartButton.addEventListener (MouseEvent.CLICK, onBackButtonClick_Pond);

    }

    Event handlers

    function onHillButtonClick(event:MouseEvent):void

    {

    addChild (hillPage);

    removeChild (startPage);

    }

    function onPondButtonClick(event:MouseEvent):void

    {

    addChild (pondPage);

    removeChild (startPage);

    }

    function onBackButtonClick_Hill(event:MouseEvent):void

    {

    addChild (startPage);

    removeChild (hillPage);

    }

    function onBackButtonClick_Pond(event:MouseEvent):void

    {

    addChild (startPage);

    removeChild (pondPage);

    }

    }

    }

    are there any error messages?

    If this is not the case, use the backtrace function.  for example, place trace functions in your event handlers to see if these functions are called.

  • BUG: OS6 / JavaScript 'onclick' event when pulling ball control to help

    Hello

    I'm developing a web application targeting OS6 devices (torch and no key, for example Curve 9300). The problem is that an 'onclick' event does not fire when you use a Trackball to click on the object (torch and Curve 9300).

    It seems to be a bug (browser) OS6 as an "onmouseover" works without problem.

    ......
    
    var submitButton = document.getElementById('submit-button');submitButton.onclick = testOnClick;
    
    function testOnClick() {    alert('onclick never gets triggered by trackball, but when you touch the button it does!');}
    

    This causes a problem deploying the application to a mixed environment of OS6 devices.

    Someone else has a similar problem, or miss me something?

    Thank you

    Hi Sasha,

    I tried the code on the following simulators below:

    Torch 9800: 6.0.0.227, 6.0.0.246, 6.0.0.337

    Style 9670: 6.0.0.309

    NOTE: I couldn't find a simulator of 9300 with 6.0

    This code, everything seems to work properly on those built using the trackpad to move the pointer over the button and click it.

    Are maybe run you document.getElementById () in a script page that is not related to a document loaded event online?  I wonder if the purpose of the document is not yet loaded until you take a reference to it?

    
    
        
            
            Untitled Page
            
        
        
            
        
    
    
  • The difficulty to launch android applications reconditioned on device PlayBook (Simulator OK)

    Just updated my android app and it passed verification.  I will install on my PlayBook, and it won't start.

    The application works on the new 2.0 PlayBook Simulator very well, but when I go to install on the current device, it installs, but will not start.

    I tried without success (all these I tried both USB and WiFi connection) the following:

    • Restart the PlayBook after the 2.0 update (several times)
    • Signature of the bar and the deployment using command-line tools
    • Do not sign the bar and deployment via command line tools (after configuring Debug token)
    • Deployment by using the new eclipse plugin - is to expire, I have even increased the time-out value of 60 seconds and much more), it gets stuck on "Launch BlackBerry Android Runtime."... ", then a message that says" failed to connect ├a 192.168.1.139 to BAD! »

    Also, I'm under Mac OSX Lion and v2.0.0.3778 PlayBook.

    Anyone else having any of these issues or having luck getting your reconditioned apps to run on the real device?

    Any of you installed a pre-beta version of an Android player that has been disclosed on another forum?

    Whether a security wipe can be in the order that I suspect that the two versions of the player are probably in conflict!

    HTH - Rufus.

  • Problem adding Playbook Simulator to Eclipse

    Last night, I downloaded VMWare and the current version of the Playbook Simulator.  The Simulator works very well and I went into the settings and enabled debugging and confirmed the IP address in the security settings.  I also install the password.  My problem is when I go into Eclipse to add the Simulator.  I tried to make debugging and preferences.  I first tried the automatic detection, but he was unable to find it.  I then he entered manually with the IP address and the password, but it does not work as well.  I tried with both the Simulator runs also with stop you it, and same result.  Also, I tried to ping the ip address from a command prompt so that the Simulator was running and failed.  Thinking it could be a firewall issue, temporarily, I disabled my firewall and antivirus but get the same result.  I also tried a reboot of my PC with no luck.  I'm out of ideas and would welcome any advice I can get.

    Thank you!

    I realized what the problem was.  We won't have the IP address in the settings menu.  On the home screen there is an icon that you can click on that will tell you it's in development mode and it will give you the real IP address.  Hope this helps someone else who had the same problem.

  • PlayBook Simulator does not start in vmware.

    I had just installed sdk playbook and Simulator on windows 7 and configure the Simulator on vmware.

    But the playbook Simulator does not start on vmware... He simply display the splash screen...

    Do you have another computer to try out it?

    For example, in my case, I have 3 PC. Two of them the Simulator installed and worked well, the third, no matter what I do I can't get the Simulator to go beyond the start screen.

    I even took a suspended version of the Simulator everywhere for my 3rd machine, and it has run for a little while so locked up when I tried to activate the mode of development. However, VMWare works perfectly for other sims installed on this machine (but with VMTools installed in the virtual machine), then it is not a VMWare question by itself.

    Personally, I think that unfortunately for certain combinations of hardware/OS simulator simply does not work.

    FWIW my 3rd machine is underpowered with only 2 GB of ram, an Intel ATOM (z520) processor and a GMA 500 GPU which are pushed along Windows 7.

    HTH - Rufus

  • BlackBerry Playbook Simulator ISO 2.0

    Is there an ISO for the 2.0 playbook Simulator file?  I try to install on VirtualBox that my computer cannot run the latest version of vmware Player.

    Thank you.

    Why not just try? Which will give you an answer more reliable than to go really what anyone else. As I said, I thought the Simulator had previously worked with VirtualBox, but I am not certain about it.

  • PlayBook Simulator included in the SDK WebWorks for Mac does not start

    Hi, I downloaded and installed the WebWorks BlackBerry SDK for Tablet OS for Mac from http://us.blackberry.com/developers/tablet/webworks.jsp . I have VMWare Fusion installed 3.1.2. I used the beta3 .iso Installer to create a virtual machine, and it worked very well. Open the bbwp/blackberry-tablet-sdk/BlackBerryPlayBookSimulator-1.0.1/BlackBerryPlayBookSimulator.vmx file load VMWare Fusion and adds a virtual machine named "BlackBerry PlayBook Simulator" in my VM library. When I try to 'turned on' virtual machine, nothing happens. The power seems to be on for two seconds and turns off the virtual machine. I can't find all the lines from log in Console.app. the 'Virtual Machine'-> 'Force Start Up' menu is no help either. I download the stand-alone "BlackBerry PlayBook Simulator for Mac", that is also marked v1.0.1 but I am not optimistic if it is delivered as a set of folders VMware. Please do not make me run the PlayBook Simulator in a virtual Windows XP machine!

    Hi jaschroe,

    Try to manually copy the folder BlackBerryPlayBookSimulator - 1.0.1 to another location on your Mac and then try to open this copy of the VMX file in VMware Fusion. (No need to re - install).

  • Sencha Touch not displaying icons only not the Playbook Simulator

    I see this weird problem. I wrote a simple Webworks app using Sencha Touch. It works fine on the desktop browser. However, on the Playbook Simulator, I see a few flaws. For example the standard icons not displayed. See the pictures attached to the difference:

    On the Playbook Simulator:

    On the desktop browser:

    I know that's not a consolation, but when I tried the latest version of PlayBook on the physical hardware toolbar buttons work fine.

    I ran through the example of the kitchen sink and everything is made perfect!

    So know that your problem will be solved in the official v1.0 RTM software version and Simulator.

  • PlayBook Simulator not able to access the internet

    Hello

    I'm trying to get the Playbook Simulator running to repackage an app, but I'm unable to get the Simulator to connect to the internet.  The browser refuses to connect and just displays a message indicating:

    Error
    A network error has occurred.
    Please try again later.

    I tried some things, like change network card settings in VMware default (NAT) to Bridged and then restarting the virtual machine, but that did nothing. I tried to remove the virtual computer's network card, and then by adding a new.  I disabled the Norton Internet Security firewall and intrusion prevention.  I have disabled the Windows Firewall.  None of this solves the problem.

    I use a Windows 7 laptop connected to a wireless network.  No VPN or proxy is in use.  Windows 7 network adapters screen shows two cards VMware, vmnet1 and vmnet8, both connected to an 'unidentified network'.  I tried to fill these my PC wireless cards, but the VMware adapter did not allow that and threw an error.

    Any suggestions?

    Some basics: Verify there is an IP address on vmnet8. Verify that you can ping your host operating system.

    If it still does not work, cut the developer mode (on-> them security), then try again the browser. Yes, I know it sounds counterintuitive, but it worked for me.

    You can re - switch to developer mode, once you have turned it off and it seems fine. You don't quite know why this is happening, but it might be useful to take a VM snapshot once you've cracked.

    Good luck!

Maybe you are looking for

  • Download paused on Launchpad

    The icon on my dashboard has been suspended and could not resume if I tried clicking several times and also to restart my mac to activate the resume so that the laptop restarts. Right now I have no idea that this icon pause belong to either the soft,

  • Tell us more clearly what is happening on the backgammon games area

    Do we need to do something different to play gammon or is the multiplayer site problems for which you can expect to solve?

  • Cisco Anyconnect VPN client cannot establish a connection.

    Hello I am trying to connect to my server license from the University. I use 'Cisco Anyconnect VPN', but when it is goinh to initialize the connection it gives me the error "unable to establish a connection to the VPN client. At this point, the netwo

  • Connection Manager

    I have a new (3 weeks) HP Pavilion Notebook PC with Windows 7/64 bit g7.  I recently got the message 'not installed HP connection manager.  Request will be cancelled. "That should / can do. ?  The model number is g7 1117 cl.  I'm a novice user.

  • Session timeout navigate to an external URL

    HelloI want to access the external URL when the page expires pursuant to the ADF, how do I do this?Jdev 11.1.1.6.0Thank youPeyrot