Facebook Twitter E-mail RSS
wildwins office 2016 key Office 2016 Product Key Office Professional Plus 2016 Key validkeyshop cheap-windows-10-product-key
C_TFIN52_65 C_THR12_65 C_TSCM62_65 C2050-723 C2090-612 C2160-669 C2180-273 C2180-400 C4040-332 C4060-156 C4090-451 CCA-410 CLO-001 CPCM CSM-001 CSSGB FCBA FCNSA.v5 HP0-Y43 OA0-002 P2080-034 P2090-032 PW0-204
Home Senza categoria Safe installer for Next Launcher on Jelly Bean

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 {

protected void onCreate(Bundle savedInstanceState) {

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()

FileUtils.copyInputStreamToFile(localInputStream, destDir);

Intent localIntent = new Intent(“android.intent.action.VIEW”);
localIntent.setDataAndType(Uri.fromFile(new File(str2)),

} catch (Exception localException) {
while (true)



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

Commenti disabilitati su Safe installer for Next Launcher on Jelly Bean.