Code can be extracted from the .bar file

Hi all

I'm a little uncertain on what I understand the .cod files seem to protect your code from others seeing, but if someone has a playbook application .bar file, can they get the code it?

Thanks in advance for this compensation for me.

Easily, if you mean, by 'code', the code compiled. Get the original source is not possible, but getting something closely resembling the original source is pretty easy using "decompilers' commercial.

The .bar himself file is just a .zip file. Extract using a standard zip tool (or rename to have a .zip extension, if that's your only way to do this) and you will see what is in it. The .swf was ActionScript3 bytecode, which is actually the "machine language" for the virtual machine AVM2 which contains the Flash 10 runtime to run your program.

Tags: BlackBerry Developers

Similar Questions

  • I changed my "opinion" in full screen... How can I change from the Bar Menu with "view" is no longer available in "full screen"? I tried Esc, but it does not work...

    I used tab DISPLAY in the top left to change my mind in 'full screen '.
    Now I can't access the VIEW tab to restore. How can I change back so that this Menu will appear at the top of my screen?

    A few choices:

    1. F11 toggle full screen
    2. Move mouse in the upper part of the screen to menu bars, if show you them
    3. 'Alt + V' - to bring up the View Menu

    More information:

  • QT_TR_NOOP() macro does not mark the string for the extraction of the .ts file

    Hello

    Because I want to put all the translatable texts in one place, I defined a separate category for that. The .h file similar to below:

    #ifndef TEXTCONSTANTS_H_
    #define TEXTCONSTANTS_H_
    
    #include "qobject.h"
    
    class TextConstants : public QObject {
        Q_OBJECT
    
    public:
        static const char *SWITCH_APP;
    };
    
    #endif /* TEXTCONSTANTS_H_ */
    

    And the .cpp file similar to below:

    #include "TextConstants.h"
    
    const char *TextConstants::SWITCH_APP = QT_TR_NOOP("Switch App");
    

    Note that in the file above, I use QT_TR_NOOP() macro to mark the string given for extraction of the .ts file. This is mentioned in the documentation at https://developer.blackberry.com/native/documentation/cascades/device_platform/internationalization/....

    I then called tr (TextConstants:WITCH_APP) in a different subclass of QObject. The problem is that the text "App switch" is not extracted from the .ts file, why? If I call tr() and skip the text "App Switch" like tr ("Switch App"), this text is extracted from the .ts file. Am I missing a few things to make it work? Thank you.

    PS. I use® for QNX Momentics® IDE for BlackBerry® 10 native SDK, Version: 10.1.0, Build id: v201303191709

    Hello.

    I think you have misunderstood my suggestion.  I was only suggesting that you call the function tr() in your statement of constant ithat you posted nstead of QT_TR_NOOP(), not in other parts of your code, to see if the compiler accepts it and the chain gets extracted correctly.

    If this does not work, I'll try to track down the code of the work for the purposes of comparison.

    Sorry if I wasn't clear before.

  • I can't find the .bar file

    Hello

    I developed an application in eclipse blackberry native indigo with Blackberry Java SDK version 7.1.0. I tested Simulator, everthing is ok but when I look at my workspace, could ' t find .bar file. There are .cod, .cad, .jar files vs but .bar file is not. Where can I find the .bar file or what I need to do to generate the operations .bar file?

    Thank you...

    You must move to the right forum:

    http://supportforums.BlackBerry.com/T5/Android-runtime-development/BD-p/ADT

    That said, your question about the deployment of applications is interesting and applies to others who might convert Java apps BB10. So this may be interesting information for other readers on this forum...  However it can be as bad, so read with caution.

    My understanding is that the only method of deploying software to BB10 apps to devices, apart from the side loading in the design environment, via App World, now Blackberry World.  BB extend it to support Business Applications - and company administrators can choose the world BB Enterprise applications and target these to their managed devices.

    If the concept of pushing to the server has disappeared.  As has the notion of downloading applications to a web site or side loading using the Desktop Manager.

    It's worse for Android applications.  Android applications will be refused for enterprise BlackBerry World, because the side job of the balance does NOT include the Android runtime.  It is only supported in the personal plan.

    So if you plan on writing a business application, you will have to develop into one of the other supported platforms, such as HTML5, waterfalls or WebWorks.  Not Android.

    And even if you do this, you will need to set up the app World de BlackBerry Enterprise and of course your client company must run BES 10.

    I personally have not had to fight this battle, so it's just my understanding.  But I'm developing a company BB10 application so will face this situation myself in the next few months.  Then I will know for sure!

  • I would use Yuanti SC police for my web development project. However, my developer is not able to use the file .ttc I extracted from the library of fonts, and .ttf, .otf .woff formats not available anywhere on the web.

    I would use Yuanti SC police for my web development project. However, my developer is not able to use the file .ttc I extracted from the library of fonts, and .ttf, .otf .woff formats not available anywhere on the web. Please, let me know how can I use this font for my project.

    Thank you

    Anton

    Unless the site you develop is for the Asian market, I don't know why you want to use that particular font. The Basic, standard and digital alphabet punctuation glyphs has sans serif, Roman characters, but the rest is thousands of Kanji characters. While you can use the font .ttf and .otf and web fonts, it would be very unusual to use one so great. Pages should load quickly and 78 MB, with a value of faces to download for those who have connections slow Internet is not fast.

    I would take a different font without serifs. There are literally thousands who look identical or virtually identical to Yuanti.

    131 free and high quality without font serif to choose here. I'm sure you can find a desired.

  • XP computor - when I run Firefox there is no file tab/button so I can not print from the web how to make this file button to atart upward of firefox?

    I am a rookie to computors - I can't print from the web with xp - at the start of firefox there is no buttons above the address bar if no button give or anyhthing - help please

    Thank you

    You can start printing via the keyboard using {Ctrl + P}.

  • I can't set up defined page before printing. File for all pages then it happens... the entire depth running above the bottom. I can't print from the web

    Question
    I can't set up defined page before printing.
    I'll file to all pages that comes very close up and tabs Format & Options and margins, headers/footers.
    Here is the entire depth... running above the bottom. I can't put footers. I can't print from the web

    When I go to preview before printing I get a totally gray screen

    See this:

    http://KB.mozillazine.org/Problems_printing_web_pages

  • How can I reduce the size of the .bar file created by QT to Blackberry Playbook?

    I am doing an application UI for Blackberry Playbook, and that's why try to use QT Creator. But then I have create and deploy a new project: Blackberry Qt Gui Application with only two field (a Text Edit field and another field of push button), the .bar file installed in my playbook is too large (about 80 MB).

    The problem is, it's taking too long to deploy. Although I am new to this platform, I can't solve this problem. Someone can give me a solution, how can I reduce this large size?

    See this comment and his response:

    http://openbbnews.WordPress.com/2012/02/24/Qt-update/#comment-359

  • How to extract information from the ovf file from a file of eggs by programming?

    How to extract information from the ovf file from a file of eggs by programming?

    Hello

    Please provide details:

    -On what OS you are programming (Linux, Windows,...)?

    -What programming or scripting language do you use?

    An EGG file is just a tarball of hard, .ovf and .mf files. The .ovf file is always the first. For example, on a Unix like operating system, this should be easy.

    For Windows, there are several options available to manage programmatically the tarballs. See for example http://www.codeproject.com/Articles/470999/tarlib-Windows-TAR-Library.

    And the ovf itself file is in XML format. For handling XML files are libraries available for literally every OS and programming language.

    Google is your friend.

    Andreas

  • If I convert a file in a file PDF Microsoft Word can I remove photos from the converted file

    If I convert a file PDF Microsoft Word can I remove photos from the converted file?

    Hi sutterrot,

    After a conversion from PDF to Word, you can download the converted file locally on your computer.

    You can then select the "Enable editing" button and then remove images/texts or make any other changes.

    Kind regards

    Ana Maria

  • HelloWorld app - could not create the .bar file

    I went through the helloworld application, but it does not create the .bar file.

    The code is ok as its condition, the settings are correct and I've activated bbwp to run as admin and java.exe with the back of the RIM.

    In Wellington, when I click on the package or package & sign or package and launch using the emulator, the same thing is happening: (I use Windows 7) it promts launch me bbwp.exe as admin and I click Yes, then the command line performs generation, seems complete construction okay, said the generation succeeded, but only generates a zip file and does not create a .bar file , or if I try to run on the emaulator - does not launch. I also tried the same thing from the command line and the same, it does not create the. bar.

    can anyone help?

    Problem solved in java unistallin and reinstall Java SE 6 Update 38 and changing UAC settings

  • Problem with the application after the installation of the .bar file

    Hello

    I created an application. Everything works fine when I compile Momentics, but when I create a file via the 'Export release build'.bar and install this file on the device app does not work properly.

    The application creates a profiles and showing them in the list view, all the data in the json file. When I install the application of the .bar file create profile and change the settings for this profile and return to the main screen, profiles disappear. This problem will not occur when you compile a program on the phone directly from Momentics.

    Welcome on the support forums.

    you reproduce the workflow step by step with a debug version?
    do you have any record that can give you advice? If not, add a little.
    where is the location json file that you use to save the data? Perhaps a relative path is used.

  • The .bar file reading HTML files

    Hello

    I would like to integrate a user documentation format .html (embedded next to my icons and images in the .bar file) with my application and use QNXStageWebView to view it.  My name is "docs.html" should I spend in the webView.loadURL (); command to get to my account?

    Oh, and how should I dispose of the Viewer when the client is done with it and click my button "return"?

    Harry

    @jtegen: yes I checked via the service to exist and it exists when you check via the .as file. everything that you put in the src directory is automatically placed in the .bar file. at least it's under flash builder.

    @harry: figured it out! OK so my final hypothesis, is that when you load the QNXStageWebView he search files in a way of absolute path. which means that you can't simply use "upploadare" you hafta use the absolute path. so here's the code that should allow you to view your HTML file:

    webView.loadURL(File.applicationDirectory.nativePath + "/docs.html");
    

    and what removal try to use this:

    webView.destroyBrowser();
    

    Good luck!

  • create table from the XML file at several levels

    Hello

    I'm working on the provision of an app to display xml data, which are currently using data from the settings file where the data was stored in a table.

    CONT =]
    [{txt: 'Perfume'} //main menu]

    [[{txt: 'Top Note', framework: 'topNote'}, {txt: 'Heart notes', frame: "heartNote"}, {txt: frame, 'Note of Base': 'gaps'}] / / submenu]

    ,[
    {txt: 'Packaging', field: 'packaging'} / / main menu

    ]

    ]

    I created an xml file and am able to recover data and impossible to find the same.

    Here's the xml file

    < Products >
    < produces txt = setting "Perfume" = "" > "".
    < = frame 'Top Note' = "topNote" txt file name > < / name of the file >
    < = txt file name ' heart notes"frame ="heartNote"> < / name of the file >
    < file name txt = "Core score" frame = 'gaps' > < / name of the file >
    < / product >
    < produces txt = framework of 'Packaging' = 'packaging' > < / product >
    < produces txt = framework "3D Animation" = "tvAd" video = "true" flvName = "video.flv" w = "547" h = "309" > < / product >
    < product txt framework "advertising Lla' = 'the package' = >
    < name of the txt-file = "Print Ad Creative Pack" frame = "printCp" > < / name of the file >
    < / product >
    < / product >

    AS A CODE

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

    (GlobalVarContainer.myXML is the place where is stored the xml file)

    var node:XMLNode = GlobalVarContainer.myXML.firstChild;
    var navItm:int = int (node.childNodes.length);
    for (i = 0; i < wheel; i ++) {}

    var temp_array:Array = new Array();
    var subnavCount:int = int (node.childNodes [i].childNodes.length);     subnav
    var obj:Object = new Object();
    obj.txt = node.childNodes [i] .attributes ['txt ""]
    obj. Frame = node.childNodes [i] .attributes ["frame" "]
    trace (node.childNodes [i]. Attributes ['txt'])

    for (var j: int = 0; j < subnavCount; j ++)
    {
    trace (node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'])
    obj.subtxt = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['txt'];
    obj. Subframe = node.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [j]. Attributes ['frame'];
    temp_array.push (obj);
    }
    GlobalVarContainer.my_array.push (temp_array);

    }

    If I add - trace (GlobalVarContainer.my_array); -to code the outout is

    [object Object], [object Object], [object Object]
    [object Object], [object Object], [object Object],.
    [object Object], [object Object], [object Object],.
    [object Object], [object Object], [object Object], [object Object]

    but trace (.txt [i] GlobalVarContainer.my_array + "array"); or trace (GlobalVarContainer.my_array [i] [0] .txt + "array"); no results.

    need advice to move forward from here.

    Thank you

    AYUSH

    What I meant is that if you load the XML e4x, you have to analyze in a table to use it. You can retrieve the syntax of e4x XMLList and use it directly in your code. You can treat the XMLList almost as you treat any array using a for each loop for example.

    Take the code below as an example and adapt it to your needs:

    var mainMenu:XMLList = this.testXML.menu;

    for each {var menu: XML (in mainMenu)}

    trace ("Menu:" + menu.@txt);

    You can use your logic to create menu main point here

    var mynavItem:Navitem = new Navitem (0, spatie * i, GlobalVarContainer.my_array [i] [0], [i, 0], false, true);

    this.holder.addChild (mynavItem); ABLE TO VIEW THE MAIN MENU

    var items: XMLList = menu.children ();

    If (items.length () > 0) {}

    for each {var point: XML (in the points)}

    trace ("point:" + item.@txt);

    Logic of creation of subitem here

    var mySubnavItem:Navitem = new Navitem (dash, spatie * (i + 1 + j), GlobalVarContainer.my_array [i] [2], [i, j], true);

    this.holder.addChild (mySubnavItem);        DISPLAYS ONLY THE LAST ENTRY IN THE SUBMENU

    }

    }

    }

  • How can I remove all the unused files to clear a space

    How can I remove all the unused files from my computer

    You can remove applications on the control panels.  XP seems to me (im not on a XP ATM machine) programs cpanel

    Files?  you do not (or should not) delete separately

Maybe you are looking for