Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
1MSA1
Posts: 4
Registered: ‎07-03-2013
My Device: developper

how to get data from the invoking file.

hi guys,

how can i get some data from the file that's invoking my app.

i m working on Qnx momentics and im new in C++.

im using a simple cascade app that is invoked by an XML file i used this script:

<invoke-target id="com.example.AlMuatamad">

    <invoke-target-type>APPLICATION</type>

       <filter>

             <action>bb.action.OPEN</action>

             <mime-type>*</mime-type>

             <property var="uris" value="file://"/>

             <property var="exts" value="xml"/>

       </filter>

  </invoke-target>

the invocation is working fine but how can i get some data from the XML file (It's name for example) and display it in my app.

thanks.

 

Please use plain text.
Trusted Contributor
Simmo-
Posts: 132
Registered: ‎06-22-2013
My Device: Z10 (STL 100-2) -10.1.0.4181

Re: how to get data from the invoking file.

There's a PDF available online called "BlackBerry Research Primer".
It would probably help if you read it. It's got all that sort of stuff in it.
Disclaimer:
I know a little about lots of things,
yet not a great lot about those little-things.
Ultimately, I'm here to learn.
Please use plain text.
New Contributor
1MSA1
Posts: 4
Registered: ‎07-03-2013
My Device: developper

Re: how to get data from the invoking file.

ok, i will try it.

thanks.

Please use plain text.
Trusted Contributor
Simmo-
Posts: 132
Registered: ‎06-22-2013
My Device: Z10 (STL 100-2) -10.1.0.4181

Re: how to get data from the invoking file.

Also there's a 'Developer Support' section of this board where I think your query may be better placed.
Disclaimer:
I know a little about lots of things,
yet not a great lot about those little-things.
Ultimately, I'm here to learn.
Please use plain text.