BASIC MODDING APPS TUTORIAL 102
TOOLS: BRAIN
PATIENT
APK EDITOR PRO
1.How to add background images using "style" res/value/style.......including color of actionbar(ito yung nasa pinaka taas yung sa may apps name) and text.
The simpliest way to add background images is to import in res/drawable...then add android:background="@drawable/yourimages" into your layout...done.
I preffered color kayo nalang mag add ng image na gusto niyo....just change "@color/sample" to @drawable/yourimages sa windowBackground & ActionBar.
Now we will use style:
a. Open apk editor pro select your apps, Go to res/value/style......scroll down until the last and paste this:
<style name="tutorial102.anyname" parent="@android:style/Theme.Holo"><item name="android:textColorPrimary">@color/guide1</item><item name="android:textColorSecondary">@color/guide2</item><item name="android:windowBackground">@color/guide3</item><item name="android:windowNoTitle">false</item><item name="android anelBackground">#ffc6ffbd</item><item name="androidopupBackground">#ffffff88</item><item name="android:windowShowWallpaper">true</item><item name="android:actionBarStyle">@style/anyname</item></style>
<style name="anyname" parent="@android:style/Widget.Holo.ActionBar"><item name="android:background">@color/guide3</item></style>
b. Click back tapos click color.xml...tapos click "open editor (upper right) paste this:
<color name="guide1">#ff0177af</color>
<color name="guide2">#ff0177af</color>
<color name="guide3">#10000000</color>
then save.
c. Go to "manifest" click back then lower right click manifest.....tapos click niyo to application android:allowBackup="......may mag pa pop-up. Click plus icon.....
Sa "key" paste niyo toh...android:theme
Sa "value" paste again this...@style/tutorial102.anyname
save.....then run....
#################################
2. Hide ip host in the server:
Use apkeditor pro open your apps.
Click "files" click "dex smali" then...
Click smali......net/openvpn/openvpn/ scroll hanapin ang OpenVPNService$Profile.smali tapos check niyo at i-delete click + icon down left.....hanapin yung OpenVPNService$Profile.smali kung san niyo na save click niyo. then save.....install......run (mapapansin niyo di na kita yung ip sa may server prompt.)
#################################
3.Add sliding drawer:
<SlidingDrawer androidrientation="horizontal" android:id="@id/slidingDrawer" android:layout_width="fill_parent" android:layout_height="fill_parent" android:handle="@id/holder" android:content="@id/content" android:rotation="180.0">
<Button androidrientation="vertical" android:id="@id/holder" android:background="@drawable/icon" android:layout_width="30.0dip" android:layout_height="30.0dip" android:layout_alignParentTop="true" android:rotation="180.0" />
<LinearLayout android:gravity="center" androidrientation="vertical" android:id="@id/content" android:layout_width="fill_parent" android:layout_height="wrap_content" android:rotation="180.0">
<include layout="@layout/stats" />
</LinearLayout>
</SlidingDrawer>
i preffered tutorial_101.xml (pwede kayo maglagay ng gusto niyo....gawa lang kayo using app ui designer.....halimbawa about your apps. or mga promo ng gtm/smart/talkntext etc..paltan niyo lang yung tutorial_101.....ng ginawa niyong layout ok po.
Yung id manual niyo lalagay sa res/value/id at sa res/value/public sa pinaka dulo...just watch the video.
#################################
4.TOAST- Pop-up messages in the beginning of your apps when you open it.
Open apk editor pro click files tapos dex smali.....go to smali net/openvpn/openvpn/OpenVPNClient......
Click niyo yung search icon ok tapos paste niyo to sa find:
method protected onStart()V
Then paste this sa baba ng method ok kaya nga natin hinanap.
const/4 v0, 0x1
const-string v1, "Modified By : yourName"
invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
const/4 v0, 0x1
const-string v1, "Welcome to infiniteVPN"
invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
save.....install...run....enjoy! ",
hit likes???
TOOLS: BRAIN
PATIENT
APK EDITOR PRO
1.How to add background images using "style" res/value/style.......including color of actionbar(ito yung nasa pinaka taas yung sa may apps name) and text.
The simpliest way to add background images is to import in res/drawable...then add android:background="@drawable/yourimages" into your layout...done.
I preffered color kayo nalang mag add ng image na gusto niyo....just change "@color/sample" to @drawable/yourimages sa windowBackground & ActionBar.
Now we will use style:
a. Open apk editor pro select your apps, Go to res/value/style......scroll down until the last and paste this:
<style name="tutorial102.anyname" parent="@android:style/Theme.Holo"><item name="android:textColorPrimary">@color/guide1</item><item name="android:textColorSecondary">@color/guide2</item><item name="android:windowBackground">@color/guide3</item><item name="android:windowNoTitle">false</item><item name="android anelBackground">#ffc6ffbd</item><item name="androidopupBackground">#ffffff88</item><item name="android:windowShowWallpaper">true</item><item name="android:actionBarStyle">@style/anyname</item></style>
<style name="anyname" parent="@android:style/Widget.Holo.ActionBar"><item name="android:background">@color/guide3</item></style>
b. Click back tapos click color.xml...tapos click "open editor (upper right) paste this:
<color name="guide1">#ff0177af</color>
<color name="guide2">#ff0177af</color>
<color name="guide3">#10000000</color>
then save.
c. Go to "manifest" click back then lower right click manifest.....tapos click niyo to application android:allowBackup="......may mag pa pop-up. Click plus icon.....
Sa "key" paste niyo toh...android:theme
Sa "value" paste again this...@style/tutorial102.anyname
save.....then run....
#################################
2. Hide ip host in the server:
Use apkeditor pro open your apps.
Click "files" click "dex smali" then...
Click smali......net/openvpn/openvpn/ scroll hanapin ang OpenVPNService$Profile.smali tapos check niyo at i-delete click + icon down left.....hanapin yung OpenVPNService$Profile.smali kung san niyo na save click niyo. then save.....install......run (mapapansin niyo di na kita yung ip sa may server prompt.)
#################################
3.Add sliding drawer:
<SlidingDrawer androidrientation="horizontal" android:id="@id/slidingDrawer" android:layout_width="fill_parent" android:layout_height="fill_parent" android:handle="@id/holder" android:content="@id/content" android:rotation="180.0">
<Button androidrientation="vertical" android:id="@id/holder" android:background="@drawable/icon" android:layout_width="30.0dip" android:layout_height="30.0dip" android:layout_alignParentTop="true" android:rotation="180.0" />
<LinearLayout android:gravity="center" androidrientation="vertical" android:id="@id/content" android:layout_width="fill_parent" android:layout_height="wrap_content" android:rotation="180.0">
<include layout="@layout/stats" />
</LinearLayout>
</SlidingDrawer>
i preffered tutorial_101.xml (pwede kayo maglagay ng gusto niyo....gawa lang kayo using app ui designer.....halimbawa about your apps. or mga promo ng gtm/smart/talkntext etc..paltan niyo lang yung tutorial_101.....ng ginawa niyong layout ok po.
Yung id manual niyo lalagay sa res/value/id at sa res/value/public sa pinaka dulo...just watch the video.
#################################
4.TOAST- Pop-up messages in the beginning of your apps when you open it.
Open apk editor pro click files tapos dex smali.....go to smali net/openvpn/openvpn/OpenVPNClient......
Click niyo yung search icon ok tapos paste niyo to sa find:
method protected onStart()V
Then paste this sa baba ng method ok kaya nga natin hinanap.
const/4 v0, 0x1
const-string v1, "Modified By : yourName"
invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
const/4 v0, 0x1
const-string v1, "Welcome to infiniteVPN"
invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
save.....install...run....enjoy! ",
hit likes???
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.