====== Mobile Dev Notes ====== ^ Options | Candidates | Support Lib | ^ offical solution | Java (Android), Objective-C (IOS), Swift (IOS) | ^ cross compiled | Xamarin (C#) | ^ web based | PhoneGap (HTML5+CSS+JS), Cordova (HTML5+CSS+JS) | Ionic, Supersonic, Bootstrap, AngularJs \\ Kendo UI, jQuery Mobile, Underscore.js | ^ javascript runtime VM | Accelerator titanium (wrapper), Facebook React Native (wrapper) \\ Telerik NativeScript (JS, CSS) | NPM modules | ref: * NativeScript vs all: https://www.youtube.com/watch?v=R98cdsq1qxA * Date Start: 2016.06 * Android dev language option * Java: * Dev tool: Android SDK (Android Studio IDE) * download: https://developer.android.com/studio/index.html * tutorial and guide: * https://www.ntu.edu.sg/home/ehchua/programming/android/Android_HowTo.html * http://www.androidcentral.com/installing-android-sdk-windows-mac-and-linux-tutorial * C and C++ * Dev tool: Android NDK * download: https://developer.android.com/ndk/index.html * tutorial and guides: * http://www.ntu.edu.sg/home/ehchua/programming/android/android_ndk.html * https://github.com/googlesamples/android-ndk * http://www.androidauthority.com/top-10-frustrations-android-developers-698520/ * compare of Java and C/C++ code for android: * video ref: https://www.youtube.com/watch?v=TDBTiwjTT0k * Other language option: * Xamarin with C#: https://www.xamarin.com/ * Kivy with Python: https://kivy.org/planet/ * https://github.com/kivy/kivy/wiki/List-of-Kivy-Projects * https://www.youtube.com/watch?v=F7UKmK9eQLY * Rubymotion with Ruby: http://www.rubymotion.com/ * Qt with C++: http://blog.qt.io/blog/2013/12/10/cross-platform-applications-in-ios-and-android-stores-with-qt/ * Cordova with HTML5 (Apache): https://cordova.apache.org/ * Ionic with HTML5: http://ionicframework.com/ * PhoneGap with HTML5 (Adobe): http://phonegap.com/ * http://www.addthis.com/blog/2014/10/27/7-things-to-consider-when-making-ios-and-android-apps-with-cordova-or-phonegap/#.V42-gaLm5wQ * Intel XDK with HTML5: https://software.intel.com/en-us/intel-xdk * Appcelerator with HTML5: http://www.appcelerator.com * React Native with Javascript (Facebook): https://facebook.github.io/react-native/ * NativeScript with Angular 2: https://www.nativescript.org/ * Others with HTML5: http://www.hongkiat.com/blog/mobile-frameworks/ * Droidscript with Javascript (android only): http://droidscript.org/ * payment option: * https://www.braintreepayments.com/braintree-pricing * list of javascript related * https://www.supersonic.com/ * http://getbootstrap.com/ * http://www.telerik.com/kendo-ui * https://jquerymobile.com/ * http://underscorejs.org/ * https://angularjs.org/ * npm: https://www.npmjs.com/ * http://ionicframework.com/ * test app * https://www.genymotion.com/ ====== Reference ====== https://www.udemy.com/courses/search/?ref=home&src=ukw&q=cross%20platform%20app&lang=en&p=7 https://www.udemy.com/the-complete-guide-to-running-a-mobile-app-dev-business/ https://www.udemy.com/web-design-for-beginners-real-world-coding-in-html-css/ https://www.udemy.com/design-code-an-android-app-from-scratch/ https://www.udemy.com/bootstrap-beginners-landing-page/ https://www.udemy.com/learn-android/ https://www.udemy.com/realtime-meanstack/ https://www.udemy.com/angular-2-fundamentals-with-typescript-for-pro-developers-systemjs/ https://www.udemy.com/how-to-create-a-mobile-app-if-you-dont-know-how-to-code/ https://www.udemy.com/create-your-first-django-website-fast-free/ https://www.udemy.com/your-first-android-and-iphone-app-in-60-minutes/ ====== Develop with Adobe PhoneGap or Cordova ====== * Explain two relationship: https://www.youtube.com/watch?v=BCo0xCrE_jY * Get installed: - install NodeJS first (a mini chrome engine), then install phonegap by npm install -g phonegap or install cordova by npm install -g cordova - install JDK (x86 or x64) and add Java bin to the path - install android sdk with eclipse (x86 or x64) and add sdk "platform-tools" and "tools" to the path - install apache ant and add its bin to the path * Get code start (ref: https://www.youtube.com/watch?v=nqFpfrUrMM4) * create project cordova create hello com.example.hello HelloWorld * add android support cordova platform add android * build cmd cordova build * then use android sdk to load the project root folder * then unhide www folder from asset folder in android sdk, and run as android app in simulator or in Genymotion (to install) for pickup device ====== Develop with NativeScript ====== * Get installed (ref: https://www.youtube.com/watch?v=R98cdsq1qxA) - Get this: https://www.nativescript.org/ - Get this: https://www.npmjs.com/ npm install -g nativescript - Get offical SDK: * JDK, Apache ant, android sdk * xcode, xcode CLI tools (commandline tools), IOS sdk * Get to Code: ====== To read ====== * angular 2: (Programming with Mosh): https://www.youtube.com/watch?v=_-CD_5YhJTA other to read https://www.youtube.com/watch?v=n0RZbTGf6uQ https://www.youtube.com/watch?v=lvOmUJXo7qs https://www.youtube.com/watch?v=_-CD_5YhJTA https://www.youtube.com/watch?v=rOAK7ZQND_o https://www.youtube.com/watch?v=0kmdjqgO9IY https://www.youtube.com/watch?v=BCo0xCrE_jY https://www.youtube.com/watch?v=nqFpfrUrMM4 https://www.youtube.com/watch?v=sCnGSOaaZFo ====== APK File Operation ====== * Download APK from App Store on PC - install chrome and chrome extension: https://chrome.google.com/webstore/detail/apk-downloader/fgljidimohbcmjdabiecfeikkmpbjegm/ - paste the play store web link to download the apk manually * Extra APK from android - install Xplore, in app manager - select the app and share as copy to