Problem - Alt Enter points using Ant

I have problems using the tag.  Bb-ant-tools suggests that it is a nested tag of CAP, but when I run the present, I get an error that is not a nested tag!

What should I do to fix the below to set up an alt entry point?

[code]
  
   
title = "${title}" vendor = "${provider}.
version = "${version}".
Description = "${description}".
systemmodule = 'true '.
runonstartup = 'true '.
startuptier = '7' / >
   <>
title = "${title}".
arguments = "click."
systemmodule = "false".
runonstartup = "false".
startuptier = "7".
RibbonPosition = '0 '.
"icon ="... / img/OrangeA.png "/ >
   
    
     
     
    

   

  

[/ code]

Thank you

Here's how to create another point of entry with bb-ant-tools:

    
        
            
                
            
            
                
                    
                
                
                    
                
            
        
    

where default.properties is an Autostart entry point:

description=My Elite App for BlackBerry
runonstartup=true
systemmodule=true
vendor=Mobiyana, LLC.
version=1.0

and gui.properties provides the icon and the user interface:

description=My Elite App for BlackBerry
icon=../res/icon-32x32.png
title=Elite App
vendor=Mobiyana, LLC.
version=1.0

Tags: BlackBerry Developers

Similar Questions

  • ALT Enter point, maintain the instance unique app!

    Hey all,.

    Unlike most who put up the other entry points in their applications of BB, I would like to keep a single instance in which the user interface and the background code treatment will be contained. In other words, no separate instance for unemployment insurance and background processing. My other entry point is made to run at startup, in order to maintain the running background processes, even after restarting the device.

    My attempts have been unsuccessful so far. I find myself with several instances after restart, I can see in the bb application selector (long press menu key).

    Here is my code. I hope yall can find something in there that I'm doing wrong.  Thank you!

    public class HelloWorldDemo extends UiApplication implements SystemListener
    {
        public static HTTPInterface _httpInterface = new HTTPInterface();
        private static HelloWorldScreen _mainScreen;
            private static HelloWorldDemo theApp;
    
    private HelloWorldDemo() {
            pushScreen(new AppScreen(this));  
    
        }
    
        /**
         * Entry point for application
         * @param args Command line arguments (not used)
         */
        public static void main(String[] args)
        {
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            String deviceVersionString = DeviceInfo.getSoftwareVersion();
            String deviceVersionSubString = deviceVersionString.substring(0, 3);
            BingModel.deviceVersion = Double.parseDouble(deviceVersionSubString);
    
            if (theApp == null)
            {
                theApp = new HelloWorldDemo();
            }
            if (args != null && args.length > 0 && "startupEntry".equals(args[0]))
            {
    
            //checking to see of app was set to run in background, before reboot occured.
                boolean isChecked = BingModel.retrieveState();      
    
          if(isChecked == true) {
                     // If system startup is still in progress when this
                    // application is run.
                    if (ApplicationManager.getApplicationManager().inStartup()) {
                        theApp.addSystemListener(theApp);
                        }
                    else {
                        //theApp = new HelloWorldDemo();
                        theApp.doStartupWorkLater();
                        }
                    //theApp = new HelloWorldDemo();
                    theApp.enterEventDispatcher();
                }
                else
                    System.exit(0);
            }
            else
            {
                BingModel.isRunStartup = false;
                //if (theApp == null)
                //{
                /// theApp = new HelloWorldDemo();
                //}
                theApp.enterEventDispatcher();
            }
    
        }
    
        private void doStartupWorkLater() {
             invokeLater(new Runnable() {
                 public void run() {
                     doStartupWork();
                     }
                 });
         }
    
        private void doStartupWork() {
            BingModel.isRunStartup = true;
            UiApplication.getUiApplication().requestBackground();
        }
    
        public void powerUp() {
            removeSystemListener(this);
            doStartupWork();
        }
    

    This code works perfectly for me now. No other entry and no runtime stores.

    It will work for someone else who needs their application to run at startup, but only stay running in the background if a framework had been put in the application before restarting or powerdown took place.

    This line retrieves a persistent var/setting, which determines whether or not keep the app running in the background at the start or close.

    Boolean isChecked = BingModel.retrieveState ();

    I hope this helps others!

    public class DailyDesktop extends UiApplication implements SystemListener
    {
        public static HTTPInterface _httpInterface = new HTTPInterface();
        private static HelloWorldScreen _mainScreen;
            private static DailyDesktop theApp;  
    
        private DailyDesktop() {
                pushScreen(new AppScreen(this));
            }
    
        /**
         * Entry point for application
         * @param args Command line arguments (not used)
         */
        public static void main(String[] args)
        {
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            String deviceVersionString = DeviceInfo.getSoftwareVersion();
            String deviceVersionSubString = deviceVersionString.substring(0, 3);
            BingModel.deviceVersion = Double.parseDouble(deviceVersionSubString);
    
            theApp = new DailyDesktop();
        theApp.addSystemListener(theApp);
            theApp.enterEventDispatcher();
        }
    
        private void doStartupWork() {
            UiApplication.getUiApplication().requestBackground();
        }
    
        public void powerUp() {        
    
            removeSystemListener(this);
            boolean isChecked = BingModel.retrieveState();
            if(isChecked == true) {
                BingModel.isRunStartup = true;
                doStartupWork();
            }
            else {
                System.exit(0);
            }
    
        }
    
  • When typing text cursor suddenly jumps to a point in the text already entered. Use Ctrl Z to recover. How to stop this?

    When you type text, cursor jumps suddenly to a point in the text already entered.  Use Ctrl Z to recover.  How to stop this?

    I use Windows 7 on a Dell Inspiron.

    I recently did a "clean boot" who has cured a problem of high CPU usage, but left me this cursor jumping problem.  I have to look at the screen as I type to be aware of these breaks that often occur at random.

    Hello Malcolm,

    Yours is a laptop? If so, you're probably brushing the touchpad with your Palm or fingers. The easiest way around this problem is with an external mouse with touchpad disabled. To disable the touchpad go to control panel, Manager of devices and look under the mouse or HID for her. Then, right-click on it and select Disable (not uninstall - it will reinstall itself only if you do).

    You can also connect an external mouse and select the option for Notification of Touchpad to disable the touchpad when an external mouse is present. This setting can be found in the mouse properties dialog.

    Let me know if this solves the problem for you.

    Kind regards

    BearPup

  • Satellite A660 - 07P problem with the pointer of the mouse using the touchpad

    I just bought my A660 07P last Thursday, September 15, 10 and I noticed that I had problems with the mouse pointer using the touchpad.

    From time to time, the cursor/pointer is locked and seems something like a button up and down.
    I assume it's because it's on a mode of waiting, but in this case as every 5 minutes.
    When it is locked, it will also change the zoom percentage when the touchpad is struck. It is very not when I'm in the middle of something and I can not move the pointer. In addition, the start is very slow.

    BTW, I have not installed any programs or applications. I'm still testing until Friday, otherwise I'll go back to where I bought it.

    Hi mate

    This isn't touchpad problem.
    I guess as support for computer laptop MULTI-TOUCH PAD
    There are a few additional features supported by touchpad, and I think that you have enabled this while using the touchpad

    The touchpad supports the features:
    _ChiralMotion_
    You can scroll vertically and horizontally

    _Pinch Zoom_
    This feature provides functionality like the scroll wheel zooming

    _Rotating (chiral spin) _
    This provides gestures to rotate the photos and other objects

    _Momentum_
    This feature provides a smooth, fast trackball as the movement of the mouse. A quick finger on the touchpad surface can move the sliders in the entire screen.

  • Tried to use iTunes to restore iPhone 5s, but the 17 error happens: "this device is not eligible for the requested build". No problem to enter the mode of recovery, apple server and the internet. Help?

    I tried to use iTunes to restore my iPhone 5s, but the 17 error happens: "this device is not eligible for the requested build". No problem to enter the recovery mode, connection to the apple Server (the software update download was complete) and internet connection. Help? I do an Apple store to restore?

    Error 17 refers to network problems. Take a look at these articles and try the suggestions:

    Solve the iOS update and restore error in iTunes - Apple Support

    Get help with iOS update or restore errors - Apple Support

  • Problem with access point or wireless adapter

    Hello world

    tried to connect to my WiFi, but the convenience store detects that the problem with access point or wireless adapter.
    The drivers are up-to-date and functioning normally. There were discussions on BIOS but I don't know if I would be able to complete the task without bricking your laptop.

    Is there any online support?

    Hi smert

    Your message is not really useful.
    Why? Because no one knows all the details of the laptop, wireless network card system...
    So please would you be kind enough to provide more details.

    But despite the missing information, I recommend:
    (1) reset your router WLan
    (2) check the connection to the WiFi unsecured. (of course for testing purposes)
    (3) check the different (WPA/WPA2 AES, TKIP) encryption

  • How to fix it. Problem of "Serial Cable using IrDA Protocol" it says Code 43 I use window XP

    How to fix it.  Problem of "Serial Cable using IrDA Protocol" it says Code 43 I use window XP I have no idea what the point is that the origin of the problem. Is there a link I can go to-to solve this problem? Thank you in advance.

    Yes, just right click on the device in Device Manager and select uninstall.  When you restart, Windows can detect the device and try to reinstall.  If the error is returned, post back - if this error is related to a laptop that has an infra-red (IR) integrated connector, you can disable this device in the BIOS.

  • I'm having a problem with a sound used for Norton ccSvcHst.exe process. And perhaps dwm.exe

    I'm having a problem with a sound used for Norton ccSvcHst.exe process. I have all the dates of the last mounted and I roughly 1 000 000 errors page an hour and the hard drive of my computer is crazy with me doing nothing. Norton has been included in the software package supplied with the computer. so I hope that support you. What can I do to calm my computer runs to stop this service... I have also about 500 000 for the service dwm.exe. What could cause this?

    Hi dude, on average

    A. from when what happens?

    B. recent changes made on your computer?

    C. you get any error message?

    First of all, I suggest you to uninstall and reinstall Norton using the Norton Utilities disk and check if the problem persists.

    Second, you may have to perform an auditor of the system files on your computer in order to replace the files corrupted on your computer.

    Open an elevated command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    Type the following command and press ENTER: sfc/scannow

    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Bindu S - Microsoft Support
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • I/o Error: Cannot run program "C:\Program": error CreateProcess = 87 using ant

    Hi guys,.

    I'm trying to build my console application using Ant. It is a part of my build.xml

       
    
            
            
                
                
            
        
    
        
            
                
            
            
            
        
    

    When I try to "build Ant" I get this error returned:

    I/o Error: Cannot run program "C:\Program": error CreateProcess = 87, the parameter is incorrect

    referring to this line:

    
    

    I tested the names of directory and environment variables all (the variable

    ${46.jde.home}
    

    too) is set correctly, but the error is still there... How could I solve this problem?

    Thank you very much

    Sometimes, the length of the path give birth this error but I have not seen in a while. I ended up installing most of my OCD: \RIM apps to avoid path issues all together.

  • Composition-&gt; featured news-&gt; problem place the cursor using HTML.

    With the help of the composition of new feature to display a *.html page when I hover over the item triggered. The HTML code has been entered by using the object-> insert HTML in the area target. The HTML code works - however the problem I'm facing is that html does not hide in the first place.

    S ' Please advise

    Thank you in advance.

    Check initially hide in composition options.

    Thank you

    Sanjit

  • Definition of white/black Points using the tone curve

    I am trying to install white/black points using the tone curve, but when I try to drag one of the end points of the line in the tone curve tool, I can't move. Could those be locked somehow...?Screenshot 2015-01-09 19.26.12.png

    It is what it is supposed to do. Without the sliders, you work with the curve itself. Now, you have direct control of the curve and can drag any part of it. Have you thought in your white and black points using the whites and blacks in the base Panel while holding down the opt/alt key? I guess the reason why what he says point curve is because this icon is what allows you to curve to the point.

  • Transform problems of effect when used with the depth of the 3D layer

    Here is my set upwards.

    I have PreComp with graphics any illustrator with active continuously rasterized layer.

    This graph has a reflection in it. I was thinking by applying the effect processing, offset setting to-100 and by setting the anchor point.

    Regarding the graphics move from left to right (X, Y) there is no problem and anchor point is in its place.

    As soon as I do the 3D layer and start changing the values of depth thinking begins to jump around.

    My guess is - it happens that point because of anchorage is a constant value and because the thinking is based on its value it does not follow the base of the graphics. Purhasps it is a snippet of code to be used to bind the value of the anchor Point to the Zoom value? Adjustment of the values of anchor with keyframes turned out to be too difficult.

    In other words, I like to keep thinking at a constant distance from the base of the graphic part and once the relocation of graphics on or in the reflection does not follow.

    I précomposé this graphics and it imported into the new Compostion and applied movement XY and Z using the camera and Null layers. It was the same effect and reflection did not stick to the base of the graphic.

    I need to keep the collapse processing enabled on all consecutive Comps/PreComps to ensure that the vector art makes to high quality.

    What would be a good way to make a reflection of a 3D/preComp layer in the model where the movement controlled with layers of continuously active camera and Null, with the Transformations of rasterized/reduce?

    I'm with Mylenium on it. Your concept is inappropriate and you do it is much too difficult. Just put the anchor at the bottom of your reflection, then resize it to 100 in y [100, -100] can do the two 3D layers and implemented a matte degraded on the reflection layer.

  • The latest changes to the 'Upload to the FTP host' function has made it useless - no point using a program such as Muse if I can't easily and automatically upload work to the Web server.

    The latest changes to the "Upload to Host FTP" function made it useless - no point using a program such as Muse if I can't easily and automatically upload work to the Web server.  I use BlueHost webhosting with a main area and I have several domains with this account (such as subdomains or folders on this server) - with older versions of Muse when downloading pages it simply opened a warning window to tell me (what I already know) the Web site I am downloading does not point to the main domain BUT now Muse is trying to create a new folder separated into the root directory of the main domain. completely ignoring the directory path that I am giving him - useless!  Why do these crazy changes to the program - and so often - it is very frustrating as amateur ware!

    Hello Stephen,

    There are some problems with the download of ftp through Muse, who knows the team of engineers and those will be corrected in a future version of Muse. At this point, the work around would be to export the html code of Muse and then download via some third party client like filezilla ftp.

    I would recommend that you keep an eye on our page of release notes to get updates more about it - Release notes | Adobe Muse CC

    - Abhishek Maurya

  • Existing listening channel get disabled after agree importing using Ant

    Hello
    When I try to import an agreement to use the ant script in the B2B, existing channels of listening in the console are get disabled.

    Then I deleted the channels look in the console of B2B and I unzipped the file exported in the B2B console, open the file tp_MyCompany.xml at the entrance to the channel listener, set the active = 'true '. Then I re - compressed files. When I tried to import this file updated the zip using Ant, it worked perfectly.

    But even once when I tried to import the modified zip file, same problem arose i.e. channels got Listening disabled.

    Help, please...

    Thank you
    Monica

    You can also consult the section "20.8 activation or deactivation Listening channels" to -.

    http://docs.Oracle.com/CD/E23943_01/user.1111/e10229/scrpt_imp_exp_dep.htm#CEGBDIDB

    Kind regards
    Anuj

  • Make changes to the source using ANT (ojdeploy) files

    Hello

    Assume that you have an application that uses a Web Service data control. The URL of the WSDL file will be hard coded in the connections.xml (indicated by DataControls.dcx). But of course, during the deployment in a different environment (from dev, in tst, in ACC, in production), this hard-coded URL will be replaced by the corresponding environmental WSDL document. My idea was to solve this problem using Ant.

    I have already created a build.xml Ant file that uses ojdeploy to build the project as an EAR file. This is the code in build.xml generated to make the deployment:
    <target name="deploy" description="Deploy JDeveloper profiles" depends="init">
       <taskdef name="ojdeploy"
                     classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
                     uri="oraclelib:OJDeployAntTask"
                     classpath="${oracle.jdeveloper.ant.library}"/>
       <ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
                      executable="${oracle.jdeveloper.ojdeploy.path}"
                      ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
                      ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
          <ora:deploy>
             <ora:parameter name="workspace"
                                      value="${oracle.jdeveloper.workspace.path}"/>
             <ora:parameter name="project"
                                     value="${oracle.jdeveloper.project.name}"/>
             <ora:parameter name="profile"
                                      value="${oracle.jdeveloper.deploy.profile.name}"/>
             <ora:parameter name="nocompile" value="false"/>
             <ora:parameter name="outputfile"
                                      value="${oracle.jdeveloper.deploy.outputfile}"/>
          </ora:deploy>
       </ora:ojdeploy>
    </target>
    How can I edit the build.xml file to adjust the URL to the WSDL for the Web Service (for example in DataControls.dcx) before you deploy the code on an EAR file?

    For example, if the DataControls.dcx has the following entry after having created the control data:
    <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice"
                      name="MyWebServiceDC" version="1.0"
                      provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider"
                      wsdl="http://dev_server:7001/soa-infra/services/default/MyWebService/Dummy_ep?WSDL">
       <service name="Dummy_ep"
                     namespace="http://xmlns.oracle.com/MyWebServiceOutput/MyWebService/Dummy"
                     connection="MyWebServiceDC">
          <port name="execute_pt">
             <operation name="execute"/>
          </port>
       </service>
    </definition>
    Then I would be able to edit this file for:
    <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice"
                      name="MyWebServiceDC" version="1.0"
                      provider="oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider"
                      wsdl="http://dev_server:7001/soa-infra/services/default/MyWebService/Dummy_ep?WSDL">
       <service name="Dummy_ep"
                     namespace="http://xmlns.oracle.com/MyWebServiceOutput/MyWebService/Dummy"
                     connection="@connection@">
          <port name="execute_pt">
             <operation name="execute"/>
          </port>
       </service>
    </definition>
    where @connection @ is an Ant token, which can be replaced by the Ant in the relevant environment. For example, MyWebServiceDC_dev, MyWebServiceDC_tst, MyWebServiceDC_prd etc.

    The same issue if you use a Web Service Proxy: the URL of the Web Service is hard coded into the generated Java files, so I would like to change the location of this URL using ANT instead of having to do it by hand.

    Is this possible?

    Thanks in advance!

    Chris,

    Yes, there is no real way to do this automatically. Usually, what I do is to keep a copy of the shadow of these files in a separate Directory. Any time one of the files changes, I have a copy in the shadow directory and either do one of two things:

    (1) replace all values specific to the environment with chips
    (2) create specific versions to the environment of the files with the appropriate values.

    Then, in the ANT script, you can do this:

    (a) copy the original files somewhere safe (temp directory).
    (b) copy the tokenised files or specific to the environment to the correct location
    (c) use on the tokenised file if it was your approach
    (d).
    (e) deliver the original files.

    This is a hack, but that's life.

    John

Maybe you are looking for