Please help me convert TextEditor B4XPages into TextEditor B4A
I think they already recommended that B4XPages is better, however I am attaching an example based on activityPlease help me convert TextEditor B4XPages into TextEditor B4A
I don't need B4i and B4J.B4XPages is B4A
#if Java
public boolean _onCreateOptionsMenu(android.view.Menu menu) {
processBA.raiseEvent(null, "create_menu", menu);
return true;
}
#EndIf
Therefore, I ask you to look at the attached example and correct the error.So you didn't do it correctly
#If Java is required. Don't remove it.I don't need B4i and B4J.
Removed all #if Java and #if B4i., except
If I delete it, the menu is not created.Main:#if Java public boolean _onCreateOptionsMenu(android.view.Menu menu) { processBA.raiseEvent(null, "create_menu", menu); return true; } #EndIf
What should I do?
Thank you!#If Java is required. Don't remove it.
B4A and B4J app can have Java Inline code. You need that line probably for top menu bar.Thank you!
Maybe you can remove these lines and provide a link to Java?
Okay, I won't delete it.You need that line probably for top menu bar.
If it is impossible to create such an application in “pure” B4A, one could say so right away.You run already in trouble by removing it.
Of course it is possible to create this application as a "default" B4A application. The problem is that you are asking other people to spend their time doing this for you - on an exercise that brings them (and you) no benefits. You are asking people to spend their time doing something that you are not prepared to spend the time learning to do for yourself - no wonder that you are running into objections.If it is impossible to create such an application in “pure” B4A, one could say so right away.
If you had said you didn't want to waste your time, I would have shut up. But instead there were some objections that we should use what we have.no wonder that you are running into objections.