Skip to content

Commit

Permalink
added a comment, and now the app installs to sd card by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudhossam committed Aug 13, 2011
1 parent 64de859 commit fc8ab20
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
40 changes: 25 additions & 15 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.quran.labs.androidquran" android:versionCode="8" android:versionName="1.5.1">
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="false">
<activity android:name=".QuranActivity" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation">
package="com.quran.labs.androidquran" android:versionCode="8"
android:versionName="1.5.1" android:installLocation="preferExternal">
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:debuggable="false">
<activity android:name=".QuranActivity" android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name=".QuranDataActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".AboutUsActivity" android:screenOrientation="portrait"/>
<activity android:name=".HelpActivity" android:screenOrientation="portrait"/>
<activity android:name=".QuranDataActivity"
android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".AboutUsActivity"
android:screenOrientation="portrait" />
<activity android:name=".HelpActivity"
android:screenOrientation="portrait" />
<activity android:name=".QuranViewActivity" />
<activity android:name=".BookmarksActivity"/>
<activity android:name=".TranslationActivity"/>
<activity android:name=".DownloadActivity" android:screenOrientation="portrait"/>
<activity android:name=".QuranPreferenceActivity" android:screenOrientation="portrait"/>
<activity android:name=".BookmarksActivity" />
<activity android:name=".TranslationActivity" />
<activity android:name=".DownloadActivity"
android:screenOrientation="portrait" />
<activity android:name=".QuranPreferenceActivity"
android:screenOrientation="portrait" />
<activity android:name=".SearchActivity" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>

<!-- declare the default searchable Activity for the whole app -->
<meta-data android:name="android.app.default_searchable" android:value=".SearchActivity" />
<meta-data android:name="android.app.default_searchable"
android:value=".SearchActivity" />
<!-- provides search suggestions for verses. -->
<provider android:name=".data.QuranDataProvider" android:authorities="com.quran.labs.androidquran.data.QuranDataProvider" />

<provider android:name=".data.QuranDataProvider"
android:authorities="com.quran.labs.androidquran.data.QuranDataProvider" />

<service android:enabled="true" android:name=".service.QuranDataService" />
<service android:name=".service.QuranAudioService" />

</application>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="7" />

Expand Down
2 changes: 1 addition & 1 deletion default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
split.density=false
# Project target.
target=android-8
android.library.reference.1=../johannilsson-android-actionbar-1a98f28/actionbar
android.library.reference.1=../android-actionbar/actionbar
4 changes: 2 additions & 2 deletions src/com/quran/labs/androidquran/QuranJumpDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public void jump(){
leave();
}

// http://groups.google.com/group/android-developers/browse_frm/
// thread/17210d784766602d/d430c900a9c4019c?
//hides the soft keyboard

public void leave(){
EditText pageField = (EditText)this.findViewById(R.id.page_field);
InputMethodManager imm =
Expand Down

0 comments on commit fc8ab20

Please sign in to comment.