Skip to content

Commit

Permalink
v3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rignaneseleo committed Jun 9, 2016
1 parent 3c4bf8e commit 2705641
Show file tree
Hide file tree
Showing 84 changed files with 1,960 additions and 2,036 deletions.
24 changes: 24 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,29 @@ v2.2.4
- Updated Hindi translation (Siddique Nagarkar)
- Updated Indonesian translation (Aditya Pratama)

v2.2.5
- Added Tamil translation (Ramkumar TD)
- Added Traditiona Chinese (Jason Yuen)

v2.3.2
- New Polish translation (norbi1952)

v3.0.0
App completely recoded:
- New incredible size: 150kb!
- Added 'delight-im/Android-AdvancedWebView':
-Optimized for best performance and security
-Features are patched across Android versions
-Better File uploads (video and photo)
- Cleaner code:
- New method to get strings (splitted java code from css and js)
- Layout Improved:
- ActionBar shown in all devices
- White icons
- Full screen video
- Improved the fix bar: "show all.." button is always shown in notifications, messages, etc.
- New interesting settings
- Credits updated
- Updated some translations

! Consider the possibility to donate !
8 changes: 8 additions & 0 deletions SlimFacebook/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
15 changes: 0 additions & 15 deletions SlimFacebook/.idea/libraries/appcompat_v7_23_1_0.xml

This file was deleted.

11 changes: 0 additions & 11 deletions SlimFacebook/.idea/libraries/support_annotations_23_1_0.xml

This file was deleted.

16 changes: 0 additions & 16 deletions SlimFacebook/.idea/libraries/support_v4_23_1_0.xml

This file was deleted.

1,118 changes: 822 additions & 296 deletions SlimFacebook/.idea/workspace.xml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions SlimFacebook/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
230 changes: 113 additions & 117 deletions SlimFacebook/app/app.iml

Large diffs are not rendered by default.

23 changes: 10 additions & 13 deletions SlimFacebook/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,36 +1,33 @@
apply plugin: 'com.android.application'
//SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese
//GNU GENERAL PUBLIC LICENSE Version 2, June 1991

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
buildToolsVersion "23.0.3"

defaultConfig {
applicationId "it.rignanese.leo.slimfacebook"
minSdkVersion 15
targetSdkVersion 23
versionCode 29
versionName "2.2.4"
versionCode 33
versionName "3.0.0"
}
buildTypes {
debug {
minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
zipAlignEnabled true
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

lintOptions {
disable 'MissingTranslation'
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.github.delight-im:Android-AdvancedWebView:v2.1.0'
compile 'com.android.support:support-v4:23.4.0'
testCompile 'junit:junit:4.12'
}
4 changes: 3 additions & 1 deletion SlimFacebook/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\Leo\Documents\Android SDK/tools/proguard/proguard-android.txt
# in C:\Users\rigna\AppData\Local\Android\Sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
Expand All @@ -15,3 +15,5 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-keep class * extends android.webkit.WebChromeClient { *; }
-dontwarn im.delight.android.webview.**
94 changes: 41 additions & 53 deletions SlimFacebook/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,128 +1,116 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="it.rignanese.leo.slimfacebook">

<manifest
package="it.rignanese.leo.slimfacebook"
xmlns:android="http://schemas.android.com/apk/res/android">

<!--Permissions-->
<!--to connect to the Internet-->
<uses-permission android:name="android.permission.INTERNET"/>
<!--to upload files-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<!--gps-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<!-- PERMISSIONS -->


<!-- to connect to the Internet -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- to upload files -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- gps -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/launcher_name"
android:supportsRtl="true"
android:theme="@style/DefaultTheme">

android:label="@string/app_name"
android:theme="@style/SlimFacebookTheme"


android:versionCode="28"
android:versionName="2.2.3"
><!--the official version is wrote in build.gradle-->


<!--the main activity-->
<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="SlimSocial"
android:label="@string/actionbar_name"
android:launchMode="singleTask">

<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

<intent-filter> <!--compatibility to samsung multiwindows-->
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>
<intent-filter>
<!--compatibility to samsung multiwindows-->
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"/>

<intent-filter>
<!--to start app when facebook site is called-->
<action android:name="android.intent.action.VIEW"/>
<action android:name="android.intent.action.VIEW" />

<!--to open facebook link with this app-->
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
android:host="*.facebook.com"
android:scheme="http"/>
android:scheme="http" />
<data
android:host="*.facebook.com"
android:scheme="https"/>
android:scheme="https" />
<data
android:host="fb.me"
android:scheme="http"/>
android:scheme="http" />
<data
android:host="fb.me"
android:scheme="https"/>
android:scheme="https" />

</intent-filter>

<intent-filter>
<!--to open facebook link for sharing link-->
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/plain"/>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>


<!--settings activity-->
<activity
android:name=".settings.SettingsActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="@string/settings">

<intent-filter>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<!--credits activity-->
<activity
android:name=".settings.CreditsActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:label="@string/settings">
android:label="@string/credits">

<intent-filter>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>


<!-- uses the Multi Window library -->
<uses-library
android:name="com.sec.android.app.multiwindow"
android:required="false"></uses-library>
android:required="false"/>

<!--to indicate your application is Multi Window compatible-->
<meta-data
android:name="com.sec.android.support.multiwindow"
android:value="true"/>
android:value="true" />

<!--set the size of the window-->
<meta-data
android:name="com.sec.android.multiwindow.DEFAULT_SIZE_W"
android:resource="@dimen/app_defaultsize_w"/>
android:resource="@dimen/app_defaultsize_w" />
<meta-data
android:name="com.sec.android.multiwindow.DEFAULT_SIZE_H"
android:resource="@dimen/app_defaultsize_h"/>
android:resource="@dimen/app_defaultsize_h" />
<meta-data
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_W"
android:resource="@dimen/app_minimumsize_w"/>
android:resource="@dimen/app_minimumsize_w" />
<meta-data
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:resource="@dimen/app_minimumsize_h"/>
android:resource="@dimen/app_minimumsize_h" />
</application>

</manifest>
</manifest>
Loading

0 comments on commit 2705641

Please sign in to comment.