DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Coding
  3. Frameworks
  4. Develop Mobile App Using Visual Studio 2015 (Apache Cordova)

Develop Mobile App Using Visual Studio 2015 (Apache Cordova)

Learn the steps for creating a basic Android mobile application in Visual Studio/Cordova with HTML code in this tutorial.

Rathrola Prem Kumar user avatar by
Rathrola Prem Kumar
·
Jan. 30, 18 · Tutorial
Like (1)
Save
Tweet
Share
10.00K Views

Join the DZone community and get the full member experience.

Join For Free

Hi, friends. Today, we are going to learn how to develop mobile apps using Visual Studio (Apache Cordova)

Image titleInstall Visual Studio 2015 on your local machine.

Image title

Create a new project in your workspace.

Image title

Select a blank app and save it in your machine workspace. Then, once it is saved, you will see the following screen:

Image title

Click www, then index.html, where you can design your mobile application with HTML code.

Image title

Then, run the application. You will see the following screen:

Image title

That’s all - here is your mobile application. You can make it more attractive by adding CSS style to your solutions. Now for how to deploy it on your machine.

Installing the Mobile App on Your Android Device

Go to the solution release mode and select the Android option.

Image title

Now, build the solution. Once it builds, successfully, go to the solution folder - bin, Android, then Release. Here you can see the unsigned APK file.

Now, our next step is to change that APK file from unsigned to signed. For this, we have to run some command in CD.

Open Run, cmd, then run as admin.

Go to this directory:

Image title

Just type keytool to view all the commands.

Image title

Then run the following syntax to generate a key:

keytool -genkey -v -keystore <keystoreName>.keystore -alias <Keystore AliasName> -keyalg <Key algorithm> -keysize <Key size> -validity <Key Validity in Days>

Then it will ask you to fill in details. After finishing all the details, the automatically.KEY file generates an unspecified path.

Now go to the build.json file in your solution and key in all the valid key details and save, then Build. In bin/android/release/ you can see the .apk file signed. Copy it to your mobile and install it.

Try this method to improve your skills in developing Apache Cordova mobile apps using Visual Studio 2015.

mobile app Apache Cordova

Published at DZone with permission of Rathrola Prem Kumar. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Real Democratization of AI, and Why It Has to Be Closely Monitored
  • Spring Cloud: How To Deal With Microservice Configuration (Part 1)
  • Agile Scrum and the New Way of Work in 2023
  • Problems of Cloud Cost Management: A Socio-Technical Analysis

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: