diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3be9c6a5..e81d96e4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -15,7 +15,7 @@
-
+
System...
- Change Location...
Read Location...
- Set user Intervals...
-
Accelerometer...
- Vibration
- Play Sound
Photo...
Audio...
Notification...
diff --git a/src/com/nitobi/phonegap/PhoneGap.java b/src/com/nitobi/phonegap/PhoneGap.java
index 79ed8042..e55ce9f7 100644
--- a/src/com/nitobi/phonegap/PhoneGap.java
+++ b/src/com/nitobi/phonegap/PhoneGap.java
@@ -114,65 +114,6 @@ public class PhoneGap{
});
}
- public void playSound(final String filename)
- {
- MediaPlayer mp = new MediaPlayer();
-
- try {
- // MediaServer does not allow reading of urls out of app data folder
- // thus we grab raw file and submit via file descriptor
- // instead
- // InputStream is = mCtx.getAssets().open(filename);
- // work around cannot play audio streams
- // to get around security restriction on MediaPlayer
- // until Android sdk 1.1
- // thus these changes and the playSound js
- // needs moved to Dev.x so that we can if statement out
- // via the sdk number
-
- if(getSDKVersion() == "1")
- {
- // The hack way audio stored in R.raw.filename
- // and we if statement check our way through
- // to match the window.DroidGap.playSound(filename.mp3)
- ////call on the html side
-
- int oursound;
-
- if (filename == "bird.mp3") {
- mp.create(mCtx, R.raw.bird);
-
- }
- if (filename == "on.mp3") {
- mp.create(mCtx, R.raw.on);
- }
- if (filename == "off.mp3"){
- mp.create(mCtx, R.raw.off);
- }
- }
- if(getSDKVersion() == "1.1")
- {
- //TODO: do right way here when Google fixes it
- // as we have a security exception preventing
- // playing audio file form file:///android_asset/ location
- mp.setDataSource("file:///android_asset/" + filename);
- mp.prepare();
- mp.start();
- }
-
- //mp.setDataSource("file:///android_asset/" + filename);
- //mp.setDataSource("http://ventrix.nsdc.gr/stuff/TERMITES_SKONH.mp3");
- mp.prepare();
- mp.start();
- } catch (IllegalArgumentException e) {
- //TO-DO: Load a Javascript Exception thrower
- } catch (IllegalStateException e) {
- //TO-DO: Load a Javascript Exception thrower
- } catch (IOException e) {
- //TO-DO: Load a Javascript Exception thrower
- }
-
- }
public String outputText(){
String test = "Test
";