Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • I am using DevExtreme Mobile tools to embed a SPA application into the mobile application created using PhoneGap. I wish to show users all accounts configured on a device, but standard PhoneGap API does not provide an appropriate feature. I have found a third-party plug-in, which allows me to implement the desired functionality. Unfortunately, DevExtreme Mobile native project templates does not include this plug-in. Am I have to use Eclipse to build native packages, or there is an opportunity to continue using Visual Studio for this purpose?

                                1 Solution

                                Creation Date Rating Importance Sort by
                                1

                                [Updated by Uriah (DevExpress Support)]
                                Starting from version 14.2, we suggest using built-in feature to create a custom template using the PhoneGap Build service. This feature is described in our online documentation: Build Custom PhoneGap Application Template.
                                [Old content]
                                Starting from version 2013 vol 1, we provide the capability to replace default native project templates with custom ones. For this purpose, we added the Application template group to the Android package, iOS Package and Windows Phone package pages of the project properties.

                                Android

                                iOS

                                Windows Phone


                                In order to create a custom project template, you need to install corresponding platform SDK and Cordova. The detailed instructions can be found in the PhoneGap documentation:
                                Getting Started with Android
                                Getting Started with iOS

                                These guides contain project creation sections describing how to setup an empty project. You can create them manually using these guides, or download our project templates available here:
                                DevExtreme-ApplicationTemplate-iOS
                                DevExtreme-ApplicationTemplate-Android

                                When a custom native project is created and required plug-ins are added, the last step is to export the project into the Android, iOS and Windows Phone packages and put it into an appropriate directory. Then specify the path to these packages in the project properties as described above.

                                See Also:
                                How to add PhoneGap plug-in for Android to a DevExtreme project

                                How to add PhoneGap plug-in for iOS to a DevExtreme project

                                Show all comments
                                • Maxim Timofeev 1 05.31.2013

                                  Hello Uriah,
                                   I'm trying to create custom application template based on DXTREME-ApplicationTemplate-Android. I want to add plugin: phonegap-nfc (https://github.com/chariotsolutions/phonegap-nfc/tree/master/src/webworks).
                                  I installed and configured all needed tools as described in "Getting Started with Android". When downloaded DXTREME-ApplicationTemplate-Android and create a new "Android Project from Existing Code" based on it. Nothing to modify. I exported project as android application and set result as application template in my DXTREME project.
                                  When I built android package and set it on Nexus 7 (Android 4.2.2).
                                  It doesn’t work.
                                  If I use Application Template.apk from your CustomTemplateExample in my DXTREME project, it works fine.
                                  Can you describe in details how to create custom template and give me Eclipse source of your Application Template.apk?
                                  Thanks in advance!

                                • Hi Maxim,

                                  I have created a separate ticket regarding this issue How to add PhoneGap plug-in to a DXTREME Mobile native project template?. Please post all messages to this ticket.

                                • Davor Brigic 10.08.2013

                                  Hi This simply does not work, I have downloaded your template "CustomTemplateExample.zip" but still have Error: DEX file does not contain default package name 'app.id_00000000000000000000000000000000' I was using your apk included in zip file

                                • Hi Davor,

                                  I have created a separate ticket regarding this issue. Please post all messages to the Error: DEX file does not contain default package name 'app.id_00000000000000000000000000000000' ticket.

                                • Justin Zeng 11.04.2014

                                  I custom one, and add it in project. but no effective.

                                • Hello Justin,

                                  To process your recent post more efficiently, I created a separate ticket on your behalf: T168782: Custom template does not work. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners