Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

WebARonARCore #40

Open
MakeHorizont opened this issue Sep 4, 2017 · 3 comments
Open

WebARonARCore #40

MakeHorizont opened this issue Sep 4, 2017 · 3 comments
Labels

Comments

@MakeHorizont
Copy link

hello guys, how about https://github.com/google-ar/WebARonARCore

how i may use this with "arcore-for-all"?

thanks

@Horsetopus
Copy link

From what I read it uses the Same ARCore service.
It doesn't embed it or anything.

So if your device fails with the samples, telling you "Tango core has stopped", WebARonARCore isn't likely to work either.

Now if the samples work, and you want to run WebARonARCore, you will have to:

  • get the sources.
  • search for where they check the device compatinilities.
  • set it to always true.
  • build WebARonARCore (long task, I'm sure, I've built chrome before it takes a lot of space and a lot of time).

Then hopefully you might have a build of WebARonARCore that works for you.

@aman-tiwari
Copy link

I just did the above, the apk is at: https://drive.google.com/file/d/0B-7CCAaMeqWDN2xpR2E2ZldOaEk/view?usp=sharing

The patch required is: https://gist.github.com/aman-tiwari/66df4950531f04138b37cb6eca4efa6c

index df7f8cb..46cdd7b 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
@@ -429,7 +429,7 @@ public class AwShellActivity extends Activity implements OnRequestPermissionsRes
         super.onCreate(savedInstanceState);
 
         // If the device is not supported, show an alert and quit.
-        if (!SupportedDevices.isSupported(this)) 
+        if (false) 
         {
             createAlertDialog(AwShellActivity.this, "ERROR", "This device is not currently supported by WebARonARCore.", new DialogInterface.OnClickListener()
                 {

It seems to work on my Nexus 6P. The tracking sucks at the start but seems to get good after a 10-20 seconds of looking around.

@UDXS
Copy link

UDXS commented Sep 18, 2017

Can someone convert this apk to work with below Android 7 using the method in #70

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants