blackberry tutorial

Dear moderator,

Hello everyone

Please help me find a tutorial on developing blackberry... I can not found on the site... I am asking only here about this... Please give me a link to learn more about the blackberry platform

Here, read this:

http://docs.BlackBerry.com/en/developers/deliverables/6625/index.jsp?name=UI+guidelines+-+BlackBerry...

And for the future, you may consider to use this:

http://docs.BlackBerry.com/en/developers/?usertype=21

Tags: BlackBerry Developers

Similar Questions

  • XML file works only with XmlDataModel

    Hi all

    I'm developing a simple picture viewer using the online service www.imgur.com. It's going to be free and without advertising that allows using the normal API pretty easy. I followed the tutorials on the dev site to send an http request and receive the response. I managed to do all that finding, but I'm stumped trying to apply the http response in my ListView.

    The response is an XML file, but with child elements rather than attributes for more information. I tried to get my response working with the tutorial here:

    Networking Dev BlackBerry tutorial

    more specifically, this part of the code

    // Create the data model using the contents of the file. The
            // location of the file is relative to the assets directory.
            XmlDataModel *dataModel = new XmlDataModel();
            dataModel->setSource(QUrl("file://" + QDir::homePath() + "/model.xml"));
    
            // Set the new data model on the list and stop the activity indicator
            mListView->setDataModel(dataModel);
    

    But I can't work. I read from different people (but not confirmed what whether doc) that the XmlDataModel cannot be used with child element type XML files? If so, can someone point me in the direction of the conversion of an XML attribute type?

    The DataSource object can manage lists XML child element, and it manages the query part of network too. It is however quite limited in its ability to manage structures complex multi-level, so it may or may not be suitable for your use. Without an example XML file, I can't say for sure if DataSource would deal with it, but it's probably something worth investigating.

  • The call for a third party lib/jar

    I got this blackberry tutorial to work using native code:

    ---
    The tutorial
    http://InfoCenter.Sybase.com/help/topic/com.Sybase.InfoCenter.dc01214.0200/doc/HTML/title.html

    the zipper to the tutorial already done:
    http://www.sdn.SAP.com/irj/BPX/index?RID=/WEBCONTENT/UUID/40ea4956-b95c-2e10-11B3-e68c73b2280e

    ---

    Now that I got this race, I need to run in WebWorks

    I managed to create all the code and I need plugins, but I can't get the last piece to work:

    when I add the pot inside the plugin: I get the following error message when I run the app

    > MyApp from error: Module 'MyApp' has verification error 1691 to
    > offset (file version of code 79) 0ed9

    when I push the jars manually: (it is the operation of the application to native code) I get a classnotfoundexception when I try to call in the form of code libraries.

    My conclusions are:

    -in the case I put the pots inside my plugin, the code is not written in a way that BBWP can compile properly and causes errors when you run the application. This can only be corrected by the authors of the lib.

    -where I push the lib on the phone, I think Miss me something in my config to indicate my webworks project to use the files that are outside the project.

    so my question is :

    How to make a project of webworks blackberry to use the libraries I have deployed on the device in the same way as the blackberry eclipse plugin?

    Therefore, scenario 1

    OK, you'll have to do the following things to use:

    (1) write a Java extension that uses this library. Follow the Jeff tutorial on how to get set up and extended using the eJDE/JDE. It will essentially be a library project that has the library of Sybase on its classpath. Test it, make sure that everything on the Java side works as expected.

    (2) copy or package your extension in a subfolder of your choice in the folder "ext" package WebWorks Manager installation.

    (3) library of part of copy the 3rd POT in the same subfolder created in step 2 to the root of your package structure.

    (4) create the library.xml to the extension and make sure you include the tag of dependencies that Jeff has mentioned above. He needs to reference the JAR correctly.

    (5) to deploy Sybase COD files on your device.

    (6) add the tag from your config.xml of your WebWorks app file extension.

    (7) performance bbwp to build your App WebWorks deploy to the device and it should be able to link to the library of Sybase correctly.

    What you do in steps 3 and 4 says bbwp to include the JAR files to the classpath when you compile your application with the extension. This will allow the application to compile successfully. The contents of the JAR are now part of the file of your application WebWorks COD and hopefully will allow him to link during execution with the cod of the library prédéployées.

    Let me know if this worked for you.

  • Reading of texts

    Apologize if this sounds like a newbie quesiton.

    I tried to read the string in the file that is located in the /res folder. This code is based on the following knowledge base:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To _...

    Now, I have tried the code in the Knowledge Base, and it was working fine. I want to code a little, so I have the app in a form, which contains labelfield and a button field. When the button is clicked, I want to read the file.

    The code is as follows:

    public class ReadTextFile extends UiApplication {
        public static void main (String args[]){
            ReadTextFile app = new ReadTextFile ();
            app.enterEventDispatcher();
        }
    
        public ReadTextFile(){
            pushScreen(new ReadTextScreen());
        }
    
    }
    
    final class ReadTextScreen extends MainScreen{
    
        public ReadTextScreen(){
            setTitle(new LabelField("Test Reading File"));
            LabelField labelFld = new LabelField("Click Button");
            add(labelFld);
            ButtonField readButtonFld = new ButtonField("Read");
            readButtonFld.setChangeListener( new FieldChangeListener() {
    
                public void fieldChanged(Field arg0, int arg1) {
                    TextRetriever r = new TextRetriever("text.txt");
                    Dialog.inform("Reading success! " + r.getString());
                }
            });
    
            add(readButtonFld);
        }
    }
    

    TextRetriever.java:

    public class TextRetriever {
        private String _filename;
        private String _read;
    
        public TextRetriever(String filename){
            _filename = filename;
            _read = "";
            run();
        }
    
        private void run(){
            try {
                Class claz = Class.forName("net.realnetworks.blackberry.tutorial.TextRetriever");
                InputStream is = claz.getResourceAsStream("/" + _filename);
                InputStreamReader reader = new InputStreamReader(is);
                char c;
    
                while ((c = (char)reader.read()) != -1) {
                    _read = _read + c;
    //                System.out.print(c);
                }
                reader.close();
                is.close();
            } catch (Exception e) {
                System.out.println("Error in reading text.txt. Error: " + e.toString());
                //e.printStackTrace();
            }
        }
    
        public String getString(){
            return _read;
        }
    
    }
    

    When I tried the code in the BlackBerry Simulator, and when I clicked on the button, the process seems to run forever. I was looking at the console, he printed a lot of things I did not understand, such as...

    JVM: bklt[1] @261804: idle 15
    JVM: bklt @261804: setTimer 15
    VM:PFLAs=1e000
    VM:+GC(f)w=20
    VM:-GCt=10,b=0,r=0,g=f,w=20
    VM:QUOT t=1
    VM:+CR
    VM:-CR=0
    VM:+RP!w=14,a=29M,s=8.1K
    VM:+GC(r)w=5
    VM:-GCt=10,b=0,r=0,g=r,w=5
    VM:-RP!s=37.7M
    VM:PCSTt=0,m=1,o=7,n=7,b=2592934,a=2592934
    

    Which prints over and over again. Where am I wrong? The code looks ok to me.

        // Coded as a static 'helper' method that may be used from other classes
        public final static byte [] readDataFile(String fileName) {
            System.out.println("Reading file from cod: " + fileName);
            InputStream is = null;
            byte [] response;
            try {
                // The class name is the fully qualified package name followed
                // by the actual name of this class
                Class classs = Class.forName("net.realnetworks.blackberry.tutorial.TextRetriever");
                // to actually retrieve the resource, prefix the name of the file with a "/"
                is = classs.getResourceAsStream("/" + _filename);
                //we now have an input stream.
                response = IOUtilities.streamToBytes(is);
                return response;
            } catch(Exception ex) {
                System.out.println("Exception reading file: " + fileName + " : " + ex.toString());
                return null;
            } finally {
                try {
                    if ( is != null ) {
                        is.close();
                    }
                    is = null;
                } catch (Exception e) {
                }
            }
        }
    

    Can't see anything obviously wrong with your code, you have reinforced with her.

    But I must say that this is not the best piece of code I've seen, especially because of the way you concatenate the string.  Because strings are immutable, this will result in a large number of objects String is created and discarded, which would explain Garbage collection, you see.

    (the line in the journal "VM: + GC (f) w = 20" is, I think, a full garbage collection)

    Above is a code I knocked up which will return the data as a byte stream file more efficiently your code I think.  You need a new String (response) to get the string.  Note that there is no need to create an object to do this - you just need to run code, so a static method is fine (and more effective).

    Note that this code that I have written, not tested, may not work, you get the picture...

    Ed.  Sorry, inserted forum code before the notes!

  • tutorial open gl for developer java blackberry

    I want a java opengl for blackberry developer tutorial... Please help me...

    I want to create a game then I want the bigenner high-level tutorial...

  • Smartphones blackBerry how to back up the data on my curve? Is there a good tutorial on the curve?

    I have manually entered the names and addresses on my curve... How do I save?

    Is there a good tutorial anywhere to the curve?

    Hi leenet,

    Start with the installation of the cd supplied with your phone, the desktop inside software.

    Desktop software does the following:

    Backup and restore

    Synchronize (to keep your device PC and BB contacts, calendar sync etc.)

    Charger apps if you find a few apps from third-party that you want to load e.g. weatherbug, Google maps, themes, etc.

    And Media Manager, allowing the management of media between PC and BB unit.

    Here are two links to help you on your way:

    http://NA.BlackBerry.com/eng/support/blackberry101/

    http://CrackBerry.com/BlackBerry-101-how-lecture-series

    and it comes to the knowledge base of Blackberry for the backup:

    http://www.BlackBerry.com/BTSC/articles/853/KB12487_f.SAL_Public.html

    I go through the 101 classes and go through the CD that came with your device.

    Let me know if you need anything else!

    Thank you

  • Configuration of e-mail of Smartphones from blackBerry not as tutorial on my storm

    I was able to transfer all my details of my Pearl to my Storm 9530 new using the Blackberry Desktop Manager.

    That said, I try to activate my email on the storm and it's my butt.  The tutorial works through the implementation of e-mail and ask for an email address again mine never gets to this point.  It requires an account name and password and I'm not sure if this is my email address or what.  Whenever I try to aadd a name and a password, it is said that this PIN is already associated with another account or something like that.  I never get to the point where he asks me an e-mail address.  Any ideas or pointers out there?  Thank you

    Zoli

    OK, you need to call verizon and they will give you your log in info...

  • Smartphones from blackBerry Curve 8330 manual, tutorial, other?

    After receiving my new curve, I had to take it back twice with "software problems."  Now, it seems to work very well, however I can't figure out how to set certain characteristics.  For example, the recall of the calendar seems to work, but I get no sound advising me of the appointment.  The alarm does not sound as.

    Using the help function, I do not understand how to do what it says.  That is to say, I'm going to the alarm, press the alarm, and there is nothing there to tell me about the alarm.

    Under Notification profiles, an option appears "I get no notification of incoming calls or messages."  The answer is «Try...» "In the list of profiles - well, where IS the profile list?

    I just need a basic manual.  Everything that exists?

    If this satisfies your request please solve the thread, the author, you're the only one who can do it.

    Use the options on the yellow star Bravo. So other users can find resolutions faster.

    Thank you very much!

  • How to connect my Blackberry and my computer with Bluetooth?

    I was wondering how to connect my blackberry and my computer with bluetooth and I tried, but he will not find my device. I don't know how check that the Bluetooth software included with Windows.

    Hello

    ·        Who is the manufacturer of the system and what is the model?

    I suggest you to consult the tutorial that is mentioned below. You also have a section that tells you how to check that the Bluetooth software included with Windows. If your system has been installed on the Bluetooth system then the icon will appear in the notification area. If this isn't the case, you must install the Bluetooth drivers on the system.

    How to set up Bluetooth connectivity between a smart phone BlackBerry and BlackBerry Desktop Manager

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB04132

    I suggest you return the item mentioned below.

    Set up a Bluetooth compatible device

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-a-Bluetooth-enabled-device

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Could not ask for the keys to Blackberry

    Code Signing page, couldn't ask the Blackberry keys order form because its automatically disconnect when I clicked on the option forBlackberry 10.1 above. I tried already several times.

    Please advise kindly. Thank you.

    I didn't belive unit updated their SDK for BlackBerry ID support chips.  You can use the link on the form of signature for BlackBerry 10.1 below, allowing you to ask the SJC of files that you can use to sign with the unit.  We have not a tutorial on our site for the signature in the unit.  Best to check their documentation for these steps.

    But if you can produce an unsigned release BAR since the SDK of the unit, you can still use our tools to sign using the following command:

    BlackBerry-sign - storepass

  • How do to call the BlackBerry menu form share an Adobe Air application?

    Hello

    I'm looking for a tutorial or demo code that describes how to call the BlackBerry menu sharing an Adobe Air based application.

    I found a tutorial of waterfalls for it - there's one for Adobe Air too?
    - http://bbcascadescode.tumblr.com/post/38998702671/invoke-share-for-bb10

    This is a screenshot of the Action menu:

    Advice welcome!

    Here you go:

    package com.lib.playbook.invocation
    {
        import com.lib.playbook.controls.List;
        import com.lib.playbook.pages.TitlePage;
        import com.lib.playbook.renderers.IconListRenderer;
    
        import flash.events.Event;
        import flash.events.IEventDispatcher;
    
        import qnx.events.InvokeEvent;
        import qnx.events.InvokeQueryTargetEvent;
        import qnx.fuse.ui.core.Action;
        import qnx.fuse.ui.events.ActionEvent;
        import qnx.fuse.ui.events.ListEvent;
        import qnx.invoke.ActionQuery;
        import qnx.invoke.InvokeManager;
        import qnx.invoke.InvokeRequest;
        import qnx.invoke.InvokeTarget;
    
        public class InvokeSearchPage extends TitlePage
        {
            private var request : InvokeRequest = null;
            private var targets : List = new List();
    
            /////////////////////////////////////////////////////////////////////////////////////////
            public function InvokeSearchPage()
            {
                super();
                this.title = 'Search With';
                this.titlebar.dismissAction = new Action( 'Cancel', null, {id:'cancel'} );
                this.titlebar.addEventListener(ActionEvent.ACTION_SELECTED, ActionSelected );
    
                this.targets.cellRenderer = com.lib.playbook.renderers.IconListRenderer;
                this.targets.addEventListener(ListEvent.ITEM_CLICKED, TargetSelected );
                this.targets.rowHeight = 140;
                this.addChild( this.targets );
            }
    
            ///////////////////////////////////////////////////////////////////////////////////////////
            public function filter( request :InvokeRequest ) : void
            {
                this.targets.removeAll();
    
                this.request = request;
    
                //trace( 'filter ' + request.mimeType );
                InvokeManager.invokeManager.addEventListener( InvokeQueryTargetEvent.SUCCESS, TargetsFound );
                InvokeManager.invokeManager.queryInvokeTargets( request.mimeType, request.uri, request.action, request.targetOptions );
            }
    
            ///////////////////////////////////////////////////////////////////////////////////////////
            private function TargetsFound( event : InvokeQueryTargetEvent ) : void
            {
                InvokeManager.invokeManager.removeEventListener(InvokeQueryTargetEvent.SUCCESS, TargetsFound );
                //trace( 'TargetsFound' );
                var action : ActionQuery;
                var target : InvokeTarget;
                for each( action in event.actions )
                {
                    for each( target in action.targets )
                    {
                      this.targets.addItem( { data : target.target, label : target.label, icon : 'file://' + target.icon } );
                    }
                }
            }
    
            ////////////////////////////////////////////////////////////////////
            private function TargetSelected( event :Event ) : void
            {
                if( this.targets.selectedIndex >= 0 )
                {
                  this.request.target = this.targets.selection;
                  InvokeManager.invokeManager.invoke( this.request );
                }
            }
    
            ////////////////////////////////////////////////////////////////////
            private function ActionSelected( event :ActionEvent ) : void
            {
                switch( event.action.data.id )
                {
                    case 'cancel' : this.dispatchEvent( new Event( Event.CANCEL ) ); break;
                }
            }
    
            //////////////////////////////////////////////////////////////////////
            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
            {
                super.updateDisplayList( unscaledWidth, unscaledHeight );
    
                this.targets.setPosition( 10, this.top + 10 );
                this.targets.setActualSize( unscaledWidth - 20, unscaledHeight - this.targets.y - 10 );
            }
        }
    }
    

    And the rendering engine:

    package com.lib.playbook.renderers
    {
    
        import qnx.fuse.ui.display.Image;
        import qnx.fuse.ui.listClasses.CellRenderer;
    
        public class IconListRenderer extends CellRenderer
        {
    
            private var icon    :Image = new Image();
    
            /////////////////////////////////////////////////////////////////////////
            public function IconListRenderer()
            {
                super();
            }
    
            ///////////////////////////////////////////////////////////////
            override protected function onAdded():void
            {
                super.onAdded();
                this.addChild( this.icon );
            }
    
            ///////////////////////////////////////////////////////////////
            override protected function onRemoved():void
            {
                super.onRemoved();
                this.removeChild( this.icon );
            }
    
            /////////////////////////////////////////////////////////////////////////////////////
            override protected function drawLabel(unscaledWidth:Number, unscaledHeight:Number):void
            {
                super.drawLabel( unscaledWidth, unscaledHeight );
    
                if( this.data )
                {
    
                    if( this.data.hasOwnProperty( 'icon' ) && this.data.icon != null )
                    {
                        this.icon.setImage( this.data.icon );
                        this.icon.setPosition( 10, 15 );//( unscaledHeight - this.icon.height ) / 2 );
                    }
                    else
                    {
                        this.icon.setImage( null );
                    }
    
                }
    
                this.label.x = 140;
                this.label.width = unscaledWidth - this.label.x - 20;
            }
        }
    }
    

    references com.lib.playbook our our inner classes, but you should get the approach to apply.

  • Tutorial of WebWorks Hello World, Webworks SDK tool hangs in the browser

    Being very new BlackBerry WebWorks and Cordova, I would please help get implemented with WebWorks Hello World tutorial.

    Platform: Windows 7 ultimate x 64 chrome 31.0.1650.63 firefox version m 26, Blackberry Web Works SDK Version 2.0BETA & Blackberry Web Works SDK 1.0.4.11, MomenticsIDE, 3.3.1 - 0.1.2 of cordova, VMWare Player version 5.0.3 build-1410761 using BlackBerry10Simulator.vmdk

    Background:

    I followed the tutorial began getting ( https://developer.blackberry.com/html5/documentation/beta/getting_started.html ) and I checked several times to make sure I did it correctly.

    Also, I tried to follow along with the Blackberry guides provided by cordova ( http://cordova.apache.org/docs/en/3.3.0/guide_platforms_blackberry10_index.md.html#BlackBerry%2010%2... ).

    I tested this problem using Blackberry 10.2.0 Simulator both 10.2.1 in VMWare Player.

    Unfortunately, when I followed the tutorial, sure I get to the point in the project when I press save, then chrome & firefox (I tried both) they cling. For more details and photos, you can see my post to http://stackoverflow.com/q/20907450/2115934 and this http://pastebin.com/BjCxHDfB .

    Finally, I don't know if this is related, but when I try to run

    webworks target add   [ -t device | simulator]  [-p ]  [--pin ]
    

    As described in the section for the definition of objectives, I get this error:

    'webworks' is not recognized as an internal or external command
    operable program or batch file.

    This makes me wonder if I was not properly installed webworks, or if I had to set the system path variable.

    My system path Variables

    C:\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\Java\jdk1.7.0_45\bin\;C:\Program Files\nodejs\;C:\Windows\Microsoft.NET\Framework\v4.0.30319;Z:\adroidsdk\platform-tools;Z:\adroidsdk\tools;ANT_HOME=Z:\ant\apache-ant-1.9.3;JAVA_HOME=C:\Program Files\Java\jdk1.7.0_45;Z:\ant\apache-ant-1.9.3\bin;Z:\bbndk\host_10_2_0_15\win32\x86\usr\bin;Z:\BB10WebWorksSDK\cordova-blackberry\bin\dependencies\bb-tools\bin;Z:\MomenticsIDE_BBNativeSDK\host_10_2_0_15\win32\x86\usr\bin
    

    I would be very grateful for advice on how to proceed.

    This is the output of the variable path on the command line? It is strange to see the ANT_HOME and other variables put there - I'm not sure that should be there, but it would not be the problem here either.

    What I see missing is a reference to the new SDK WebWorks. When you ran the Setup program, it must have created a new user named WEBWORKS_HOME Environment Variable that must be set to the location where it was installed. Then, he should have added % WEBWORKS_HOME %; your variable to the path of the user. It doesn't look like that's happened. Maybe you can try to install again and it must put these variables. You can try to add yourself as well but a relocation should include everything that is missing.

    This lack of access path variables are why the webworks command does nothing, and because the GUI calls simply orders webworks, thats why that is also a failure.

    It is possible that there is a problem with the Setup program if it does not have the permissions required to create these variables.

  • Q10 Q10 blackBerry Chargers

    I have a new Q10, (also a Z10 and a Playbook).  Q10 was purchased on eBay at the suggestion of the Director of the local bank of T-mobile, which has been unable to provide one.

    The phone itself works fine, but the charger provided did not provide it.  A red exclamation point appears over the battery icon.

    The seller was very good about it and has provided three other chargers, none will work on the Q10.  They also provided a 'free' car charger that works.

    These are type Chargers small cube with a USB port and sync cable.  They carry the BB logo.

    I can load the Q10 by cables to sync my laptop, I can also load the Q10 using chargers for my Z10 and Playbook. (The charger Z10 appears identical to Q10 Chargers that don't work).  Q10 Chargers will charge my Z10, just not the Q10.

    Q10 is an unlocked AT & t phone that I use with a T-mobile SIM card on T-mobile's network.  The version of the OS is 10.1.0.2121.

    Anyone can mount any light this situation?

    Because your Q10 Chargers will charge your Z10, we can rule out the possibility of them being data cables only. A common suggestion when problems arise is to make sure that you use the most recent operating system, which you're not. Before racking your other brain, why not bump up to the most recent available OS and try loading your Q again.

    The best way to update your operating system is with Knowyou. @John_Clark has written a good tutorial to do:

    http://supportforums.BlackBerry.com/T5/BlackBerry-10-OS-device-software/upgrading-BB10-OS-using-Sach...

    Start with that and we'll pick up from there.

  • Classic activation error messages blackBerry - set up HELP

    Hi all

    I hope you guys can help as I ned it BIG TIME!

    I have to put up all of my work phones (30 + BB classic) and I struggle with the kick tutorial (even if I did it for 5 phones already) and if this does not prevent me then I get the activation error message advising me that I can not add a becuas of email account that is not completed the implementation of process or unit training tutorial (all tutorials are complete and have ticks next to them).

    Please help I need to get these all met as soon as possible. Its so stupid that Blackberry have this stupid process that does not allow a simple set up. Never came across something like this before where you cannot configure a phone without all this hassle account.

    Can anyone help?

    I googled this problem and could not find anything and then a colleague has tried and found this link which helped

    http://BTSC.webapps.BlackBerry.com/BTSC/ViewDocument.do;JSESSIONID=4995A7294DB493B8E06A24A8805C72D6?...

    still doesn't explain the stupid rules on tutorials with complete it.

    Can someone change Blackberry this pathetic rule?

  • Install the plug-in from BlackBerry to Android development tools does not download

    Hi all

    When I am trying to download Blackberry plugin for Android with the eclipse of "developer.blackberry.com/android/downloads/eclipseplugin/" all files are not downloading.Commandline tools for DURATION for Android App also does not work. A video tutorial is provided how to configure Blackberry plugin for Android, even as I did. I use the latest version of the Android SDK that comes integrated with Eclipse.

    No idea how to get the plugin. Thanks in advance.

    It is fixed. Only, I added "beta" at the end of the url string. But according to the guidelines of your document, it is not mentioned. Please add full URL include "beta" at the end of your document.

Maybe you are looking for