mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Merge branch 'master' of ssh://git.code.sf.net/p/kiwix/kiwix
This commit is contained in:
commit
e934904edf
@ -13,7 +13,7 @@ android:anyDensity="true"
|
||||
<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="17"/>
|
||||
<application android:icon="@drawable/kiwix_icon" android:label="@string/app_name" android:allowBackup="true">
|
||||
<activity android:name=".KiwixMobileActivity"
|
||||
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden">
|
||||
android:label="@string/app_name" android:configChanges="orientation|keyboardHidden|screenSize">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
2
kiwix.c
2
kiwix.c
@ -237,7 +237,7 @@ JNIEXPORT jboolean JNICALL Java_org_kiwix_kiwixmobile_JNIKiwibx_getDescription
|
||||
return retVal;
|
||||
}
|
||||
|
||||
JNIEXPORT jboolean JNICALL Java_org_kiwix_kiwixmobile_JNIKiwibx_getRandomPage
|
||||
JNIEXPORT jboolean JNICALL Java_org_kiwix_kiwixmobile_JNIKiwix_getRandomPage
|
||||
(JNIEnv *env, jobject obj, jobject urlObj) {
|
||||
jboolean retVal = JNI_FALSE;
|
||||
std::string cUrl;
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -258,6 +258,10 @@ public class KiwixMobileActivity extends Activity {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig){
|
||||
super.onConfigurationChanged(newConfig);
|
||||
}
|
||||
|
||||
private void loadPref(){
|
||||
SharedPreferences mySharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user