Application behaviour changed with Android 4.1(Jelly Bean) -


i have application consist of listview , each row open activity inside activity there button when pressd open activity gallery ,

i used large sized high resolution images in res -> drawable , test in 2 devices :

first one galaxy pocket duos running ginger bread 2.3.6 , working ok slow in scrolling list app function working .

second one galaxy s 3 running jelly bean 4.1.2 , ( used large sized high resolution images in res drawable ), app open show list freezed cant scroll list , if try scroll getting out app (app closed) return mobile home screen without force close ,

then changed image small sized low resolution images worked fine in galaxy s3 .

i expect opposite freeze on galaxy pocket duos rather galaxy s3 because low specification galaxy s3 .

any solutions problem appreciated.

my manifest:

 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.tsn.dr"    android:versioncode="1"    android:versionname="1.0" > <uses-permission android:name="android.permission.write_external_storage" />   <uses-sdk    android:minsdkversion="8"    android:targetsdkversion="17" />  <supports-screens    android:xlargescreens="true"   android:largescreens="true"    android:normalscreens="true"    android:smallscreens="true"    android:anydensity="true" /> 

problem loading large , many images

so app scrolling problem , app crash time..

use lazzy loading or use getview method in custom adapter...

below link useful lazzy loading..

https://github.com/thest1/lazylist

android: lazy loading in gallery


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -