Easy pinch zoom for ImageView

As part of my Meetup for BlackBerry 10 app, I provide the photo albums for the user’s groups.  With the list of albums, the user can drill down to see a list of the images and then click on the individual image. The image is loaded into the ImageView component from a url on Meetup.com.  Due the obvious screen size difference between the files upload and a phone, the image is re-sized to fit on the available screen.  Regardless if the screen is the 1:1 Q5/10 or the 16:8/9 Z10/30, the user will need to zoom in on the picture Continue reading Easy pinch zoom for ImageView

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

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