The core value of this group is to bring developers up to speed with BB technology, concentrating on BB10.Exploring efficiency, beauty and power BlackBerry provides to its users by designing Apps that can be used globally and that improves developers life as it improves community life.
Our friends at VisionMobile have just launched their 8thDeveloper Economics survey, aimed at mobile and IoT developers. The key findings from the survey will become available as a free research report in February 2015 and for this reason it is very important that all BlackBerry Developers have the opportunity to make their voice heard.
Developer Economics is VisionMobile’s leading research program, tracking global trends on the app economy and mobile developers. The program is based on the largest, most global developer surveys, run by VisionMobile every six months. The surveys track the most important metrics for mobile developers, including platform mindshare, app categories and tools, revenues and revenue models – and many more.
By completing the survey, you can also enter a draw for some cool prizes, including handsets and some cool gadgets (yes, a BlackBerry Z30, too!).
When logging activity within your application, you have a couple of options. You can create your own logging system that writes activity out to a file. However this isn’t ideal because it means constant writes to flash memory, which slows your application down and wears out flash memory.
The better option is to make use of the slogger2 API. It uses in memory logging, but also provides a file you can access later to gather log statements made by your application. The log file for your application can be found in /tmp/slogger2/<progname>.<pid>.
Logging in a Cascades Application
If you are creating a Cascades application, it’s even easier. In a Cascades application qDebug and console.log is redirected to use slogger2.
Logging from C++ in a Cascades application.
qDebug() << "This is what I want to log";
Logging from QML in a Cascades application.
console.log("The logs are rolling, rolling, rolling.");
Logging in a non-Cascades Application
If you are creating a non Cascades application (pure Qt, C or C++) you can use the slogger2 API directly. The first step is to initialize slogger2.
After initializing, you can create log entries like this:
slog2c( NULL, 0, SLOG2_ERROR, "my first log" );
Where to Find Your Log Files
Either method creates a file you can access later to view activity in your application. It is useful to add a feature to your application that could email this file to your support team. The log statements for your application are logged in /tmp/slogger2/<progname>.<pid>. You can also view your application’s log file by executing this command:
Here is the second blog post of the Enterprise Developer Groups Spotlight series.
After the first one about Marco Bavagnoli from our official Enterprise Developer Group in Milan, published a few days ago, today we would like to highlight what a Spanish developer has achieved after a few years busy with the Enterprise Developer Group Vigo, Spain.
Pablo Bar, @hidrocube on Twitter, is a Spanish developer who runs the Enterprise Developer Group in Vigo. He brings quite a few years of experience developing mobile applications for small and big customers and now he works for Ayco Internet as mobile developer.
One of the latest projects he was involved with for a BlackBerry customer in Spain is BDLocaliza. The client has more than 20 trucks working mostly in Spain but also in the rest of Europe. This client often needs information about the location of their trucks in order to decide whether to accept new orders or not. The order and the response time strictly depend on how long the truck takes to arrive to the customer. In the past, the client had to use several phone calls (which involve costs and delays) before being confident about the decision to be taken.
After deploying BDLocaliza for BB10, now his client has a map with real-time information about the current position of each truck. Every driver is provided with a BlackBerry Z10 Smartphone with BDLocaliza installed and transmitting data each 5 minutes. Moreover, now it is possible to analyze the routes followed by every truck and this allows the company to optimize fuel and time costs.
Interested to know more about our Enterprise Developer Groups? Do you want to join one? Take a look here to find the one closest to you. If you are interested in starting a new one, instead, please fill this form and we will get back to you as soon as we can.