-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
64 lines (31 loc) · 1.79 KB
/
README
File metadata and controls
64 lines (31 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
This is a collaborative learning project organised by the GIST foundation's mobile development group ( http://thegisthub.net/groups/mobile-developer/ ). The aim is to produce a usable mobile radio player application for the Community Media Association, and along the way learn a little more about mobile development. Initially, we're trying to do everything in HTML5 and then use packaging tools like PhoneGap.
ios notes
---------
https://github.com/phonegap/phonegap-iphone
http://ofps.oreilly.com/titles/9780596805784/
Android notes
-------------
The android app was first generated with the command
droidgap gen cmaplayer, and it can be found in the phoneapp,android folder
Build/Run cycle
Start the android emulator with
emulator @test1
(Where test1 is the name of a device you have configured using the "android" utility)
Apparently, ant clean compile install should then install your app in the running VM, but I could never get that to work.
Instead, I just ran the ant and then manually did "adb install -r ./bin/cmaplayer-debug.apk"
Hint: If you need to access a service on localhost from the android emulator, use http://10.0.2.2:8080/app/url instead of localhost. Works a treat.
Signing... Used
/usr/lib/jvm/java-6-sun/bin/keytool -genkey -v -keystore gist.keystore -alias gist -keyalg RSA -keysize 2048 -validity 10000
To generate a self-signed key
Android app screenshots -
use ddms http://developer.android.com/guide/developing/tools/ddms.html
Upgrading to a more recent / patched droidgap..
Build a sample test app, then copy the phonegap.n.n.n.jar and .js to the project, don't forget to modify the .js import in the index.html
--- Deployment to android market ---
Release Build Process:
ant release
http://market.android.com/publish/Home
---
ios build
git clone...
cd phoneapp/ios