Bb-ant-tool to implement using point of entry

Hello

I am able to build one application to another point of entry with JDE...

But does require no special configuration if I use bb-ant-tool to build?

Problem solved.

http://BB-Ant-tools.sourceforge.NET/docs

Tags: BlackBerry Developers

Similar Questions

  • Using point of entry

    I want to create an application of alarm in which once an alarm time is high, I want my applications instead of the alarm on the device screen. I found an approach in the forum using the other entry point and keep a thread continuously in the background to check the alarm time.

    one problem with this approach, I found, is that, as we use two entry points to our application, different icons on device two for my application are created which I want to avoid.

    the other problem is when I run the wire that's me illegalStateException. I don't know what's going wrong here. Here is the code that I use,

    main:

    public class CalenderDemoApp extends UiApplication {
    
        /**
         *
         */
        public CalenderDemoApp() {
            // TODO Auto-generated constructor stub
            MenuScreen mScreen = new MenuScreen(this);
            pushScreen(mScreen);
        }
    
        /**
         * @param args
         */
        public static void main(String[] args) {
            // TODO Auto-generated method stub
            if ( args != null && args.length > 0 && args[0].equals("gui") ){
                  // code to initialize the app
                CalenderDemoApp cal = new CalenderDemoApp();
                cal.enterEventDispatcher();
             } else {
                  // code to launch the background thread }
                 long REFRESH_TIME = 1000*60*5; // every 5 minutes
                 Timer aTimer = new Timer();
                 MyTask myTask = new MyTask();
                 aTimer.schedule(myTask, 0, REFRESH_TIME);
             }
        }
    
    }
    

    and the other Thread:

    public class MyTask extends TimerTask {
    
        // Constructor.
        public MyTask() {
        }
    
        public void run() {
            // TODO Auto-generated method stub
    //      MenuScreen mScreen = new MenuScreen(UiApplication.getUiApplication());
    //  UiApplication.getUiApplication().pushScreen(mScreen);
            Dialog.alert("heeloo");
    //      synchronized(Application.getEventLock()){
    //             Dialog alert = new Dialog(Dialog.D_OK, "Hello", Dialog.OK, Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION), Manager.VERTICAL_SCROLL);
    //             alert.show();sms
    //      }
    
        }
    }
    

    Please help me...

    Thanks in advance.

    Hey I figured out that they changed the name of the Module system 'Don not display the icon of the application on the Blackberry home screen... '.

  • Problem when using bb-ant-tools to create a multi-module application

    I am trying to redesign an application prototype into something more adapted to our needs. The prototype was built with the first version of the Eclipse plugin, but I've converted successfully to the current version.

    I have same configuration Ant with bb-ant-tools for it and have successfully build the application and the executable running on the real device.

    But this prototype had code to put them all in a single module, even the source to a third party library with support for managing messages JSON ('J2ME JSON").

    We need to build several slightly different applications from the same code base (differing mainly in aspects of the customer specific look and wording etc.).

    So I want to divide the code into several distinct modules, each providing it is build own artifacts and have a top-level project for each variant you want to produce.

    So at the beginning I want to have these three modules:

    • J2ME-json - the third party lib
    • Code base - the largest part of the source code and default localization resources
    • my-app - the main class, icon resources (and in the future some property files and resources specific to the customer location)

    I have Ant generate files for each module, which compiles and signs packages resulting - seems ok so far, no problem when executing the task of sigtool. The build for 'j2me-json' file and 'code base' defines the product as a type = "library".

    The build for "my-app" file collects the artifacts to build (* .jar, * .cod, etc.) and copy them to a local directory "dependencies", where they will be extracted for the compilation of the actual application. After compiling and signing all are copied to a deployment directory.

    Deploy the application on the device via the 'Desktop Manager' but when I run it on the device I get the error message:

    Error at startup MyAppId: Module ' code$ 2dbase ' attempts to access a secure API.

    The strange thing is, that the "Tool of Signature" window shows demand of signature of all modules during the phase of signature of the request, not only for the request form itself as the error message suggests. And I even sign the modules separately because of this message - but it does not help...

    So, what's wrong here?

    Here is the definition of the actual target of the relevant elements:

                                                                                          
    
                        
    
                                                                                                                                
    

    The *.alx file that looks like this:

             My App Name      1.2.1.35               MyAppId.codj2me-json.codcode-base.cod         
    

    I'd appreciate any help with this problem! Thanks in advance...

    Horst Weber.

    Found!

    My mistake was that I thought that I can mix attribute and property file inclusion statements in the task of jdp bb-ant-tools. My actual task for libraries looked like this:

    
    

    Obviously, the author didn't want to handle the ambiguity when someone sets the same property as an attribute, and in the file. So you should use either one or the other: If you use properties files, then declare all your properties here.

    So this message "Module attempts to access an API secured." seems to be very misleading: it disappered after correction of the generation of files and I now have a common application.

  • When I use the selection tool to move vector points and fold the edges, I see that the change in metal frame.

    When I use the selection tool to move vector points and fold the edges, I see that the change in metal frame.  Once I commit by letting go of the mouse button, the object changes.  It presents a preview just with a wire frame. I would like to see the preview to change on the solid object.  Is there a setting somewhere?

    I really hope I'm explaining this to people to understand .

    Thank you

    Ed

    Hi Ed,

    You use a previous version of Flash Pro that displays this behavior.

    Live the overview of forms while editing got added in Flash Pro CC (and above). You can try the latest version of Flash Pro (CC 2014) see how it works.

  • BB-Ant-tools and deployment to the Simulator

    Hello world:

    I have a library intern that I developed called Ichabod required by one of our applications, Spyder, which runs on the operating system Blackberry 4.5.0 (our original goal was to 8330 devices).  I had all this work with bb-ant-tools to compile the library, which is located in a separate project, and deploy it in C:\Program Files\eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.21\components\simulator.  The Spyder application debugged very well in the eclipse plugin (I use Galileo with the 1.1.2 version of the plugin RIM).

    Today, however, I went to debug the Spyder application after making a few changes to the code (no code changes have been made in Toad) and found that the application could not find the module Ichabod suddenly.  I noticed that there is now a directory net.rim.ejde.componentpack4.5.0_4.5.0.28\ in my eclipse plugins folder, thinking that maybe I've updated component packs without realizing account, I adjusted the path target library of Ichabod and rebuilt with bb-ant-tools.  The same problem.  So, I tried to delete the .cod and all associated files the two directories 4.5.0.21 and 4.5.0.28, recompiled the Ichabod library to deploy in two places and found that it worked with 4.5.0.21, but not with 4.5.0.28 (it is not listed in the screen modules under settings, either).

    I checked the .cod file is present in the components\simulator folder, but I can't understand why the simulators do not recognize the file.

    Any suggestions?

    My build.xml ant-bb-tools script is attached.

    Thank you

    ~ Scott

    
    
    
    
        
    
        
    
        
    
        
    
        
            
                
                    
                    
                    
                    
                
            
        
    
        
            
            
        
    
        
            
    
                
                
    
                
                    
                        
                        
                    
                
            
        
    
    

    So it turns out, after removing the 4.5.0.28 Eclipse plugin and put it back, it was what was causing my problems.  I don't know if this has anything to do with it, but I also removed the JDE 4.5.0 library (which has been correctly updated version 28) from the path of construction of the project Ichabod and replaced by the JDE even.

    After all of this nonsense, my library now appears in the Simulator.

  • How to include external with ant + bb-ant-tools libraries

    Hello

    About our company, we would like to have an ant + bb-ant tools integrated environment. We would like to prepare outside of eclipse builds, and the BB plugin. For us, it is also a requirement to have a localized application (so we need bundles of compiled resources generated by the HR Manager/DRR files).

    However, we find some problems when we try to include the external libraries with bb-ant-tools

    The only way we found to make the build and also include the crb files in the package is:

    1-CAP compile our project.  However, this pot does not include classes from external libraries

    2 - Unzip the jar generated by CAP and copy classes and the crb files in a temporary directory.

    3rd-package external libraries: wtkbuild + package wtk

    4th - unzip the jar made by WTKPackage by putting classes in the same temporary directory in step 2.

    5. make a new pot with wtkrapc from the temporary directory in order to get the BB application files.

    The process described works (in spite of not being simple) so I close this topic

  • Adobe Illustrator uses points as their SVG user unit?

    I've been looking for a while now, but I can't find anything. I noticed that if I save one 10x10mm box created in Illustrator in an SVG, that it has a size of 28x28 user units in the svg. W3C Standard recommends a 35x35 Although the box.

    If I do exactly the same in Inkscape, I get a 35x35 box in SVG.

    After searching for a bit, I discovered that Illustrator works with dots in the background that it converts 1mm to 2.8346dt . (which incidentally is around 3.5433px , as in the W3C Standard).

    So my question is: is Adobe Illustrator use points as their SVG user unit?

    Basic unit of Illustrator is the point (1/72nd of an inch). It is also the actual measure that illustrator arbitrarily suppose pixels (whereas Inkscape takes 90 pixels per inch by default, but provides the user setting in preferences).

    10 mm is 28,347 pt. If you draw a square of 10mm in Illustrator and save it as an SVG, it's why you see 28.347 in the resulting SVG code (which, of course, turns to 28 pixels).

    So while you work in Illustrator to SVG, create your rules of Points (or "Pixels" If you must; it's the same thing in Illustrator) and size the objects according to the desired pixels you want to practice the SVG.

    If you want to work with the value leaders milimeters when drawing in Illustrator and want to have a measure of outcome of 10 mm in 35 pixels when recording as SVG, then before you save the SVG, scale everything to 123.47 percent.

    JET

  • Can I use points rather than inches * definitely * when you use the menu box "cloak"?

    Can I use points rather than inches when the dressing specification in menu box "cloak"? In other words, can I use points and there is no change to inches as soon as I'm done?

    Thanks for responding!

    You can always insert any available unit, just add the unit if it is not the norm. For example write 5pt if you wand 5pt, even if the field displays mm or inches.

    Changing permanently would be possible through preferences, but not only for the single string.

  • (So I don't have to reselect tools for each use) [Android] sticky annotation tools

    An entry on the viewer Adobe Acrobat Android application:

    I am a student and read manuals in PDF and want to take notes on the margins and highlight some parts of my book online.

    My job will be a lot faster if I don't have to reselect the annotation tools after each use. Is there a way you can develop where long - I click the highlight or the pencil tool tool and it remains on this setting until I click it again? I will use my highlighter as a highlighter pen, making all kinds of marks on my page before moving on to the next page. This time, I select tool highlighted. Highlight. Select the highlighter tool. Highlight. Select the highlighter tool. Highlight.


    The only drawback would be that I won't be able to hit to swipe to change pages because it will show the traces of my attempt. This could be fixed by having arrows 'next page' or an annotation pen option only (so my finger does nothing else to move pages).


    I use a Samsung Notebook Pro tablet.

    Sometimes it is called keep the tools 'sticky'... don't ask me why.

    Select the tool you want to use (but don't use it yet). Control + E, or right-click upward on the toolbar, click & Select 'Display Properties Bar"there should be a box that appears with a check box, select"Keep the selected tool."

    https://acrobatusers.com/tutorials/there-way-keep-tool-sticky

  • PEN TOOL IS THE BAD POINTS? !!!

    FVCKING HELL GUYS

    I WAS BlTCHlNG to ABOUT it * FOR ONE half hour ALREADY BC WHY the FVCK IS MY TOOL FEATHER DUCK THE POINTS to THE WRONG PLACES? !!! "AS ' I WANT TO PUT A POINT RIGHT HERE AND OOPS FVCKING ADOBE ILLUSTRATOR ON THE FAR LEFT AT THE PLACE"

    AW.

    Check your new objects align to the pixel grid setting.

    EDIT: uh... Uncheck the box.

  • Re: How to configure Ant in adf application using Jdeveloper 11.1.2.3.0?

    Hi all

    I use jdev 11.1.2.3.0.

    Any can help me how to configure Ant in adf application using Jdeveloper 11.1.2.3.0?

    With respect,

    satishkumarN

    HI Sissi,

    Your question is not able to understand. I guess you are looking for building project using ant for deployment.

    Please find the links below

    Construction projects with Ant

    Use of Maven in JDeveloper 11.1.2: asked to build ADF with Maven using Ant ojdeploy

    One size does not fit all: using ojdeploy and Ant to create pots of ADF library

    Thank you

    Nitesh

  • [tools help] what tool can be used to move files? and update the row in table?

    I need help to find out what tool can help me in the next task:
    #1 moving file
    situation: after the extraction of a file, the file is moved to another directory.

    Update SQL #2
    Situation: what mapping tool can be used to update existing record / execute sql
    as UPDATED VALUE TABLE WHERE... or REMOVE...

    Take the employee data form table and connect name, id, "incative" (from constant) to the target table.
    Replace the update target property, and then set the properties of column-level.

    Find out what

    Update/Insert into mapping

    See you soon
    Katia

  • Running the background (sms listening thread) connected to the GUI (another point of entry) application thread

    Hi, I'm new to the development of Blackberry, I read everything on the application running at startup and have a different point of entry for this application. I still need help with my application

    I use BB JDE 4.7

    Simulator: BB 9530 4.7.0

    I'm developing an application of SMS. (extends UiApplication)

    1) there is a thread that listens for incoming messages

    2) there is a wire which is a SMS sender

    3) there is a main screen and two full screens. for example, when the user clicks a button in one of the screens full... I send you a message

    (4) when a message is received, based on the content of the message I push either a full screen

    (5) I have, all the wires and screens as the class internal to the main class that extends from the UiApplication.

    I got the basic features. I need help making that demand the application of autostartup

    (1) I need to start listening to the sms thread when the BB phone starts

    (2) I need to have the application icon in the applications screen as another entry point for the application (only for the GUI), and the listening thread must remain active in the background.

    (3) when an incoming message is detected, the application GUI should be brought to the foreground (if it isn't already forground) after posting a popup (instead of bring the application to the foreground, is it better to display a flashing icon in the status bar of the home screen blackberry and perhaps global popup)

    (4) when the GUI of the application part is closed, I need to stop the sms sending thread, and when the system shuts down, I need to stop the listening thread.

    Please help me guys... I have read many articles and discussions regarding the automatic start-up of applications, another point of entry, the # of background threads...

    but I couldn't find how to implement my needs.

    (1) should I need to create two different projects (applications [GUI thread, a sender] and one for the listening thread)? or I can achieve in single application?

    (2) should I have to sign in the background thread to the GUI app? If so, how?

    (3) it is necessary to use the RunTimeStore object? If so, I don't know how I can bring to the foreground the application GUI of the background thread.

    (4) if I have to stop the thread of listening by overiding onExit() method, the important question I have is, if the onExit() method is only for applications that extends from the Application class and not for the UiApplication class?

    (5) if I should have two projects (one main and the other as a spare point entry), which project should I do as "autorun at startup" and a "system module".

    As I need to have the background still running thread when the GUI application is active. I don't know how I do.

    Hello world...

    I reached my needs thanks to a single application. I used an other entry point.

    To refer to chk my other post

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-avoid-creating-two-instances-of-the-a...

  • prompts the user for input, but use the last entry as departure

    Hello, I am currently having a VI that I invited the user to a text and then input I use this input text thereafter.  However, I would like to have the guest so that I can use the last entry of the bite as a starting point.  Started the code, I do not know how to proceed.  Any help will be greatly appreciated.

    Thank you.

    hiNi

    If you add a record to offset uninitiallized and change the express vi, you can do it.

  • .exe error] is not found the procedure entry point AddAtomW Entry Point not found in dynamic bindings KERNEL32 library. DLL when I try to run any program. I have

    Original title: [ProgramName] .exe Entry Point not found

    I get this message: the point procedure entry AddAtomW could not be found in dynamic bindings KERNEL32 library. DLL when I try to run any program. I don't know what to do. Help please!

    Hello

    1. did you of recent changes on the computer?

    Method 1:
     
    It is possible that some third-party programs installed on the computer is causing the problem.
    I suggest that you put the computer in a clean boot state and check if it helps.
    To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
     
    See the link below to learn more about how to clean boot.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353
     
    Reset the computer to start as usual
    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    (a) click Start, type msconfig in the search box and press ENTER.
    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.
    (c) under the general tab, click the Normal startup option, and then click OK.
    (d) when you are prompted to restart the computer, click on restart.

    Method 2:

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

Maybe you are looking for