Project Setup
Project Needs
Each mobile app project will have these things:
- A manifest, which describes all the components that comprise your app. When the app is installed, the manifest is referenced to ensure that all of the resources are assembled. (
AndroidManifest.xml
for Android Apps,manifest.json
for PWAs). - Pages. In Android Apps, these are called Activities, which are made up of Java and XML files to define the functionality and layout, respectively. In PWAs, HTML, CSS, and JavaScript are used to define the content, layout/style, and functionality respectively.
PWA Project Setup
If you don’t have Visual Studio Code yet, click here. You will also need the latest version of node.js
Start with this code from Mr. Buckley https://github.com/buckldav/pwa-ap. Click “Use This Template” to make a copy.
Android Project Setup
If you don’t have Android Studio yet, click here to download.
Follow the tutorial at https://developer.android.com/training/basics/firstapp.
For your new project, start with an Empty Activity: