After trying on Samsung Galaxy Note 8, experience works good with no crash.
I believe my issue is specific to the ODG R-7 hardware. I am using the ODG SDK for my glasses:
https://cdn.wikitude.com/sdk/8.2.0/WikitudeSDK_ODG_8-2-0_2018-11-13_11-37-08.zip
I am using the Android Javascript SDK for my Samsung Galaxy Note 8 (the experience is working fine on the Note 8 :)!
I am wondering why the ODG is crashing -- I gave it all of the permissions including camera permission and file system.
Hi Raiden,
The custom URL Launcher is only supporting links to the 'index/landing' .html file of an AR experience and not an url to a .wto file. Could you try with opening the index.html file of your AR experience, that you put on a server?
Thx and greetings
Nicola
Bah, I see now that I need to go to studio -> Project -> Download offline project- > Extract zip file -> Upload to FTP server -> Open the index.html from the file server
It is certainly a bit convoluted, but thank you very much for helping clarify that the "Custom URL Launcher" does not open up .wto files
Perhaps if the "URL" said, "URL of AR index.html" it may be less confusing to first time users.
I am happy that Wikitude is providing a "try before you buy" experience!
Without the try, most people would never get to the buy stage. I am getting pretty close to purchasing an SDK license if I can get the proof of concept to work smoothly on an ODG R-7.
Will report back later, thank you for your help!
Hi Raiden,
Thx for your feedback and great that you made it work.
Greetings
Nicola
I have made some adjustments,
After downloading the experience.zip and hosting on apache http,
I can visit the index.html file with my browser:
"Invalid Application Launch
04-15 13:06:34.410 1108 1333 I ActivityManager: START u0 {cmp=com.wikitude.sdksamples/com.wikitude.samples.fragments.UrlLauncherActivity (has extras)} from uid 10069 on display 0 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 10, path = 0 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> send_adm_topology 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> send_asm_topology 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> send_audtable 04-15 13:06:34.412 398 1254 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE 04-15 13:06:34.413 398 1254 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL 04-15 13:06:34.413 398 1254 D ACDB-LOADER: ACDB -> send_audvoltable 04-15 13:06:34.413 398 1254 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE 04-15 13:06:34.413 398 1254 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL 04-15 13:06:34.413 398 1254 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL 04-15 13:06:34.442 398 1254 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_id 1 of type 0 for Event 3, with Raise=0 04-15 13:06:34.450 1684 1684 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL' 04-15 13:06:34.456 1684 1684 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=11 sndbuf=163840 outq=0 send_len=48 04-15 13:06:34.461 1108 1265 I InputManager-JNI: Setting pointer mode to mouse 1. 04-15 13:06:34.470 1108 1230 I InputReader: Reconfiguring input devices. changes=0x00000040 04-15 13:06:34.470 1108 1230 I InputReader: CursorInputMapper::configure change to mouse mode 04-15 13:06:34.482 6807 6807 I WebViewFactory: Loading com.android.webview version 44.0.2403.119 (code 246011900) 04-15 13:06:34.542 6807 6807 W System : ClassLoader referenced unknown path: /system/app/webview/lib/arm 04-15 13:06:34.559 6807 6807 I LibraryLoader: Time to load native libraries: 8 ms (timestamps 9938-9946) 04-15 13:06:34.559 6807 6807 I LibraryLoader: Expected native library version number "",actual native library version number "" 04-15 13:06:34.578 6807 6807 V WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {46b64de} 04-15 13:06:34.579 6807 6807 I LibraryLoader: Expected native library version number "",actual native library version number "" 04-15 13:06:34.580 6807 6807 I chromium: [INFO:library_loader_hooks.cc(120)] Chromium logging enabled: level = 0, default verbosity = 0 04-15 13:06:34.595 6807 6807 I BrowserStartupController: Initializing chromium process, singleProcess=true 04-15 13:06:34.597 6807 6807 W art : Attempt to remove non-JNI local reference, dumping thread 04-15 13:06:34.598 6807 6807 E SysUtils: ApplicationContext is null in ApplicationStatus 04-15 13:06:34.634 6807 6807 W chromium: [WARNING:resource_bundle.cc(285)] locale_file_path.empty() 04-15 13:06:34.644 6807 6807 E libEGL : validate_display:255 error 3008 (EGL_BAD_DISPLAY) 04-15 13:06:34.644 6807 6807 E libEGL : validate_display:255 error 3008 (EGL_BAD_DISPLAY) 04-15 13:06:34.652 1781 1792 D QtiTetherService/IpaWrapper: getStats(false) 04-15 13:06:34.712 6807 6807 E DataReductionProxySettingListener: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp 04-15 13:06:34.713 6807 6807 D AndroidRuntime: Shutting down VM 04-15 13:06:34.714 6807 6807 E AndroidRuntime: FATAL EXCEPTION: main 04-15 13:06:34.714 6807 6807 E AndroidRuntime: Process: com.wikitude.sdksamples, PID: 6807 04-15 13:06:34.714 6807 6807 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wikitude.sdksamples/com.wikitude.samples.fragments.UrlLauncherActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2471) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2531) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.ActivityThread.access$900(ActivityThread.java:151) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1345) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5483) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.requestFeature(PhoneWindow.java:320) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.Activity.requestWindowFeature(Activity.java:4256) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at com.wikitude.samples.fragments.SimpleArFragment.onCreateView(SimpleArFragment.java:59) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.Fragment.performCreateView(Fragment.java:2343) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1421) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1752) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1821) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:797) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2595) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2382) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2337) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2244) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3255) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3205) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:195) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:597) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:177) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1238) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.Activity.performStart(Activity.java:6895) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2434) 04-15 13:06:34.714 6807 6807 E AndroidRuntime: ... 9 more 04-15 13:06:34.716 1108 1852 W ActivityManager: Force finishing activity com.wikitude.sdksamples/com.wikitude.samples.fragments.UrlLauncherActivity 04-15 13:06:34.721 6807 7035 W AudioManagerAndroid: Requires BLUETOOTH permission 04-15 13:06:34.726 1108 1852 W ActivityManager: Force finishing activity com.wikitude.sdksamples/com.wikitude.samples.util.urllauncher.UrlLauncherStorageActivity 04-15 13:06:34.729 1108 1142 W BroadcastQueue: Skipping deliver [background] BroadcastRecord{6434e4 u-1 android.intent.action.HEADSET_PLUG} to ReceiverList{41b2276 6807 com.wikitude.sdksamples/10069/u0 remote:f149111}: process crashing 04-15 13:06:34.774 1108 6019 I OpenGLRenderer: Initialized EGL, version 1.4 04-15 13:06:35.227 1108 1142 W ActivityManager: Activity pause timeout for ActivityRecord{7078a20 u0 com.wikitude.sdksamples/com.wikitude.samples.fragments.UrlLauncherActivity t247 f}
When it says "AR Library not found" does that mean that there is no experience inside of my experience.zip file? I had downloaded experience.zip from the studio editor, and then hosted my experience on a web server, but app is crash :(
Hi,
So these are the steps you take:
- create the AR experience with the Studio Editor
- download the experience .zip file and unzip it
- upload the complete folder to your server
- enter the url to the index.html file in the Custom URL Launcher
--> then the crash happened? Can you please send me the experience, so I can test with an Android phone (please note that the issue might also be related that the SDK is not optimized for ODG and we don't support this model anymore with an ODG SDK). To ensure that it's not an ODG issue, could you please test the same with an Android phone.
Thx and greetings
Nicola
Raiden Stiegel
Can you help to figure out what I am doing wrong? I am trying to load a .WTO file with the custom URL launcher.
Build Configuration: Release
Build date: tuesday nov 13 2018
Build number 12:
Build version 8.2.0
Hardware: ODG R-7
ADB Logcat after loading custom URL:
When using Custom URL Launcher (top right menu of the Wikitude SDK)
Attached is picture of the custom URL which I am trying to launch, and the settings. I have tried toggling some of the settings
My Main goal is to reduce my camera resolution down to 720 or do anything that can optimize the experience on the ODG R-7.
I am trying to use the smart-glasses to pick-and-place tools in an auto repair shop.
Each tool will have an overlay of the tool's location, so the mechanic can know where to put away his/her tools.