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

Web and WebWorks Development

Reply
New Contributor
Posts: 4
Registered: ‎08-17-2011
My Device: RIM 9700
My Carrier: ATT

BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

I downloaded the BlackBerry WebWorks Sample Code - File I/O from the SD card and attempted to compile it using bbwp version 2.1.0.24

 

The error I get is:

c:\Program Files (x86)\Research In Motion\BlackBerry WebWorks Packager>bbwp C:\workspace\RIMapps\FileIO\FileIO.zip
[INFO]                  Parsing command line options
[INFO]                  Parsing bbwp.properties
[INFO]                  Validating application archive
[INFO]                  Parsing config.xml
[INFO]                  Populating application source
[ERROR]                 Feature cannot be found in any extension(blackberry.ui)

 

Anyone have any ideas?

Regular Contributor
Posts: 83
Registered: ‎04-29-2011
My Device: 9300 Curve
My Carrier: TIM

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

Did you allowed the blackberry.ui in the config.xml ?
Márcio Saeger - Software Engineer, Softwell Solutions
Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

What version of the packager are you using?



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
New Contributor
Posts: 4
Registered: ‎08-17-2011
My Device: RIM 9700
My Carrier: ATT

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

Version 2.1.0.24
New Contributor
Posts: 4
Registered: ‎08-17-2011
My Device: RIM 9700
My Carrier: ATT

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING


Saeger wrote:
Did you allowed the blackberry.ui in the config.xml ?

The xml is unchanged from the download.

<?xml version="1.0" encoding="utf-8" ?>

<widget xmlns="http://www.w3.org/ns/widgets"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
        version="1.0.0">

  <name>File IO Example</name>

  <description>Storing and retrieving data from a file on the local SD card</description>

  <author href="http://www.rim.com/" rim:copyright="no copyright" email = "webapi@rim.com">
    Research in Motion - Web API Team
  </author>

  <license href="http://www.license.com">This is a sample license</license>

  <content src="index.html" />

  <feature id="blackberry.system" />
  <feature id="blackberry.ui" />
  <feature id="blackberry.ui.menu" />
  <feature id="blackberry.utils" />
  <feature id="blackberry.io.file" />

</widget>

Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

I think the issue is you have an element in your config xml that should be removed. Can you see if you have this <feature id="blackberry.ui"/> c in the file. I don't believe it corresponds to any current api.



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
New Contributor
Posts: 7
Registered: ‎12-20-2011
My Device: Curve 8320
My Carrier: O2

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

I was tryong to compile the Weather sample, and had the same issue. Removing the reference to Blackberry.ui seemed to let it compile. Now debuging another issue it seems.
Retired
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

You can find updated source for the weather app here- https://github.com/blackberry/WebWorks-Samples/pull/13



1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)
Regular Contributor
Posts: 51
Registered: ‎05-25-2012
My Device: Bold 9930
My Carrier: Verizon Wireless

Re: BlackBerry WebWorks Sample Code - File I/O from the SD card NOT WORKING

Hi Jef

 

I am using  BlackBerry WebWorks SDK 2.3.1.5

Downloaded blackberry-WebWorks-Samples-ede451d

When i package using bbwp it gives me Feature cannot be found in any extension(blackberry.ui.Spinner)

 

I have created a folder & put required files Capture.JPG



but it still shows me this error.

Again when i delete this line & package it gives me similar error in blackberry.common.push

 

When i delete that too it gives me

FATAL null.

 

Any solution?