Wednesday, January 30, 2013

BlackBerry-10 The Day the Earth Stood Still

Research In Motion is about to enter the battle of its life, and as you'll see in my review of its new flagship, the BlackBerry Z10, it's using everything in its arsenal to win. Maybe win is the wrong word; perhaps victory for BlackBerry right now is something more like not losing everything....

Are you still clinging on to the hope that RIM are going to make their glorious return into the smartphone market, and release a phone with BlackBerry 10 on board that will reverse the company’s recent fortunes?


If the answer is yes, then it looks like you are going to be very impressed with what BlackBerry has to offer, based on early previews. RIM may be taking forever to publicly release their highly anticipated new software, but on all accounts it finally looks like RIM has an OS in the making that can actually rival Android and iOS.
A few years ago, BlackBerry smartphones were the cream of the crop, with everyone using them as their main messaging tool and generally owning a BlackBerry handset because it was ‘cool’ to do so. Now, with the emergence of apps like Whatsapp, suddenly the need for a BlackBerry device has died down considerably and the bland OS that currently greets handsets on the market does little to change to mindset of consumers who have now started to embrace Android and iOS, after initially being a loyal BlackBerry lover.
An interesting video has emerged courtesy of the BBC, in which RIM CEO Thorsten Heins explains why he believes that BlackBerry 10 will once again give fans a reason to celebrate. The video contains an exclusive preview of BB10 in action and our first impressions is that it actually looks pretty good.
For starters, we are loving the design touches that RIM has implemented into the brand new BlackBerry 10 lockscreen. The device running the new software may not bring up notifications as the handset is locked, but you will be able to get a preview of what is on your homescreen simply by swiping upwards on the screen, but not fully if you don’t want to completely unlock the device.
As with most new mobile operating systems these days, RIM has placed the importance of social media as a top priority of BB10, and there will be a new service called the Hub, which will allow you to get your daily social media fix inside one integrated service – RIM even promises that you can updated your various ‘spaces’, without the need to actually open a respective app.
The days are early yet, but BlackBerry 10 is looking really nice. The biggest problem that we can see is convincing consumers to hold on tight till it releases sometime in 2013. Android Key Lime Pie 4.2 is obviously coming soon, while Apple may even have iOS 7 out by the time BlackBerry 10 is fully rolled out across all BlackBerry models.

Thursday, January 3, 2013

Android Application PORTING to BlackBerry 10

Today i tried with the android application porting to BB10, as we know that we can do it, i followed few steps which i wants to share with you.

1) make sure that you have eclipse android setup with minimum eclipse 3.8, android 2.3.3 with api level 10.

hope you have the above setup with given requirements as

a) Eclipse version 3.8
b)Android SDK platform-tools
c)SDK platform Android 2.3.3, API 10


install the BlackBerry Plug-in for Android Development Tools

Before you begin, make sure you have installed Eclipse 3.8

In Eclipse, on the Help menu, click Install New Software > Add.
In the Name field, enter a name for the plug-in.
In the the Location field, enter the URL of the update site for the plug-in. The URL of the update site is http://bdsc.webapps.blackberry.com/android/downloads/eclipseplugin/.
Click OK.
In the Install window, in the Name field, select the BlackBerry Plug-in for Android Apps check box, and also select the check boxes for the items under it.
If you are using the beta update site and do not have the ADT Plug-in, the newest version will be installed at this time as well.
Click Next.
Complete the instructions in the Review Licenses window. Click Finish.
After you install the plug-in, you should verify that the installation correctly located the Android SDK in the plug-in preferences. To verify the location, in Eclipse, on the Window menu, click Preferences > Android and ensure the path in the SDK location field matches the location of your installation folder.

After confirming the filepath, you should also verify that the SDK Platform Android 2.3.3, API 10 was installed correctly in Eclipse. To verify and download if necessary, on the Window menu, click Android SDK Manager and look in the Packages section and ensure that the status of SDK Platform Android 2.3.3, API 10 displays as Installed.

2) Create a new project with name HelloWorld
we need to make sure that we followed given steps :

# In the Build Target section, select Android 2.3.3 as the Target Name.
# In the Application Info window, in the Minimum SDK field, make sure to select to 10 (Android 2.3.3).

After making the HelloWorld , In Eclipse, in the Package Explorer navigation window, right-click your Android project. Click BlackBerry Tools > Add BlackBerry Nature to Project.

we need signing keys for our purpose and for this :

In Eclipse, on the Windows menu, click Preferences > BlackBerry > BlackBerry Tools SDK > Bar Signer or Targets.
Click BlackBerry Tablet OS Deployment Setup Wizard.


go through the https://www.blackberry.com/SignedKeys/codesigning.html for code signing keys.


In Eclipse, on the Windows menu, click Preferences > BlackBerry > BlackBerry Tools SDK > Bar Signer.
In the RIM Signing Authority section, click Register.
In the Register with RIM Signing Authority window, complete the RDK CSJ Path field and the PBDT CSJ Path field by browsing to the location of the CSJ files.
In the CSJ Pin path field, enter the PIN that you used to fill out the code signing keys request form.
Choose a password in the CSK Password field. This is the keystore password that you use to create a developer certificate.


Create a developer certificate

In Eclipse, on the Windows menu, click Preferences > BlackBerry > BlackBerry Tools SDK > Bar Signer.
In the Developer Certificate section, click Create certificate. If you previously created a developer certificate, click Select certificate... and browse to the location of the developer certificate.
If you are creating a new certificate, then in the Create Developer Certificate window, in the Certificate Path field, type the path of the location where you want to store your developer certificate.
In the Author field, type your company name.
In the Keystore Password field, type a password to control access to the certificate. This is the CSK Password that you created to register the code signing keys.
In the Confirm Keystore Password field, type the password you provided in the previous step.
Click OK.


Configure target device

To test your Android application, you must use the plug-in to configure the device that you will perform the testing on. This can be your BlackBerry PlayBook tablet, the BlackBerry Tablet Simulator, or your BlackBerry 10 device. You can configure a target device using the setup wizard or the plug-in preferences. The following steps show you how to configure the target device using the plug-in preferences.

In Eclipse, on the Windows menu, click Preferences > BlackBerry > BlackBerry Tools SDK > Targets. Click Add to add a target.
Complete the Device Name field, Device IP field and Password field.
Click OK.
Switching

for the emulator of blackberry BB10 go through http://us.blackberry.com/sites/developers/resources/simulators.html
and download the vmvare player and bb10 dev alpha simulator




Test your application



Check for compatibility

This check allows you to verify if your Android application is compatibile with the BlackBerry Tablet OS or BlackBerry 10. You can use this check to know the errors in your application and rework it.

To perform a compatibility test, in Eclipse, in the Package Explorer navigation window, right-click your Android project. Click BlackBerry Tools > Verify Apk.

Launch configuration

You can create and launch a configuration to deploy and test your application on the target device. Remember that the file deployed in this task is an unsigned .bar file.

The following steps show you how to set up a run or a debug configuration in Eclipse.

In Eclipse, in the Package Explorer navigation window, right-click your Android project. Click on either Run As > Run Configurations or Debug As > Debug Configurations.
In the Run Configurations or Debug Configurations window, in the left side navigation window, under BlackBerry Android Application, select your application.
Modify the configuration based on your requirements. Make sure to select the correct target device under the Target tab.
Click either Run or Debug.
Once you have created a launch configuration, you can launch it again using the following step.

In Eclipse, in the Package Explorer navigation window, right-click your Android project. Click on either Run As > BlackBerry Android Launch or Debug As > BlackBerry Android Launch.

finally you can see the output as follows: