I can add to this code to create a contact button Add

I did the tutorial here http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Flex-for-the-BlackBerry-PlayBook-...

Is it possible to add an employee? If so, what is involved?

you have to watch where the contact data is stored.  IIRC, its a sql lite DB in this tutorial.

you would need a class or a function that can read and write to the database sql lite to add to the list.

Tags: BlackBerry Developers

Similar Questions

  • can someone explain this code

    Hello, when I look at this code, I do not understand a code, can someone explain this code?
    Thank you very much!!!

    The creation of a 'method' for a vector object (in the old style of class definition), which gives it a method with an argument in degrees rotate.

    It replaces the vector existing x and properties of y (in the part "with (this)" code) based on the angle that was passed.

    I don't know if it gives correct results, because I don't check the math/trig, but it is the interpretation of what I see. What exactly do you want explained more in detail?

  • With the help of A6, must create menu screen which allows the user to click a button creates a branch to other screens and return to the main menu. When returning to the main screen on which button will be gray or inactive.  How can I do this?  I created

    I am trying to imitate a piece of equipment.  I need the user to be able to click on the specific buttons that have the user to another or screens.  After viewing these screens that will be the user to the main screen where the user which buttons were pressed and which still needed to be pressed.  I create buttons image with the 3 States - who has worked except when the user returns to that slide is reset to zero, and if the user does not see the 3rd State of the button.  How can I get this 3rd State of stay after the user returns to the main screen?

    You can not 'keep' a State, that's what I said in my first answer: "you can create an image with that look of '3' State, make it invisible and show it with the same action when a button is triggered. You will need to insert extra that third picture, first hide it out and make it visible to the advanced action, which I explained. I called this additional 'Done_one' image in the example. The three States you're talking about are in a totally different way to Captivate: for down, more and up-state. You can just tell Captivate to keep a low State, it will be down when the button is pressed. Where my explanation of an additional image.

    No need for all the variables. Looks like you have a lot to learn about variables and advanced actions. I don't see another easy way to achieve what you want. It is not so difficult, tons of examples on my blog.

  • Bought an ipad at a reseller on ebay but the previous owner of the ipad has not removed its link to ID apple for ipad. How can I remove this link to create my own link ID apple now?

    Hi all

    I'm looking for emergency one-handed helpig on this:

    Bought an ipad at a reseller on ebay but the previous owner of the ipad has not removed its link to ID apple for ipad.

    What should I do to remove this link and create my own link to apple to my account alle ID now?

    Bright ideas?

    Thanks in advance.

    BR,

    Bodo

    Sorry, but the only option is to return the iPad.

  • I have 8 64-bit windows. my volume icon is no longer in the area of the taskbar. It's in the settings. How can I move this back to the taskbar. contacted hp three times. no help from them.

    I have 8 64-bit windows. the volume icon is no longer in the toolbar area. It's in the settings area of the computer. How can I move this back to the toolbar?

    Hello

    I don't know why it would be... does show the taskbar when you are on the desktop?

    As a last resort, you can try the "turn system icons on or" and "restore default icon behaviors."

    The parameter "turn system icons On or Off ' applies only to the taskbar...

  • can someone explain this code pls!

    speed * =. 98;
    (x = Math.sin(_rotation*(Math.PI/180)) * speed *-1;
    y = Math.cos(_rotation*(Math.PI/180)) * speed *-1;
    If (! _root.granica.hitTest (x, FLF, _x + y, true)) {}
    _x += x;
    FLF += y;
    } else {}
    speed * =-. 6;
    }

    Granica root is an instance name that I used, it can be something else...

    I think that shat speed is a variable or sth, cus I've already used it previously in the code and I guess now I'm just set...

    but someone pleasee help out me by explaining what part of the code, we hear what may...

    BTW I also think it has something to do with the trigonometric functions, that sin and cos...

    TNX in advance

    speed * =. 98; / / decreases the speed - IE, this object slow down gradually
    (x = Math.sin(_rotation*(Math.PI/180)) * speed *-1; / / these two lines cause the object to move in the direction of _rotation, rotation of the object
    y = Math.cos(_rotation*(Math.PI/180)) * speed *-1;
    If (! _root.granica.hitTest (x, FLF, _x + y, true)) { / / This checks no imminent collision with _root.granica }
    _x += x; / / If there is no collision that would happen, advance to this post
    FLF += y;
    } else {}
    speed * =-. 6; / / If there is an imminent collision, not to move on this loop inversion with a lower speed
    }

  • I have Windows 7 ultimate 64 bit product key and I can't activate this code error 0xC004E003

    It has been activated in my laptop but I wanted to expand my C volume, so I formatted C to do a clean install and now it cannot be activated so what can I do now to solve this problem?

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

    Is it an upgrade license?

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

  • How can I fix this code error "A with a square around itself"?

    Hello

    Hope that everyone is having a great day.

    Today I opened Dreamweaver to work on a Web site where I worked on for the past few days. This time, when I opened Dreamweaver > index.html, it shows the display live Web site perfectly without any error, but the code looks like this:

    Screen Shot 2015-07-21 at 9.46.14 PM.png

    I tried to look on the forums but no luck. Any help would be appreciated! Thank you.

    It sounds like a corruption of the font on your system, or possibly the preference for your fonts to display code has been changed in your DW preferences.

    Go in Edition > Preferences > fonts and check the Code view police. DW normally, use Source Code Pro. If you have something else selected, change it back and see if that fixes things for you. If you have Source Code Pro selected, it would appear that the police has gone wrong.

  • How can I get this code to block a police

    Hello

    I want to know how to get the definition of a font (TrueType), I found a block of code, and I assumed is the definition of the police in a PS file. Is this right?

    I added the part of the code, to explain myself better.

    $_FONT_ARIALMT = "% BeginResource: police ArialMT"
    Start ct_CffDict %
    %! FontType1
    dict 16 start
    / 15 FontInfo dict dup begin
    / Notice (Copyright (c) 1991, 1993, 1996, 1997, 1998, 1999 Adobe Systems Incorporated.  All Rights Reserved.Arial is a trademark of the Monotype, registered company in the patent and Trademark Office and elsewhere). def
    / version (001.001) def
    / Def FullName (Arial MT)
    / Def FamilyName (Arial MT)
    / Def (regular) weight
    / ItalicAngle 0 def

    How to get these lines, but another TrueType font?

    Thanks a lot for your help.

    "You find them in the files of fonts Adobe Type 1 with extensions of. PFB.

    It seems that you embed fonts in your application, and you will probably need decrypt and insert the entire PFB in your PostScript file, unless you have a mechanism to match the header with the rest of the file for a single reason.

  • I can't fix this code highlighted yellow, it works well, ideas?

    It is the enemy of my navigation bar code. It works fine, but it is highlighted in yellow. I guess I have a minor problem here, but I can't seen to understand. Someone out there who can solve the mystery? Thanks in advance for your help.

    < div id = "nav" > <!-#BeginLibraryItem "/ Library/new_nav_bar.lbi"-->
    < script type = "text/javascript" >
    <!--
    function MM_findObj (n, d) {//v4.01
    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}
    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}
    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];
    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);
    If (! x & & d.getElementById) x = d.getElementById (n); Return x;
    }

    function MM_nbGroup (event, grpName) {//v6.0
    var i, img, nbArr, args is MM_nbGroup.arguments;
    If (event == "init" & & args.length > 2) {}
    If ((img = MM_findObj(args[2]))! = null & &! img.) MM_init) {}
    IMG. MM_init = true; IMG. MM_up = args [3]; IMG. MM_dn = img.src;
    If ((nbArr = document[grpName]) == null) nbArr = document [grpName] = new Array();
    [nbArr.length] nbArr = img;
    for (I = 4; I < args.length - 1; i += 2) if ((img = MM_findObj (args [i]))! = null) {}
    If (! img.) IMG MM_up). MM_up = img.src;
    IMG.src = img. MM_dn = args [i + 1];
    [nbArr.length] nbArr = img;
    } }
    } Else if (event == "over") {}
    document. MM_nbOver is nbArr = new Array();.
    for (i = 1; I < args.length - 1; i += 3) if ((img = MM_findObj (args [i]))! = null) {}
    If (! img.) IMG MM_up). MM_up = img.src;
    IMG. SRC = (img. MM_dn & & args [i + 2])? args [i + 2]: ((args[i+1])? args [i + 1]: img.) MM_up);
    [nbArr.length] nbArr = img;
    }
    } Else if (event == 'out') {}
    for (i = 0; i < document.) MM_nbOver.length; i++) {
    IMG = document. MM_nbOver [i]; IMG. SRC = (img. MM_dn)? IMG. MM_dn: img. MM_up; }
    } Else if (event == 'down') {}
    nbArr = document [grpName];
    If (nbArr)
    for (i = 0; i < nbArr.length; i ++) {img = nbArr [i]; img.src = img. MM_up; IMG. MM_dn = 0; }
    document [grpName] is nbArr = new Array();.
    for (i = 2; I < args.length - 1; i += 2) if ((img = MM_findObj (args [i]))! = null) {}
    If (! img.) IMG MM_up). MM_up = img.src;
    IMG.src = img. MM_dn = (args [i + 1])? args [i + 1]: img. MM_up;
    [nbArr.length] nbArr = img;
    } }
    }
    ->
    < /script >

    < table border = "0" cellpadding = "0" cellspacing = "0" id = "new_nav_bar" >
    < b >
    "< td > < a href ="... /... /.. "/ index_zdz.html" target = "_top" onclick = "MM_nbGroup (" down "," group1', 'Home','.. /.. /.. / new_nav_bar/home_met.gif ', 1 ")" onmouseover = "MM_nbGroup ('More', 'Home','... /...)" " /.. (/ new_nav_bar/home_met_f2.gif', '', 1)' onmouseout = "MM_nbGroup ('out')" > < img src = "... /... /.. "/ new_nav_bar/home_met.gif" alt = "" name = "Home" width = "175" height = "39" border = "0" id = "Home" > < /a > < table > "
    "< td > < a href ="... /... /.. "/ main_navigation/main_pages/msa_main_zdoorz.html" target = "_top" onClick = "MM_nbGroup (" down "," group1', 'INT','.. /.. /.. / new_nav_bar/msa_met.gif ', 1 ")" onmouseover = "MM_nbGroup ('more', 'INT','... /...)" " /.. (/ new_nav_bar/msa_met_f2.gif', '', 1)' onMouseOut = "MM_nbGroup ('out')" > < img src = "... /... /.. "/ new_nav_bar/msa_met.gif" alt = "" name = "MSA" width = "175" height = "39" border = "0" id = "MSA" > < /a > < table > "
    "< td > < a href ="... /... /.. "/ main_navigation/main_pages/zip_main_zdoorz.html" target = "_top" onclick = "MM_nbGroup (" down "," group1 ', 'zip','.. /.. /.. / new_nav_bar/zip_met.gif ', 1 ")" onmouseover = "MM_nbGroup ('more', 'zip','... /...)" " /.. (/ new_nav_bar/zip_met_f2.gif', '', 1)' onmouseout = "MM_nbGroup ('out')" > < img src = "... /... /.. "/ new_nav_bar/zip_met.gif" alt = "" name = "zip" width = "175" height = "39" border = "0" id = "zip" > < /a > < table > "
    < /tr >
    < / table > <!-#EndLibraryItem--> < / div >

    Library items are always highlighted in pale yellow. The idea of a library item, it is that it can be changed in the page itself. Instead, you edit the library item, and that updates automatically all the pages that use it. See the pages on the use of the help library.

  • When I open Live Mail in the Firefox browser, how often mail is received? Can I change this? Y at - it a button for "receive mail?

    When I open Live Mail using the Firefox browser, how often mail is received?

    13, Windows Vista Firefox, I use Thunderbird as my e-mail program by default, and in the latest versions of Firefox, I could use a custom button to open Thunderbird to receive mail. In the menu options - applications - there is a mailto content type but no option to open the Inbox in Thunderbird?

  • This code (online) will not be validated... said obsolute

    Hello

    I have a simple div that W3C will not be validated. It is said to center align is deprecated

    < div align = "center" > my cool copy here... blah blah blah< / div >

    How can I Center my copy in a DIV, if I can't use this code?

    Any help is greatly appreciated

    Thank you!

    Babs

    Alignment attributes have been deprecated in HTML 4.

    HTML5 does not support.

    Nancy O.

  • I can't find my code exchange pour a creative suite 5.5 master collection

    Hello, it's all in under the title

    I turn the on of fr round the site and I can't find this code nor on my box or CD covers...

    Maybe on back from the serial number of the suite?

    I have to move to Mac and make the Exchange.

    Thank you

    Xavier, Thank you for clarification, please consult: a product for another language or version of trading platform

  • Can we write function pipeline without creating Type objects.

    Hello
    I want to write a pipeline without Type objects function. Is this possible?

    For Ex as below:

    create or replace
    package pipelined_fun
    as
    txn type is (record
    NUMBER of num
    NUMBER of num1
    );
    type txnhist is table of txn;
    function txnhist_fun (p_mbrsep IN VARCHAR2) return pipeline txnhist.
    END;
    /
    create or replace
    pipelined_fun package body
    as
    function txnhist_fun (p_mbrsep IN VARCHAR2, p_mchdt in varchar2) return pipeline txnTable
    is
    TxN1 txn;
    BEGIN
    TxN1.num: = 1;
    TxN1.num: = 2;
    COURSE OF ACTION (txn1);
    COURSE OF ACTION (txn1);
    END;

    END;
    /


    Please advice.

    What you posted is close but your definition of the function in the body is not in the specifications.

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> CREATE OR REPLACE PACKAGE pipelined_fun
      2  AS
      3     TYPE txn IS RECORD (num NUMBER, num1 NUMBER);
      4
      5     TYPE txnhist IS TABLE OF txn;
      6
      7     FUNCTION txnhist_fun (p_mbrsep IN VARCHAR2)
      8        RETURN txnhist
      9        PIPELINED;
     10  END;
     11  /
    
    Package created.
    
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY pipelined_fun
      2  AS
      3     FUNCTION txnhist_fun (p_mbrsep IN VARCHAR2)
      4        RETURN txnhist
      5        PIPELINED
      6     IS
      7        txn1 txn;
      8     BEGIN
      9        txn1.num := 1;
     10        txn1.num := 2;
     11        PIPE ROW (txn1);
     12        PIPE ROW (txn1);
     13     END;
     14  END;
     15  /
    
    Package body created.
    
    SQL> SELECT *
      2  FROM   table (pipelined_fun.txnhist_fun ('a'));
    
           NUM       NUM1
    ---------- ----------
             2
             2
    
    SQL>
    

    Note This support database types will be created by this code, but creating is not explicit and implicit.

  • How can I write this loop?

    How can I write this code works as follows.

    When btn1 is clicked, SenderLoad must be 'clay' AND click btn2, SenderLoad must be 'iron', etc...

    var mgB:Array = [btn1, btn2, btn3 btn4];

    var mgBW:Array = ["clay", "railway", "cotton", "leather"];

    var SenderLoad: LoadVars = new LoadVars();

    var ReceLoad: LoadVars = new LoadVars();

    var mgNum:Number = 0;

    for (i = 0; i < mgBW.length; i ++) {}

    mgBW [i] .onRelease = function () {}

    mgNum ++

    SenderLoad.word = mgB [mgNum];

    SenderLoad.sendAndLoad ("http://www.web.com/my.php", ReceLoad, "POST" ');

    ReceLoad.onData = {function (src)}

    var messageA:Array = src.split(",,,");

    ldrB2.html = true;

    for (var i: Number = 0; i < messageA.length; i ++) {}

    var a:Array is get [i].split(",,");.

    ldrB1.htmlText += a [0];

    ldrB2.htmlText += a [1];

    }

    }

    }

    };

    If you use the movieclip buttons:

    var mgB:Array = [btn1, btn2, btn3 btn4];
    var mgBW:Array = ["clay", "railway", "cotton", "leather"];
    var SenderLoad: LoadVars = new LoadVars();
    var ReceLoad: LoadVars = new LoadVars();

    for (i = 0; i
    .Ivar Construction [i] = i;
    mgB [i] .onRelease = function() {}
    SenderLoad.word = mgBW [this.ivar];
    SenderLoad.sendAndLoad ("http://www.web.com/my.php", ReceLoad, "POST");

    };
    }
    ReceLoad.onData = {function (src)}
    var messageA:Array = src.split(",,,");
    ldrB2.html = true;
    for (var i: Number = 0; i
    var a: Array = get [i] .split (",");
    ldrB1.htmlText += a [0];
    ldrB2.htmlText += a [1];
    }
    };

Maybe you are looking for