forked from apache/cordova-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
699 additions
and
697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! /bin/sh | ||
|
||
./bin/create | ||
cd ./example && ./phonegap/debug && ./phonegap/log | ||
cd ./example && ./cordova/debug && ./cordova/log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
# | ||
# Creates an app in `./bench` that posts results to http://phonegap-bench.heroku.com with current PhoneGap/Android sha. | ||
# Creates an app in `./bench` that posts results to http://cordova-bench.heroku.com with current cordova/Android sha. | ||
# | ||
# USAGE | ||
# ./bin/bench | ||
|
@@ -13,17 +13,17 @@ then | |
fi | ||
|
||
# create a benching app | ||
./bin/create ./bench com.phonegap.bench PhoneGapBench | ||
./bin/create ./bench org.apache.cordova.bench cordovaBench | ||
|
||
# grab the latest bench www code | ||
git clone [email protected]:brianleroux/phonegap-bench.git | ||
git clone [email protected]:brianleroux/cordova-bench.git | ||
|
||
# copy it into the app | ||
cat ./phonegap-bench/www/index.html > ./bench/assets/www/index.html | ||
#cat ~/Desktop/phonegap-bench/www/index.html > ./bench/assets/www/index.html | ||
cat ./cordova-bench/www/index.html > ./bench/assets/www/index.html | ||
#cat ~/Desktop/cordova-bench/www/index.html > ./bench/assets/www/index.html | ||
|
||
# clean up | ||
rm -rf ./phonegap-bench | ||
rm -rf ./cordova-bench | ||
|
||
# launch to the first device found | ||
./bin/debug ./bench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
bin/templates/project/.phonegap/readme.md → bin/templates/project/.cordova/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
this is local config for phonegap stuff to be eventually moved to | ||
this is local config for cordova stuff to be eventually moved to | ||
config.xml ...we think. feedback to @davejohnson/@brianleroux | ||
appreciated here! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bin/templates/project/phonegap/debug → bin/templates/project/cordova/debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
|
||
. ./.phonegap/config | ||
. ./.cordova/config | ||
|
||
# if there are no devices listed then emulate | ||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
4 changes: 2 additions & 2 deletions
4
...ap/templates/project/res/xml/phonegap.xml → ...ova/templates/project/res/xml/cordova.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<phonegap> | ||
<cordova> | ||
<access origin="http://127.0.0.1*"/> | ||
<log level="DEBUG"/> | ||
</phonegap> | ||
</cordova> |
19 changes: 19 additions & 0 deletions
19
bin/templates/project/cordova/templates/project/res/xml/plugins.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<plugins> | ||
<plugin name="App" value="org.apache.cordova.App"/> | ||
<plugin name="Geolocation" value="org.apache.cordova.GeoBroker"/> | ||
<plugin name="Device" value="org.apache.cordova.Device"/> | ||
<plugin name="Accelerometer" value="org.apache.cordova.AccelListener"/> | ||
<plugin name="Compass" value="org.apache.cordova.CompassListener"/> | ||
<plugin name="Media" value="org.apache.cordova.AudioHandler"/> | ||
<plugin name="Camera" value="org.apache.cordova.CameraLauncher"/> | ||
<plugin name="Contacts" value="org.apache.cordova.ContactManager"/> | ||
<plugin name="File" value="org.apache.cordova.FileUtils"/> | ||
<plugin name="Network Status" value="org.apache.cordova.NetworkManager"/> | ||
<plugin name="Notification" value="org.apache.cordova.Notification"/> | ||
<plugin name="Storage" value="org.apache.cordova.Storage"/> | ||
<plugin name="Temperature" value="org.apache.cordova.TempListener"/> | ||
<plugin name="FileTransfer" value="org.apache.cordova.FileTransfer"/> | ||
<plugin name="Capture" value="org.apache.cordova.Capture"/> | ||
<plugin name="Battery" value="org.apache.cordova.BatteryListener"/> | ||
</plugins> |
19 changes: 0 additions & 19 deletions
19
bin/templates/project/phonegap/templates/project/res/xml/plugins.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.