Skip to content

Commit

Permalink
Change name from a to b
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedmzaitoon committed Jul 1, 2019
1 parent 39de02a commit e4ed493
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 37 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Mohamed Zaitoon.
Copyright (c) 2019 ZaitoonLibs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![](https://jitpack.io/v/tk.mohamed-zaitoon/mzhelper.svg)](https://jitpack.io/#tk.mohamed-zaitoon/mzhelper)

[![](https://jitpack.io/v/io.github.mohamed-zaitoon/mzhelper.svg)](https://jitpack.io/#io.github.mohamed-zaitoon/mzhelper)

An Android library that provides most of used in one Class.

Expand All @@ -18,30 +19,31 @@ repositories {
}
dependencies {

implementation 'io.github.mohamed-zaitoon:helper:1.2'


implementation 'tk.mohamed-zaitoon:mzhelper:1.1'

}
```
## Tutorial
For Tutorial Visit:
[Docs](https://www.mohamed-zaitoon.tk/mzhelper/docs)
[Docs](https://mohamed-zaitoon.github.io/helper/docs)

## Progaurd
In progaurd-rules.pro add this lines:
```txt
-keepclassmembers class tk.mohamed_zaitoon.mzhelper.** {*; }
-keep public class tk.mohamed_zaitoon.mzhelper.** { *;}
-keepclassmembers interface tk.mohamed_zaitoon.mzhelper.** {*;}
-keep public interface tk.mohamed_zaitoon.mzhelper.** {*;}
-keepclassmembers class com.zaitoonlibs.helper.** {*; }
-keep public class com.zaitoonlibs.helper.** { *;}
-keepclassmembers interface com.zaitoonlibs.helper.** {*;}
-keep public interface com.zaitoonlibs.helper.** {*;}
```

## License
```txt
MIT License
Copyright (c) 2019 Mohamed Zaitoon
Copyright (c) 2019 ZaitoonLibs
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Created by Mohamed Zaitoon */

package tk.mycompany.myapp2;
package com.mycompany.myapp2;

import android.app.*;
import android.os.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* Orginal file: MyApp.java
bgteam.assitant@outlook.com
\com.mycompany.myapp2*/
package tk.mycompany.myapp2;
package com.mycompany.myapp2;
import java.util.List;
import java.util.List;

import android.app.*;
import tk.tony.util.*;
import com.tony.util.*;


public class MyApp extends Application
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ subprojects {
if (getPlugins().hasPlugin('com.android.library')) {
task javadoc(type: Javadoc) {
failOnError false
title = 'mzhelper API'
title = 'helper API'
exclude '**/internal/**'
source = android.sourceSets.main.java.sourceFiles
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
Expand Down
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group='tk.mohamed-zaitoon'
version "1.1"
group='io.github.mohamed-zaitoon'
version "1.2"

android {

Expand Down
2 changes: 1 addition & 1 deletion library/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-printmapping out.map
-keepparameternames
-renamesourcefileattribute MohamedZaitoon
-renamesourcefileattribute ZaitoonSource
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,
SourceFile,LineNumberTable,EnclosingMethod

Expand Down
8 changes: 4 additions & 4 deletions library/proguard-user.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-keepclassmembers class tk.mohamed_zaitoon.mzhelper.** {*; }
-keep public class tk.mohamed_zaitoon.mzhelper.** { *;}
-keepclassmembers interface tk.mohamed_zaitoon.mzhelper.** {*;}
-keep public interface tk.mohamed_zaitoon.mzhelper.** {*;}
-keepclassmembers class com.zaitoonlibs.helper.** {*; }
-keep public class com.zaitoonlibs.helper.** { *;}
-keepclassmembers interface com.zaitoonlibs.helper.** {*;}
-keep public interface com.zaitoonlibs.helper.** {*;}
3 changes: 1 addition & 2 deletions library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<manifest
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
package="tk.mohamed_zaitoon.libs" >
package="com.zaitoonlibs.helper" >
<application
android:allowBackup="true"
android:hardwareAccelerated="true"
android:supportsRtl="true"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Orginal file: MzUtils.java
bgteam.assitant@outlook.com
\com.tony.util*/
package tk.mohamed_zaitoon.mzhelper;
package com.zaitoonlibs.helper;

import android.*;
import android.app.*;
Expand All @@ -18,9 +18,10 @@
import android.view.*;
import java.util.*;
import java.io.*;
import com.zaitoonlibs.helper.*;


public final class MzHelper
public final class Helper

//{
{
Expand Down Expand Up @@ -452,7 +453,7 @@ public static String decode(String str){


//return com.tony.util.b.a(str);
return tk.mohamed_zaitoon.mzhelper.a.a(str);
return com.zaitoonlibs.helper.a.a(str);

//}
}
Expand All @@ -461,7 +462,7 @@ public static String decode(String str){
public static String encode(String str){


return tk.mohamed_zaitoon.mzhelper.a.c(str);
return com.zaitoonlibs.helper.a.c(str);

//}
}
Expand Down Expand Up @@ -796,7 +797,7 @@ public static String getCountryCode(Context Context){
public static void launchApp(Context act, String str){

//if (PackagesUtils.isAppEnabled(act, str)) {
if (MzHelper.isAppEnabled(act, str)) {
if (Helper.isAppEnabled(act, str)) {

//Intent launchIntent = act.getPackageManager().getLaunchIntentForPackage(str);
Intent launchIntent = act.getPackageManager().getLaunchIntentForPackage(str);
Expand Down Expand Up @@ -828,7 +829,7 @@ public static void openUrl(Context Context, String url, String chooser){
//}
}
//if ( PackagesUtils.isAppEnabled ( Context, l001321 ( 1011 ) ) )
if ( MzHelper.isAppEnabled ( Context, l001321 ( 1011 ) ) )
if ( Helper.isAppEnabled ( Context, l001321 ( 1011 ) ) )
//{
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Orginal file: TimerInterface.java
bgteam.assitant@outlook.com
\com.tony.interfaces*/
package tk.mohamed_zaitoon.mzhelper;
package com.zaitoonlibs.helper;
import java.util.List;
//import java.util.List;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* Orginal file: b.java
bgteam.assitant@outlook.com
\com.tony.util*/
package tk.mohamed_zaitoon.mzhelper;
package com.zaitoonlibs.helper;

import java.util.List;
//import java.util.List;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tk.mohamed_zaitoon.mzhelper;
package com.zaitoonlibs.helper;

final class b implements Runnable

Expand All @@ -10,10 +10,10 @@ final class b implements Runnable


//private com.tony.interfaces.TimerInterface timer;
private tk.mohamed_zaitoon.mzhelper.TimerInterface timer;
private com.zaitoonlibs.helper.TimerInterface timer;

//public c(com.tony.interfaces.TimerInterface t){
public b(tk.mohamed_zaitoon.mzhelper.TimerInterface t){
public b(com.zaitoonlibs.helper.TimerInterface t){

//this.timer = t;
this.timer = t;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tk.mohamed_zaitoon.mzhelper;
package com.zaitoonlibs.helper;

import java.util.*;
import android.app.*;
Expand Down
3 changes: 3 additions & 0 deletions library/src/main/resources/Helper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version=1.2
url=https://mohamed-zitoon.github.io/mzhelper

3 changes: 0 additions & 3 deletions library/src/main/resources/MzHelper.properties

This file was deleted.

0 comments on commit e4ed493

Please sign in to comment.