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
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Interactive config.xml generator (for PlayBook, BB10 and BB OS)

Today I coded a simple javascript page to interactively generate a config.xml file to use with WebWorks Apps.

 

It will ask you the target platform on start, so that it will only show relevant fields. Future version will add more things and some validation to the values entered.

 

More info here: http://wp.me/p2oGY4-2I

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


BlackBerry Development Advisor
cdelcol
Posts: 37
Registered: ‎01-08-2010
My Device: Various

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

I just had a look and it is a good start. Have you considered contributing it into Ripple tooling? A config editor has been on the list for a long time yet we never seem to get to it.

 

https://github.com/blackberry/Ripple-UI

 

We'd love to have some help on this.

BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

Sweet, looks good!

 

+1 on Chris' suggestion.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

Hi guys!

No I didn't consider that. I just assumed ripple reads the config.xml file but doesn't change it. I can't even imagine how this could fit inside it... are there some plans made already? Anyone I can talk to?
Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


BlackBerry Development Advisor
cdelcol
Posts: 37
Registered: ‎01-08-2010
My Device: Various

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

Are you registered as an Open Source contributor yet? A bit of paper work and you're good to go.

 

The Ripple tool comes with an NPAPI plugin and a node.js build/deploy functionality built right in. It means we can pretty much do anything we want, outside of the security context of a chrome plugin. Hence the cause of some pain on install. That is the good part. The bad part is that nothing but the UI is open sourced at this time. The rest is all OSS friendly, it just takes resources on our end to wrap things up and make it happen.

 

So, start the discussion in Github on how it would fit into the experience and we can help with our thoughts on how it can actually write to the file system. If it gets some momentum in the design of it, and some community support/help, we'll do our part.

 

Cheers.

Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

Cool idea and +1 to make it part of Ripple
--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

GitHub issue: https://github.com/blackberry/Ripple-UI/issues/574
Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: Interactive config.xml generator (for PlayBook, BB10 and BB OS)

Thanks Nuno, great to see another eager developer out there :smileywink:

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro