Skip to content
This repository
Browse code

Added android manifest permission in doc

  • Loading branch information...
commit f52d287c10cc3505c18ffc335a716dde91e626de 1 parent 0d66f4a
obrand authored May 29, 2012

Showing 1 changed file with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. 9  Android/MacAddress/README.md
9  Android/MacAddress/README.md
Source Rendered
@@ -10,12 +10,19 @@ in your html files.
10 10
 2. Create a folder called 'com/phonegap/plugin/macaddress' within your project's src folder.
11 11
 3. And copy the java file into that new folder.
12 12
 
  13
+
13 14
 <pre>
14 15
     mkdir -p <your_project>/src/com/phonegap/plugin/macaddress
15 16
     cp ./ResourcesPlugin.java <your_project>/src/com/phonegap/plugin/macaddress
16 17
 </pre>
17 18
     
18  
-4. Add a plugin line to `res/xml/plugins.xml`
  19
+4. Set the permissions into the Android Manifest for accessing the mac address.
  20
+
  21
+<pre>
  22
+	&lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
  23
+</pre>
  24
+    
  25
+5. Add a plugin line to `res/xml/plugins.xml`
19 26
 
20 27
     &lt;plugin name="MacAddress" value="com.phonegap.plugin.macaddress.MacAddressPlugin" /&gt;
21 28
 

0 notes on commit f52d287

Please sign in to comment.
Something went wrong with that request. Please try again.