Permalink
Browse files

Merge pull request #7 from akosma/master

Android and Windows Phone versions of the kitchen sink app
  • Loading branch information...
2 parents 07ac27c + 2435b06 commit 806e36991701625b86d7ba2a4c0488b4924dbba3 @jcfischer committed May 15, 2012
Showing with 13,256 additions and 0 deletions.
  1. +30 −0 install.sh
  2. +20 −0 native/Android/.gitignore
  3. +33 −0 native/Android/KitchenSink/.project
  4. +50 −0 native/Android/KitchenSink/AndroidManifest.xml
  5. +4,972 −0 native/Android/KitchenSink/assets/www/cordova-1.7.0.js
  6. +25 −0 native/Android/KitchenSink/assets/www/css/app.css
  7. BIN native/Android/KitchenSink/assets/www/images/Compass-Rose.png
  8. +285 −0 native/Android/KitchenSink/assets/www/index.html
  9. +761 −0 native/Android/KitchenSink/assets/www/js/app.js
  10. +1 −0 native/Android/KitchenSink/assets/www/js/seedrandom-min.js
  11. BIN native/Android/KitchenSink/assets/www/res/beep.wav
  12. +40 −0 native/Android/KitchenSink/proguard.cfg
  13. +11 −0 native/Android/KitchenSink/project.properties
  14. BIN native/Android/KitchenSink/res/drawable-hdpi/ic_launcher.png
  15. BIN native/Android/KitchenSink/res/drawable-ldpi/ic_launcher.png
  16. BIN native/Android/KitchenSink/res/drawable-mdpi/ic_launcher.png
  17. +12 −0 native/Android/KitchenSink/res/layout/main.xml
  18. +7 −0 native/Android/KitchenSink/res/values/strings.xml
  19. +37 −0 native/Android/KitchenSink/res/xml/cordova.xml
  20. +38 −0 native/Android/KitchenSink/res/xml/plugins.xml
  21. +13 −0 native/Android/KitchenSink/src/com/akosma/KitchenSink/KitchenSinkActivity.java
  22. +16 −0 native/Windows Phone/.gitignore
  23. +22 −0 native/Windows Phone/KitchenSink/KitchenSink.sln
  24. +19 −0 native/Windows Phone/KitchenSink/KitchenSink/App.xaml
  25. +135 −0 native/Windows Phone/KitchenSink/KitchenSink/App.xaml.cs
  26. BIN native/Windows Phone/KitchenSink/KitchenSink/ApplicationIcon.png
  27. BIN native/Windows Phone/KitchenSink/KitchenSink/Background.png
  28. +63 −0 native/Windows Phone/KitchenSink/KitchenSink/BuildManifestProcessor.js
  29. +209 −0 native/Windows Phone/KitchenSink/KitchenSink/CordovaSourceDictionary.xml
  30. BIN native/Windows Phone/KitchenSink/KitchenSink/GapLib/WP7CordovaClassLib.dll
  31. +382 −0 native/Windows Phone/KitchenSink/KitchenSink/KitchenSink.csproj
  32. +34 −0 native/Windows Phone/KitchenSink/KitchenSink/MainPage.xaml
  33. +52 −0 native/Windows Phone/KitchenSink/KitchenSink/MainPage.xaml.cs
  34. +6 −0 native/Windows Phone/KitchenSink/KitchenSink/Properties/AppManifest.xml
  35. +38 −0 native/Windows Phone/KitchenSink/KitchenSink/Properties/AssemblyInfo.cs
  36. +42 −0 native/Windows Phone/KitchenSink/KitchenSink/Properties/WMAppManifest.xml
  37. BIN native/Windows Phone/KitchenSink/KitchenSink/SplashScreenImage.jpg
  38. +4,828 −0 native/Windows Phone/KitchenSink/KitchenSink/www/cordova-1.7.0.js
  39. +25 −0 native/Windows Phone/KitchenSink/KitchenSink/www/css/app.css
  40. BIN native/Windows Phone/KitchenSink/KitchenSink/www/images/Compass-Rose.png
  41. +288 −0 native/Windows Phone/KitchenSink/KitchenSink/www/index.html
  42. +761 −0 native/Windows Phone/KitchenSink/KitchenSink/www/js/app.js
  43. +1 −0 native/Windows Phone/KitchenSink/KitchenSink/www/js/seedrandom-min.js
  44. BIN native/Windows Phone/KitchenSink/KitchenSink/www/res/beep.wav
View
@@ -68,3 +68,33 @@ cp -R www/* native/iOS/KitchenSink/www
cp -R _libs native/iOS/KitchenSink/www
rm -r native/iOS/KitchenSink/www/_libs/phonegap
+
+
+
+
+echo
+echo "###############################"
+echo "#"
+echo "# Copying files to the Android project"
+echo "#"
+echo "###############################"
+cp -R www/* native/Android/KitchenSink/assets/www
+cp -R _libs native/Android/KitchenSink/assets/www
+rm -r native/Android/KitchenSink/assets/www/_libs/phonegap
+mv native/Android/KitchenSink/assets/www/_libs native/Android/KitchenSink/assets/www/libs_
+
+
+
+
+
+
+echo
+echo "###############################"
+echo "#"
+echo "# Copying files to the Windows Phone project"
+echo "#"
+echo "###############################"
+cp -R www/* native/Windows\ Phone/KitchenSink/KitchenSink/www
+cp -R _libs native/Android/KitchenSink/assets/www
+rm -r native/Android/KitchenSink/assets/www/_libs/phonegap
+
@@ -0,0 +1,20 @@
+libs_
+
+.metadata
+tmp/**
+.DS_Store
+*.tmp
+*.bak
+tmp/**/*
+*.swp
+*~.nib
+Thumbs.db
+Desktop.ini
+*~
+*.apk
+bin
+gen
+local.properties
+*.jar
+.classpath
+
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>KitchenSink</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.akosma.KitchenSink"
+ android:versionCode="1"
+ android:versionName="1.0" >
+<supports-screens
+android:largeScreens="true"
+android:normalScreens="true"
+android:smallScreens="true"
+android:resizeable="true"
+android:anyDensity="true"
+/>
+<uses-permission android:name="android.permission.CAMERA" />
+<uses-permission android:name="android.permission.VIBRATE" />
+<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
+<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
+<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
+<uses-permission android:name="android.permission.READ_PHONE_STATE" />
+<uses-permission android:name="android.permission.INTERNET" />
+<uses-permission android:name="android.permission.RECEIVE_SMS" />
+<uses-permission android:name="android.permission.RECORD_AUDIO" />
+<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
+<uses-permission android:name="android.permission.READ_CONTACTS" />
+<uses-permission android:name="android.permission.WRITE_CONTACTS" />
+<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+<uses-permission android:name="android.permission.BROADCAST_STICKY" />
+ <uses-sdk android:minSdkVersion="7" />
+
+ <application
+ android:icon="@drawable/ic_launcher"
+ android:label="@string/app_name" >
+ <activity
+ android:name=".KitchenSinkActivity"
+ android:label="@string/app_name"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ <activity android:name="org.apache.cordova.DroidGap"
+ android:label="@string/app_name"
+ android:configChanges="orientation|keyboardHidden">
+ <intent-filter> </intent-filter>
+ </activity>
+ </application>
+
+</manifest>
Oops, something went wrong.

0 comments on commit 806e369

Please sign in to comment.