How build/package two applications of a project?

Dear all, I have a project of cascades, and I would build two different versions of the app:

a. a normal version with advanced features disabled, which will be free in BBWorld;

b. Pro version has with all the advanced features, which will be non-free in BBWorld;

The app both are based on the same base code, but with a condition variable to enable/disable features. For my permanent title, there are two things to do:

1. the two applications must have package different name (id) in bar - descripter.xml

2. the two apps must be built with the settings of different environment variables.

# 1, I have no idea; # 2, I noticed in the setting of property of project-> build c / c ++-> environment, you can add the new variable, but I don't know how to use it (I tried #ifdef in the code, doesn't seem to work).

I think it's a good case for many other applications, share a few experiences on how to handle everything?

Thank you

Dong

If you really need to both projects and are not in-app-payment

I do these things using different branches in Git

There is a main direction and also one or more custom industries

then I use cherry-picking or other techniques to have customized branches needed to build specific file bar

to go this way, you should know what happens behind the scenes of Git and work also disciplined

Another way would be to put your common code in a library and use this library of two applications

copy/paste should never be a solution, because it works only after all you are not able to maintain your applications

Tags: BlackBerry Developers

Similar Questions

  • How to package an application and install it on an alpha bb10?

    Hello

    Now, I can develop my application and running/debugging Momentics. I am trying to package the application and send the package to other trials, but, without for them to build the binary file again. How ever, I can't find documentation or discussion in this frum on how to do this?

    Could you let me know if it is possible and how? Thank you.

    Dong

    Place the DevAlpha in development Mode, then the command line

    blackberry-deploy -installApp -launchApp -device  -package .bar -password 
    
  • How to package an application

    Can someone point me in the right documentation that explains how to do this? or briefly explain it to me?

    Thank you

    To group, you can do 1/2 work in APEX and 1/2 with SQL Developer...

    (1) in order to generate the DDL for your application (tables of data, indexes, functions, packages and all database objects), go to the sql workshop, public services, generate ddl.
    Here, you select all the objects in your workspace to plan you must use your application.
    When you have the ability to save in a file or the Clipboard, select a file... Save the file in a location that you will remember

    (2) with Sql Developer, you can go table-by-table and generate a file for each table data insert statements. Be sure to save these files to the same location that you saved the APEX ddl file.

    (3) in the APEX, open your application and click the support for objects, click install scripts... Here, you add scripts to install your ddl objects and data. Add in the order that you need (1 DDL, then the data files, including parents paintings) 1...

    Thank you

    Tony Miller
    Webster, TX

    I am a Ranger! We walk in the dark places, no other will come! We are on the bridge, and no one can pass! We live for the one, we die for the one!

    If you answer this question, please mark the thread as closed and give points where won...

  • How to merge two applications, one with world worm 8.9.35.108 and the other with NI4882 version 8.1.20.119

    Work request #1 is built with common 8.1.20.168 and NI4882 worm 8.1.20.119 worm

    Work request #2 is built with common worm world worm 8.9.35.108 and 8.7.35.131

    When they are merged into a new #3 application, apparently only one Common.dll files can be used...

    If the older Common.dll is used, world routines fail because they require worm 8.7.35.131

    If the new Common.dll is used, NI4882 routines fail because they require worm 8.1.20.168

    What the best way to get the merged application would work?

    Hi Gary,.

    Thanks for the information!   It seems that the problem here is that 4882 version that you reference depends on version 2.0 of the common Assembly .NET, while the version done VISA refers to version 3.5.  TOFIX this, you need is will reference a more recent version of the Assembly 488.2 (recommended) or an earlier version of the assembly VISA.  If you install the latest version of NOR-488. 2, you will be able to reference the most recent assembly, allowing you to successfully run your application with the most recent common Assembly.

  • How to package the application label/title?

    Hi all
    1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
    2 opportunity BB JDE v4.7

    3. signed request

    4. the request is:

    My label application is for example "SUE KARL"there 20 charectors. but on the device/Simulator I can see only 10 characters and reset displays as «...» «- ex: «SUE...» ». but when you focus on it you can see the full label on the top of the unit which is good.but

    My request is here:

    I want to wrap the label in the icon itself.

    any body can help me on this.

    Thanks in advance

    Ratna-

    @ Ratna, I sent you a private message...

    Well, Yes, as you say, it does not appear the full name, since there is no space... I don't know if this is a restriction, but it shows only up to 9 characters, after this point to point (...) comes...

    Thank you!

  • Is it possible package an application later after creating his project?

    Is it possible package an application later after creating his project (maybe the next day) and how? Thanks for any help.

    Yes, it is possible. One of the files in the project directory is 'build.bat. You can run this file to rebuild the project anytime you want.

  • How to combine two or more projects into one

    I have about 11 months of video editing experience. I started with a Sony HDV Handycam (tape) and now use a different Sony Handycam it has internal memory.

    I've upgraded to faster and more powerful computers (3 times in the last year). I have 3 computers - one with an Intel i7 64 bit running windows 7, a second with Intel core 2 Quad running vista 32-bit and Intel core 2 duo laptop running Windows 7.

    I have two editing Corel Video Studio Pro X 2 and first Adobe Elements 8 applications. Each came with the strengths and weaknesses.

    I am disappointed by Adobe regarding how to merge two or more projects into a master project. Working with large video projects is not what I like to do. Ten to 15 mins projects are my favorite length. However, when it comes to burn a DVD and adding projects to the list (this can be done in Pro X 2), I seem to be stuck with burning a DVD separate for each project of first Elements 8. This isn't the way to go if I do work for a client and they want just a DVD.

    I read on a forum and tried to convert an AVI to each project and then inserting each AVI file in my 'master' or final project timeline and then burn a single DVD. This principle works, but the quality of video playback (especially when the subjects are moving) is not acceptable. The edges are saw teeth and the overall quality of resolution is downgraded from the original AVCHD video from Sony handycam camera.

    Not to be too negative on creative adobe 8 elements, he did a great job of editing and burning to DVD with original AVCHD files direct the camera (pre-AVI conversion). I am very satisfied with this part of the application.

    I wish just that I don't have to save or convert each project separate adobe for AVI files in order to combine a number of projects.

    By the way I set up a project that had three blocks in the video (20 seconds) still subject (in this case roses growing in the garden in broad daylight) one block was directly from the camera format AVCHD, one was an uncompressed AVI file is using the options to 'share' in Adobe and third block is a done compressed AVI file also using 'share' in adobe. It was very clear to me that the AVI files are down on the quality of the original AVCHD file of the camera (only slightly better than the compressed AVI uncompressed AVI).

    AND other trouble, it was AVI files reduced the size of the image (same proportions 16:9) and that was disappointing on a HD screen. AVCHD met clear and clean and filled the screen on my 42 '' HDTV files.

    If anyone has had the same problem and can you please help with the concerns that I have.

    Thank you very much

    Paul Hodge

    The possibility of using the individual sequences, when you edit a project, is a force of PrPro. However, there is a difference in price between the two programs. You have to ' get something for your $, right? Personally, I created my PrPro sequences like "chapters" change like that and then export each sequence import into Encore to create.

    Pre, Steve to edit a project and then export as DV - AVI, technical for import in 'the master' project for the creation of final on DVD, is the best method. Were I not also on PrPro, this is exactly what I would do. It works perfectly. When all is said and done, there are no other measures, as for me, using PrPro and again. PrE was capacity-building, albeit somewhat limited, if a user does not need to transfer AV files to another program (in my case).

    Good luck

    Hunt

  • How to build a web application for smartphones

    Salvation of venezuela, please I need the steps to build a web application for Smartphones using Webworks, what resources do I need to install in my computer to start my project?

    Hello

    A quick way to start is to download and install Eclipse with the bundle of BlackBerry WebWorks plug-in. It is available for download on:

    http://us.BlackBerry.com/developers/browserdev/devtoolsdownloads.jsp

    Alternatively, you can use the newer approach, of ripple:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/how-to-use-ripple-instead-of-the...

    See you soon.

  • How to combine two video projects in Windows Movie Maker?

    How to combine two projects?

    I started a project and I would like to import and more old project to combine.

    I guess that you are referring to the project .mswmm files?

    The following steps may be worth a try:

    Reach... File / open project... Select a project file.
    When the project appears on the timeline... go to...
    Edition / select all.

    Open a different project... to... Editing / paste.

    Now the content of the two projects should be on
    the chronology.

    To add more doing the same thing...

    Edition / select all... open a project... Editing / paste

    Another method would be to publish (save) each
    the project in film WMV format and then re-import
    both WMV clips and slide both to the
    timeline. Then, you could publish it as a simple video.

  • How to package applications JavaFX based Nashorn

    Hello!

    As you know, we can write application JavaFX in JavaScript using the Nashorn engine, but you will need to run the application with the command line like: > app_all.js jjs - fx. So I don't know how can I deploy application that allow and click on request for lunch or make autonomous packaging application using package tools from JDK 7 Update 6 or later version.

    Thanks for the reply

    As you know when we run the js with the option file - fx we have elementary in the context and we can get it with the $STAGE global variable or explicitly implement the start function: function start (internship) {}. So I asked myself how can I put the primary stage in the context of the script? Fortunately, I found the solution for this light I can put something in the engine and use the key as a global variable in the script, that was the thing that I was missing.

    @Override
            public void start(Stage stage) {
               try {
                              InputStream SCRIPT=getClass().getResourceAsStream("app_all.js");
                              ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn");
                              engine.put("$STAGE", stage);
                              engine.eval(new InputStreamReader(SCRIPT));
                    }catch( ScriptException ex){
                       Logger.getLogger(Appli1.class.getName()).log(Level.SEVERE, null, ex);
                    }
            }
    
  • How to build a Web application on the blog?

    I need your help on a problem with the fact that I was struggling.

    So I try to build a web application to create a blog that is 'false '. I create the fields, updated my css, but I must be missing something because the page does not load the model that I created...

    How do you think I should create blog web app? Do you have step by step recommendations?

    1 million for your help thanks!

    Do not give you all the features of a blog and not as manageable auto. Yes, we build web app Articles all the time, but they will still not have archive features etc of the current blog.

  • How to make a link between two applications of ADF

    I use jdev 10.1.3.3 and ADF.

    I need navigate from one application to another application. for ex - a table has a column testid.it is show link. By clicking on the test id it should to go to another jspx. page in another application,
    I'm new to ADF.please help and give a suggestion how this can be realized.

    Please answer

    Paste the url of the page you want to see in the action golink property...

    In case you have two applications with security as login and session, sorry that can't be done. Go to the login page of the destination application.

    Published by: Rohit Hoon on April 23, 2009 02:08

  • How to import the class from another project in Jdeveloper 11.1.1.7

    I have an application with many projects. I create new project with the application and I want to import a class from another project with demand.

    But I am getting error ( found import.somePackge.someClass). I have red that I need to add it to the path of bulid project but no idea how.

    I use Jdeveloper 11.1.1.7

    Click the project--> project properties, dependencies, click here to change the Righ pencil icon and check the build output

  • How to change weblogic application. XML

    I have create one EAR based on hudson.ear using jdev 11.1.1.4. Due to conflict jar files, I need to change the weblogic - application.Xml.
    I EAR and rename the rar and extract it. Then I add tag < prefer-application-packages > weblogic application. XML by hand. And
    I can't find weblogic - application.xml in Jdeveloper. I want to change this file in Jdeveloper before you deploy this application to the EAR.
    How to do?

    There isn't a folder, it is a (accordion) pane in the navigation Application - normally it's just above the pane controls data and below the projects pane

  • comparison and fusion between two applications

    Hello
    We run APEX 3.1.1. I have an application (say 101) production that has about 80 pages. I started a project to create more pages and references of web service and other things. It was supposed to be done in a month. so, I cloned application 101 to 102 and began with my changes in 102. at the same time any request for a quick change of the production team is a 101 application, so that the results are visible instantly.

    now I have finished my work at 102. and 102 is ready to be the application for production. My problem now is, how do I get minor changes, I did several times in app 101 to 102?

    I tried to export the two applications and sqls against them, but these sqls are very large and there is a margin of error as you more the text of 101 to 102. There must be a cleaner way to do what I'm not aware of.

    Any help is appreciated.

    Abdul-

    I would say that you need to implement the changes manually. I understand the question:

    You have two applications: App A & App B

    Both applications are in the same space and work under the same version of the APEX. You did changes in both A & B (change a region in the App, change the text of a label to the App B)?

    You will probably have to open each application separately and just start their merger manually. Best suggestion, the application you have worked last, copy your starting point and open the other application and start to copy songs on...

    Thank you

    Tony Miller
    Webster, TX

    There are two types of pedestrians - the living and the dead.

Maybe you are looking for

  • Just d/l FF 8 and my norton toolbar still does not work

    I had d/l the latest version of FF and my Norton toolbar did not work.So I have down graded 3. ? where he had worked, but it didn't. So today hoping u got it fixed I d/l ver 8, but no, it does not work. I pay about 25 invoices online and I have diffe

  • Activation problems of the iPad Apple Id after you restart it

    After restarting my Ipad, it asked me to enter the Apple ID and password that were used to put in place than the Ipad, to activate I remember that my Apple ID but I forgot the password. Using my account gmail via an android phone I would have managed

  • "No valid source or target channels specified. Cannot run. "error when you try to convert to digital channel waveform

    I'm trying to convert a waveform channel in one digital channel and a channel of absolute time, but I get the "no valid source or target channels specified. Error cannot run. ». I'm trying to concatenate several files TDMS InsightCM so I can display

  • Guage 'automatic selection '.

    Is the way to get the max value for a meter or a meter change 'on-the-fly "? The value that I send to a varies widely - and needle or a pointer often PIN to the right.  I would like to adapt max value where the pointer settles into a more meaningful

  • Why do I need to activate an existing license?

    Why I've suddenly tell me that my license is invalid and needs to be enabled because the hardware in my computer has changed? It didn't, and I paid for a full license, when I bought the pc. There has been no mention of this before and now he tells me