Here is leaderboad example using meteor- Realtime score update on Mobile Device.
To run meteor app on mobile device using phonegap, First deploy on server, I use http://18.104.22.168:5000/ .I found bunch of files here, you need to change steam_client file to receive request from Phonegap mobile clients.
Step 1: Right click on page and see View page source, you can see lots of file there, If you want to make apk file at that time need to change “stream_clientbf90.js” file.
Change url to your serverURL. in “stream_clientbf90.js”file,apply change below:
The following example show a live-updating high score list.
First Take a look on Screenshot below:
Here is Web app:
Click on name and press button to add 5 pints.
You can also view live example here :- LeaderBoardDemo
Step 2: Build Apk File using Phonegap and deploy on Mobile device:
Code are same but just have URL change above from Step 1: leaderboard.zip
Download code and use dreamweaver or any Phonegap SDK enable IDE to make apk file.
Try that APK in Android enable Mobile Device, it works.
Take a look at mobile screenshot: