JDE samples using

Hello! I am new to blackberry development and also new with. I have installed applications development strat for BB and made some simple applications like Hello everyone and some user interfaces. But now I want to try the JDE samples, but I can't make it work... anyone have a detailed procedure so that they work in the Please? Thank you!

Sample I provided is for Blackberry Java Development Environment tool.

I do not use Eclipse, because its flaws make me sad

If you like Eclipse, you can create an empty project and use files java source to the sample I provided.

Tags: BlackBerry Developers

Similar Questions

  • change a global sample using a spell #.

    How can I change a global sample using a hexadecimal number? The only option I see is to individually enter the RGB numbers in. And a question side, when creating a new shade, how can I automatically make a spot color? Who doesn't want their color chart to be global?

    Screen Shot 2015-12-15 at 2.32.20 PM.png

    First part of your question: dialogue in the shade Options you can change the color Mode 'Web save RGB' (somehow outdated) and using hexadecimal values.

    Second part: command-click on the new button nuance in the Swatches palette to create a spot color (in previous versions of Illustrator, it can be Alt-click).

  • CS6, "Select unused shades" is to select the samples used.

    In Illustrator CS6, "Select unused shades" is to select the samples used. I'm doing something wrong or is this a bug?

    I can't reproduce this in CS6 (Cloud, 16.2.1). version

    Maybe someone can check in 16.0.4 (?) so the problem can be reproduced.

    You can check if you updated to the latest version available.

  • Problems with JDE Sample PictureBackgroundButtonField.java

    Hello world

    I use the JDE PictureBackgroundButtonField.java sample to create a button with a picture on it. It works fine, except that when I insert my application, the button is 'in focus' (watch the _onPicture) and won't not blurry. Can anyone understand this? Thank you!

    Here is the instantiation of the button:

    PictureBackgroundButtonField pic = new PictureBackgroundButtonField("Hello", DrawStyle.HCENTER);
            hfmBottom.add(pic);
    

    Here's the PictureBackgroundButtonField.java:

    /**
     * PictureBackgroundButtonField.java
     *
     * Copyright © 1998-2009 Research In Motion Ltd.
     *
     * Note: For the sake of simplicity, this sample application may not leverage
     * resource bundles and resource strings.  However, it is STRONGLY recommended
     * that application developers make use of the localization features available
     * within the BlackBerry development platform to ensure a seamless application
     * experience across a variety of languages and geographies.  For more information
     * on localizing your application, please refer to the BlackBerry Java Development
     * Environment Development Guide associated with this release.
     */
    
    package com.kflicks.ui.Custom;
    
    import net.rim.device.api.ui.*;
    import net.rim.device.api.system.*;
    
    /**
     * Custom button field that shows how to use images as button backgrounds.
     */
    public class PictureBackgroundButtonField extends Field
    {
        private String _label;
        private int _labelHeight;
        private int _labelWidth;
        private Font _font;
    
        private Bitmap _currentPicture;
        private Bitmap _onPicture = Bitmap.getBitmapResource("res/search_on.png");
        private Bitmap _offPicture = Bitmap.getBitmapResource("res/search_off.png");
    
        /**
         * Constructor.
         * @param text - the text to be displayed on the button
         * @param style - combination of field style bits to specify display
               attributes
         */
        public PictureBackgroundButtonField(String text, long style)
        {
            super(style);
    
            _font = getFont();
            _label = text;
            _labelHeight = _font.getHeight();
            _labelWidth = _font.getAdvance(_label);
            _currentPicture = _onPicture;
        }
    
        /**
         * @return The text on the button
         */
        String getText()
        {
            return _label;
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#getPreferredHeight()
         */
        public int getPreferredHeight()
        {
            return _labelHeight + 4;
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#getPreferredWidth()
         */
        public int getPreferredWidth()
        {
            return _labelWidth + 8;
        }
    
        /**
         * Field implementation.  Changes the picture when focus is gained.
         * @see net.rim.device.api.ui.Field#onFocus(int)
         */
        protected void onFocus(int direction)
        {
            _currentPicture = _onPicture;
            invalidate();
        }
    
        /**
         * Field implementation.  Changes picture back when focus is lost.
         * @see net.rim.device.api.ui.Field#onUnfocus()
         */
        protected void onUnfocus()
        {
            _currentPicture = _offPicture;
            invalidate();
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#drawFocus(Graphics, boolean)
         */
        protected void drawFocus(Graphics graphics, boolean on)
        {
            // Do nothing
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#layout(int, int)
         */
        protected void layout(int width, int height)
        {
            setExtent(Math.min( width, getPreferredWidth()),
            Math.min( height, getPreferredHeight()));
        }
    
        /**
         * Field implementation.
         * @see net.rim.device.api.ui.Field#paint(Graphics)
         */
        protected void paint(Graphics graphics)
        {
            // First draw the background colour and picture
            graphics.setColor(0x00EE3526);
            graphics.fillRect(0, 0, getWidth(), getHeight());
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), _currentPicture, 0, 0);
    
            // Then draw the text
            /*graphics.setColor(Color.BLACK);
            graphics.setFont(_font);
            graphics.drawText(_label, 4, 2,
                (int)( getStyle() & DrawStyle.ELLIPSIS | DrawStyle.HALIGN_MASK ),
                getWidth() - 6 );*/
        }
    
        /**
         * Overridden so that the Event Dispatch thread can catch this event
         * instead of having it be caught here..
         * @see net.rim.device.api.ui.Field#navigationClick(int, int)
         */
        protected boolean navigationClick(int status, int time)
        {
            fieldChangeNotify(1);
            return true;
        }
    
    }
    

    Seems fine,

    What do you mean by go not blurred? When you create the button, it will be the onFocus image. If you want to give it focus, you need to add the parameter focusable,

    If your code should look like,

    PictureBackgroundButtonField pic = new PictureBackgroundButtonField("Hello", Field.FOCUSABLE | DrawStyle.HCENTER);
    
  • Incorrect sampling using TEDS

    I think maybe it's a bug, but I would like to know what everyone thinks.  I have several analog input cards in my cDAQ and I read them at 500 Hz.  If I add my card 9237 with load cells using TEDS technology, the samples come in my application to the ~ 1600 samples per second.

    My test task below shows continuous samples to 500 Hz or 500 s/s, but I get around 1600 s/s.  No mater what I change my samle rate, I still get ~ 1600 s/s.  I have something Setup wrong, or is this a bug?

    Thank you, Doug

    The 'bug' is you do not read the specs. Look what it says on the minimum sampling frequency.

    It is an important lesson that all students should learn before entering the real world.

  • Lack of first samples using digitizer Tclk and function generator

    Hello

    I have a pxi-5922, an arbitrary signal 5412 generator. They are synchronized due the Tclk. The question I have is that I can not capture the start of production of function generators. I tried the positions of different reference for the scope, but am unable to quarter at the beginning.

    I tried to have the function generator and digitizer as the master, this does not seem to help with my question.

    Is there something else I could try to capture the start of the release of gen func using Tclk.

    See you soon,.

    Brett

    So the 5922 has a delta sigma converter that will cause a delay of the sample during synchronization with other cards, the same as our DSA cards.  It is the delay of the sample we see and has nothing of synchronizy we can do to get rid of him.  What I would recommend is to generate samples 62 "junk" at the beginning of your waveform.

  • not sure about my blackberry and what jde to use

    Hi all, I'm confused about what version of the software (blackberry api) I can code for my BB tour.

    and I guess the mean packs I use to be able to run my apps on my tour 9630.

    under

    options-> on

    I see

    BlackBerry 9630

    Smartphone (3G, CDMA)

    V5.0.0.732 (Bundle 1242, platform 4.2.0.334)

    Band 3G 1

    .....

    What is the v5.0.0.732 verses of the 4.2.0.334?

    This means, if I use the 1.1 ecplise plugin, and I noticed that when I create a blackberry project, the

    "Use a specific project JRE" option button is selected and the associated combobox has

    "BlackBerry JRE 5.0.0" selected

    I can run this application on my lap because the above version is 5.0.0.732

    the component pack (which I think is 5 for ecplise 1.1 plugin) does not mean that I need

    I'm coding for bb to support platform 5 (the stuff in parentheses)?

    can I ask another question, when I run my application (Directory book of blackberry begginning example), I get "error starting location: Module 'rental' attempts to access a secure API."

    I had my signature keys and install them via JDE 5, I had first installed so

    the file association has wondows and I just double clicked each of 3 keys.

    If I remember correctly, he installed all the 3 ok, I see these

    sigtool. CSK

    sigtool.DB

    sigtool. Set

    in the JDE_5.0\bin directory

    but then I went to 1.1 plugin eclipse and start using the ide instead, so I

    installed the first key via the Signature tool in eclipse and it seems to have succeeded.

    but you try to install the other 2 I get errors on

    "Cannot save the client '545245' because there is no more attempts at records.  ..."

    I guess that's led to errors during execution in my location app?

    I received an email to [email protected]

    to understand why I can't get the last 2 to work

    You can use any jde (or component pack) equal to or less than your operating system.

    but unless you want to develop for phones earlier, there is no reason to go below 5 OS.

    You can ignore safely from the platform when it comes to development.

    You can use the Simulator without signing keys, for most things, it's good enough.

  • Simultaneous sampling using two cards PXI-6562

    Hi all

    I was wondering if it is possible to have two examples of cards PXI-6562 (e/s LVDS high flow) at the same time using the same trigger?

    Thanks in advance,

    Nathan

    Hello

    You can synchronize certainly several MSC devices, including modular instruments to NI HSDIO.  The most effective way to proceed is to use the NOR-TClk synchronization API.  It is provided with several of our drivers of modular instruments and devices, including NOR-HSDIO.  The first part of this knowledge base explains the use of the NOR-TClk functions for that.  This tutorial gives a very thorough introduction timing and synchronization using the API OR-TClk.

    If you are more concerned with programming in fact such a request, I would check the NOR example Finder for some good examples.  "" "" Navigate up to material input and output "modular instruments and devices" NOR-HSDIO "synchronization" to several features of dynamic Acquisition (TClk) .vi

    Jon S

  • What JDE to use in the development of a new application

    In the development of a new application that will be deployed in the BB store, should the app with the last i.e.4.7 JDE or earlier? Assuming that no support for touch is necessary?

    Thank you

    Thank you.

    4.2 it is then.

    See you soon

  • Sample using XMLTYPE out parameter

    Hi all

    plenty of examples of using ODP.NET and XMLTYPE out parameter source code?

    PROCEDURE OBTENER_DATOS_DESPLIEGUE (pPROYECTO IN VARCHAR2,

    pETIQUETA IN VARCHAR2 DEFAULT NULL,

    pMOMENTO OUT TIMESTAMP,

    XMLTYPE OUT pDATOS)

    And for testing: function and procedure.


    FUNCTION FRKDATA_GET_XMLTYPE(num IN NUMBER, xml1 IN XMLTYPE) RETURN XMLTYPE IS
      xmlout XMLTYPE;
      BEGIN
      SELECT XMLTYPE_COL
      INTO xmlout
      FROM POC_TEST_XML_TABLE
      WHERE NUM_COL = num;
      RETURN xmlout;
      END FRKDATA_GET_XMLTYPE;


    PROCEDURE FRKDATA_TESTXML(qry in VARCHAR2, rslt OUT XMLTYPE) AS
    BEGIN
    rslt := dbms_xmlgen.getxmltype(qry);
    END FRKDATA_TESTXML;


    See https://entlib.codeplex.com/discussions/454750

    I get an error "the connection is closed.

    Only, I found this example, but without OUTPUT parameters.

    /*
    create or replace function xmlproc(v1 in xmltype) return xmltype is
    begin
    return v1;
    end;
    /
    */

    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;

    class Program
    {
        static void Main(string[] args)
        {
            using (OracleConnection con = new OracleConnection())
            {
                con.ConnectionString = "user id=scott;password=tiger;data source=orcl";
                con.Open();
                using (OracleCommand cmd = new OracleCommand("",con))
                {
                    cmd.CommandText = "xmlproc";
                    cmd.CommandType = CommandType.StoredProcedure;
                    cmd.Parameters.Add(new OracleParameter("return", OracleDbType.XmlType)).Direction = ParameterDirection.ReturnValue;
                    cmd.Parameters.Add(new OracleParameter("v1", OracleDbType.XmlType)).Direction = ParameterDirection.Input;
                    cmd.Parameters["v1"].Value = "<a>b</a>";
                    cmd.ExecuteNonQuery();
                    Console.WriteLine(((OracleXmlType)cmd.Parameters["return"].Value).Value);
                }
            }
        }
    }

    The below works for me.

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

    PROCEDURE "XMLPROC")

    'PARAM1' OUT XMLTYPE) IS

    BEGIN

    Param1: = dbms_xmlgen.getxmltype ("SELECT name of EMPLOYEES WHERE EMPLOYEE_ID is 100');.

    END;

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

    Con OracleConnection = new OracleConnection();
    con. ConnectionString = conString;
    con. Open();
    OracleCommand cmd = con. CreateCommand();
    cmd.CommandText = "xmlproc;

    cmd.CommandType = CommandType.StoredProcedure;

    cmd. Parameters.Add (new OracleParameter ("xmlout", OracleDbType.XmlType)). Direction = ParameterDirection.Output;

    cmd ExecuteNonQuery());

    Console.WriteLine (((OracleXmlType) cmd.)) Parameters ["xmlout"]. (Value). (Value);

  • ALT Option key PS CC using the mouse or Tablet drags the app instead of sampling window when using Clone too

    When I open the CC PS on my Mac Mini (latest version Mavericks), or my MBPr (same OS.v)

    Here are the steps.

    MacMini and Mac:

    1. Open Photoshop
    2. Open any image
    3. Switch to the pen tool, tool buffer or any tool that uses the button Option key as a modifier
    4. Draw a few points, sample,.
    5. Now, try to change an anchor point using the tool anchor to convert or sample using the stamp tool. Just hold down the option key and drag.
    6. WOAH! My entire application moves and the modifier does not, instead change the XY of the application window.

    Find out what... When I do that on my side of my MBPr friends, that's fine. Infact I do editing on his sidebecuase of it. I just noticed that he was doing this at work. I do not use PS a lot at work, for the most part Illutsrator.

    in any case...

    Anyone else having this problem?

    Devices... it is replicated.

    M$ mouse on MacMini

    Intuous4 on MBPr WacomTablet

    Just tried to use the touchpad, MBPr, and that's fine.

    I'm starting to think it's drivers wacom or something.

    I wonder what 3rd party applications you are running. A quick Internet search seems to indicate that a tool like HyperDock can allow you to use windows by alt clicking on (http://superuser.com/questions/223318/mac-os-x-altleft-click-move-window-possible-in-10-5-et-up)

  • Why dynamic sampling is used?

    Hi all

    I am executing a SELECT statement and underlyig table is a partitioned table that does not have any available statistics.
    When I ask the execution of that plan SQL, I found that SMAPLING DYNAMICS is carried out.
    I'm on 10.2.0.3 on solaris 5.8

    FYI...
    SQL> explain plan for
      2  SELECT /*+ INDEX ( bba BBO_PRICING_LOCAL_IDX ) */ TICKER||' '||EXCH_CODE , EXCH_CODE , TICKER , ID_ISIN , PX_LAST , PX_VOLUME , CRNCY , ID_MIC_PRIM_EXCH , CUR_MKT_CAP ,EQY_SH_OUT FROM EQHUB.BBO_PRICING_ARC BBA WHERE START_DATE <= :B1 AND END_DATE > :B1;
    
    Explained.
    
    select * from table(dbms_xplan.display());
    
    Plan hash value: 1872597311
    
    ----------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                          | Name                  | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    ----------------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                   |                       |   164K|    25M|   477   (5)| 00:00:06 |       |       |
    |   1 |  PARTITION RANGE ITERATOR          |                       |   164K|    25M|   477   (5)| 00:00:06 |     1 |   KEY |
    |   2 |   TABLE ACCESS BY LOCAL INDEX ROWID| BBO_PRICING_ARC       |   164K|    25M|   477   (5)| 00:00:06 |     1 |   KEY |
    |*  3 |    INDEX RANGE SCAN                | BBO_PRICING_LOCAL_IDX |  5314 |       |    32  (69)| 00:00:01 |     1 |   KEY |
    ----------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       3 - access("END_DATE">:B1 AND "START_DATE"<=:B1)
           filter("END_DATE">:B1)
    
    Note
    -----
       - dynamic sampling used for this statement
    
    select owner,table_name,num_rows,blocks,LAST_ANALYZED FROM DBA_TABLES WHERE TABLE_NAME='BBO_PRICING_ARC'
    OWNER                          TABLE_NAME                       NUM_ROWS     BLOCKS LAST_ANALYZED
    ------------------------------ ------------------------------ ---------- ---------- ------------------
    EQHUB                          BBO_PRICING_ARC
    
    I have also checked index stats and they are NULL too.
    Kind regards
    Kim Desai

    Bhavik Desai wrote:
    ... and underlyig table is a partitioned table that does not have any available statistics...

    You pretty much answered your own question.

    Check out the docs, it clearly explains what dynamic sampling will be used: [how dynamic sampling works | http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#sthref1108]

  • Developing in Eclipse, connect to JDE

    Hello

    Try us blackberry app dev but not really to make professional apps right now.

    My colleague has the code signing key on his computer and uses JDE.

    I use Eclipse to develop applications and you want to get the GET a sample application signed the JDE to his machine. Packaging in eclipse does not generate a .jdw file.

    Is it possible to get the application code signed in his dressing room without installing eclipse?

    Please let me know.

    Thank you.

    You can sign the file of cod without the jde, just use the signaturetool.jar

  • PCI 5154 sampling rate

    Hello

    What is the sample rate max 5154 PCI for two channel inputs? The manual States the 2GS/s is for one channel only. So, am I not able to get a bandwidth of 1 GHz for the simultaneous measurement of two channels? Thank you!

    Hi gbhaha,

    First of all, TIS mode up to 20 GECH. / s using an ADC, while your real time sampling uses two converters a/n at the same time to a single channel.  Take a look at these diagrams that I linked in my first post for more details on this architects.

    About the difference in the bandwidth between the 5153 and 5154 - the 5153 has 500 MHz of bandwidth in its circuits, even when acquiring at faster sampling rates.  The 5154 1 GHz of bandwidth, this is why it is more expensive.

    Kind regards

  • sample rate real vs min sampling rate

    I'm sure it's an obvious answer, but here goes.

    I have a USB-5132 ' scope and using niScope horizontal configuration Timing.vi I put, among other things, the minimum sampling rate. In my case, I chose 20 MHz, which of course gives a sampling of 50 ns period.

    I use niScope reading (poly) .vi with the WDT variant to read waveform data.  I noticed something very strange - waveform limit testing throw error 1802 "signals have a dt of different values '-if I put a waveform components unclusterizer Get on the wire of waveform and looked at the value of dt of the wave." He told me that my dt is 40 ns, which of course is of 25 MHz. I also plead for only 2000 samples.

    So what causes this shift? Why the digitizer does not accept everything just my desired sampling frequency?

    Austin Walton wrote:

    Andy,

    The setting of minimum sampling frequency is the frequency at which digitized
    the samples are stored, expressed in samples per second. This setting is rounded
    up to and including the next legal collection that supports your device.  Ownership of the actual sampling rate calculates the actual sample used for the acquisition rate.

    Unless you specify another source of the clock, the digitizer uses an internal oscillator as clock source.  For the 5132, this oscillator is clocked at 50 Mhz.  When using the oscillator internal as the sample, the digitizer clock source can use versions split to the bottom of this clock, for certain sampling frequencies are not possible.

Maybe you are looking for

  • Re: Satellite P300 PSPCCE - wakes up to the top by itself

    My Satellite P300 pspcce starts to turn more * on * after I manually dump it * off *.This happends in the minute following the judgment. I started noticing this after that I installed my wireless card, I turned the wake on lan/wlan function * off * i

  • Clean install of Windows 7 on Satellite L655

    I have a Satellite L655 and replace the HDD with a SSD (2 sheets) system (more small capacity, 1 partition). I also want to do a clean install of Windows 7. I'll be able to use the recovery disc for this? If so, will I have to reactivate? Thank you.

  • HP Pavilion: message system disabled

    Hello I've seen a lot of questions about the message "system disabled". I have the same. Please help? My laptop is a hp Pavillion Product D5P27EA #ABU number Model 15-b130ea The code that comes up is 92973544. Thank you very much R

  • lock motor when you press

    Hi all I need to drive a lock when the button signal operated with a Boolean value. How can I do? PS I don't have the button in the front panel... but I need to change a Boolean value into a momentum. Thank you

  • Right axis graduations and negative numbers

    Has anyone else noticed that when you have a Y axis on the right side of a graph and showing ticks, it can be confusing because positive numbers look like negative numbers?  I played a bit with custom formatting, numbers, such as adding space before