I am trying to migrate an existing Android application to BlackBerry 10 using the Android Runtime. First of all, I should mention that I successfully uninstalled the Android application on BlackBerry 10 without any errors. I used the plug-in repackaging tool with Eclipse for this process.
In this application, it throws an error because the Packed ProjectName project is skipped because it has validation errors . After generating this error, it shows errors in the code. The line of code error is as follows.
intent.addCategory(Intent.CATEGORY_HOME);
The complete block of code that carries the next line is the following.
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
startActivity(intent);
When I comment on this block of code and try to use Sign for AppWorld , it works great.
How does this piece of code affect error transport and generation?
source
share