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

4 posts, 0 answers
  1. vijay
    vijay avatar
    23 posts
    Member since:
    May 2015

    Posted 06 Feb Link to this post

    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

     

     

  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 10 Feb Link to this post

    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.

     
  3. vijay
    vijay avatar
    23 posts
    Member since:
    May 2015

    Posted 14 Feb in reply to Rosen Vladimirov Link to this post

    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!!!

     

  4. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 16 Feb Link to this post

    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.

     
Back to Top