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
Developer
BabyPinky
Posts: 29
Registered: ‎04-03-2013
My Device: BB10
Accepted Solution

can blackberry 10 apps deploy in windows phone 8?

Hi All,

 

I'm developing a cascades app for blackberry 10 and I'm wonder that can it deploy in windows phone 8 due to both are using C++?

 

Thanks.

Please use plain text.
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: can blackberry 10 apps deploy in windows phone 8?

No... it's not the language that matters. What matters is the SDK, the set of APIs available to the developer to call into the OS and libraries to get various tasks done. Windows Phone 8 and BB10 have effectively nothing in common in those areas, so BB10 apps absolutely cannot be deployed to Windows Phone 8, in general.

That said, sometimes one can use a tightly restricted subset of the available APIs and build an app that can be re-targetted fairly easily. Using WebWorks (HTML5 stuff) may get you some of the way there, and there are third-party frameworks that can probably get you most of the way there. I'm not familiar with names and details so I'll let others comment on that.

In a very simple sense, however, you could never deploy *exactly* the same app because the packaging is different. BB10 apps are packaged as ".bar" files, with a certain set of contents, whereas Windows apps are something else... It's like how a ".exe" file will run fine on DOS/Windows, but cannot be used on a Linux platform, even if 100% of the code contained therein is compatible.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Please use plain text.
Developer
BabyPinky
Posts: 29
Registered: ‎04-03-2013
My Device: BB10

Re: can blackberry 10 apps deploy in windows phone 8?

Hey peter9477,

Thank you so much for the explanation.
Please use plain text.