About DeanLogic

Dean has been playing around with programming ever since his family got an IBM PC back in the early 80's. Things have changed since BASICA and Dean has dabbled in HTML, JavaScript, Action Script, Flex, Flash, PHP, C#, C++, J2ME and SQL. On this site Dean likes to share his adventures in coding. And since programming isn't enough of a time killer, Dean has also picked up the hobby of short film creation.

Better way of adding a Sheet

I am making some more updates to my Meetup for BlackBerry 10 app and wanted to add a page for Settings, which is accessible from the pull down app menu.   Screens in Cascades are either a Page or Sheet contained by themselves or in a Tab or Navigation panes.  My application is already setup using a TabbedPane, so in order to add something that isn’t a Tab, I need to display a Sheet.  Previously, I added a sheet to a photo album page to show a single photo.  After you define the sheet on the Page, to display it, you Continue reading Better way of adding a Sheet

A look at my download reports

I released my first BB10 app back on Oct. 28th (trying to get a free Red Z10) and then I did an update on Dec. 04. When you do a basic report in the BlackBerry Vendor World, you see something like this. Which doesn’t tell you much, except for that a bunch of people updated the app when I released the new version. To get more detailed information, you do scheduled report (which is a misleading title).  A scheduled report is an CSV output of the application, date downloaded, batch file downloaded, application version, device model, device OS, country, carrier Continue reading A look at my download reports

My first BlackBerry 10 app

I just updated my first BlackBerry 10 application; Meetup for BlackBerry 10. I was attempting to get the app released by a deadline in order to win a free Z10 in Red.  The offer was to be one of the first 500 developers to build an app and then get it certified as Built for BlackBerry in a certain time frame.   Well, I didn’t get it submitted in time, because there is a big delay between getting your app submitted and getting it reviewed; then apparently there is a delay for getting Built for BlackBerry certified.  Because I rushed Continue reading My first BlackBerry 10 app

Privacy Policy, Change Log and the App Menu Definition

In an attempt to get a free Red Z10, I tried to get my Meetup application finished by a drop dead date and submitted to Built for BlackBerry by Oct. 21st.  That didn’t work, but the app is available, in probably more of a beta state.  I’m working on the fixes when I can.  As part of the Built for BlackBerry requirements, you have to provide a link to a Privacy Policy from your application.  From the developer forums, there were two ways to link to the Privacy Policy.  One method seemed to be a link from the vendor portal, Continue reading Privacy Policy, Change Log and the App Menu Definition

Checking for a COLUMN before ALTER TABLE

SQLite is one of the many ways to store data on BB10. I find it is easier for me to use sql calls to get the information I want then doing the old BB OS way of using Vectors.  Also, instead of using DataModels to populate a form in BB10, I am calling from the database and then creating a instance of the item to fill in, once I have retrieved the data (I’ll write up another post about that).  The issue with SQLite is that it is “Lite”, which means not all functionality is available in order to reduce Continue reading Checking for a COLUMN before ALTER TABLE

QML function from child Tab c++ call

Well, that’s a mouth full of a title.  It means, that I am going to share how I called a JavaScript function in my main QML page from a Tab that called a c++ function.  Okay…still need to break it down even further. I am creating an application that uses OAuth 2.0 to get and send data.  If the application hasn’t already stored the access tokens, I need for the user to give the application access.  When the authentication is complete, I need to remove the Login Tab and make the other Tabs enabled.  Since the authentication function has to Continue reading QML function from child Tab c++ call