title: Right way to add permissions : titanium android appcelerator
body: <p>I read a lot from stack about permissions ( like <a href="https://stackoverflow.com/questions/22733817">here</a> ) but i'm still stuck...</p>
  
  <p>I want to add these three permissions to my app :</p>
  
  <pre><code> android.permission.ACCESS_WIFI_STATE
   android.permission.ACCESS_NETWORK_STATE
   android.permission.INTERNET
  </code></pre>
  
  <p>So i added this to my tiapp.xml :</p>
  
  <pre><code>  &lt;android xmlns:android="http://schemas.android.com/apk/res/android"/&gt;
      &lt;manifest&gt;
          &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/&gt;
          &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
          &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
      &lt;/manifest&gt;
    &lt;/android&gt;
  </code></pre>
  
  <p>And titanium studio says that manifest contains not valid content and one of the value :</p>
  
  <pre><code>  {sdk-version, deployment-targets, id, name, version, publisher, url, description, copyright, icon, persistent-wifi, prerendered-icon, statusbar-style, statusbar-hidden, fullscreen, navbar-hidden, analytics, guid, iphone, android, ios, mobileweb, blackberry, tizen, ivi, property, modules, plugins}
  </code></pre>
  
  <p>is expected...</p>
  
  <p>Then I tried :</p>
  
  <pre><code>&lt;manifest android:versionName="1.0.0"&gt;
  </code></pre>
  
  <p>But the prefix 'android' of the attribute 'android:versionName' associated to an element type 'manifest' isn't bounded </p>
  
  <p>Any ideas ?</p>