android - Application crashes if used on secure wifi network -
i have created application android 4.0 , above. application uses internet in stages. inside each , every activity, have done required handling check internet connectivity before communicating server.
the problem facing that, application running fine if used on 2g or 3g networks, crashes if used in secure wifi connection. have tried using application in insecure wifi network worked fine.
the manifest file of application:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ica.bankpoexamination2" android:versioncode="1" android:versionname="1.0" > <uses-permission android:name="android.permission.write_external_storage" > </uses-permission> <uses-permission android:name="android.permission.internet" > </uses-permission> <uses-permission android:name="android.permission.access_network_state" > </uses-permission> <uses-permission android:name="android.permission.read_phone_state" > </uses-permission> <uses-permission android:name="android.permission.access_wifi_state"/> <uses-permission android:name="android.permission.change_wifi_state"/> <uses-sdk android:minsdkversion="10" /> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <activity android:name="com.ica.bankpoexamination2.splashscreenactivity" android:label="@string/app_name" android:screenorientation="portrait" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="com.ica.bankpoexamination2.loginactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.taketestactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.practicetestactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.speedtestactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.examactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.bankpoexamination2.generalinstructionsactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.rateusactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.speedtestexamdetailsactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.practicetestexamdetailsactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.choosetesttypeactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.examnamesactivity" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.reportactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.currentupdateactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.tipsandtricksactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.bankpoexamination2.libraryactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.reportinnactivities.reportlistactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.reportinnactivities.reportdetailsactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.reportinnactivities.reportscorecardactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.reportinnactivities.reporttimemanagementactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.reportinnactivities.reportquestionreportactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.reportinnactivities.reportdifficultylevelactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.reportinnactivities.reportalltestreportactivity" android:label="@string/app_name" android:screenorientation="landscape" > </activity> <activity android:name="com.ica.userregistration.registeractivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.userregistration.otpregisteractivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> <activity android:name="com.ica.currentupdate.currentupdatedetailsactivity" android:label="@string/app_name" android:screenorientation="portrait" > </activity> </application> </manifest>
what should fix this?
p.s: other applications working fine on same secured wifi network.
Comments
Post a Comment