B Mathur's Profile
Team Leader
1721
Points

Questions
33

Answers
175

  • Team Leader Asked 4 days ago in IONIC.

    Storage is an easy way to store key/value pairs and JSON objects. Storage uses a variety of storage engines underneath, picking the best one available depending on the platform.

    When running in a native app context, Storage will prioritize using SQLite, as it’s one of the most stable and widely used file-based databases, and avoids some of the pitfalls of things like localstorage and IndexedDB, such as the OS deciding to clear out such data in low disk-space situations.

    When running in the web or as a Progressive Web App, Storage will attempt to use IndexedDB, WebSQL, and localstorage, in that order.

    Read More

    • 34 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in TECHNOLOGY.

    Native app:

    Mobile apps built for specific platforms like iOS, Android, Blackberry, Windows, etc, using their respective development tools and language. Native App will work only on the platform it has been designed for.

    HTML5 Web App:

    HTML5 apps can work on different mobile platforms. They use a combination of programming languages like CSS, Javascript and HTML5. These are platform independent but lack superior UX and functionality. These apps cannot be used when offline.

    Hybrid/ Cross- Platform App:

    Hybrid/ Cross- Platform App use a combination of Native and HTML5 development methodologies to develop applications that have the advantages of both.Hybrid apps are faster to develop and also provide a great user experience.

    • 32 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in IONIC.

    Pros:

    • Develop an app once, and deploy across iOS, Android, and Windows devices.
    • The use of AngularJS creates a powerful SDK, for building rich and robust applications.
    • Cost-effective.
    • Lots of plugins that allow the features like cameras, fingerprint scanners, NFC, geolocation, sending analytics to Firebase, push notifications, and deep links.

    Cons:

    • In-app performance may not be as swift as if the application were developed natively for each device.
    • Debugging is somewhat challenging — sometimes it’s difficult to figure out where the error is coming from, as error messages can be unclear.
    • Not suitable for creating an app or game that need very complex navigational and routing logic.
    • 33 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in IONIC.

    1.ionic prepare <platform> copies all files from the www folder into the target platform’s www folder.

    2.ionic build <platform> also does this, but also builds the app’s source code so that it can be run on a simulator/emulator or a device.

    <platform> value will be ios/android

    • 27 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in CORDOVA.

    Cordova Plugman is a command line tool to install and uninstall plugins for use with Apache Cordova projects.
    To install plugman, you must have node installed on your machine. Then you can run the following command from anywhere in your environment to install plugman globally, so that it is available from any directory:

    
    $ npm install -g plugman
    
    

    cordova-plugin-geolocation:

    
    plugman install --platform <ios|android> --project <directory> --plugin cordova-plugin-geolocation
    
    
    • 33 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in CORDOVA.

    Here are various events that can be used in Cordova projects.

    1.deviceReady

    The deviceready event is triggered when Cordova is fully loaded. This event is essential to any application. It signals that Cordova’s device APIs have loaded and are ready to access.

    2.pause

    The pause event is triggered when the native platform puts the application into the background, typically when the user switches to a different application.

    3.resume

    This event is triggered when the native platform pulls the application out from the background.

    4.backbutton

    This event is triggered when the back button is pressed.

    5.menubutton

    This event is triggered when the user presses the menu button.

    6.searchbutton

    This event is triggered when the Android search button is pressed.

    7.startcallbutton

    This event is triggered when the start call button is pressed.

    8.endcallbutton

    This event is triggered when the end call button is pressed.

    9.volumedownbutton

    This event is triggered when the volume down button is pressed.

    10.volumeupbutton

    This event is triggered when the volume up button is pressed.

    • 37 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in CORDOVA.
    • It’s very quick to prototype and Helps Developers to Make Mobile Apps More Powerful.
    • No need to learn complicated code languages for mobile apps like CSS3, JavaScript and HTML5. Apache Cordova works on the most common browsers.
    • Cordova solves the problem of variations in multiple platforms such as iPhone or Android.
    • Cordova is a cost effective technology to build a mobile app
    • Cordova plugins are an extensive feature. It supports a model of plug-in architecture that allows the developers to extend more functionalities of an application.
    • Managing images for multiple devices is a lot easier with CSS and media queries than it is for an iOS xcode project and an Android project.
    • 36 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in CORDOVA.

    Cordova is a platform for building hybrid mobile applications using HTML, CSS and JavaScript files.

    The features of Cordova

    1.Command Line Interface
    This tool allows you to create new projects , building processes for different platforms, installing plugins and lot of other useful things that make the development process easier.
    2.Cordova Core Components
    Cordova provide core components that every mobile application needs. These components will be used for creating base of the app so we can spend more time to implement our own logic.
    3.Cordova Plugins
    Cordova offers API that will be used for implementing native mobile functions to our JavaScript app.
    4.License
    Cordova is licensed under the Apache License, Version 2.0.

    • 34 views
    • 1 answers
    • 0 votes
  • Team Leader Asked 4 days ago in IONIC.

    Testing your Ionic app

    There are four ways to test your app as you develop:

    1. Desktop browser testing
    2. Simulator testing
    3. Mobile browser testing
    4. Testing as a native app

    Desktop browser testing:

    Testing your app in a web browser is simple.Just type below command in your project’s root folder from the terminal.
    $ ionic serve
    This will start a live-reload server for your project. When changes are made to any HTML, CSS, or JavaScript files, the browser will automatically reload when the files are saved.

    Simulator testing:

    You can also test right in the simulator using the cordova commands. For example, to test in the android simulator, run:

    $ ionic cordova build android
    $ ionic cordova emulate android

    If you want to get advanced, you can also open up the project file for a specific platform by opening the required Xcode or Android Eclipse project in platforms/PLATFORM inside the root of your project. Then, you can build and test from inside the platform-specific IDE. Note: if you go this route, I recommend still working inside of the root www folder, and when you’ve made changes to this folder, run the command:
    $ ionic cordova prepare android
    Which will update the android specific project with the code from the www folder. Note: this will overwrite any changes you’ve made to the platforms/android/www and other platform-specific folders.

    Mobile browser testing:

    You can also test the app directly in a mobile browser .Kindly use Chrome for remote debugging. If you are using the local server method from the Desktop testing section and you are on the same network as the desktop computer, you can connect to the ip address of the desktop computer to test. So, if our desktop is running a test server at 103.26.219.135:8000, we can just load that address into our mobile Chrome to test the project Or App.
    One problem with testing in a mobile browser is that it’s probably the furthest of the three options from the actual app experience. This is largely because the browser app is meant for browsing websites, so it often adds functionality that conflicts with your app. For example, Chrome and Safari both listen for drag events on the sides of the app which let you switch between open tabs. They also have issues with the URL bars getting in the way, and some scrolling behavior is not the same as it is in the web view running in Cordova. It is fine for small tests, but not recommended for more complex apps.

    Testing as a native app:

    Testing on Android is much easier and faster. To test on the device, simply plug it in, and run
    $ ionic cordova run android
    If this doesn’t work, make sure you have USB debugging enabled on your device.

    • 70 views
    • 2 answers
    • 0 votes
  • Team Leader Asked on February 26, 2019 in PHP.

    Important tips:

    • The amount is in kobo or cents
    • Currency: 566 for Naira and  844 for Dollar
    • 36 views
    • 2 answers
    • 0 votes