1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

refactoring: platform-dependent classes have been moved to the android package; FBReader -> FBReaderActivity

This commit is contained in:
Nikolay Pultsin 2010-10-21 19:46:59 +01:00
parent 6ea4881643
commit 05ec6c3861
18 changed files with 96 additions and 69 deletions

View file

@ -258,7 +258,7 @@ public class LibraryTabActivity extends TabActivity implements MenuItem.OnMenuIt
}
private Intent getFBReaderIntent(final File file) {
final Intent intent = new Intent(getApplicationContext(), org.geometerplus.android.fbreader.FBReader.class);
final Intent intent = new Intent(getApplicationContext(), FBReaderActivity.class);
intent.setAction(Intent.ACTION_VIEW);
if (file != null) {
intent.setData(Uri.fromFile(file));