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

Android™ Runtime Development

Reply
Developer
rakesh86shankar
Posts: 998
Registered: ‎05-22-2009
My Device: Not Specified

How to get bar from file from Eclipse?

Hi

 

While I am using Run as/Debug as results in generation of bar files,Is this only way to create bar file or is there any other way apart from this?

 

Thanks

Rakesh

Please use plain text.
Trusted Contributor
imre_m
Posts: 158
Registered: ‎11-17-2010
My Device: PlayBook, Z10

Re: How to get bar from file from Eclipse?

Hello!

 

You may open the menu BlackBerry Tools and press Sign for BlackBerry World. Then you'll have your signed bar file in the dist folder of your project.

 

BR,

Imre

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.
Developer
ndsmyter
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
My Carrier: Mobile Vikings

Re: How to get bar from file from Eclipse?

The fastest way to do this, that I know, is by right clicking on the project in the Project explorer tool. Then you go to BlackBerry Tools where you can choose for Verify and Sign For App World. If you choose Sign for App World a bar file will be generated in the dist folder of your application folder. In my case it is always sitting in the dist/<androidversion>


A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
Please use plain text.
Developer
rakesh86shankar
Posts: 998
Registered: ‎05-22-2009
My Device: Not Specified

Re: How to get bar from file from Eclipse?

Hi,

 

If I am giving my client the bar file to test for him internally,Should i be gettting it signed?He has BB 10 device,What is settings that he should make to test in his which is a  real device not a alpha device.

 

Regards

Rakesh

Please use plain text.
Trusted Contributor
imre_m
Posts: 158
Registered: ‎11-17-2010
My Device: PlayBook, Z10

Re: How to get bar from file from Eclipse?

Hi,

 

If you do not sign your application, you need to install a debug token targeted for the devices on which you desire to test. Once the debug token expires, your applications won't run anymore, unless you refresh the debug tokens.

 

If you make a signed release build and provide it to your client, then he will not have to install your debug token on his device.

 

Take a look at this documentation about debug tokens: http://developer.blackberry.com/html5/documentation/runnning_unsigned_apps_using_a_debug_token_18669...

 

BR,

Imre

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.
Developer
rakesh86shankar
Posts: 998
Registered: ‎05-22-2009
My Device: Not Specified

Re: How to get bar from file from Eclipse?

Hi,

 

I have a debug Token,I want to upload to client device,How can i install it it his device,Is there no other way other command tool which includes the installation of the SDK ,Is there anything like playbook Manager to just upload to the device.

 

Thanks

Rakesh

Please use plain text.
Trusted Contributor
imre_m
Posts: 158
Registered: ‎11-17-2010
My Device: PlayBook, Z10

Re: How to get bar from file from Eclipse?

The easiest is to use the eclipse plugin.

In eclipse open Window - Preferences - BlackBerry - BlackBerry Tools SDK - Bar Signer

Over there you can create, backup and restore your tokens and there is also an Upload button.

 

BR,

Imre

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.
Trusted Contributor
imre_m
Posts: 158
Registered: ‎11-17-2010
My Device: PlayBook, Z10

Re: How to get bar from file from Eclipse?

As about the application, yes, there is only eclipse or the command line tools.

 

With the BB desktop software you can't install apps to your BB10.

--
If you find this post useful please Like it.
If it solves your problem please mark as solution.
Please use plain text.
Developer
rakesh86shankar
Posts: 998
Registered: ‎05-22-2009
My Device: Not Specified

Re: How to get bar from file from Eclipse?

It is a tough choice to ask the tester who is in other location,to do installation procedures like developer,I wish blackberry gets some easy ways to install the debug token,

 

Thanks for your inputs.

 

 

thanks

Rakesh

 

 

Please use plain text.
Developer
rakesh86shankar
Posts: 998
Registered: ‎05-22-2009
My Device: Not Specified

Re: How to get bar from file from Eclipse?

Once i use this option of Sigining to blackberry app world,it is created in dist folder,When i try to do again the same process,I am getting error stating 

 

"Error: Code signing request failed because this version of the application or package has been previously signed. Please increment the version(s) and try signing again."

 

I have 

 

Version Code:11

 

Version Name:2.1

 

Since i am testing the build only,Should i replace the Version Code or Version Name?Is there any get around for this?

 

Regards

Rakesh

Please use plain text.