jar solution
Remote
URL url = new URL("jar:http://hostname/my.jar!/");
JarURLConnection conn = (JarURLConnection)url.openConnection();
JarFile jarfile = conn.getJarFile();
Local
JarFile jar = new JarFile(new File(jarFileName), false, JarFile.OPEN_READ);
JarEntry entry = jar.getJarEntry(fileName);
Drawable.createFromStream(jar.getInputStream(entry))
ImageView.setImageDrawable(drawable)
MediaPlayer mp = createMediaPlayer(jar.getInputStream(entry));
Properties.load(InputStream)
URL url = new URL("jar:http://hostname/my.jar!/");
JarURLConnection conn = (JarURLConnection)url.openConnection();
JarFile jarfile = conn.getJarFile();
Local
JarFile jar = new JarFile(new File(jarFileName), false, JarFile.OPEN_READ);
JarEntry entry = jar.getJarEntry(fileName);
Drawable.createFromStream(jar.getInputStream(entry))
ImageView.setImageDrawable(drawable)
MediaPlayer mp = createMediaPlayer(jar.getInputStream(entry));
Properties.load(InputStream)
Comments