android - Multiple Activities, showing images in another activity -


i creating 1 app 2 activities, image load , shows in activity,

this logcat error, http://pastebin.com/bvltcdz0

this mainactivity.java code http://pastebin.com/9f1snr8b

getassets() needs context don't have until call oncreate() move

 assetmanager assetmanager = getassets(); 

into oncreate()

images can sent through intents better save file path , send path open file string path sent through intent


Comments

Popular posts from this blog

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

java - Are there any classes that implement javax.persistence.Parameter<T>? -