@dune3000 It will be possible in the next version
@Douglas Farias It is a little bit tricky but I am working on it.
@Thraka It will be possible in the next version
tried your lib, run of sample1 in movieview (MovieView1) got this error:
B4X:
** Activity (main) Create, isFirst = true **
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:208)
at com.datasteam.b4a.xtraviews.movieview.sample1.main._activity_create(main.java:303)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at com.datasteam.b4a.xtraviews.movieview.sample1.main.afterFirstLayout(main.java:98)
at com.datasteam.b4a.xtraviews.movieview.sample1.main.access$100(main.java:16)
at com.datasteam.b4a.xtraviews.movieview.sample1.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at com.datasteam.b4a.xtraviews.MovieViewControl._initialize(MovieViewControl.java:19)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:54)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:155)
... 17 more
Caused by: java.lang.NoSuchMethodError: com.datasteam.b4a.xtraviews.MovieView.setLayerType
at com.datasteam.b4a.xtraviews.MovieView.<init>(MovieView.java:25)
at com.datasteam.b4a.xtraviews.MovieViewWrapper.innerInitialize(MovieViewWrapper.java:31)
at anywheresoftware.b4a.objects.ViewWrapper.Initialize(ViewWrapper.java:53)
at com.datasteam.b4a.xtraviews.MovieViewWrapper.Initialize(MovieViewWrapper.java:23)
... 22 more
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
I tried the Sample3.apk and got an error under Gingerbread (noSuchFieldException for mListenerInfo; no possible solution in this case).
I got no problem, of course, with Android 4. The animation is a good idea.
@Informatix: There is a part of the code that currently supports api level 14 and higher. I am testing a replacement code which supports api level 4 and higher and will be (hopefully) introduced in version 1.3 of the library.
@Douglas Farias : Balloons (tooltips) have nothing to do with DialogView. Their nature and usage are totally different. I may add a wrapper to this one sometime later (if not someone else does before me)