Hi, I'm having trouble adding radar component to SimpleARBrowser example
When i frist run the activity, evrything seems ok, the radar is shown with pois on it. When I minimize the app (or lock the screen( and then try to return to it, app crashes with the following message.
04-21 19:40:12.109: A/libc(14459): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 14484 (Thread-9810)
function poiMarker(_imageResource, poiRepresentation, _geoLoc,
_geoObject, _animationOffse) {
}
</script>
<!-- Status element at the top of the HUD -->
<div id="statusElement" class="status"></div>
<br />
<br />
<br />
<div id="footer">
<h3>
<span id="poiName"></span>
</h3>
Description: <span id="poiDesc"></span><br />
<p style="text-align: center;">click for more...</p>
</div>
</body>
</html>
A
Andreas Fötschl
said
over 10 years ago
Hi Marko!
Unfortunately I was not able to reproduce this issue. Could you please run a quick test on the radar component on your device by launching the following url using
These testcases create a radar as in the attached sample-snippet
M
Marko Milovanovic
said
over 10 years ago
Hi Andreas
All tests worked fine, but the issue remained on tests tc3 - tc6. When i lock my phone in the middle of these tests , and then try to return to app, it crashes with tihs message 04-23 19:44:05.046: A/libc(11767): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 11985 (Thread-34618)
I believe it has something to do with radar in combination with pois. When there are no pois (tc1 , tv2 or end of tests), locking is working just fine.
M
Marko Milovanovic
said
over 10 years ago
Hi again,
When phone locks screen, activity's onStop is called wich is not implemented in ArchitectView's lifecycle. Maybe there should be ArchitectWebView.removeAllViews() in ArchitectView's onDestroy, since that hepled me before when my custom webview caused similar problem?
A
Andreas Fötschl
said
over 10 years ago
Thank you so much for the hint, I was now able to reproduce this issue. We'll fix it in upcoming update.
Kind regards
B
Bertand Duthoit
said
over 10 years ago
Hi Andreas,
Do you have any workaround to fix this issue ?
We are looking for buying wikitude for 2 of our applications and this is the very last point that we need to fix.
A
Andreas Fötschl
said
over 10 years ago
Hi Bertand,
Unfortunately there is no quick workaround for this. We will provide fix for that in upcoming update. Maybe you can use direction indicators in your first release and add the radar component as soon as SDK 2.1 is available.
Kind regards, Andreas
N
NN
said
over 10 years ago
Hi,
When I can expect the RADAR to work? when are you releasing the 2.1?
Thank you,
Narendra
A
Andreas Fötschl
said
over 10 years ago
Sorry for late reply.
Wikitude SDK 2.1 became Version 3.0 and is available for download from June 16th onwards.
Marko Milovanovic