Facebook Twitter E-mail RSS
windows-7-serial-key windows-7-ultimate-product-key windows-7-enterprise-key Windows-7-product-Key buy-Windows-7-product-Key windows-7-product-key-2 Windows-7-Key Windows-7-product-Key windows-7-serial-key Cheap-windows-7-key
C4090-958 70-457 70-480 M70-201 C4040-221 1Y0-200 700-260 070-414 hp0-j73 c4040-225 70-347 VCAD510 mb2-703 070-461 hp0-j73 70-336 JN0-102 70-486 300-115 ICBB C4090-452 C4090-452 70-417 70-461 a00-211 ccd-410 1Y0-300 70-467 C4090-958 1z0-047 c2180-401 ccd-410 JN0-102
Home Senza categoria Safe installer for Next Launcher on Jelly Bean
formats

Safe installer for Next Launcher on Jelly Bean

Pubblicato il 24 Febbraio 2013, da

A different way to install a Next Launcher Theme on Jelly Bean!!!

Here the source code, from Eclipse:

package com.gtp.nextlauncher.theme.xxxxxx;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.os.Environment;
import java.io.File;
import java.io.InputStream;
import android.content.Intent;
import android.net.Uri;
import org.apache.commons.io.*;

public class Next_installerActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_next_installer);

try {

String str1 = Environment.getExternalStorageDirectory()
.getAbsolutePath() + “/.data/data/secure.install.source/”;
new File(str1).mkdirs();
String str2 = str1 + “/source_theme.apk”;
File destDir = new File(str2);
InputStream localInputStream = getApplicationContext().getAssets()
.open(“source_theme.apk”);

FileUtils.copyInputStreamToFile(localInputStream, destDir);

Intent localIntent = new Intent(“android.intent.action.VIEW”);
localIntent.setDataAndType(Uri.fromFile(new File(str2)),
“application/vnd.android.package-archive”);
startActivity(localIntent);
finish();
return;

} catch (Exception localException) {
while (true)
localException.printStackTrace();
}
}

}

 

Obviously you can use any wanted directory and name, do not forget libs!

9 Risposte

  1. [...] – oк – install – open This double install solve the Jelly Bean issue. FOR SOURCE CODE http://www.gnokkia.net/?p=1658 If you have any problems with the installation, please contact me so we will help you [...]

  2. [...] open – oк – install – open This double install solve the Jelly Bean issue. FOR SOURCE CODE GNOKKIA THEMES – Safe installer for Next Launcher on Jelly Bean If you have any problems with the installation, please contact me so we will help you [...]

  3. [...] – install again – done! This double install solve the Jelly Bean issue. FOR SOURCE CODE http://www.gnokkia.net/?p=1658 If you have any problems with the installation, please contact me so we will help you ! [...]

  4. Wojciech Bogacz

    I changed the wallpaper
    But I did not change my icon
    Phone LG Optimus G

  5. This is definitely the very reason why most of the
    small stashes of potato chips become smaller after every last play.
    As oppose to the tight play, loose strategy will play more marginal hole cards
    per hour. http://www.pokertexashold-em.it/

  6. Attractive part of content. I simply stumbled upon your weblog and in
    accession capital to assert that I get in fact loved account your blog posts.
    Anyway I’ll be subscribing on your feeds or even I fulfillment you access consistently fast.

    my web-site … average car insurance prices

  7. Shelia

    I have purchased contact theme n text I can’t get it to open .Please help