Tutorials to implement basic things in the Playbook SDK

Are there tutorials available to implement simple functionality of a Playbook app such as a display of list of pages, navigate between views, etc. or tabbed panes.

These things are not exactly 'simple' in the native of PlayBook SDK because there no stunts. It would be easier to build a Webworks or AIR application. Native development kit was really targeted in the games and the ports at this time.

Tags: BlackBerry Developers

Similar Questions

  • Basic question on the Flex SDK kit:

    I'm a noob and can not afford Flex Builder, so I downloaded the Flex SDK kit.  I have the Java runtime and my sys JAVAHOME variable value.  I ran the

    C:\Program Files\FlexSDK\samples\explorer\build.bat

    .. .and it ran for a few minutes (I assume with success since I saw not the word "error" appear anywhere in the command line window).

    Now - I don't know if Component Explorer had been there before in the original of the Flex SDK kit download (where all which I copied into a directory I made called "C:\Program Files\FlexSDK\", but he is now inside the directory "C:\Program Files\FlexSDK\samples\explorer\".)  I don't know whether or not my batch.bat running created this "Explorer.html".  T it?

    My next question.  When I opened this Explorer.html - I received the order to Flex files to view sample - I see nothing but gray.

    I don't know what to do, but this is compounded by the fact that I am new to all of this - I don't know what to expect or the other.

    Can anyone help point me in the right direction?  Thank you.

    It looks like a write permissions problem. The Program Files directory has restrictions more stringent than other directories and mxmlc fails silently write the swf file.

    Please, create a "FlexSDK" directory directly under C:\ or in your own user directory, expand your SDK it and try again.

  • How actionscript / flash apps get compiled for the PlayBook?

    Hello

    When you create a bar file, what exactly? Is my actionscript into native arm assembly using a LLVM as described by Adobe for their implementation of iOS?

    I ask because when I tell people I'm an application using actionscript, they say "Flash?" Why would you use Flash? Adobe gave up on this subject.  I would be like power better understand how actionscript/flex/flash is implemented for applications on the PlayBook, so that better explain to others.

    Thanks for the clarification.

    Your AS3 code compiles into a SWF file that is running on the virtual machine in the AIR runtime.

    From: http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

    "Adobe continues to invest actively in allowing developers to create and deploy Flash based content such as mobile (or office) applications through Adobe AIR."

  • Error loading of ipa to appstore with the new sdk of air

    Hi everyone... I will resume my story:

    I got the "ERROR-ITMS-9000:"invalid Segment alignment. " This application has no alignment good segment and must be rebuilt with the latest version of Xcode. Please contact Developer Technical Support if you need help. »

    and went to the https://forums.adobe.com/thread/1584796?start=0 & tstart = 0 but it is blocked and the victory download files take me nowhere... I tried with the AIR sdk beta (. 302) (it's beta when I tried) and the ipa sent to the appstore... now I have this error

    'ITC.apps.assetvalidation.PURPLE_EXECUTABLE_OUT_OF_ALIGNMENT.error.message '.

    What can I do? This https://dh8vjmvwgc27o.cloudfront.net/airsdk_ld64/archive_air_15.0_with_asc2_drm_sdk.zip will not download (says access denied)

    Well... it is now resolved! Don't know why because we did two things: tried the Beta SDK.349 and we are not sure that the person in charge downloads was submit the correct version as with the last itunes change he got a bit confusing... so if anyone finds this: try the SDK 302 again or 349 Beta... and try to present with apploader and not itunes conect

  • some fundamental issues for air on the playbook

    Hello

    some basic questions that I couldn't easily find the answers to:

    (1) the application of air for the playbook should be a project mobile flex?

    (2) are supported for the flex charts playbook or not?

    (3) the main file must be a file of .as actionscript under the getting started guide, or can it be a mxml file?

    use an application windowed right now and it works fine, so I don't know what the benefits or disadvantages or stipulations are around that.

    Cheers!

    In response to #1, the QNX are 'similar' to the regular controls Flex/Air, but they are not very mature and behavior didn't is not a wait sometimes if you have developed in Flex for a number of years.  If you are newer to Flex, you probably don't know the difference.  It's still a version beta API, so either the API:

    (1) not implemented

    (2) not fully implemented

    (3) not implemented as planned

    (4) odd API approach or architecture (odd = not Flex like)

    That said, a cunning person can get a very good app using AS and controls QNX.  Just be prepared to work around some problems.  If your application is simple enough (not too many controls), so it's not too bad.  But you will find you scratch your head and ask "why in the heck did do that?

    I can tell you one thing, if this forum was not so active, I think there would be much less ready applications for PB.

    Good luck.

  • Licenses in common/dynamic: all the PlayBook apps use it yet?

    I'm curious to know if anyone uses licenses either grouped or dynamic models in their PlayBook application, even if you are totally ignorant in the application itself.

    In other words, you configured license model for your application in the portal provider to be either people?

    In the affirmative, please let me know what the app is so I can buy and download it (preferably not an expensive application ).  I'm interested in looking at the content of the app folder in archive (since RIM has kindly put trivial for it) to see if there is something in there that represents the license key data.  (I checked about 100 applications so far and none have resorted to these licensing models, but mostly I just checked in free applications.)

    If this information is displayed, it should be possible to recover in the application and use it to "close the loop" on this license thing and actually start to use this mechanism to protect against piracy.  It would also largely irrelevant that our applications are completely exposed in backup archives for now.  (After all, when was the last time you used the software on a PC which can not examine in detail, if you were so inclined?)

    Okay, so I finally found the license key in the PlayBook.

    As mentioned earlier, at first, I was using my sandbox account to buy the app, and although the key appears immediately after download, it seems not be stored anywhere.  (She was also the license key delivered to the original purchaser of the application according to the portal provider report of purchase, but that's a story for another time.)

    I've disabled my sandbox account and tried again.  As mentioned, this time, that the license key appears whenever I run App World and let me easily tap to copy to the Clipboard.

    I wouldn't be hard to have a user that and stick it in a field in my application to activate it, if I were to add such a feature.  It may take a bit of practice for them to do, and I could very well imagine that support costs could be quite high, because many users would not probably has an idea how to follow instructions.  RIM: this should really be improved with an API!

    Anyway, I did another backup for DM and looked at the archives.  This time I was able to find the license key in the backup, if it is not in the folder of my own app.  I won't go into the details here... it benefits no one.

    I don't see that there is no way for our applications retrieve this information programmatically, so for now we seem to depend on the user action manual, which sucks, but at least gives us a step in the right direction.  For an application with sufficient value to justify the cost of implementation of this and support/training/mothering users through the technique of the copy/paste the license key, it is at least technically feasible now for use as a method for the best protection against copying.

  • Background tasks repeated on the PlayBook?

    Hello!

    I need to know if there is a way to implement a background task repeating for the PlayBook within a WebWorks app? I've used the search function, but it seemed that this is not possible, but I can't believe that.

    Is there a chance to make any kind of workaround or mix things (maybe have a code in the application, as well as native code webworks or something else)? If Yes, could you do a picture what needs to be done to get the background tasks repeated work?

    Thanks in advance.

    See you soon,.

    Sven

    Hi Sven,

    I think we've covered this broad already via Twitter, but I wanted to answer for others here in the forums.

    Currently the Tablet OS does not support background tasks.  Features of the application can run only during the execution of the application itself.

    To achieve something as a data synchronization, I would recommend this doing in the background while the application is open and during its lifecycle from start-up. This can be accomplished by using async XmlHttpRequest and perhaps even the Web workers?

    See you soon,.

    Adam

  • Basic authentication with the RESTful WEb service and a Web Service reference

    Hi all

    We have made significant progress on getting an application to work with RESTful web services, but are now trying to understand how to lock a RESTful Web service while making it available for a particular application.

    We use one of the 'emp' table sample web services come with Apex 4.2 and are trying to apply the Basic Auth to the WEb Service using Weblogic filter defined in the web.xml file. Which works very well. I now get challenged when I try to go to:

    https://wlogic.edu/Apex/BNR/ACE/HR/empinfo/

    And when I authenticate this challenge, I am able to get the data. (we are usiing the Weblogic-level LDAP authentication)

    However, I'm not sure how to get even basic authentication to work with Web Service reference in my application. I see the error message in the application when I try to call this Web Service:

    401 Unauthorized <

    And I see:
    "The request requires user authentication. It MUST contain a header field WWW-Authenticate (section 14.46) containing a fault that is applicable to the requested resource. The client MAY repeat the request with a suitable authorization (section 14.8) header field. If the request already includes identification of the authorization information»

    How can I provide the credentials in the Web reference or provide credentials in the Application?
    Web service works fine if I remove the auth basic RESTful web service in the Web.xml file.

    We should NOT use basic auth and auth Weblogic web service definition basic RESTful Workspace use instead. If so, how would we implement THIS basic authentication in the definition of Web Service and the Web SErvice reference on the application?

    Thank you
    Pat

    Hello Scott,

    Thank you. There is a function for rest in the package:

    function make_rest_request(
    --
    -- This function invokes a RESTful Web service with the supplied name value pairs, body clob, or body blob
    -- the response as an clob.
    --
    -- Arguments:
    --   p_url                  The url endpoint of the Web service
    --   p_http_method          The HTTP Method to use, PUT, POST, GET, HEAD or DELETE
    --   p_username             The username if basic authentication is required for this service
    --   p_password             The password if basic authentication is required for this service
    --   p_proxy_override       The proxy to use for the request
    --   p_body                 The HTTP payload to be sent as clob
    --   p_body_blob            The HTTP payload to be sent as binary blob (ex., posting a file)
    --   p_parm_name            The name of the parameters to be used in name/value pairs
    --   p_parm_value           The value of the paramters to be used in name/value pairs
    --   p_wallet_path          The filesystem path to a wallet if request is https
    --                          ex., file:/usr/home/oracle/WALLETS
    --   p_wallet_pwd           The password to access the wallet
    --
        p_url               in varchar2,
        p_http_method       in varchar2,
        p_username          in varchar2 default null,
        p_password          in varchar2 default null,
        p_proxy_override    in varchar2 default null,
        p_transfer_timeout  in number default 180,
        p_body              in clob default empty_clob(),
        p_body_blob         in blob default empty_blob(),
        p_parm_name         in wwv_flow_global.vc_arr2 default empty_vc_arr,
        p_parm_value        in wwv_flow_global.vc_arr2 default empty_vc_arr,
        p_wallet_path       in varchar2 default null,
        p_wallet_pwd        in varchar2 default null ) return clob;
    

    My point was that using the API makes things easier if you have to look for a solution.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Trouble Shooting basic steps if the printer cannot communicate with the computer.

    Here are the steps to follow if your printer has problems to connect to a computer for basic troubleshooting.

    USB:

    1. Make sure that the USB cable is connected sucurely at both ends.
    2. Make sure that the USB cable is connected directly to your computer.  If you have a USB hub between the printer and the computer, it can cause communication problems.
    3. Make sure that your do not plug the USB key into a USB 3.0 port.  HP printers do not work with USB 3.0 connections and can prevent the computer to see the printer.
    4. Make sure that the USB cable is less than 6 ft.  No more 6 ' can generate signals lose who will cause problems of miscommunication.
    5. Have a backup USB cable.  The truth is USB cables are good markets for be sold at low prices.  Sometimes they last for years without any problem.  Sometimes they are bad when buy you them.  It's really just a matter of chance.  The chances of getting a bad store fees are quite low, but it happens and it never hurts to prepare.

    Wireless and Ethernet:

    1. Follow all the steps in this document.  Do step in the document will ensure that your printer on the network and has a stable connection.  The only thing to change is under the fifth step.  Under the fifth step, it tells you how to set DNS information on your printer.  It tells you to use the IP of your router.  Do not.  Use the public DNS to Google for favorite 8.8.8.8 and 8.8.4.4 for the alternate.  The reason why I use Google DNS is twofold.  (1) HP printers seem to connect better with Google DNS.  (2) If your printer has web services, web services have a better chance to connect with Google DNS.
    2. If your anti-virus software has a firewall, disable it.  Anti-virus firewall can block network communication between devices on the same network, and disabling the firewall may allow communication to flow normally.  If the firewall is the problem, there are ports you need to open once you activate the firewall again.  These ports will be listed at the end of this post.

    These are the basic things that you can do if you think you have problems with the printer and computer to communicate with one another.

    HP printer ports

    UDP

    TCP

    Acronym

    Definition

    Used for

    137

    137

    NetBIOS

    Network Basic Input/Output System - (basic communication)

    UDP: Card printing, Photo Upload

    138

    NetBIOS

    Network Basic Input/Output System - (basic communication)

    UDP: Photo card download

    139

    NetBIOS

    Network Basic Input/Output System - (basic communication)

    TCP: PhotoCard Upload

    161

    SNMP

    Simple Network Management Protocol - monitoring network devices

    UDP: print

    427

    427

    SLP

    Service Location Protocol (know what things can do on the network)

    UDP: Card printing, Photo Upload, scan, fax, Installation

    9100

    PDL

    page description language - print control language (how the printed page you want to watch)

    TCP: print

    9220

    TCP: Scanning, fax

    9500

    TCP: scanning

    I hope this helps.

  • My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    My screen goes black and the start menu does not load after start up logo and the only thing on the screen I see is my mouse pointer

    Hello

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

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

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

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

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

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

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

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

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Problems with qnx.display on the PlayBook.

    Hello.

    I'm currently experimenting with access multiple monitors on the BlackBerry PlayBook. I set up an app to demo simple to test the basic functionality, based on the examples in the documentation: https://developer.blackberry.com/air/apis/qnx/display/Display.html#isAttached)

    package
    {
        import flash.display.Sprite;
    
        import qnx.display.Display;
        import qnx.display.DisplayMode;
        import qnx.display.MirrorMode;
    
        [SWF(height="600", width="1024", frameRate="30", backgroundColor="#FFFFFF")]
        public class Demo extends Sprite
        {
            public function Demo()
            {
                var myDisp:Display = Display.display;
    
                if (myDisp.isAttached(1)) {
                    myDisp.setRotation(1, 0);
                    myDisp.setMirrorMode(1, MirrorMode.STRETCH);
                } else {
                    myDisp.setRotation(0, 90);
                    myDisp.setMirrorMode(0, MirrorMode.NORMAL);
                }
            }
        }
    }
    

    However, the PlayBook crashes once I have use setMirrorMode() or setRotation(). setMode() seems to work fine... I use the current version of the firmware (2.0.1.358).

    You have an idea how I can fix this problem?

    Hello

    I filed a bug for this. It will be reviewed and updated in a future release.

    Kind regards

    Dustin

  • 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

  • Problems of huge performance with the list of scrolling on the Playbook (especially Air applications)

    Hello

    It is more of a general question but also for the development of Air for the Playbook and other devices BB10.

    My Playbook has huge performance problems when it comes to scrolling lists.

    And this problem exists with almost all applications (not the ones that I have developed).

    For example, take a look at the app NTV - such its bad, its almost unusable because it's so late when scrolling lists.

    I don't know how this app was developed, but I guess it's Webworks or Air.

    You can see this delay also in the official app of Facebook: it's the same poor performance when it comes to scrolling.

    I guess this Facebook app is also WebWorks or Air.

    So Air or usable at all WebWorks?

    This performance is not fun, and it has no sense to develop applications with this platforms if these performance issues are of type platform.

    Now, my question is - is it true that the only platform that "really works at all" (about performance) is the native "platform"?

    Or is it a problem in the current version of the Playbook OS?

    Else you have noticed that this operation met during the scrolling of lists?

    Thank you

    Bullety

    It's a question AIR, specifically made software. All of the applications you listed are AIR. Try something like Scrapbook, and you see things how smooth can be (waterfalls).

    I saw not the same problems when using WebWorks with Sencha Touch. It is also quite possible to make things smooth in the NDK with waterfalls, but it's only for BB10 (for developers non - RIM). So cannot use it PB BB10 release (end of 2012).

    I also note that the new fuse QNX user interface components are much smoother than conventional QNX UI components. If you use make sure you air that you use.

  • Logging of the PlayBook errors

    Is there a way I can see trace connects the physical device of the Playbook?

    I came back to an application after a few weeks to see that when it unfolds in developer mode, it just hangs. I tried debugging, but who does not work for me at the moment for some reason any (using FDT - but this is something else), so it would be nice if I could draw some things to see where the problem lies.

    I've not bothered with the Simulator (is not done for some time) that the application relies on the features, it supports not - but I may have to see if it at least shows the error. I was just trying to do not have to configure again for the latest SDK and be able to see the trail connects the device would be extremely useful.

    See you soon

    Greg

    greg209 wrote:

    Is there a way I can see trace connects the physical device of the Playbook?

    All output stdout from the application, which includes the trace() output, goes in a file in the folder of sandbox the application under logs/air-route.  You can see that several ways.

    1. SSH into the Tablet, cd to the application folder, then in the logs subfolder and type "tail-f air-track" after the launch of the app.  You'll see the output in near real-time as it is written in the file.  If you do this before you run it, the program 'tail' will not see the recently opened log file so you will see only the last few lines since the content of the previous file.

    2. same as above, but use "cat air-track" or "less air-trace" after operation and exit the application.  This works even if you have run the app a day ago and want to see what he wrote in the file at the time.

    Options above require that you first run 'blackberry-connect' to open the necessary port on the PlayBook so he will listen to the SSH connection. The following option does not require this step

    3 transfer the file to your PC using the "-getFile ' option on blackberry - deploy the command should look like this

    blackberry-deploy -package MYAPP.bar -device PBIP -password PBPASS -getFile logs/air-trace myapp.lo
    

    After that, you will find the air-trace file in your local phone book under the name of myapp.log

  • Java programming on the playbook

    Nice day.

    I started development on the playbook using QNX, as the implementation of the development environment has been well documented. However, I am very confused about how to develop using Java.

    First question is to develop Java applications on the playbook?  It's doable for phones me but I'm really confused weather it of doable or not on the playbook.

    If so, how can I set up my dev environment?

    Thank you in advance.

    You can transfer your Java Android app. It's as close to java support you will get on Playbook.

Maybe you are looking for