Start a new topic

device not supported

device not supported

1 person has this problem


I am testing the samples from the phonegap plugins for Android on Chrome, it keeps saying device not supported, I have tried different device/platforms, Nexus 10 etc.

Hi Junran,

The Wikitude Plugin is only working on supported mobile devices and must run in a PhoneGap Android project.
Adding the plugin in your chrome environment is not sufficient.

Please have a look at our github account to find more technical details.

Kind regards,
Andreas

Thanks Andreas, is there any Android phone you would suggest?

Hi Junran,

There are several good Android Phones out there.
I want to treat device manufacturers equal, so this list is just a personal one without any meaning in order:

- Nexus 4 (Cheap & Good for that price)
- Samsung S4 or S3
- Sony Z or Z1
- LG G2
- HTC Desire 601
- Huawei Ascend P2

Kind regards,
Andreas

Thank you Andreas.

Hi There,

I have Nexus 5, But it is not supported. Do you have any ideas?

Thank you!

Hi Eugene,

Are you sure you mean the LG Nexus 5? It has everything required in place. We even have one of them in the office and simple checks like:

Toast.makeText(this, ArchitectView.isDeviceSupported(this) ? "Device is supported " : "Device is not supported" , Toast.LENGTH_LONG).show();

work fine.

Kind regards,
Andreas

My mobile is Google Nexus 5,
I purchased from Google Player.  
Android Version: 4.4.2.
Please check it at http://www.google.ca/nexus/5/

Thank you very much!

Hi,

we know the Nexus 5 very well - where do you see the information that it is not supported? Can you copy & paste the output? Which product are you referring to?


Wikitude SDK

Wikitude App


 

I tried to make app via Phonegap + PhonegapPlugin + Wikitude SDK. I followed all instructions and copy all example files from git to my project. I think the message come from www/js/index_ar_samples.js

loadARchitectWorld: function(samplePath) { WikitudePlugin.setOnUrlInvokeCallback(app.onUrlInvoke); if (app.isDeviceSupported) { WikitudePlugin.loadARchitectWorld(samplePath); } else { alert("Device is not supported"); } },

Hi Eugene,

Please have a look at the provided PhoneGap sample project on github.
It is built using PhonGap's plugman tool. Please check out their documentation for details and the Wikitude PhoneGap Plugin Documentation for SDK related questions.

Kind regards,
Andreas

 

Hi, I try these codes in my index.html page. But it still doesn't work (), could you help me to check it, thank you very much!

<script type="text/javascript" src="cordova.js"></script>

 <script type="text/javascript">

        var app = {

 

            isDeviceSupported: function() {

                alert( "start" ); //this line works

                cordova.exec(app.deviceSupportedCallback, app.deviceIsNotARchitectReady, "WikitudePlugin", "isDeviceSupported", ); // this line doesn't work

            },

 

            deviceSupportedCallback: function() {

                alert( "yes" );

            },

 

            deviceIsNotARchitectReady: function() {

                alert( "no" );

            }

        }

 

        app.isDeviceSupported();

        

</script>

Hi Eugene,

Please use WikitudePlugin.isDeviceSupported function instead, compare:

https://github.com/Wikitude/wikitude-phonegap-samples/blob/master/PluginSamples/www/js/index_ar_samples.js

Kind regards

I tried. It donesn't work. ;( It is so hard.
Login or Signup to post a comment