Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

From the BlackBerry Developer Blog:  http://devblog.blackberry.com/2012/02/blackberry-tablet-os-native-sdk-2-0/?utm_source=feedburner&utm...

 

We at RIM are extremely proud to announce that the BlackBerry® Native SDK for BlackBerry Tablet OS 2.0 is out of beta and now available for download! Based on requests of our developer community, we have been focusing on improving the user experience, providing a consistent environment with comprehensive APIs, resources and documentation.

 

Let’s take a look at some of the IDE enhancements:

  • EGit plugin: allows developers to check out source code directly from GitHub via the IDE.
  • A new easy-to-use wizard, Add Library Dependency, simplifies the process of adding library dependencies to a project.
  • Per-project SDK support – You can now configure your SDK/toolchain on a per-project basis. This allows you to have projects in your workspace build against different versions of the device.
  • A streamlined deployment setup wizard makes it easier for you to set up your development environment and troubleshoot issues. The wizard also leverages automatic device detection to help you set up your targets.
  • You can now report bugs directly from the IDE. Select Report a Bug from the Help menu in the IDE to report a bug and include screenshots, directly from the IDE.
  • The ability to filter files out of the BAR package to exclude unnecessary assets.
  • BAR files in the Project Explorer can now be expanded to show contents. Files in the BAR can be opened (read-only) in the appropriate editor.
  • The Import wizard has a new option, BlackBerry Tablet OS Existing Code as BlackBerry Tablet OS C/C++ Makefile Project, to import existing code.
  • Enhancements to the BAR file editor to view localized manifests for each locale.
  • Two new profiles, QNX Developer and C/C++ Developer (CDT), allow you to control access to functionality depending on developer type.
  • AIR Native Extension Support – New workflows have been added to the IDE to help you build and debug native extensions. This includes an ANE project type that works with the Adobe command line tools to generate ANEs. In addition, the new ANE launch configurations help you debug your ANE on the device.
  • Access to more example projects using the New Example wizard.

The BPS (BlackBerry Platform Services) APIs have evolved too, now including more features and several enhancements:

  • Sensor: many sensors are available, for example: accelerometer, magnetometer, temperature, luminance, etc.
  • Device Information: functions for reading information like OS version, PIN, serial number etc.
  • Soundplayer: several functions to play system sounds (like camera shutter, device lock etc).
  • LED service: control of the LEDs and colors to notify users even if the device isn’t being used.
  • Audio Mixer API: enables your application to react to events (headphone connected/disconnected, mute, etc) and also control audio properties. Also new input and output channels are available.

And also, highlights on Scoreloop! The addition of Scoreloop SDK offers game developers the next generation technology for mobile social gaming features: achievements, challenges, user profiles, leaderboards, awards etc. The social features are modular so you can integrate only the ones you want, while maintaining the look and feel.

You can get start at the Native SDK webpage, in the download section. Also take a look at:

  • Documentation – in the documentation section, you will find a great source of information about tutorials, recipes, guides and a great directory of open source libraries ported and available on github.
  • Forums – in the Native SDK forums, you can discuss support topics, learn from the community and interact directly with us.

So, are you ready? Let us know what you think in the comments!

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
danielleCoder
Posts: 178
Registered: ‎04-16-2011
My Device: torch 9800

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

So no bluetooth or any way to acheive device to device communication apart from using home wifi network, is it even in the works?

 

The amount of apps that can be made if this ability was introduced is a lot, but currently we are limited to an extent where i still dont feel like downloading the ndk. 

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

Bluetooth APIs are on the roadmap.  I don't have a release date to offer for when they'll be available.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Trusted Contributor
AllSystemGo
Posts: 140
Registered: ‎11-23-2010
My Device: Torch 9800

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

[ Edited ]

Just want to say that the release of all the tools and documentation is awesome. Two thumps way up for you guys!! It's a shame that you guys get so much negative press. I really hope you can come back from the dead to kick apple a$$.

 

Anyways like a said love the effort you put into all this and it's a breeze developing for Blackberry!

 

Thank you again.

 

Edit: BTW When is the TAT library going to be in the SDK?

BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

Thanks for the compliments AllSystemGo.  :smileyhappy:  I'll be sure to share this with the internal NDK teams.

 

We haven't provided a release date for Cascades (TAT library) yet.  Keep an eye on the BlackBerry Developer Blog for announcements.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
guru2000at
Posts: 101
Registered: ‎02-25-2011
My Device: Playbook, q5, z10

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

[ Edited ]

congrats to the end of the 2.0 beta :smileywink:

 

great job, espacially that the sensors can be accessed

 

[UPDATE]

when i check the availability of the sensors, i get the following result:

 

ACCELEROMETER : YES
MAGNETOMETER : YES
GYROSCOPE  : YES
AZIMUTH_PITCH_ROLL : YES
ALTIMETER : NO
TEMPERATURE  : NO
PROXIMITY  : NO
LIGHT : NO
GRAVITY : YES
LINEAR_ACCEL : YES
ROTATION_VECTOR : YES
ROTATION_MATRIX : YES

 

i thought the temp and light sensor is available with the 2.0 non beta?

 

code:

 

	fprintf(stderr, "ACCELEROMETER : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_ACCELEROMETER) == true ?
					"YES" : "NO");

	fprintf(stderr, "\nMAGNETOMETER : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_MAGNETOMETER) == true ?
					"YES" : "NO");

	fprintf(stderr, "\nGYROSCOPE  : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_GYROSCOPE) == true ? "YES" : "NO");

	fprintf(stderr, "\nAZIMUTH_PITCH_ROLL : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_AZIMUTH_PITCH_ROLL) == true ?
					"YES" : "NO");

	fprintf(stderr, "\nALTIMETER : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_ALTIMETER) == true ? "YES" : "NO");

	fprintf(stderr, "\nTEMPERATURE  : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_TEMPERATURE) == true ?
					"YES" : "NO");

	fprintf(stderr, "\nPROXIMITY  : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_PROXIMITY) == true ? "YES" : "NO");

	fprintf(stderr, "\nLIGHT : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_LIGHT) == true ? "YES" : "NO");

	fprintf(stderr, "\nGRAVITY : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_GRAVITY) == true ? "YES" : "NO");

	fprintf(stderr, "\nLINEAR_ACCEL : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_LINEAR_ACCEL) == true ?
					"YES" : "NO");

	fprintf(stderr, "\nROTATION_VECTOR : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_ROTATION_VECTOR) == true ?
					"YES" : "NO");

	fprintf(stderr, "\nROTATION_MATRIX : ");
	fprintf(stderr,
			sensor_is_supported(SENSOR_TYPE_ROTATION_MATRIX) == true ?
					"YES" : "NO");

 

________________
mappau Dev Team
blackberry@mappau.com
twitter: mappau
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

Thank you RIM. Native SDK is very well done job!

Developer
Innovatology
Posts: 1,280
Registered: ‎03-03-2011
My Device: Playbook, Z10, Q10, Z30 with Files & Folders and Orbit of course

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

Nice work, downloading now!

Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands
BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

No, light and temperature sensors are not yet available.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
daviesjm
Posts: 111
Registered: ‎08-31-2008
My Device: Z10

Re: Introducing Native SDK 2.0 Gold for BlackBerry Tablet OS

Too bad about the temperature and light sensor availability...  Before looking at the NDK API, I wasn't even aware that the device had those sensors inside.  I look forward to when they are available.

 

While I enjoy working in C, I do hope that more C++ templates and samples are on the way...

-------------------------------------------------------------------
Creator of the Idea Catch PlayBook application

My favorite Apple product is apple sauce.