Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas-M committed Nov 12, 2012
1 parent 9338b8b commit f00b2a9
Show file tree
Hide file tree
Showing 185 changed files with 41,111 additions and 4 deletions.
38 changes: 38 additions & 0 deletions AndroidManifest.xml
@@ -0,0 +1,38 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.itechfist.slax"
android:versionName="1.0"
android:versionCode="1" >

<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:debuggable="false"
>
<activity android:name=".SlaxInstallerInstallActivity" android:launchMode="singleTop"></activity>
<activity android:name=".SlaxInstallerDownloadActivity" android:launchMode="singleTop"></activity>
<activity android:name=".SlaxDownloadComplete" android:launchMode="singleTop"></activity>
<activity android:name=".SlaxDebugMessageActivity" android:launchMode="singleTop"></activity>
<activity
android:name=".SlaxInstallerActivity"

android:label="@string/title_activity_slax"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name=".FileDownloader" android:exported="false"></service>
</application>

</manifest>
6 changes: 6 additions & 0 deletions README
@@ -0,0 +1,6 @@
android-slax-installer
======================

Android installer for Slax.
This code has been written by a freelancer coder for $110
Any patches to improve it are welcome!
4 changes: 0 additions & 4 deletions README.md

This file was deleted.

38 changes: 38 additions & 0 deletions bin/AndroidManifest.xml
@@ -0,0 +1,38 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.itechfist.slax"
android:versionName="1.0"
android:versionCode="1" >

<uses-sdk
android:minSdkVersion="10"
android:targetSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:debuggable="false"
>
<activity android:name=".SlaxInstallerInstallActivity" android:launchMode="singleTop"></activity>
<activity android:name=".SlaxInstallerDownloadActivity" android:launchMode="singleTop"></activity>
<activity android:name=".SlaxDownloadComplete" android:launchMode="singleTop"></activity>
<activity android:name=".SlaxDebugMessageActivity" android:launchMode="singleTop"></activity>
<activity
android:name=".SlaxInstallerActivity"

android:label="@string/title_activity_slax"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name=".FileDownloader" android:exported="false"></service>
</application>

</manifest>
Binary file added bin/SlaxInstaller.apk
Binary file not shown.
Binary file added bin/classes.dex
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/BuildConfig.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/DownloadList.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$attr.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$dimen.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$drawable.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$id.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$layout.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$menu.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$string.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R$style.class
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/R.class
Binary file not shown.
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/ServiceCallback.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/SlaxActivity.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added bin/classes/com/itechfist/slax/SlaxServerFiles.class
Binary file not shown.
3 changes: 3 additions & 0 deletions bin/jarlist.cache
@@ -0,0 +1,3 @@
# cache for current jar dependecy. DO NOT EDIT.
# format is <lastModified> <length> <SHA-1> <path>
# Encoding is UTF-8
18 changes: 18 additions & 0 deletions bin/proguard.txt
@@ -0,0 +1,18 @@
# view AndroidManifest.xml #generated:35
-keep class com.itechfist.slax.FileDownloader { <init>(...); }

# view AndroidManifest.xml #generated:23
-keep class com.itechfist.slax.SlaxDebugMessageActivity { <init>(...); }

# view AndroidManifest.xml #generated:22
-keep class com.itechfist.slax.SlaxDownloadComplete { <init>(...); }

# view AndroidManifest.xml #generated:24
-keep class com.itechfist.slax.SlaxInstallerActivity { <init>(...); }

# view AndroidManifest.xml #generated:21
-keep class com.itechfist.slax.SlaxInstallerDownloadActivity { <init>(...); }

# view AndroidManifest.xml #generated:20
-keep class com.itechfist.slax.SlaxInstallerInstallActivity { <init>(...); }

Binary file added bin/res/drawable-hdpi/bootlogo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/bootlogo_land.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/btn_bg_default.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/btn_bg_focused.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/btn_bg_selected.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/correct.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/horizontal_line.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/ic_action_search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/notification_refresh.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/smokey_bg.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-hdpi/wrong.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/bootlogo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/bootlogo_land.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/btn_bg_default.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/btn_bg_focused.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/btn_bg_selected.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/horizontal_line.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bin/res/drawable-ldpi/notification_refresh.png
Binary file added bin/res/drawable-ldpi/smokey_bg.9.png
Binary file added bin/res/drawable-mdpi/bootlogo.png
Binary file added bin/res/drawable-mdpi/bootlogo_land.png
Binary file added bin/res/drawable-mdpi/btn_bg_default.9.png
Binary file added bin/res/drawable-mdpi/btn_bg_focused.9.png
Binary file added bin/res/drawable-mdpi/btn_bg_selected.9.png
Binary file added bin/res/drawable-mdpi/horizontal_line.9.png
Binary file added bin/res/drawable-mdpi/ic_action_search.png
Binary file added bin/res/drawable-mdpi/ic_launcher.png
Binary file added bin/res/drawable-mdpi/notification_refresh.png
Binary file added bin/res/drawable-mdpi/smokey_bg.9.png
Binary file added bin/res/drawable-xhdpi/bootlogo.png
Binary file added bin/res/drawable-xhdpi/bootlogo_land.png
Binary file added bin/res/drawable-xhdpi/ic_action_search.png
Binary file added bin/res/drawable-xhdpi/ic_launcher.png
Binary file added bin/res/drawable/button_u.png
Binary file added bin/res/drawable/ic_launcher.png
Binary file added bin/res/drawable/tick.png
Binary file added bin/resources.ap_
Binary file not shown.
6 changes: 6 additions & 0 deletions gen/com/itechfist/slax/BuildConfig.java
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package com.itechfist.slax;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
99 changes: 99 additions & 0 deletions gen/com/itechfist/slax/R.java
@@ -0,0 +1,99 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/

package com.itechfist.slax;

public final class R {
public static final class attr {
}
public static final class dimen {
public static final int padding_large=0x7f040002;
public static final int padding_medium=0x7f040001;
public static final int padding_small=0x7f040000;
}
public static final class drawable {
public static final int bootlogo=0x7f020000;
public static final int bootlogo_land=0x7f020001;
public static final int btn_bg_default=0x7f020002;
public static final int btn_bg_focused=0x7f020003;
public static final int btn_bg_selected=0x7f020004;
public static final int button_background=0x7f020005;
public static final int button_s=0x7f020006;
public static final int button_u=0x7f020007;
public static final int correct=0x7f020008;
public static final int horizontal_line=0x7f020009;
public static final int ic_action_search=0x7f02000a;
public static final int ic_launcher=0x7f02000b;
public static final int notification_download_complete=0x7f02000c;
public static final int notification_download_progress=0x7f02000d;
public static final int notification_download_stopped=0x7f02000e;
public static final int notification_refresh=0x7f02000f;
public static final int progressbar=0x7f020010;
public static final int smokey_bg=0x7f020011;
public static final int tick=0x7f020012;
public static final int wrong=0x7f020013;
}
public static final class id {
public static final int cancelDownloadBtn=0x7f08000e;
public static final int debugBtn=0x7f080011;
public static final int dl_speed=0x7f08000d;
public static final int downloadBtn=0x7f08000f;
public static final int download_data=0x7f080000;
public static final int download_progress=0x7f08000c;
public static final int enable_debugging=0x7f08000b;
public static final int filenameTv=0x7f080007;
public static final int installBtn=0x7f080010;
public static final int listView=0x7f080001;
public static final int menu_settings=0x7f080012;
public static final int messageTv=0x7f08000a;
public static final int notification_image=0x7f080003;
public static final int notification_layout=0x7f080002;
public static final int notification_progressbar=0x7f080005;
public static final int notification_text=0x7f080006;
public static final int notification_title=0x7f080004;
public static final int rowTextView=0x7f080009;
public static final int versionTv=0x7f080008;
}
public static final class layout {
public static final int activity_slax=0x7f030000;
public static final int custom_notification=0x7f030001;
public static final int header_row_item=0x7f030002;
public static final int list_row_item=0x7f030003;
public static final int simplerow=0x7f030004;
public static final int slaxinstaller_download_complete=0x7f030005;
public static final int slaxinstaller_download_page=0x7f030006;
public static final int slaxinstaller_enabledebugg_mesaage=0x7f030007;
public static final int slaxinstaller_install_page=0x7f030008;
public static final int slaxinstaller_mainactivity=0x7f030009;
}
public static final class menu {
public static final int activity_slax=0x7f070000;
}
public static final class string {
public static final int app_name=0x7f050000;
public static final int back=0x7f050006;
public static final int canceldownload=0x7f05000c;
public static final int debug=0x7f050005;
public static final int debugmessage=0x7f05000e;
public static final int download=0x7f050007;
public static final int downloaded=0x7f05000d;
public static final int downloadingslax=0x7f05000b;
public static final int downloadtext=0x7f050008;
public static final int hello_world=0x7f050001;
public static final int install=0x7f050004;
public static final int menu_settings=0x7f050002;
public static final int missingsdcard=0x7f050009;
public static final int missingsdcard1=0x7f05000a;
public static final int speed=0x7f05000f;
public static final int title_activity_slax=0x7f050003;
}
public static final class style {
public static final int AppTheme=0x7f060000;
public static final int NotificationText=0x7f060002;
public static final int NotificationTitle=0x7f060001;
}
}
Binary file added ic_launcher-web.png
Binary file added libs/android-support-v4.jar
Binary file not shown.
20 changes: 20 additions & 0 deletions proguard-project.txt
@@ -0,0 +1,20 @@
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
40 changes: 40 additions & 0 deletions proguard.cfg
@@ -0,0 +1,40 @@
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService

-keepclasseswithmembernames class * {
native <methods>;
}

-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}

0 comments on commit f00b2a9

Please sign in to comment.