OAuth2 with WebView and C++ call

I have been struggling with figuring out OAuth connection for an application I am trying to create for BB10.  There are examples for WebWorks and Native in the GitHub repositories, but they weren’t very straight forward.  And there were hints and posts that it could be done in a more simple method using WebView.  After looking at a bunch of different code, I finally figured it out and not it seems easy.  The key was to use the WebView for the initial call for OAuth to get a code to send for the final Access authentication and then use C++ Continue reading OAuth2 with WebView and C++ call

DataModel Change Trigger

As I am working through creating a minimum application template, I want to make sure I have the features that will be needed in almost any application.  One of those would be to trigger a notification that the DataModel has been updated.  An example use of this is a ListView populated using a DataModel.  In the application I created for work, when I add a new sales lead through the form, the user gets sent back to a ListView of all the entered leads saved in the device sql database.  After the data is inserted into the table successfully, then Continue reading DataModel Change Trigger

BB10 Cascades Minimum Template

While getting to learn BB10 Cascades and Native, one of the most annoying issue is trying to figure out where to start with the project. When you create a new BlackBerry Project using QNX Momentics IDE, you can select from either Native or Cascades. From there, you can select different levels of templates. For the Cascades templates, you can either choose Standard empty project, List View, Tabbed Pane or Navigation Pane. This would be fine if you were going to do everything needed just in Cascades. But, (I’m new to this, so I could be wrong), if you want to Continue reading BB10 Cascades Minimum Template

Adding pages to NavigationPane as an object

As part of creating the Marketing application for work, I had to use a NavigationPane in Cascades.  The idea behind the NavigationPane is to stack Pages on top of Pages in order to navigate forward and backward through the pages.  In the application I am building, there are a bunch of questions and a comment section for the user to answer.  Each of the question pages uses a ListView to display a list of choices based on an xml page. This was pretty straight forward when using the StandardListItem as the component. I had to make sure that the title Continue reading Adding pages to NavigationPane as an object

.Net service and BB10

Getting back to developing applications for BlackBerry. My work needed an application for collecting sales leads at production shows. Apparently you can rent the scanners from the show providers, but renting them and getting the data is a bit expensive year after year. One of the Marketing group folks came to me and asked if I could make an app that would eliminate the need for paying for the show services. I thought it would be great to write a new app and started at it. However, we ran into some basic issues with the scanning PDF 417 codes, which Continue reading .Net service and BB10