BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   blackberry programming? (http://www.blackberryforums.com/developer-forum/258546-blackberry-programming.html)

samffff 03-22-2012 12:24 AM

blackberry programming?
 
Is the only programming language that apps are currently done with on a blackberry just java?

Or can you code your apps in other languages like c or objective-c like the iphone.

Question 2
I have an .apk file that runs great on a android phone.
Curious is the only way to get this app to work is to recompile it for blackberry.
(I.E modify the code so it only depends on blackberry api's then recompile )

Or is their some app that allows you to run a .apk java android app on a blackberry. Some sort of android emulator on a blackberry app.

stevetaz 03-22-2012 06:54 AM

Re: blackberry programming?
 
Quote:

Originally Posted by samffff (Post 1772356)
Is the only programming language that apps are currently done with on a blackberry just java?

Or can you code your apps in other languages like c or objective-c like the iphone.

Question 2
I have an .apk file that runs great on a android phone.
Curious is the only way to get this app to work is to recompile it for blackberry.
(I.E modify the code so it only depends on blackberry api's then recompile )

Or is their some app that allows you to run a .apk java android app on a blackberry. Some sort of android emulator on a blackberry app.

As you were advised yesterday, you should post this in the Developer Forum.

NJBlackBerry 03-22-2012 07:05 AM

Re: blackberry programming?
 
Moved to the DEVELOPER FORUM.

hrbuckley 03-22-2012 08:00 AM

Re: blackberry programming?
 
Quote:

Originally Posted by samffff (Post 1772356)
Is the only programming language that apps are currently done with on a blackberry just java?

Or can you code your apps in other languages like c or objective-c like the iphone.

Question 2
I have an .apk file that runs great on a android phone.
Curious is the only way to get this app to work is to recompile it for blackberry.
(I.E modify the code so it only depends on blackberry api's then recompile )

Or is their some app that allows you to run a .apk java android app on a blackberry. Some sort of android emulator on a blackberry app.

For BlackBerry OS the only option is Java. Specifically J2ME with BlackBerry extensions.

If you want to port your Android application to the current set of BlackBerry handsets you will have to re-write it to the BlackBerry API which may, or may not, be an easy task. There is not a direct correspondence between functions on the two operating systems.

The other option is to re-package your Android application to run on the PlayBook Tablet OS Android player. Once re-packaged your application will run on the PlayBook, and future BlackBerry 10 devices. Start here: https://bdsc.webapps.blackberry.com/android/

samffff 03-23-2012 01:11 AM

Re: blackberry programming?
 
SO then by the above stuff you said.
There does exist away to run a android app on blackberry.
Correct? you just have to download an android emulator app for the blackberry and run it on there.

Quote:

PlayBook Tablet OS Android player
So this is just an emulator on the blackberry phones to run android apps.
If so where is the PlayBook app and does it cost anything.

If I am understanding you correct this is really cool since I don't think microsoft or apple based mobile/embedded devices have this capability yet?

That would certainly make android and blackberries more marketable to the developer guy :)

hrbuckley 03-23-2012 07:18 AM

Re: blackberry programming?
 
No, at least not yet. The Android player is part of the PlayBook Tablet OS 2.0 suite. It does not run on BlackBerry OS devices, which includes all current BlackBerry handheld devices. However BlackBerry 10, expected later this year, will be based on the PlayBook Tablet OS and will run across all future BlackBerry platforms (BlackBerry 10 handhelds and tablets). RIM has stated that anything written to the Tablet OS 2.0 API will run on BlackBerry 10.

So we aren't there yet, but that is the direction we're going.

samffff 03-23-2012 01:22 PM

Re: blackberry programming?
 
Hum,
interesting .... PlayBook Tablet OS is that open source like the android or closed source? Also is the blackberry os's /PlayBook Tablet OS based a particular linux distro or unix based distro like bsd...etc Or was it completely written from scratch.
I know RIM guys where some of the first smartphone makers so I am assuming it is closed source and completely written from scratch in the late 1999 ...etc though I am not completely sure they could have had a code base they based it on.

Android embedded devices os's = linux kernel open source
Microsoft embedded devices os's = windows closed source code
iphone embedded devices os's = ios based on BSD /system7 closed source code
Black berry embedded devices os's = ? (could be from scratch close source)
Most os's for embedded device are similar to there computer os's equivalent (probably used most of the same code with modifications to schedulers , ...etc)

But blackberry is a little different in that they don't have a computer equivalent os.
And going by the fact that those 4 companies produces probably about 95% of embedded devices for consumer use today blackberry for fun should release a free blackberry os distro for the x86/64 computers.
They don't have to release the source code if that don't want just a free iso version, emulator version...etc

Or maybe already somebody has extracted the os and ran it in a arm emulator duno would be nice just to play with there os
But I am rambleing

Dougsg38p 03-23-2012 01:41 PM

Re: blackberry programming?
 
The new OS platform is QNX.

It is not "open source".

barilan 03-23-2012 02:07 PM

Re: blackberry programming?
 
is ther away to delete an icon i mean the web browser or to disable within the bb 8230

samffff 03-23-2012 02:48 PM

Re: blackberry programming?
 
WOW,
just read
Quote:

QNX Neutrino (2001) has been ported to a number of platforms and now runs on practically any modern CPU that is used in the embedded market. This includes the PowerPC, x86 family, MIPS, SH-4 and the closely related family of ARM, StrongARM and XScale CPUs
So in theory they have an x86 os for the unix based QNX operating system.

Though I havn't found where you can download a free distro of it or if they allow that. On there download page they have alot of developing software for there os stuff. But I don't really see where you can download the x86 version.

Maybe they don't provide this :(

federgejzla 03-23-2012 08:05 PM

Re: blackberry programming?
 
QNX Download Center


All times are GMT -5. The time now is 03:27 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.