B4A Question Javaobject.InitializeContext inside Starter - Semen Matusovskiy    Sep 18, 2018 It seems to me this does not work in current B4A releases (unlike works fine for activities and anot... B4A Question JavaObject 1.20 unknown member InitializeContext - ykucuk    Aug 1, 2015 Hello,
InitializeContext used almost all tutorial about java object or inline java.
unfortunally when i write this code to my project i got this error
NativeMe.InitializeContext ' unknown... B4A Code Snippet SaveAs - Let the user select a target folder + list of other related methods - Erel    Nov 1, 2024   (44 reactions) As JavaObject Dim ContentResolver As JavaObject = ctxt.InitializeContext.RunMethodJO... intent.Initialize("android.intent.action.CREATE_DOCUMENT", "") intent...("class ".Length) jo.InitializeStatic(cls) Return jo.GetField("processBA") End Sub... B4A Code Snippet Draw on top of other apps permission - Erel    Sep 5, 2023   (16 reactions) As JavaObject settings.InitializeStatic("android.provider.Settings") Dim ctxt As JavaObject ctxt.InitializeContext If settings.RunMethod("canDrawOverlays"... Class_Globals Private ion As Object Private phone As Phone End Sub Public Sub Initialize End Sub... i.Initialize("android.settings.action.MANAGE_OVERLAY_PERMISSION", "package:" &... of the class c.Initialize Wait For (c.GetPermission) Complete (Success As Boolean) Log... B4A Question nativeMe.InitializeContext JAVA code in a class? - welu1805 (first post)    Jan 30, 2017 Hi Erel,
thank you. Now it works.
Lutz... B4A Code Snippet [B4X] Use WebView to show large images - Erel    Sep 4, 2021   (19 reactions) Better to use: HugeImageView - show very large images Depends on: XUI and JavaObject. 'xui is a global XUI object. Private Sub ShowImage(WV As WebView, Dir As String, FileName As String) #if B4A Dim jo As JavaObject = Me jo.InitializeContext 'comment this line if calling this code from class jo.RunMethod("zoom", Array(WV)) #End If If xui.IsB4J Then...) { wv.getSettings().setUseWideViewPort(true); wv.setInitialScale(1); } #End If #End If... B4A Tutorial Inline Java Code - Erel    Feb 24, 2022   (169 reactions)   tags: Code, Java, inline java code Sub Activity_Create(FirstTime As Boolean) If FirstTime Then NativeMe.InitializeContext End... with the component context ('this' will be the activity or service instance). Hooks Hooks are similar... B4A Code Snippet Notifications permission with targetSdkVersion = 33 - Erel    Jun 6, 2023   (23 reactions) .InitializeContext Dim targetSdkVersion As Int = ctxt.RunMethodJO("getApplicationInfo", Null... (HasPermission As Boolean) If HasPermission Then Dim n As Notification n.Initialize n... B4A Tutorial Version safe APK installation - Erel    Oct 12, 2018   (35 reactions)   tags: apk install, B4A APK Installation, SDK, apk installation, b4a sdk, APK CanRequestPackageInstalls As Boolean Dim ctxt As JavaObject ctxt.InitializeContext Dim PackageManager... Msgbox_Result(Result As Int) Dim in As Intent in.Initialize("android.settings.MANAGE_UNKNOWN_APP_SOURCES... B4A Code Snippet Start receiver at exact time - Erel    May 28, 2023   (16 reactions) Dim ctxt As JavaObject ctxt.InitializeContext Return ctxt.RunMethod... Dim in As Intent in.Initialize("android.settings... Page: 1   2   3   4   5   6   7   |