Sorry, are you sure about the path in the error message. It does not make sense. Try Tools/Clean Project and which version of B4A are you running?When I run the QuickActionExample I get the error
javac: file not found: src\de\amberhome\quickactionexample\designerscripts\*.java
What could I be doing wrong?
Ramesh Raj
I tried to use this lib with OpenStreetMap lib, that uses the overlay objects that are not views when tap over it.
I added a transparent Panel1 and used it as the view for PopUpMenu.Show(Panel1) - i mean - i change Panel's coords just before PopUpMenu.Show(Panel1).
But strange - menu is shown always under the previous tapped point, but not under the just tapped one...
How menu position is calculated ?
Hmm. One of the first things done in the Show() method is AnchorView.getLocationOnScreen(); which should give the position of the anchor view on screen. Maybe if the AnchorView is moved and then Show() is called this method still returns the old position. Please try a DoEvents call just before showing the QuickAction popup.
android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.content.res.Resources.getValue(Resources.java:1339)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2445)
at android.content.res.Resources.getAnimation(Resources.java:1202)
at android.view.animation.AnimationUtils.loadAnimation(AnimationUtils.java:71)
at de.amberhome.quickaction.QuickAction.Initialize(QuickAction.java:120)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:680)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:308)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:238)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:121)
at b4a.xxx.pd.pd.afterFirstLayout(pd.java:98)
at b4a.xxx.pd.pd.access$100(pd.java:16)
at b4a.xxx.pd.pd$WaitForLayout.run(pd.java:76)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4935)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
Can I change the colors?
Be sure you have set the sticky property of your action items to false. If you set it to true the event will be fired but the popup will not close.how to close ?
i m opening a panel but only when i open a panel menu stay opened how to close?
exist a code to close?
hi,
thanks to for this library.
how i delete an item?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?