I am trying to port an existing Android application to BlackBerry 10 using Android Runtime. First of all I need to mention that I have successfully port a simple Android application to BlackBerry 10 without any error. I have used "Plug-in repackaging tool" with Eclipse for this process.
In this application it gives an error as Packaging project ProjectName is skipped because it has verification errors . After that error generated, it shows errors in the code. The error line of the code is as follow.
intent.addCategory(Intent.CATEGORY_HOME);
Full code block that carries above line is as follow.
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
startActivity(intent);
When I comment that code block and try to function Sign for AppWorld, it works fine.
How only the above code snippet is affecting to porting and generate errors?