Weekend Coder: HelloWorld

Weekend Coder is our new series geared toward BlackBerry developers

By Brian Scheirer on 27 Apr 2013 06:37 am EDT

CrackBerry strives to cover topics that appeal to the full range of the BlackBerry community, whether it be consumer, enterprise, games, apps, news, etc. So today we are happy to announce a new topic on CrackBerry geared toward developers. These posts will be aimed at not just the seasoned coder but also anyone who has wanted to take a little peak behind the curtains of how apps are actually made. To better cover this topic, Kevin and company have brought me, Brian Scheirer, on to write about the fun and exciting world of BlackBerry app developing.

I plan to bring you a new article each week .. well weekend really. I figured that many BlackBerry developers do it as a hobby on the weekends (hence the Weekend Coder), so what better time to post up a new article, right?

A little background on myself, I have been a software developer for the past 7.5 years where I have mostly written online math/science homework algorithms. If you have taken any college math classes and your teacher assigned you homework online, you may have seen my work. Then I started coding mobile apps about a year ago when Cascades was launched.

Since then I have attended Jam Americas last September and hosted a session at Jam Europe in February. I currently have two other BlackBerry coding sites: BBcascades.com and my blog. Also, I am a member of the BlackBerry Developer Elite and pretty active on the BlackBerry Developer Support forums, user bcs925.  To see more of my work check out my apps, most noted for my popular game Visual Connection and my Built For BlackBerry app The Dive Plan.  

Finally and most importantly I have been a BlackBerry user since 2007, first with a few Pearls then some Bolds and now a LE Z10 as I impatiently wait for the Q10.

Now, no introduction to developing anything would be complete without HelloWorld. So without further ado, check out the quick video above of how to create HelloWorld (well in this case Hello CrackBerry) and deploy to the simulator.



Wow... goodjob

Posted via BlackBerry z10


Pimp. Good to have you aboard!


Great idea...looking forward to this.

Posted via CB10


Excited about this! Thanks :)

Posted via CB10


This is a great value added segment. Welcome.

Posted via CB10


Great idea...looking forward to this.

Posted via CB10


Great new feature!

Posted via CB10


Welcome to Crackberry Brian!

Posted via CB10


Welcome to CrackBerry. I look forward to this series. I have been using your site to learn some of this. Thanks for your input here.


Welcome to CB Nation. Looking forward to it

Posted via CB10 from my Z10


Looking forward to reading weekend articles from you mehn

Posted via CB10


Welcome to crackberry.

Posted via CB10


This is an awesome addition to crackberry.com!

Posted via CB10


Good, I have already started into developing some apps for BB10. The only frustrating thing is the extremely slow vm player simulator. Most of the times is unusable.

Posted via CB10


Hey Arvind, download the new ones. They run fast and slick. I had the same problem before, but I just downloaded the latest Simulator 10.1 and Cascades Native SDK (as used in this tutorial) and they are quick!


This is going to be a great reason to look at crackberry on the weekend.


Brian, I'm looking forward to your next post, this is a great addition to CB.

Posted via CB10


Welcome! I've been thinking about trying my hand at big an app, so I'll be following and learning.

Posted via CB10


Not a developer, but found it interesting. Thanks!

Posted via CB10


Been looking for motivation to dive into app creation...this just may be what I've been looking for...Thanks!

Posted via CB10


Brilliant some help into coding for beginners would be good for people who want to learn but not sure where to start or what to do.

Look forward to these posts every week.

Posted via CB10


Thank you. Looking forward to these. I've been trying to teach myself. I've grasps the fundamentals but this would definitely help some more!

Posted via CB10


This is going to rock! I've always been wanting to dev an app, have so many ideas and way in how current ones could be better but never have the time to make any. At least with these articles I can see how it's done. Looking forward to it.

Side note so I guess we know who they hired on after they posted that article.

Posted via CB10


This is great. It will be fun trying to develop an app.


I would love to develop apps and transfer my experience to Cascades. Bloody windows 8 wont let me register the keys properly and its pis*ing me right off


Woo! Go CB and Brian!

Posted via CB10


Most Excellent. But, I have a feeling it'll be a while till some of the meaty stuff... But I'll be tuning in EVERY weekend!


I've always wanted to code, I've done a bit in VB.NET a few years ago, and always had an interest. This will be a good addition to CrackBerry, pass on knowledge for others to create native apps regardless of what they do. All helps

Posted via CB10


Welcome Brian! Great to have a segment like this.

Posted via CB10


This is great. I've been developing software for over 20 years, but I've never developed anything for BlackBerry. Ice downloaded and installed the developer tools and sdk. This is perfect for helping over the hump on where to actually get started.

Thank you thank you thank you.

Posted via CB10


Count me in! I will look forward on this every weekend.

Posted via CB10


This is great, coding is a skill that can be applied to problem solving in everyday life. Not just in the mathematical sense but for any situation what so ever. It's a thought process and there's no better feeling than solving an issue through code.

Looking forward to these articles.

Posted via CB10


I'm looking forward to this. CrackBerry Nation welcomes you Brian!

Posted via CB10


Great segment. I'd love to see some I/O stuff like open, read, write, and save data from and to the SD card.
I'm looking forward to next segment. Thanks.

Post via CB Z10


I'm really looking forward to learning! Your lessons can't come quick enough! Welcome!

Jon Tessler

Welcome to CB. This is a great topic for those of us who don't make Apps to be able to see the hard work that our BB developers put in to bring great Apps to the masses.



Looking forward to your posts.

Via my Commodore Vic 20


Good stuff. Looking forward to the series! I'm in the planning/proof of concept phase of an app using Excel, C# & SQL Server (sticking with what I know) but should be able to port it to SQLite and C++ for BB10. I was planning to do it in Cascades.

Posted via CB10


Glad to see this. I have some strong C skills but Cascades is still pretty foreign to me. I had the SDK installed last week to mess around so this will make for something useful to do in the summer.


Great addition to the segments. Welcome to CrackBerry!

Posted via CB10


A nice mathematics app would be great. All the other mathematics apps only cover up to about college calculus. It would be nice to have something like wolf ram alpha for those in school who go beyond calculus.

Posted via CB10


Great addition. Will be glued to these as this will help my own attempts at coding.



Thank you for these new serie =) i'm a developer and i begin to lean cascades coding.


This should be a great weekly article. Can't wait. Welcome to CB and thanks for doing this :)

Posted via CB10


Your voice reminds me of Gabe from The Office!


This is a great idea. Looking forward to learning about how to develop apps!

Posted via CB10


Welcome aboard!
I look forward to your wisdom..


Posted via CB10


Great article Brian! Have not done any coding for years but this makes me want to play again!


Posted via CB10


This is awesome. I am a novice when it comes to developing and I've been intimedated (for whatever reason) to dive into Native SDK or Cascades, so this is a wonderful way for me to get my feet wet. Thanks a lot Brian!



Can't recall the last time I saw such positive overall feedback regarding a post. It's a great start to the weekend. Little things mean a lot.


Great idea, I'll have to get back into coding.

Posted via CB10


Thanks Brian. Great first article! Hope to see more :D

Brian Scheirer

Thanks everyone for the warm welcome, glad to see everyone is excited about this new weekend series as I am! I have lots topics planned for this so hope everyone continues to enjoy.


Welcome to CrackBerry, Brian! Thanks for the post!

Posted via CB10 & loving it!


It's about time! Welcome, Brian, and I'm really looking forward to learning the basics. This issue has been raised many times before, that there is simply no understandable information available on how to get started from zero. Can't wait for the next lesson.


Excellent! Look forward to your articles. Welcome to CB!

Posted via CB10


In support, want to see more topics on CSS by example. PHP and recent tags on HTML5. I have already visited all the links you pointed in your article. Some great projects. Thanks Brian.

Majestic Lion

"Peek" behind the curtain. :)

"Peak" behind the curtain...that alludes to something else entirely. LOL


Great idea, but I have some constructive criticism.

It's a shame that no attempt was made to explain the IDE layout (as it looks intimidating to novice users) and a brief overview of the QML you were editing was missing. The video seemed to be aimed at a novice user, but missed explaining some key concepts. I think this series will be very useful for those starting out, but needs to cover the basics or risk losing those who do not understand what you are doing. Some links in the article would help too, such as links to the sdk's and simulator and possibly relevant documentation for further reading.

Just a few of my thoughts. Keep up the good work

Brian Scheirer

Don't worry I have all that planned, this was more of just an intro and I thought it would be fun to have HelloWorld as the intro (bad pun?).

Also the series is going to jump around from beginner to intermediate to advanced as well as some editorial pieces... Want to keep it as interesting as possible and hit all levels.


Bad pun? Not at all. It would be sacrilege to not start with a "Hello World" example :-)
Looking forward to the rest of the series.


Thanks, that would be great! I used your screen layout in the video to configure my Momentics IDE and took a little experimentation to understand how to add new windows/tabs to display what you had on the screen. Although I've been using Webworks and Marmalade, and know the Chrome/Ripple and MS Visual Studio IDE, I was totally lost in Momentics IDE... now I'm getting the hang of it, and looking forward to seeing more.

As a suggestion, if you do more Cascades tutorials, if you always start with a basic New project (or build on your HelloWorld) that will allow those of us at home to follow along with our code and keep adding stuff.


Great idea, yo guys are so productive, I can barely update my blog 3 times a week!


Posted via CB10


This is a great idea - thanks for doing it Brian!


I'm definitely looking forward to this as I have been very interested in developing but didn't really know where to start

Posted via CB10

Michael Myers1

I've been playing around with the templates a little, but I'm a "just show me" kind of guy. Thanks for this!

Michael Myers1

I'm also a C++ guy, so learning how to make that work in this IDE would be great as well.

Brian Ouellette


Brian you are a contributor!! :D

Posted via CB10 with the Dev Alpha C


Great tutorial... I've followed your instructions and made my first Cascades app! Awesome! I also added the preferredWidth and preferredHeight to my ImageView because I didn't want to resize my logo for just testing.

I couldn't seem to get textStyle.fontWeight: fontWeight.Bold to work.... then I realized the second "fontWeight" needs to be capital "F". Just a suggestion... in the future if you can include the raw QML source text that would be great, so we can just copy and paste instead of typing off the YouTube video (which is hard to read). Like square [ ] and curly brackets are hard to see also { } for us n00bs.

So I deployed to the simulator and although my preview shows BOLD text, the app in the simulator shows regular text. Any ideas what I did wrong?

Looking forward to learning more!


Now this is a great idea!


Wow this is kind of amazing lol I found your Site randomly about a week ago and I love it, now your here! Looking forward to reading your articles in the future.


Any link to his site please!?

Posted via CB10


Nice Brian! Been following you on twitter and referencing your blog for sometime. Definitely helped me through developing my app for the BB10 Launch.

Posted via CB10


Love this!!Thank you.

Posted via CB10

jojo beaconsfield

Blown away, keep up the good work.


Awesome! I miss coding. I notice there are absolutely ZERO medical apps....I keep waiting....may have to give it a try myself.


Thanks for taking the time to do this. I have been wanting to do this and I think this will help a whole bunch.

Posted via CB10


Awesome article Brian! Looking forward to seeing the next article, and glad to see CrackBerry having this series!

Posted via CB10


I have to say this is awesome. It's great to get people involved. I took up coding recently and it really has opened a lot of doors. Like Bill Gates said, everyone should learn how to program a computer because it teaches you to think.

Posted via CB10


Crackberry is slowly turning into precentral with news and sales slowing down.

Tomas Carrillo

The next should be about a multi player game on Z10 and Q10. :D

Posted via CB10


Good idea

Posted via CB10

2 Phonez

Very awesome idea, looking forward to more of these in the future.


Great tutorial. It seems a lot easier than when I tried to do the same thing a while back.


HI: At one point in the presentation, you click on an icon in the upper right corner that starts the simulator. How do you get the simulator to start - I don't have any "start simulator" icon. I have downloaded VMware Player, but can't get it to start.