Best way to load assets in android java -
Best way to load assets in android java -
i have 1 android activity lot of calculations , ok, in final version of project need load lot of bitmaps , sounds in same activity , gets lot slower should be.. activity chrashes itself.
so, there advice how should load assets? should declare them in separate class, or what?
basically load assets when need them , unload them if not need them. (lazy loading)
because mobile has limited memory , imagining files big must careful on how manage files.
for image recommend link , seek optimize image possible
for sounds kindly @ class , give-and-take about loading sound files
outofmemoryerror when loading big amount of info in android
android soundpool – how check if sound file loaded?
java android load assets
Comments
Post a Comment