0

I'm creating an application for reading online novel and it works in Android 2.3.3 - 4.1, but somehow in Android 4.2, one of the Activity (DisplayLightNovelContentActivity) is suddenly died when reading one of the chapter (Sword Art Online:Aria in the Starless Night, original page: http://baka-tsuki.org/project/index.php?title=Sword_Art_Online:Aria_in_the_Starless_Night)

This only happen in Android 4.2 (Galaxy Nexus, Nexus 7, Nexus 10), it is working ok in previous version of Android.

Based on the log file, I'm seeing a lot of process was died by ActivityManager before my application died (lnreader).

These are the log files: http://pastebin.com/fgXKG1Ew and http://pastebin.com/dQgEJmik

This is the source code: https://github.com/calvinaquino/LNReader-Android

Can someone explain to me? Any fundamental changes on how android 4.2 that affected my application?

4

1 回答 1

0

Found the cause. Removing the deprecated method onPictureListener() fixed the problem in Android 4.2.1.

Tested in Galaxy Nexus 4.2.1 and Nexus 10.

No replacement method/class given by Google, so I change the code to use javascript.

于 2012-12-05T07:07:50.710 回答