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
hamadxiii
Posts: 6
Registered: ‎03-17-2013
My Device: Q10

Release Build assets folder problem

I'm using ImageButton and I'm facing a problem to include the images which it part of assets folder to bar files, could you help me, please ?
 
- I'm using Mac 10.8.3, NDK 10.1.0.10.20

- find out the shared URL pictures below for more details about the problem

 

 

https://docs.google.com/file/d/0B6uu5Nr3sbLKNmpaSVV1QUtKa0E/edit?usp=sharing
https://docs.google.com/file/d/0B6uu5Nr3sbLKX1hZczZNVVRjVkU/edit?usp=sharing
https://docs.google.com/file/d/0B6uu5Nr3sbLKdnVVb1JvT0xLTUk/edit?usp=sharing

New Contributor
hamadxiii
Posts: 6
Registered: ‎03-17-2013
My Device: Q10

Re: Release Build assets folder problem

Any help please ?

Developer
gyubok
Posts: 520
Registered: ‎10-08-2009
My Device: Bold 9900

Re: Release Build assets folder problem

Could you be more descriptive of the problem you're facing? What have you tried? What error are you receiving? Do you simply want to set image to your imagebutton?

New Contributor
hamadxiii
Posts: 6
Registered: ‎03-17-2013
My Device: Q10

Re: Release Build assets folder problem

I got warning “Source file asset “handyCounter” dose not exist.”

 

when I run my application into my 2 devices, it works well and all images are appear

 

but, when I tried to upload the application to blackberry appworld, it is rejected because there are no images for all buttons.

 

I noticed that, the size of bar file is too small to include all the images

 

Please let me know if you need more explanations.

 

it is really hard thing to got stuck in a problem for a month ago.

Developer
saprykin
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10

Re: Release Build assets folder problem

The error you are talking about is related to the target binary. Momentics wants "handyCounter" binary for Device-Debug profile, but it seems that you have "handyCounter.so" target binary in bar-descriptor.xml. Try to rename it to "handyCounter".
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter
New Contributor
hamadxiii
Posts: 6
Registered: ‎03-17-2013
My Device: Q10

Re: Release Build assets folder problem

First of all thank you both

 

Now I have no warning, so back to main problem.

 

When I run the application from Momentics into my device, Everything is working OK

 

But, when I build a release and I install the .bar file into my device, it's working but without images !!

 

Something missing !!