progress of demo upgrade for App Framework 2.0

Tested on iOS and Android. Need to fix IE10