I want to start another apps when I click this button.
sharebtn = new Custom_ButtonField(share, shareactive, shareactive) {
protected boolean navigationClick(int status, int time) {
//I want to start another apps (Strawberry)
return true;
}
};
add(sharebtn);
Here is the Strawberry Apps
public class StrawBerry extends UiApplication implements ActionListener {
public static void main(String url) {
new StrawBerry(url).enterEventDispatcher();
}
}
I want to pass String url to Strawberry apps. How can I achieve this?
First your main method won’t be never called by system. The right signature:
Take a look on this article to launch another app with parameters : How To – Launch a third-party application from another third-party application
To post on FB page. You need something like: