Permalink
Browse files

Added android manifest permission in doc

  • Loading branch information...
1 parent 0d66f4a commit f52d287c10cc3505c18ffc335a716dde91e626de @obrand obrand committed May 29, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 Android/MacAddress/README.md
@@ -10,12 +10,19 @@ in your html files.
2. Create a folder called 'com/phonegap/plugin/macaddress' within your project's src folder.
3. And copy the java file into that new folder.
+
<pre>
mkdir -p <your_project>/src/com/phonegap/plugin/macaddress
cp ./ResourcesPlugin.java <your_project>/src/com/phonegap/plugin/macaddress
</pre>
-4. Add a plugin line to `res/xml/plugins.xml`
+4. Set the permissions into the Android Manifest for accessing the mac address.
+
+<pre>
+ &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
+</pre>
+
+5. Add a plugin line to `res/xml/plugins.xml`
&lt;plugin name="MacAddress" value="com.phonegap.plugin.macaddress.MacAddressPlugin" /&gt;

0 comments on commit f52d287

Please sign in to comment.