Current filter:
                                You should refresh the page.
                                  • Hi Guys

                                    Please would you provide an example of how to use DXtreme to access the hardware on a device e.g. camera, gps etc. I used vsnomad before and it was quite straight forward. Unfortunately I have not been able to access hardware on my android device using DXtreme...yet :)

                                    Thank you,

                                1 Solution

                                Creation Date Importance Sort by

                                Hello,
                                Here are several standard Apache Cordova samples implemented inside DevExtreme applications. To test them, right-click a sample project in the Visual Studio Solution Explorer and choose 'Build Native Application'.
                                UPDATE:
                                In fact, there is no need to do anything in order to make it possible to use PhoneGap API in a DevExtreme application. You do not need to care about including any files in a project or doing anything except writing code.
                                So, if you need to use PhoneGap API, simply write code according to the PhoneGap documentation. We are using version 2.9.0. When you build a native package or scan the QR code that is available when you run the application in Visual Studio, the cordova.js file will be automatically included.
                                However, project templates used by default support only the official PhoneGap API. In order to use any third-party PhoneGap plug-in, you need to create your own native projects as described in the Getting Started Guides. Then, follow the plug-in installation guide to include the plug-in into new projects.
                                UPDATE1:

                                With the latest DevExtreme version (greater than 14.2.6), it is required to check the following plugins on the PhoneGap page in the project properties: 'org.apache.cordova.camera'

                                Show all comments
                                • J Joubert 09.28.2012

                                  Thank you, exactly what I was looking for! :)

                                • Sam Vdd 12.06.2012

                                  The camera app is quite slow and crashes after taking 2 pictures on my Sony Xperia Arc S.
                                  Any solution?

                                • Uriah (DevExpress Support) 12.06.2012

                                  Hello Sigurd,
                                  For your convenience, I have created a separate thread to discuss this issue: The example provided in the Q434945 thread works slowly and crash. Please bear with us, we will answer your question as soon as possible.

                                • Sylvester La Blanc 01.17.2013

                                  How do you test these samples from Windows platform using the DevExpress Courier application? As I understand the Courier applicaiton has PhoneGap built-in. I have tried setting the "Run Simulator" option, then scanning the barcode withn the Courier application, but none of the device/hardware interafaces seem to work (I am able to test other apps that don't use PhoneGap using this approach).
                                  Thanks!

                                • Nikolai (DevExpress Support) 01.18.2013

                                  Hi Sylvester,
                                  We kindly ask you not to post your questions to the tickets that were created by other customers. If you wish to discuss any problem, please create a new thread. Post all messages regarding this issue to this ticket What PhoneGap API is supported by DevExpress Courier application.

                                • André Litfin 03.21.2013

                                  Dear DXteam,
                                  please update the solution above to change cordova-2.0.0.js file to cordova.js. I spent 3 hours this night searching for the mistake - it were just the letters -2.0.0 which I had too much ;)

                                • André Litfin 03.21.2013

                                  Dear DXteam,
                                  please update the solution above to change cordova-2.0.0.js file to cordova.js for actual DXTREME 2.4. I spent 3 hours this night searching for the mistake - it were just the letters -2.0.0 which I had too much ;)
                                  Thanks in advance!

                                • Nikolai (DevExpress Support) 03.22.2013

                                  Hi André,
                                  We have update these projects accordingly. In addition, please refer to the How to store data to a local file using PhoneGap API example.

                                • Banh Thanh Vi 07.31.2016

                                  devexpress team's example not good, not realy heplful for problem that developer worried.
                                  Do you any example to get device id .... for multi-platform in visual studio 

                                • Alex Skorkin - DevExpress 07.31.2016

                                  Hello Banh,
                                  I've created a separate ticket on your behalf (T409569: Do you have any example to get device id .... for multi-platform in visual studio). It has been placed in our processing queue and will be answered shortly.

                                • John Daren Dizon 1 05.05.2017

                                  same here i need an example to get uuid for multi platform in visual studio 

                                • Artem (DevExpress Support) 05.05.2017

                                  Hello John,

                                  I've created a separate ticket on your behalf (T512009: DevExtreme SPA - How to get a device guid). It has been placed in our processing queue and will be answered shortly.