Mobile Platform
共 57 篇文章
ionic UI(4)ionic2 framework - basic and components and native
ionic UI(4)ionic2 framework - basic and components and native Just create a tutorial project with TypeScript ionic start myionic2project2 tutorial --v2 --ts ionic serve Visit the page http://localhost:8100/ Error Message: ERROR in [default] /Users/carl/work/hybrid/myionic2project2/node_modules/angu…
2016-03-24 02:33 · Summary · Mobile Platform
ionic UI(3)TypeScript - handbook
ionic UI(3)TypeScript - handbook 1 Basic Types boolean - var isDone :boolean = false; number - var height: number = 6; string - var name:string = ‘carl’; name = “sillycat”; Array - var list:number[] = [1,2,3]; var list:Array = [1,2,3]; Enum - enum Color { Red, Green, Blue }; var c: Color = Color.Gr…
2016-03-22 23:21 · Mobile Platform
ionic UI(2)ionic2 framework - TypeScript - tutorial
ionic UI(2)ionic2 framework - TypeScript - tutorial 1 Basic ENV > node --version v4.4.0 > npm install -g cordova > npm install -g ionic >npm install -g ios-sim > npm install -g ios-deploy > cordova --version 6.0.0 > ionic --version 1.7.14 That is ionic 1 I guess. Let me try with ionic 2. > npm inst…
2016-03-22 06:52 · Mobile Platform
Parse and Heroku Service(3)Parse Server and Parse Dashboard
Parse and Heroku Service(3)Parse Server and Parse Dashboard 1 Set Up ENV Easiest way to start npm install -g parse-server npm install -g mongodb-runner parse-server --appId tester --masterKey tester Not working on MAC, because of port number? Unable to listen on port 1337. The port is already in us…
2016-03-22 06:30 · Mobile Platform
Parse and Heroku Service(2)Mail Templates and Push Notification
Parse and Heroku Service(2)Mail Templates and Push Notification 1 Sample Project for Parse Cloud Parse Account Key parse configure accountkey enter to open the key generate page. The key is stored in local cat ~/.parse/netrc machine api.parse.com#luohuazju@gmail.com login default password xxxxxxxxx…
2016-03-22 02:45 · Summary · Mobile Platform
ionic UI(1)Introduction
ionic UI(1)Introduction 1 Installation Make Sure Installed nodeJS 4.x > node --version v4.2.2 > npm install -g cordova > npm install -g ionic > npm install -g ios-sim Create the application > ionic start smart-fisher tabs Setup this project to use Sass: ionic setup sass Develop in the browser with …
2016-03-19 03:18 · Mobile Platform
Parse and Heroku Service(1)Heroku Installation and Play
Parse and Heroic Service(1)Heroku Installation and Play 1 Introduction Parse Service a. JSON format data mapping to storage b. PFUser user management c. iOS and Android push notification d. File storage 2 Installation of Parse Tool Command Line Tool curl -s https://www.parse.com/downloads/cloud_cod…
2016-03-19 00:13 · Mobile Platform
Hybrid(5)Customize Meteor Directly Google Login
Hybrid(5)Customize Meteor Directly Google Login First of All, Find a working Release on Meteor Currently, the release version release-1.2 is working, so I branch from that release and create release-1.2.1 on my own fork. https://github.com/luohuazju/meteor/tree/release-1.2.1. The only changes I mad…
2015-09-01 02:33 · Summary · Mobile Platform
Hybrid(4)Favorite Places - Google Login
Hybrid(4)Favorite Places - Google Login Requirements: Google Login CRUD Places CRUD Events Create meteor in an existing directory. https://github.com/aldeed/meteorify Then I can directly go to the project directory. meteorify This command will show us we already have the meteor env meteor update I …
2015-09-01 02:02 · Summary · Mobile Platform
Hybrid(3)More Meteor Example - Social
Hybrid(3)More Meteor Example - Social Following the document from here http://angular-meteor.com/tutorials/angular1/bootstrapping 1. Bootstrapping Create the project > meteor create socially Just build index.html with only tag Nothing Meteor scans all the HTML files in the application and concatena…
2015-08-11 05:04 · Mobile Platform
Hybrid(2)meteor Running Android and iOS
Hybrid(2)meteor Running Android and iOS Build the Android Running on an Android emulator meteor install-sdk android ✗ Android emulator acceleration is not installed (The Android emulator will be very slow without acceleration) follow this document to install that https://github.com/meteor/meteor/wi…
2015-07-28 23:59 · Mobile Platform
Create the Google Play Account
Create the Google Play Account Having a Google account, pay 25$, then you get your google developer account. References: http://developer.android.com/distribute/googleplay/start.html https://play.google.com/apps/publish/signup/ introduction http://sspai.com/24178 https://support.google.com/googlepl…
2015-07-18 06:42 · Mobile Platform
Secure REST API and Mobile(1)Document Read and Understand OAUTH2
Secure REST API and Mobile(1)Document Read and Understand OAUTH2 I used to use OAuth1 before, but it seems that it is different from OAuth2. Introduction on OAuth2 Resource Owner — User Client — App Authorization Server Resource Server — API Client should be registered first. Client Registration Cl…
2015-07-14 00:36 · Mobile Platform
Screen Size and Web Design
Screen Size and Web Design iPhone Display Size(inches) Diagonal measure of the screen, from corner to corner. iPhone Screen Size(points) Designing for the web(using CSS or JavaScript). Retina screens have higher pixel density. iPhone Rendered Pixels Create an image and want it at the max resolution…
2015-07-11 01:11 · Mobile Platform
Hybrid(1)ionic Cordova meteor
Hybrid(1)ionic Cordova meteor After reading a lot of documents, cordova is similar to phoneGap. ionic is focus on mobile UI and based on cordova/phoneGap. Meteor seems provide both browser and hybrid. Let try that first. 1. Meteor Installation Just a simple command to install that on MAC > curl htt…
2015-06-25 05:49 · Mobile Platform
Android Fire Project(1)Recall Env and Knowledge
Android Fire Project(1)Recall Env and Knowledge 1. Android SDK Standalone Tool Download from here http://developer.android.com/sdk/installing/index.html?pkg=tools The file I get is android-sdk_r24.0.2-macosx.zip. Unzip the file and link to /opt > sudo ln -s /Users/carl/tool/android-sdk-macosx /opt/…
2015-02-11 12:28 · Mobile Platform
Android Content Framework(1)Concept
Android Content Framework(1)Concept Some Concept 1, total customized The Main activity will open the local html index.html page with android WebView and WebViewClient, for example import android.webkit.WebView; import android.webkit.WebViewClient; Once the page is load, it will send the request as …
2014-06-14 13:54 · Mobile Platform
Feel Android Studio(1)Install and Update Android Studio
Feel Android Studio(1)Install and Update Android Studio 1. Prepare the Git environment First of all, I need to deal with the fork problem on github.com >git config --list >git config --global remote.origin.url=https://github.com/luohuazju/ProjectName.git This is a wrong path, I will try to get rid …
2014-04-11 03:12 · Mobile Platform
IOS7 App Development Essentials(2)iBeacon
IOS7 App Development Essentials(2)iBeacon 1. Beacon Introduction CLBeacon RSSI (Received Signal Strength Indication) [-93, -113] accuracy The accuracy of the proximity value, measured in meters from the beacon proximity The relative distance to the beacon. 2. Building Steps General ——> Linked Frame…
2014-03-05 05:55 · Mobile Platform
IOS7 App Development Essentials(1) Persistent Store
IOS7 App Development Essentials(1) Persistent Store 1. Introduction Store Types and Behaviors XML, atomic, SQLite, in-memory store. NSBinaryStoreType — build-in atomic store. The XML store is not available on iOS. SQLite Store Core Data provides a way to control sync behavior in SQLite using 2 inde…
2014-03-05 05:54 · Mobile Platform