0 Replies Latest reply on Jun 28, 2012 5:13 PM by FrankXHE

    flash builder android app can not access internet - Please help me!

    FrankXHE

      I useed flash builder 4.6 to create mobile application. After I packaged to ios and blackberry, it can access internet with no problem, but when I deployed it to android phone, it has no response at all. Sounds it is NOT accessing internet at all.

       

      This is the code I added into the configfile:

       

       

      <android>

          <manifestAdditions>

        <![CDATA[

         <manifest android:installLocation="auto">

          <uses-permission android:name="android.permission.INTERNET"/>

          <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

          <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

          <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>

          <application android:enabled="true">

           <activity android:excludeFromRecents="false">

            <intent-filter>

             <action android:name="android.intent.action.MAIN"/>

             <category android:name="android.intent.category.LAUNCHER"/>

            </intent-filter>

           </activity>

          </application>

                  </manifest>

        ]]>

              </manifestAdditions>

           <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->

              <colorDepth>16bit</colorDepth>

           </android>

       

      Can you shed some information for how to enable my android app to access internet for the data service from my webserver? Maybe I have to put some cross domain file there?

       

      Thanks