Android Question Warning "Setting install_non_market_apps has moved"

Derek Johnson

Active Member
Licensed User
Longtime User
I'm seeing this warning in my log when I am in Debug mode:

Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.

How do stop this warning from happening?

Derek
 

M.LAZ

Active Member
Licensed User
Longtime User
i have the same warning
in the Debug & release Mode
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.

and when i try to copy some files in the main activity from DirAssets to DirDefaultExternal my app crashes..

i use B4A-Bridge 2.14 & B4A 6.30

please any help?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

M.LAZ

Active Member
Licensed User
Longtime User
ok ;)
LogCat connected to: B4A-Bridge: samsung SM-N910H
--------- beginning of main
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Installing file.
PackageAdded: package:tech.diabetes
Installing file.
PackageAdded: package:tech.diabetes
new_window_surface returns 0x3000, [1440x2560]-format:1
running waiting messages (2)
** Activity (main) Resume **
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
Timeline: Activity_idle id: android.os.BinderProxy@ea72e3d time:17211950
ViewPostImeInputStage processPointer 0
ViewPostImeInputStage processPointer 1
** Service (service1) Destroy **
ViewPostImeInputStage processKey 0
ViewPostImeInputStage processKey 1
** Activity (main) Pause, UserClosed = true **
#3 mView = null
Ignoring event as service was destroyed: server_newconnection
SELinux: seapp_context_lookup: seinfo=default, level=s0:c512,c768, pkgname=anywheresoftware.b4a.b4abridge
TimaSignature is unavailable
Added TimaKeyStore provider
ClassLoader referenced unknown path: /data/app/anywheresoftware.b4a.b4abridge-1/lib/arm
#1 mView = com.android.internal.policy.PhoneWindow$DecorView{c43e7ee I.E...... R.....ID 0,0-0,0}
--------- beginning of system
Metadata value : none
Use EGL_SWAP_BEHAVIOR_PRESERVED: true
** Service (starter) Create **
** Service (starter) Start **
eglInitialize EGLDisplay = 0xae93f7c4
Initialized EGL, version 1.4
new_window_surface returns 0x3000, [1440x2560]-format:1
** Activity (main) Create, isFirst = true **
setTypeface with style : 0
setTypeface with style : 0
setTypeface with style : 0
setTypeface with style : 0
setTypeface with style : 0
** Activity (main) Resume **
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
MSG_RESIZED_REPORT: ci=Rect(0, 96 - 0, 0) vi=Rect(0, 96 - 0, 0) or=1
DisplayListCanvas is started on unbinded RenderNode (without mOwningView)
** Service (service1) Create **
** Service (service1) Start **
Timeline: Activity_idle id: android.os.BinderProxy@827a169 time:17294993
Connected to B4A-Bridge (Wifi)
Streams_terminated
Connected to B4A-Bridge (Wifi)
ViewPostImeInputStage processKey 0
ViewPostImeInputStage processKey 1
** Activity (main) Pause, UserClosed = true **
#3 mView = null
Installing file.
PackageAdded: package:tech.diabetes
Metadata value : none
#1 mView = com.android.internal.policy.PhoneWindow$DecorView{9c2af1a I.E...... R.....ID 0,0-0,0}
new_window_surface returns 0x3000, [1440x2560]-format:1
** Activity (main) Create, isFirst = false **
setTypeface with style : 0
setTypeface with style : 0
setTypeface with style : 0
setTypeface with style : 0
setTypeface with style : 0
** Activity (main) Resume **
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
MSG_RESIZED_REPORT: ci=Rect(0, 96 - 0, 0) vi=Rect(0, 96 - 0, 0) or=1
DisplayListCanvas is started on unbinded RenderNode (without mOwningView)
Timeline: Activity_idle id: android.os.BinderProxy@2cd99c5 time:17628254
ViewPostImeInputStage processKey 0
ViewPostImeInputStage processKey 1
** Activity (main) Pause, UserClosed = true **
#3 mView = null
 
Upvote 0

M.LAZ

Active Member
Licensed User
Longtime User
this is the error message when i try to copy files

B4X:
File.Copy(File.DirAssets, strDBName, TargetDir, strDBName)


Error Message :

Timeline: Activity_launch_request id:tech.diabetes time:18489799
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
yes in DirAssets
Error occurred on line: 33 (DBModule)
java.io.FileNotFoundException: /storage/emulated/0/Android/data/tech.diabetes/files/diabetesdb.db: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:452)
at java.io.FileOutputStream.<init>(FileOutputStream.java:87)
at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:370)
at anywheresoftware.b4a.objects.streams.File.Copy(File.java:336)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:753)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:343)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at anywheresoftware.b4a.debug.Debug.delegate(Debug.java:262)
at tech.diabetes.dbmodule._initdb(dbmodule.java:195)
at tech.diabetes.globalmodule._loadsql(globalmodule.java:92)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:708)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:340)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at tech.diabetes.main.afterFirstLayout(main.java:102)
at tech.diabetes.main.access$000(main.java:17)
at tech.diabetes.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7225)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
... 26 more
 
Upvote 0
Top