Follow Slashdot stories on Twitter


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Submission + - QNX, Native Binaries, and the BlackBerry PlayBook (

An anonymous reader writes: So as you may already be aware of, RIM just released their take on how tablets should be, also known as PlayBook. The PlayBook currently runs QNX as it's operating system, with which its apps are currently built in conjunction with the Adobe AIR 2.5 SDK. Just recently at the BlackBerry World Conference, the native SDK was unveiled (it was previously seen with their Quake 3 port).

Personally, I see the Native SDK as the most interesting, as it allows one to use the device to its full potential alongside its realtime operating system (RTOS), so I started to do some digging. I poked around with the simulator for a bit, when @stroughtonsmith suggested I download QNX's desktop environment, otherwise named the Neutrino SDP (software development platform). What's interesting here, is the fact that it's equipped with an arm cross-compiler. What this means, is that one can already create native applications for the PlayBook, which end up being very similar to those produced with the native SDK, as well as being sandboxed.

So after installing QNX from the DVD (can be to a virtual machine, or an actual desktop), boot it up, and login as root (no password is needed). Afterwards, simply write up an application in C/C++, and, when ready to compile, invoke the cross-compiler like so (help info here):

qcc -Vgcc_ntoarmle -o nativeapp nativeapp.c

To actually get this compiled application on the device, however, does require a little extra legwork... With the AIR SDK, we're given the ability to SSH into the device as "devuser", with Developer Mode enabled. First off I copied the compiled binary to the downloads folder (plug in the PlayBook, and access its shared folders). Now, even though this is on the PlayBook, it's unusable, since it doesn't have the proper permissions. Since devuser is sandboxed and limited, it can't set permissions. However, you can get around this by first setting the binary as executable, and then zipping it up:

chmod +x nativeapp
zip nativeapp

Once you've copied that zip over to the downloads folder, copy it to somewhere on the device and unzip it (I used /tmp). From there you can run the binary!

I do recommend that you guys check this out, give it a go, and at the same time, get a little practice in before the Native SDK's release. Let me know how it goes! QNX is looking to be an awesome system to develop with!

Comment Re:None of them (Score 1) 116

Just wandering, (if you've seen any) what do you think of Canadian comedy and TV? As one of the very few people in Southern Ontario who actually knows what the term "Americanization" means, I'd like to hear the opinion of say Corner Gas of someone with taste living in the middle of the Televised hellhole. Its bad enough that a good 95% of what I get up here is Americanized, I'd like to know if what little distinction remains is actually good or if I'm just holding on to the last bit of non mainstream American TV here and convincing myself its good.

Comment Re:Start buying disk again? (Score 1) 275

I used to use the online multi-scanners, but the DSL Slam in my area can only handle 800kb/s up so large batches of files took FOREVER, with the exception of Kaspersky, which is on a seperate box and used to scan network SMB/SAMBA shares, they're all run locally on my XP install. As long as you make sure you only have one resident scanning at a time there's no conflict. The doenside is that it can get tiring manually scanning once with each utility, but it helps to kill false-positives and catches those few that slip through one or 2 of them.

Comment Re:Start buying disk again? (Score 1) 275

If you know what you're doing you're safe. Just never run anything that hasn't gotten good response from the community, doesn't show up as malicious by at least 5 Antimalware systems (I use Kaspersky, Avast!, ClamAV, Spybot: S&D, and Ad-Aware), and you haven't already tested in an isolated Virtual Machine. Besides, I only use my XP install for games so if it gets killed, no big deal.

Comment Re:Start buying disk again? (Score 1, Interesting) 275

Exactly! Most of the music/DVDs/software/games I buy physical copies of never leave their packaging, as soon as I own them I fire up BitTorrent/Gnutella/Warez forums and download myself a copy. I'm not exactly sure about the legality in the states under the DMCA but here in Canada it's 100% legal under the Private Copying section of the Copyright Act and the Computer Programs section if you want a rock-solid defense for backing up Software/Games to get "copies" by any methods you like as long as you actually own it. Also, even if the House of Commons or the Supreme Court makes it illegal up here, I really don't care. For me morality is more important than legality when it comes to stupid laws, if I've purchased a copy I'll be damned if anyone is going to tell me that I can't grab myself a DRM-free version (besides, the RCMP hasn't and isn't going to be putting any effort into cracking down on piracy, and the ISPs up here don't seem to be doing anything beyond throttling). The day I give in to DRM is the day Microsoft goes open-source.
The Internet

Submission + - CRTC won't tax ISP for Canadian content

Exidy writes: Following the previous story about the CRTC studying the possibility of taxing ISP to produce Canadian content on the internet. The CRTC has finally decided to keep new media exempt from broadcasting regulation.

The decision is a blow to artist groups who were hoping the CRTC would regulate internet content the same way it does television and radio to ensure Canadian content is represented.

It's welcome news, however, to internet service providers, who bristled at the notion they might have to monitor the amount of Canadian content on the internet and were opposed to the suggestion that a levy might be imposed on them to go toward a Canadian content new media fund.

Submission + - Recovering cell phone video of police killing 2

belmolis writes: "Vancouver police recently shot and killed a man whom they claim was advancing aggressively. Bystander Adam Smolcic says that he recorded the incident on his cell phone and contradicts the police account. He reports that shortly after the incident, a police officer took his phone and examined it for several minutes. When he returned it, the video was gone. The British Columbia Civil Liberties Association reports that the three data recovery firms that it has had examine the phone have been unable to recover the video or to confirm or deny whether it was ever present.

How difficult is it to recover a freshly erased video from a cell phone? Should it be possible to tell whether it was present but erased?"

Slashdot Top Deals

Faith may be defined briefly as an illogical belief in the occurence of the improbable. - H. L. Mencken