Skip to main content

how to install cordova in ionic

  1. To install Cordova and Ionic, use - npm install -g cordova ionic
  2. Make sure to install the latest version of JDK and Android Studio IDE for Android development.
  3. To create a new project, use  - ionic start projectname template.
  4. Inside the project folder, you can add Android/iOS platform based on your development using the command - ionic cordova platform add android.  for add  particular  android version means  example                                                        ionic cordova platform add android@6.4.0
  5. After these code changes are done, you can generate the required .apk file with the command  - ionic cordova build android.
  6. Once the .apk file is generated successfully, you deploy the file on a real device and do the testing, or you can test it as a web application using a browser.
  7. To run it in a browser, use  - ionic serve.
  8. To run it on a device, use  - ionic cordova run android --device.

Comments

Popular posts from this blog

Change Material Design Icon Color Example

<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <title>Change Color of Google Material Design Icons Example</title> </head> <body> <i class="material-icons">important_devices</i> <i class="material-icons" style="font-size:40px;">important_devices</i> <i class="material-icons" style="font-size:50px;color:blue">important_devices</i> </body> </html>

spring boot sql server 2008 connection

first add the dependence in pom.xml file <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <scope>runtime</scope> </dependency> then we can add the below mention configuration in application.property file spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver spring.datasource.url =jdbc:sqlserver://localhost:1433;databaseName=pos spring.datasource.username = sa spring.datasource.password = sa spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.SQLServer2008Dialect then check the MS-SQL syntax for entity creation.

how to generate android icon

https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=clipart&foreground.clipart=android&foreground.space.trim=1&foreground.space.pad=0.25&foreColor=rgba(96%2C%20125%2C%20139%2C%200)&backColor=rgb(68%2C%20138%2C%20255)&crop=0&backgroundShape=square&effects=none&name=ic_launcher