HTML5 - Scoreloop integration

Hello!

I want to add Scoreloop integrate in my HTML5 games. Is there any javascript or HTTP API I can use? Or maybe a plugin to AIR?

I want to qualify for the comminment of developer of 10K and it is a condition.

Thanks in advance.

Leo

Hello @Igm & @kenli-z

Support for the Scoreloop SDK is currently with the platform Native SDK BlackBerry.

HTML5/WebWorks Scoreloop SDK support will exist and work hard extra to bring this story along for the launch of the BlackBerry 10 - stay tuned for more announcements.

HTML5 and AIR games are eligible and will not be rejected if Scoreloop is not used.

Tags: BlackBerry Developers

Similar Questions

  • Captivate 8 - video integration problems. Video won't play Web server when published under the title of HTML5. When to play the video it works not embedded.

    Captivate 8 - video integration problems. Video won't play Web server when published under the title of course HTML5 and video is selected to play in the same screen. Play video it works only in a new window. The problem is the customer's requested integrated video and it shows as an option in Captivate 8. In addition, the video screen is not at the same place on the screen, the image moves to the top of the browser window in Internet Explorer. Graphics problems appear ONLY in IE and Chrome for PC. We have updated browsers, installed all updates to Captivate 8 etc.

    The issue seems to be with internet explore. The url is *.mp4, if IE browser opens Media player in a new window to read the files.

    Workaround solution:

    Instead of using the interaction of the Web object, you can use a Web object (objects-> Web) site in the menu object.

    After insertion, select the code incorporated in the style of the real property section. (Screenshot below)

    Encapsulate the url in an HTML video tag and use it as input.

    Input samples:

    https://{website-Address}/VIDEO1. MP4 type = "video/mp4" >

  • Hype/HTML5 in Dreamweaver CS5 integration

    I wonder if you know something about the HTML5 integration in div?

    I created a new banner for the Web page in the new package "Hype." It's basically a graphics as flash generator, which once exported gives you the HTML5 tag to just copy the code of the pages. In this case, the code looks like this:

    < div id = "altstratbanner_hype_container" style = "position: relative;" overflow: hidden; width: 1000px; height: 410px; ">

    < script type = "text/javascript" src = "altstrat_banner_Resources/altstratbanner_hype_generated_script.j? s 43688 "> < / script >

    < / div >

    It's stuck in my layout code pages. I modified the CSS to match but when the content of the banner preview that shows nothing?

    Don't you think it's just because the preview in Dreamweaver CS5 feature will not support HTML5 features? (so when I publish it to go on the net, Live, will it work?)

    pziecina wrote:

    If you mean the "live view" option in CS5, then it require a local test server to be installed to work correctly.

    You need a test server only if the page contains scripts on the server side. Dreamweaver CS5 with the 11.0.4 updater support HTML5/CSS3 in Live view mode. Dreamweaver CS5.5 supports even better (updated version of the WebKit browser engine).

  • Integration with a HTML5 API?

    Hello

    Are there examples of all those who use an API source HTML5 interface user of Cascades?

    You can run HTML5 cascading code by putting your code inside a WebView for component. JavaScript/HTML5/css3 goodness. 

     

    Check out the docs here:

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__webview.html

  • Animation Flash HTML5 in Dreamweaver integration?

    I did a little work with edge animate and found it easy to implement an animation in Dreamweaver.  However, my latest animation had to be done in Flash (and I know that the software a little better) and I realize that CC has now a HTML5 canvas.

    So if I create an animation in Flash CC on a html5 canvas, how I would go about using a dreamweaver page?

    Or I'd better ask in the flash forums?

    Thank you in advance!

    Edge Animate has AutoText features in DW.  Unfortunately, there is no provision for the HTML5 Flash animations again.  If you must do this manually in code view.  Take the Flash compiled code and insert the relevant items in your existing HTML5 document.  Make sure that the paths to the JavaScripts and CSS files are correctly pointing to your site folder and not files: / / / on your hard drive.

    Flash/SWF is not supported on mobile/tablet devices.  This is why Flash/SWF is a web technology dead.

    Nancy O.

  • integration of HTML5 in Muse

    I found that Captivate can get out to HTML5 and I noticed that, in doing so, it creates a few files and an index.html file.

    Since I use this method to replace the version of the SWF that info, I now need to know how to integrate this code into Muse.

    Can someone point me in the right direction under this key to my re-do the site I'm working on.

    Thank you

    Check the loading of the index.html file, it gives you the desired result. Then download all the files load manually via FTP on the remote site, enter the code for content in the index.html file (leaving aside doctype, head tag but only the code in the body tag that loads the main content) and insert in Muse through the object-> the option Insert HTML code.

    Now, look at the file index.html again and copy the code that references the files in external files (probably in the head tag) and paste into Muse-> Page-> metadata properties-> HTML for.

    Thank you

    Vinayak

  • HTML5 App - See the pop-up message window when in the background

    Hello

    I need my application to display a popup to the user even if the application is in the background.

    How can I do this if my application is built with html5 and JavaScript?

    Thanks for any help

    Hello Wadi,

    This has proved to be a bit of a monster post. If you have any questions at a stage any post, do not hesitate to ask. Let's dive.

    There are a few issues I see with the code you provided.

    PopupExtension.java


    • Creates an AlertNamespace object, your class is called PopupNamespace.

    PopupNamespace.java


    • getField is not implemented. \

    PopupFunction.java


    • A lot of import declarations are missing.

    I'll show you a comparison of my files, I managed to get the dialog box displayed from in my WebWorks app; No matter whether the application is in the foreground or background.

    For reference, the creation of my java files is based on the examples of code available here:

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_developing/using_javascript_extensions_18...

    For starters, I have SandboxExtension.java. It is the equivalent of your PopupExtension.java.

    package sandbox.extension; 
    
    import net.rim.device.api.browser.field2.BrowserField;
    import net.rim.device.api.script.ScriptEngine;
    import net.rim.device.api.web.WidgetConfig;
    import net.rim.device.api.web.WidgetExtension;
    import org.w3c.dom.Document;
    
    public final class SandboxExtension implements WidgetExtension {
        String _widgetNameForFutureUse;
        BrowserField _browserFieldForFutureUse;
    
        public String[] getFeatureList() {
            String[] result = new String[1];
            result[0] = "sandbox.popup";
            return result;
        }
    
        public void loadFeature(String feature, String version, Document doc, ScriptEngine scriptEngine) throws Exception {
            if (feature.equals("sandbox.popup")) {
                scriptEngine.addExtension("sandbox.popup", new SandboxScriptable());
            }
        }
    
        public void register(WidgetConfig widgetConfig, BrowserField browserField) {
            _widgetNameForFutureUse = widgetConfig.getName();
            _browserFieldForFutureUse = browserField;
        }
    
        public void unloadFeatures(Document doc) {
        }
    }
    

    Main differences


    • I've updated my package to sandbox.extension it is unique (less chance that it has already been used.)
    • In getFeatureList, I and by using the function sandbox.popup; It was purely a personal choice I made during the implementation of the example. There is no real functional difference.
    • Subsequently to the first point, I also refer to sandbox.popup in my remaining code; more precisely within loadFeature.
    • My method of register sets two corresponding member variables.
    • I create a new SandboxScriptable object as opposed to your object of AlertNameSpace.

    The following file is SandboxScriptable.java. It is the equivalent of your PopupNamespace.java file. Note that this class must refer to the object that is created in the file above. In my case, I created an object of SandboxScriptable , so I'm now implement SandboxScriptable.java to define this object.

    package sandbox.extension;
    
    import net.rim.device.api.script.Scriptable;
    
    public final class SandboxScriptable extends Scriptable {
    
        private SandboxPopup _sandbox;
    
        public SandboxScriptable() {
            _sandbox = new SandboxPopup();
        }
    
        public Object getField(String name) throws Exception {
            if(name.equals("doPopup")) {
                return this._sandbox;
            }
            return super.getField(name);
        }
    }
    

    Main differences


    • Slight changes to naming to accommodate my variable names.
    • The getField function is (and must) be implemented. In fact, when a method is called, I check to see if it is the doPopup method. If so, I returns a SandboxPopup object. This would be your PopupFunction class. If the user does not call the doPopup method, I just pass back the default behavior via the super object.

    The final class is SandboxPopup.java. It is the equivalent of your PopupFunction.java. Above, we create and return an object of SandboxPopup , so in this file that we actually apply this that the object is actually.

    package sandbox.extension;
    
    import net.rim.device.api.script.ScriptableFunction;
    import net.rim.device.api.system.Application;
    import net.rim.device.api.ui.UiEngine;
    import net.rim.device.api.ui.Ui;
    import net.rim.device.api.ui.Screen;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.ui.Manager;
    
    public final class SandboxPopup extends ScriptableFunction {
        public Object invoke(Object obj, Object[] args) throws Exception {
            synchronized(Application.getEventLock()) {
                UiEngine ui = Ui.getUiEngine();
                Screen screen = new Dialog(Dialog.D_OK, "Hello World!", Dialog.OK, Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION), Manager.VERTICAL_SCROLL);
                ui.pushGlobalScreen(screen, 1, UiEngine.GLOBAL_QUEUE);
            }
            return "UNDEFINED";
        }
    }
    

    Main differences

    • I added all declarations of import for the different Classes of the RIM used.
    • I return a default value 'Not DEFINED' string regardless of the success.

    And that is the essence of the java files. Basically, it is a string of three classes; the first refers to the second, and the second refers to the third. In your example, the chain is slightly broken, however can be fixed fairly quickly based on the notes above.

    The next part that needs to be done is to associate your Javascript Extension with WebWorks. This can be done in two different ways.

    • Package your extension with your application. Described in the Javascript Extension guide link above.
    • Integrate your extension with your SDK WebWorks.

    I opted for the latter, I find this approach a little simpler. The first thing we need to do is to copy our java files in the extension folder. The extension root folder that I used is as follows:

    C:\Program search in Motion\BlackBerry 2.3.0.9\ext\ SDK WebWorks

    In this case, I created a folder sandbox.extension to House my extension:

    C:\Program search in Motion\BlackBerry 2.3.0.9\ext\sandbox.extension SDK WebWorks

    I then copied the folder src housing my files java to get the following file structure:

    Note that the CBC/sandbox sand/extension path is no coincidence because sandbox/extension's folder as dictated by the package structure that I used in my java files. More precisely:

    package sandbox.extension;

    The last thing missing is a library.xml file. I used the library.xml files available on Github WebWorks community API page as a starting point and made a few modifications for the following.

    
        
            sandbox.extension.SandboxExtension
        
        
            
                
            
        
        
            
                
            
        
        
            
        
    
    

    Key information

    • The is set to point to the class that implements WidgetExtension. In this chain of three java files, it would be the first file.
    • Under , I set path = 'src' since the real package begins in the src subfolder.
    • Under I've set the id to sandbox.popup.

    This file has been created under the sandbox.extension root folder, specifically:

    C:\Program search in Motion\BlackBerry 2.3.0.9\ext\sandbox.extension SDK WebWorks

    And that's all for the configuration of the SDK. Now, when I have an application that relies on this extension, I don't no need to include something more in my real application because this feature is now integrated directly with my SDK. To use this feature, I need to:

    • Include the feature in my file config.xml .
    • Call the function in my Javascript.

    My file config.xml looks like as follows.

    
    http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0">
        Sandbox
        Oros
        
    
        
    
    

    Very basic. The element indicates index.html will be our main entry point. The important thing here is that I have included the item with id = "sandbox.popup". " You will notice that it is the same id that we have defined in library.xml.

    Finally, here is a small sample application that gives the user a button. Once this button is clicked, a timer is called during 5 seconds. At the end of those 5 seconds, the extension (and in turn a popup dialogue) is called.

    
    
        
        
        
            
    
            
        
    
    

    As you can see, we add a to our page which, when clicked, will trigger the function of fire . The function of fire calls setTimeout with a founter of 5000 milliseconds.

    The reason for this is to give you the opportunity to stay within the application, or limit its application with the red end call button. No matter whether you are in the application or the application is reduced, after 5000 milliseconds, the invokeExtension function is called.

    In invokeExtension, you can see call us sandbox.popup.doPopup. sandbox. Popup is the object, we defined in library.xml and put subsequenty implement within our java files. doPopup is the function we defined to be processed in the java files.

    Still, if you have any questions about the foregoing, please let me know.

    Erik Oros

    BlackBerry Development Advisor

  • Scoreloop, openfeint: nothing like for blackberry?

    Just recently saw these programs for Android and iPhone, it anyone know of something similar for use with blackberry phones? Thank you!

    Hello @QuestionMan,

    You can use Scoreloop with your BlackBerry10 games (development is supported in native SDK and soon HTML5/WebWorks SDK)

  • Integration of database with WebWorks?

    Hello developers,

    I develop an application for someone for blackberry 10 WebWorks, and there is no need of a relational database. Is it still possible for WebWorks?

    Thank you!

    In addition, HTML5 supports WebDB which uses a sqlite implementation that is integrated into the browser. I know that you can not use the foreign keys on Chrome (due to certain parameters of lame sqlite pre-configured on part of Chrome), but I don't know if the bb10 browser allows them.

  • HTML5 app + Facebook Javascript SDK = without hope?

    Hi, I am aware that BB10-WebWorks-samples provides the example of Facebook-OAuth-2 for the Facebook integration in an HTML5 app.

    I just confirm that it is really desperate to try to use instead of Facebook Login with Javascript SDK ? I tried to load the Javascript SDK in my HTML5 app without success.

    Hi chadtatro, your sample application works and I understand your well written code. Thank you very much!

    Just think about it... why the documentation for Facebook to use their Javascript SDK led to errors? What is their tutorial for work on other platforms?

  • Integration of youtube videos

    I am currently building an html5 for BB10 with jquery application. I have an old processor intel from my pc that does not support virtualization technology to run the BB10 Dev Alpha device simulation.

    So I don't know if a video from youtube directly integrated in a Web page (with the embed code directly from youtube) into the application will work or not. Can anyone confirm that?

    Thank you

    It's ok, YouTube videos will get incorporated properly, make sure you use the right width for the video, then the player out of the screen and breaks the layout.

    I suggest you to take a look at the ripple for a specific semi 'simulation '.

  • Must my webworks games implement the Scoreloop for approval or just to get into the construction of BB program?

    Must my webworks (for BB10) games to implement the Scoreloop for approval or just to get into the construction of BB program?

    Originally using Scoreloop was a requirement for the criterion of integration of services with the games, but this requirement has apparently been removed, as mentioned in one of the webcast that we expect them to post here sometime soon: https://developer.blackberry.com/builtforblackberry/documentation/videos/index.html

    Note that this page still says Scoreloop is required: https://developer.blackberry.com/builtforblackberry/documentation/criteria/games.html

    This page, however, has been changed so it is no longer required: https://developer.blackberry.com/builtforblackberry/documentation/criteria/checklist.html

  • HTML5 video orientation on the screen of the phone

    Hello

    Is it understood that when the phone is held vertically, a film of HTML5 embedded in the web page gets cut visually until the user toggles phone horizontally?

    That is the standard and accepted practice, or is there something else I need to know?

    Thank you!

    Is it understood that when the phone is held vertically, a film of HTML5 embedded in the web page gets cut visually until the user toggles phone horizontally?

    N °

    Bootstrap has a nice set of classes for the integration of videos adapted and preserving their proportions in several widths of device.

    ALT-Web Design & Publishing: reactive Bootstrap 3 Videos

    Nancy O.

  • Webcam integration in adf?

    Hello

    The jdeveloper 11.1.2.3.0 IAM using

    My requirement is like this...

    I need to take pictures of web cam is it possible in the adf?

    I need to save image in session I need to print on the image page

    How to achieve

    Hi user,

    Web Cam integration adf may be using html5, please follow the below blog

    http://adfpractice-Fedor.blogspot.in/2013_12_01_archive.html

    but here, the images are data storage,

    you google he how to store image in session, so you can get...

  • Simple attempt to HTML5 - "OM is not defined"

    Hi all

    I'm looking for a visualization of HTML5, just a very simple track of the points against a card. I looked at examples of v406 SampleApp and wanted to try to do it on another machine virtual (BigDataLite). My code in the static text section like below. I cut out a bit of it for practical reasons. Just to clarify, I remembered to define all the variables used, for example baseURL etc.:

    "< script src="/mapviewer/jslib/v2/jquery/jquery-1.7.2.js "> < / script >

    < script src='/mapviewer/jslib/v2/oraclemapsv2.js' > < / script >

    "< script src="/mapviewer/js/common.js "> < / script >

    "< script src="/mapviewer/jslib/v2/jquery/colorpicker/js/colorpicker.js "> < / script >

    "< script src="/mapviewer/jslib/v2/jquery/colorpicker/js/eye.js "> < / script >

    "< script src="/mapviewer/jslib/v2/jquery/colorpicker/js/layout.js "> < / script >

    "< script src="/mapviewer/jslib/v2/jquery/colorpicker/js/utils.js "> < / script >

    < link rel = "stylesheet" type = "text/css" href='/mapviewer/jslib/v2/jquery/v2/jquery/colorpicker/css/colorpicker.css'/ >

    < script >

    var map;

    OM.gv.setResourcePath("/mapviewer/jslib/v2/"); "

    plotPoints function (data) {}

    map = new OM Map (document.getElementById ('map'), {mapviewerURL: baseURL});

    More code to draw points

    }

    function renderHeatMap (repData) {}

    Code to call various functions, including plotPoints

    }

    < /script >

    < table border = 0 >

    < tr > < td valign = top >

    < b > Shopper Positions < /b >

    < DIV id = map style = "width: 800px;" height = 500px; padding: 10px; border: 1px solid grey; "> < / DIV >

    < table > < td valign = top >

    The issue I'm having is when I display the code in Firebug, it returns an error saying "OM is not defined. I can only imagine it means that I have imported something, or imports of js, I've done are different versions of those used in the SampleApp v406. I can't find all the information on how to make a simple visualization in HTML5 from scratch, it's always the SampleApp v406 content building, so I don't really know what I have to import in any case, I just lifted it from SampleApp.

    Anyone know why OM is not defined?

    Hello world

    I managed to solve the problem. It turns out that the API Oracle cards may not work properly if you try to test it in an analysis. Points in a dashboard, view the dashboard, he worked all of a sudden. It must be something to do with the way the API is integrated. I can confirm that by trying to open the examples of HTML5 v406 sample application (which we know work) as independent analyses and produces the same error.

Maybe you are looking for

  • iPhoto 09-11

    How to go from iPhoto 09 to iPhoto 11?

  • Re: L500-1XU PSLJFE xp drivers

    I just bought a laptop L500-1XU PSLJFE and I can't find the XP drivers? Why? They do not exist?

  • in G580 recovery partition

    Hello What is the usefulness of the partition - about 25 GB lenovo - and I do a recovery partition using key recovery?

  • How and when uninstall net framework and updates?

    NET frames 1, 2, 3, installs can be complicated. the option/Remove changeis omnipresent, click on modify & or repair, system trying to fix / or finish installation without result! Any help is appreciated.

  • Its out of sync on Android app popularity - HP Slate 7-2801

    Hello from a new Member of the site. I have problems when viewing the live stream on the app popularity (and other similar products) with the sound is not not in harmony with the images. I was able to use m.tvcatchup.com and plays files perfectly. I