bar-descriptor for Blackberry 10.3 warnings

I get under warnings for my bar-descriptor but according to article blackberry, all these permissions are valid for blackberry 10.3. I don't know what is the problem here. Keep it raise warning when I try to export release builds. can someone help me undestand this?

'_sys_headless_nonstop, system' is not a valid authorization for the 10.3.0 API level

'read_phonecall_details' is not a valid authorization for the 10.3.0 API level

'acceses_pimdomain_calllogs' is not a valid authorization for the 10.3.0 API level

http://developer.BlackBerry.com/native/documentation/Cascades/dev/tools/app_permissions.html

The warnings are deleted if you generate using the SDK 10.3.1, but they should not cause an error.  Code snippets that you reported looks good, but there is probably a problem where you have placed the lines permission.  Compare where you placed the sample headlessservice.

Tags: BlackBerry Developers

Similar Questions

  • bar - descriptor.xml: which category for app use?

    Hi @all,

    I'm developing an application of battery. In the file of the bar - descriptor.xml I choose as single category 'media' and 'games '. Do I have to select 'Media' or let him no classified?

    Thank you very much!

    Peter

    I don't think it's really important, but I would not leave classified

  • Bar-descriptor versionLabel

    Hello!

    In the bar - descriptor.xml I see lines:

    
    
    

    But if I what I error uncomment:

    So my questions:

    1. How can I use versionLabel element?

    2. how to add a script of pre-build for the development of ?

    I can easily add scripts to compile in xCode for iOS and Android Studio project... but I can't find some like this in Momentics IDE

    Can someone help me?

    I see what you mean.  However, here are a few warnings, no errors and the construction should not fail if they are present.  I reported it to the BlackBerry Momentics development team.

  • Retrieves the version number of bar - descriptor.xml programmatically

    Is there a way to extract a version number, and other information of bar - descriptor.xml file similar to how's done it in the Android world via getPackageInfo() in PackageManager?

    It would be a convenient way to play around these values in your code.

    Thank you

    There are various APIs of the platform that you can use for example the PackageInfo

    http://developer.BlackBerry.com/Cascades/reference/bb__packageinfo.html

    ApplicationInfo or,

    http://developer.BlackBerry.com/Cascades/reference/bb__applicationinfo.html

  • The file of the bar - descriptor.xml (and make the application of command line)

    I made a game with air and it is online for sale on Android and iOS. It is somewhat popular and I thought to put up on Blackberry for quite awhile now and with the Port of soon-to-start-A-Thon, this seems to be a great time to finally make it.

    BlackBerry is not very common that here where I live in Sweden, however it still looks like an interesting with a potential platform if I want to get the trip. Unfortunately I don't own a camera myself so I'll use the Simulator. With some graphic problems with the simulator when running in mode BB10DevAlpha (icons does not appear right) and the Simulator is very slow when running in mode BB10DevAlphaSafe (chart appears on the right, but it seems that updating them requires more CPU my computer are available).

    The game is built using nothing other than Adobe Flash Professional CS6 and a bunch of command line tools to build the package and sign. I've only got an old computer with Windows XP now since the death of my main PC, all at the time and since the Port-A-Thon is just a few days I do with what I got.

    Firstly I understand that only AIR 3.1 is supported by Blackberry 10, so I use the old AIR SDK 3.1 to create a SWF (flash) file.

    What I really need to do should be used in the exported SWF file of the game, then use the command line tools provided by RIM to build the package, right?

    Except that I did not count on bar - descriptor.xml to be so difficult to understand.

    I was brought to the documentation here: https://developer.blackberry.com/air/documentation/bb10/bar-descriptor_config_file.html

    It says Adobe AIR at the top, the platform selected is Blackberry 10 and the title says "bar-descriptor configuration file", so it must be in the right place!

    I start by trying the 'bar-descriptor configuration example file"on this page:

    ===========================================================



      
          None
          fake
      

     
      
       Name of the author
     
      
       gXXXxXXx ##XxXxXxxxXxXX #xxx
     
      
       Core.Games
     
      
       Icon.PNG
     
      
       HelloWorld - splash.png
     
      
       read_geolocation
       use_camera
     
      
       1

    ===========================================================

    Of course during the test I replaced a few things in the example above with the correct filenames for images etc, I just copied the example of right - off this time to you guys show what I mean.

    Firstly, I extract "blackberry-tablets-sdk - 3.0.0" in a folder on the disc, then I make sure as a full path to the "bin" in the SDK folder inside the path on the OS environment variable.

    Then I read on "Applications of Test using the command line": https://developer.blackberry.com/air/documentation/bb10/testing_your_application_cmd_ms_2010851_11.h...

    Now I run:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf myappnameicon86.png bg splashscreen1024.png - device 192.168.8.128

    Note that "bg" is a folder with 500 images that must be accessible from the app. I hope that I can just add the folder like this and not type a path to each image file...

    What I get (in lib\adt.jar via the bat file):

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Okay, so the example did not straight on the box.

    Now, I've read all paragraphs in the first URL I linked above ("the bar-descriptor configuration file"). I start my own XML file and make sure to include everything that is marked as "necessary". That's what I'm left with:

    ===========================================================



        MyCompany
        
            
            com.mydomain.myappname
            My App name
            3.0.0
            
                splashscreen1024.PNG
            

            1.5.0
        

        run_native
        
            application
            
                bb.action.VIEW
                application/octet-stream
            

        

    ===========================================================

    I have no idea of what concerns the block whole call target, but it took, so he must be there.

    Now I launch (notice that myappnameicon86.png is gone since no icon is mentioned in the above XML code, it is not mandatory):

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf bg splashscreen1024.png - device 192.168.8.128

    Yet once, I get:

    error 101: Namespace is missing
    Error: Validation of the AIR is not

    Frustrated I get autour on the forums for answers, because the official documentation is nowhere getting me.

    I'm left with this:

    ===========================================================


    http://ns.Adobe.com/air/application/3.1">
        com.mydomain.myappname
        1.5.0
        
        My App name
        
        My App name
        
        
            myappname.swf
            standard
            fake
            true
            true
            landscape
            GPU
            fake
        

        
            myappnameicon36.PNG
            myappnameicon48.PNG
            myappnameicon72.PNG
        

        fake
        fake
        
            qnx.fuse.ui.skins.QNXDevice
            qnx.fuse.ui.skins.QNXNetwork
            qnx.fuse.ui.skins.QNXSensors

            qnx.fuse.ui.skins.QNXSkins
        

    ===========================================================

    Looks like the XML code that I use when I build for Android.

    First of all it doesn't have the tag root of qnx, but also nothing of the icons are of the required size (86 x 86). The tag required splashscreens and invoke target is also absent, to name a few. No idea of what the entire block of 'extensions' really do.

    Surely, this does not work:

    BlackBerry - airpackager.bat - package installApp - blackberry-myappname - new.bar - launchApp myappname-blackberry-bar - descriptor.xml myappname.swf QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane myappnameicon36.png myappnameicon48.png myappnameicon72.png bg-device 192.168.8.128

    Success in building the package BAR to my infinite surprise!

    He even managed to install on the Simulator. An icon for the game. However when it auto-couru the app went into landscape, thought for a second and then crashed (or you leave?) without a message.

    Perhaps because the required qnx tag was missing in the XML?
    Perhaps because images in the bg file could not be loaded?
    Perhaps because he had no permission to keep screen from dimming?

    I have no idea. I tried to add XML to qnx at the address previous to the bar - descriptor.xml, I thought that maybe he needed both the qnx block for when you run the application and the application block for when packaging. But now, he has complained of something like XML is not not clean ("' fatal error: markup in the document following the root element must be well-formed." ").

    So he came to it, I have to ask for help if I ever make the deadline of the Port-A-Thon.

    (1) how am I supposed to write the bar - descriptor.xml?
    (2) what command line starting by "blackberry - airpackager.bat" is OK to use?
    (3) all I have to do is build the SWF using Adobe Flash Professional CS6 and then pack it using the Blackberry SDK, right?

    First of all, there are two xml files that you need.

    One is called the manifesto, is to AIR and is called yourappname- app.xml. It is identical to the ones you use for Android and IOS, though some elements will be ignored. It's one you need to switch on the command line, and is probably causing the 'Namespace' missing error message. A file manifest a minimum is:

    
    http://ns.adobe.com/air/application/3.1">
    
        com.example.appname
        My Fabulous Game
        1.0.0
    
        FileNameOfYourSwfWithoutExtension
        YourCompanyName
        
            [This value will be overwritten by Flash Builder in the output app.xml]
            true
            false
            none
            cpu
            false
        
    
    

    Replace the text in red with your own stuff.

    The second xml file is called to the bar of descriptor. It is for App World and the installation process and is called bar - descriptor.xml. It contains information about signing code, icon, permissions etc. A simple bar - descriptor.xml is:

    
    
       
          none
          true
          landscape
          false
          cpu
       
    
       
       your-name-on-certificate
       your-id-on-certificate
    
       core.games
    
       
       1
    
       
       
          icon86x86.png
       
       splash-landscape.png
    
       
       2.1.0.1314
    
       
       access_shared
       access_internet
       play_audio
       set_audio_volume
    
    

    Make sure that you at least change the red dots.

  • How the packet data / * ($HOME /) files by using the bar - descriptor.xml

    Hi, using sdk native c / c ++ with playbook Simulator 1.0

    I want to distribute with my application some data files that likely should fall under the ' data /' ($HOME?)

    folder.

    (I've written / will update them sometimes, so app/native/does not appropriate I suppose.)

    in the bar - descriptor.xml, I tried adding them as an 'active '.

    who drops their bottom right in app/native / *.

    so I change the XML .bar to try to get them grounded in data.

    Here's what I found:

    by train: data/filename landed the file in app/native/data/filename

    try:... /... / Data/filename received the error

    by train: / data/filename received the error (hoping to slash leader was compared to the sandbox)

    I even on a lark tried: $HOME/filename, who literally created file app/native / $HOME!

    so he tried a ${HOME} with the curlies. I got an error saying unable to resolve the path variable.

    How can I get the data files in the folder/data ($HOME) using the .bar packaging?

    You cannot package the file into the data, you copy your files at startup, if they don't not exist your app/native/data for example

  • How to publish a new version of an app for BlackBerry 10

    I had my application for BBOS5-7, and now I've built for BlackBerry 10.

    Should I publish it as an updated version or a new application?

    If I keep the same application but this release as an update, how can I post a screenshot for both applications? I want to keep both versions for the two operating systems in the world of BlackBerry.

    He also tells me that I have a different Package ID when I download the file BAR. What is the Package ID?

    If the two versions of your app do exactly the same thing, I would say just as a new version. Which makes it easier for yourself if you want to update something later.

    If you want to add screenshots for the different versions, you can modify your application. Press the pencil in the provider portal, click on the tab called "Graphics". On the page that opens then you will have the choice between "Default", "BlackBerry OS 7 and earlier ', 'Phone BlackBerry smart, 10' and 'BlackBerry PlayBook. In these sections, you can add the graphics exactly where you want them to be. I think that's what you wanted?

    On the package ID, I find the explanation in this post the best to explain it: http://devblog.blackberry.com/2012/03/package-id-rejected-by-app-world/

    Keep us informed of what you ultimately choose as your option. I'm curious :-)

  • What is the file *.so in bar - descriptor.xml

    Hello

    in the bar - descriptor.xml to assets, that I find under build paths of target configurations for the debugging of the device, the device profile etc. For the configuration of the path the target name of the application, for example, in the notebook-app the target path is portable.

    Only for the configration of device-release, it is notebook.so.

    Can some explain to me why there is the suffix .so?

    I searched the web but can't find an explanation to this day.

    .so is a library.

    For a Release version that the main application is packaged as a library, it has been introduced with 10.1 (?) and gave a performance gain important that all qt libraries are compiled into a single.

  • Access to the bar - descriptor.xml within the app

    Is it possible to get the properties of the bar - descriptor.xml? Particularly interested in the app id to understand app whenever it is a free or paid application version

    There are PackageInfo and ApplicationInfo classes that contain this information:

    http://developer.BlackBerry.com/Cascades/reference/bb__packageinfo.html

    http://developer.BlackBerry.com/Cascades/reference/bb__applicationinfo.html

    To extract the appId:

    #include ...
    
    bb::PackageInfo pi;
    QString appId = pi.name();
    

    Add LIBS +=-lbb in the .pro file

    You can also analyze the file manually, these threads contain more information on how to locate it:

    http://supportforums.BlackBerry.com/T5/native-development/extract-version-number-from-bar-descriptor...

    http://supportforums.BlackBerry.com/T5/native-development/APIs-to-access-bar-descriptor-XML/m-p/1737...

  • bar - descriptor.xml abnormal when it opens

    Hi all

    When I open the bar - descriptor.xml, it just show the contents of the xml file.

    It should display the sections 'Problems' and 'Actions and related settings. But now it shows just the following content:



    http://www.QNX.com/schemas/application/1.0">

    Does anyone know how to solve?

    Thank you.

    brad_qqq

    @DrShavargo-Thanks for your help. And I find the solution.

    Has tabs at the bottom of the window opening of bar - descriptor.xml, there. :

    General, Application, assets, location and Source.See the pic below:

  • Make background Transparent on AIR Flash CS5 for BlackBerry Tablet Simulator Application

    Hello

    I tried to find a way make the background Transparent on the Flash CS5 for BlackBerry Tablet Simulator AIR Application and I think it has to do with my *-app.xml file.  I saw another forum mention adding the tag and the parameter 'true '.  I put it inside my tags and my .bar file would not always compile using the command line package.  As soon as I remove the label of , I can compile the .bar file and view it in the simulator of the tablet.  Does anyone have advice?

    You must assign the value true in the file of your blackberry - tablet.xml, no not your - app.xml file.

  • Firefox for Blackberry

    Is there a Firefox for Blackberry?

    BlackBerry 10 and the oldest BlackBerry Tablet OS for PlayBook is based on QNX. Once long ago, you could build Firefox for QNX, but support for QNX has long been removed from the Mozilla source tree.

    Pouvez power you to sideload the Android version that some research shows that it can work on BB10. Saw the reviews than 24.0 23.0 or even worked but shared the latest do not for example with the symbolic method of debugging.

  • We can get firefox browser for blackberry please!

    All other platforms has a firefox browser. Can 0 s 5/6 and above all have a blackberry app

    https://wiki.Mozilla.org/mobile/platforms
    BlackBerry

       Due to the Java-based development system and inability to build C/C++ apps, the full Firefox browser will not be available on the Blackberry OS. However, a future version of Firefox Home may be available for Blackberry.
    
  • See the ways to download firefox for Android and iphone. y at - it an app for blackberry?

    y at - it an app for blackberry? thanx.

    Lol Firefox is available on Android.

  • Size wallpaper for blackBerry devices

    is there a source for the size of wallpaper for BlackBerry devices?

    PS: also where can I terminals BlackBerry AU profiles?

    See the BlackBerry Theme Builder - 5.0 - User Guide, all different sizes are there...

Maybe you are looking for

  • Bug in the NFC?

    In Hong KONG, there is a NFC debit card called Octopus, and there is an app for checking balance, or make the payment with the card. This app works well with my X 2013, 2014 X, X play and X 2015 pure, but not with my strength (5.1.1) X BTW, X force N

  • Virtualization, XP Mode on Satellite M100

    How to use virtualization on a processor my laptop (Satellite M100-150)?

  • Satellite L10-333 without BACKLIGHT on screen

    My Toshiba L10-333 when turned on lights and display also, only that there is no lighting, so I don't see anything on the screen without the help of an outside light. If there is someone who can help with this problem please please help. I think that

  • Is Android - possible to install the APK on 10.3 simulater

    Hello Is Android - possible to install the APK on simulater 10.3. I am unable to open the file for the apk files. Thank you

  • BlackBerry smartphones, I can't send msg!

    When I text a msg and try to send appear an unknown subscriber saying Msg. Someone help me please.