Changeset 6:791a51e03b78 for android


Ignore:
Timestamp:
07/02/10 21:34:52 (14 years ago)
Author:
lukacu
Branch:
default
Convert:
svn:f819dc9c-ca78-df11-852c-0018fe7759ca/trunk@7
Message:

Fix for #15.

Location:
android
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • android/AndroidManifest.xml

    r2 r6  
    1818        <activity android:name="ComicViewerActivity" android:launchMode="singleTask" android:allowTaskReparenting="false"> 
    1919            <intent-filter> 
     20            <action android:name="org.webstrips.VIEW"></action> 
     21            </intent-filter> 
     22        </activity> 
    2023 
    21             <action android:name="org.webstrips.VIEW"></action> 
    22 </intent-filter> 
     24        <activity android:name="ComicDetailsActivity" android:launchMode="singleTask" android:allowTaskReparenting="false"> 
     25            <intent-filter> 
     26            <action android:name="org.webstrips.INFO"></action> 
     27            </intent-filter> 
    2328        </activity> 
    2429 
  • android/res/values/strings.xml

    r2 r6  
    2727 
    2828 
     29<string name="details.author">by %1$s.</string> 
     30<string name="details.homepage">Available on %1$s.</string> 
     31<string name="details.engine">Engine author: %1$s, version %2$d / %3$d.</string> 
     32 
    2933<string name="list.info">More information</string> 
    3034<string name="list.info_short">Info</string> 
  • android/src/org/webstrips/android/ComicListActivity.java

    r2 r6  
    239239                    + "/anchor"); 
    240240 
    241             intent = new Intent("COMIC", uri, this, ComicViewerActivity.class); 
     241            intent = new Intent("org.android.VIEW", uri, this, ComicViewerActivity.class); 
    242242 
    243243            startActivity(intent); 
    244244            break; 
    245245        case R.id.list_info: 
    246             /*intent = new Intent("INFO", Uri.parse("comic://" + comic.getComicIdentifier()), this, ComicViewerActivity.class); 
    247  
    248             startActivity(intent);*/ 
     246            intent = new Intent("org.android.INFO", Uri.parse("comic://" + comic.getComicIdentifier()), this, ComicDetailsActivity.class); 
     247 
     248            startActivity(intent); 
    249249            break; 
    250250        case R.id.list_webpage: 
Note: See TracChangeset for help on using the changeset viewer.