This is a migrated thread and some comments may be shown as answers.

Need to use telerik calendar in Hybrid App( Android & IOS)

3 Answers 94 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
vijay
Top achievements
Rank 1
vijay asked on 06 Feb 2016, 04:27 PM

Hello Telerik,

We are using Telerik calendar in Native application. Now we are converting our mobile application in a hybrid platform (Android & IOS). I am using Eclipse IDE. Can you please let me the process of integration how to use the Telerik calendar in this. Or Is there any Plugin so that we can add a plugin through command line.

Hope you will reply me as soon as possible!!

Best Regards

Vijay

 

 

3 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 10 Feb 2016, 12:50 PM
Hi Vijay,

Thank you for contacting us. I'll separate your question in two parts.
 - in case you want to use calendar, just use input element with type "date" in your html:
<input type="date"/>
Mobile devices display a calendar/date selector automatically when there is such element.
 - adding plugin - when you want to add some plugins in your application, I would suggest you to use our AppBuilder CLI. You can find information how to install it in our documentation. After you have installed it, open command prompt / terminal and navigate to your project directory. For example in case your project is inside directory ~/myProjects/Proj1 execute $ cd ~/myProjects/Proj1 After that in the terminal you can write:
$ appbuilder plugin --available
This will list the available plugins that you can install in your project.
In case you want to add any of them to your project, just execute $ appbuilder plugin add <plugin name>

Hope this helps. Feel free to contact us in case you have any other problems or concerns.


Regards,
Rosen Vladimirov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
vijay
Top achievements
Rank 1
answered on 14 Feb 2016, 04:16 PM

Hello Telerik,

 I have some queries listed below:

 1. We already have UI for Android (Paid Version) using in native android application. Now we want to use in android hybrid application ( Cordova Application). It's possible to use  UI for Android (Paid Version) in hybrid android Application as well? 

2. Your plug-in is not building with cordova application i.e. When we try to build application using CLI it's giving error and it's happening with your plug-in only. 

 I am trying to use this plugin :  "cordova plugin add https://github.com/Telerik-Verified-Plugins/Calendar"

Please help me out ASAP.

Thanks!!!

 

0
Rosen Vladimirov
Telerik team
answered on 16 Feb 2016, 08:41 AM
Hello Vijay,

I'm going straight to your questions:
1) You cannot use your native Android controls in Cordova application. The problem is that these controls cannot be rendered in WebView, but all Cordova apps are using it. In case you want to use the native controls, you can try NativeScript framework. You can find more information about it in our documentation: http://docs.telerik.com/platform/appbuilder/nativescript/index

2) When you want to add a plugin, you have to use appbuilder-cli, not cordova one. After installing appbuilder cli (npm install -g appbuilder), navigate to your project and execute appbuilder plugin add calendar
This will add the calendar plugin to your application. After that execute $ appbuilder deploy android in order to deploy the app on your device.

Feel free to contact us in case you still have problems or concerns.

Regards,
Rosen Vladimirov
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apache Cordova
Asked by
vijay
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
vijay
Top achievements
Rank 1
Share this question
or