When i lunch the application to my mobile, the debugger of Android Studio show me this message:
01-27 17:34:54.845 24894-24920/com.example.sergio.tfg_augmentedr E/Error? onErrorLoading - Your Internet connection appears to be offline.com.wikitude.tracker.internal.ClientTrackerInternal@fdbbbb0
And tried with WiFi and with my own mobile internet data and always give me the same error, if someone can help me i would appreciate it too much. If you need more info about the problem just write here.
Thx
A
Andreas Schacherbauer
said
over 7 years ago
Hi Sergio, Do you have your .wtc file on a remote server or packaged within the Android application?
Best regards
Andreas
S
Sergio Polán
said
over 7 years ago
It finally works if i upload the .wtc to my ftp server and in the method to create tracker, i put the http direction of the place where i uploaded the file.
But for my application, i want to store it on the mobile phone, what should i write in this method to read the file from the mobile phone?
A
Andreas Schacherbauer
said
over 7 years ago
Hi Sergio, for .wtc files that are part of the application bundle, use the relative path, starting from the .html file that was loaded from our SDK.
Best regards
Andreas
m
marco campoli
said
almost 6 years ago
hello. i've the same problem with android native api. i've used local wtc in assets folder (
file:///android_asset/tracker.wtc
); someone help me?
Wikitude Support
said
almost 6 years ago
Hello Marco,
Please make sure that you use the absolute path of the location of your image in brackets, like
Sergio Polán