TUTORIAL Android Studio *Basic* Walk-through

AfterLife

Well-known member
VIP Member
Joined
May 15, 2021
Messages
1,123
Awards
4
Offline
Ignore all the errors about gradle. We aren’t using studio the way it’s designed to be used. The short of it is we don’t have a gradle build, but we are only after Resource Manager. Most of time swapping projects will accomplish this.
ok pal thanks for you responce
 

saqi

Member
VIP Member
Joined
Nov 9, 2021
Messages
48
Awards
2
Offline
Here's a Basic Walk through of how to use android studio as a live editor.
This is not a detailed how to on Android Studio..... use google for that.
But in the video i do show
how I change the Ad layout size in Smarters 3.0.9.1.
I also tried to show the most common things edited, text size/color, icon color, app name.

Decomplie with APK EasyTool
Open decompiled folder with Android studio.

Resource Manager will almost guaranteed not open, just open a different project(decompiled folder) in the SAME WINDOW, then switch back to the first project,in the SAME WINDOW,
It should index correctly and you should see Resource Manager on the left side.

When you finished editing, just close Studio and Recompile with APK EasyTooL

I suggest grabbing a drink/smoke/coffee/tea before attempting…..this program can be infuriating. Good luck 👍🏻


THIS WILL NOT WORK FOR Smarters 3.1.5

can you share version of apk tool that's you used it for decompile?
 

saqi

Member
VIP Member
Joined
Nov 9, 2021
Messages
48
Awards
2
Offline
Here's a Basic Walk through of how to use android studio as a live editor.
This is not a detailed how to on Android Studio..... use google for that.
But in the video i do show
how I change the Ad layout size in Smarters 3.0.9.1.
I also tried to show the most common things edited, text size/color, icon color, app name.

Decomplie with APK EasyTool
Open decompiled folder with Android studio.

Resource Manager will almost guaranteed not open, just open a different project(decompiled folder) in the SAME WINDOW, then switch back to the first project,in the SAME WINDOW,
It should index correctly and you should see Resource Manager on the left side.

When you finished editing, just close Studio and Recompile with APK EasyTooL

I suggest grabbing a drink/smoke/coffee/tea before attempting…..this program can be infuriating. Good luck 👍🏻


THIS WILL NOT WORK FOR Smarters 3.1.5

can you share version of apk tool that's you used it for decompile?
i used the portable one v1.60
share please
 

AfterLife

Well-known member
VIP Member
Joined
May 15, 2021
Messages
1,123
Awards
4
Offline
This is not a detailed how to on Android Studio..... use google for that.
But in the video i do show
how I change the Ad layout size in Smarters 3.0.9.1.
I also tried to show the most common things edited, text size/color, icon color, app name.

Decomplie with APK EasyTool
Open decompiled folder with Android studio.

Resource Manager will almost guaranteed not open, just open a different project(decompiled folder) in the SAME WINDOW, then switch back to the first project,in the SAME WINDOW,
It should index correctly and you should see Resource Manager on the left side.

When you finished editing, just close Studio and Recompile with APK EasyTooL

I suggest grabbing a drink/smoke/coffee/tea before attempting…..this program can be infuriating. Good luck 👍🏻


THIS WILL NOT WORK FOR Smarters 3.1.5

can you please tell me how to save the layouts i have set as its not compiling to a apk and when i select save all its still not saving it pal im running the latest android studio
 

jbetbetbet

Well-known member
Joined
Aug 10, 2021
Messages
199
Awards
3
Online
can you please tell me how to save the layouts i have set as its not compiling to a apk and when i select save all its still not saving it pal im running the latest android studio
All the changes you make are LIVE, meaning it writes to the xml files and saves them, there a multiple layouts for Smarters, which layout are you working on? Should be new_dashboard_without_freetrial_tv for tv. All other layout are for mobile
 

AfterLife

Well-known member
VIP Member
Joined
May 15, 2021
Messages
1,123
Awards
4
Offline
All the changes you make are LIVE, meaning it writes to the xml files and saves them, there a multiple layouts for Smarters, which layout are you working on? Should be new_dashboard_without_freetrial_tv for tv. All other layout are for mobile
i have edited new_dashboard_without_freetrail_tv and new_dashboard_without_freetrail but when i compile it with apk easy tool the layout is still the same not how i have changed it
 

jbetbetbet

Well-known member
Joined
Aug 10, 2021
Messages
199
Awards
3
Online
i have edited new_dashboard_without_freetrail_tv and new_dashboard_without_freetrail but when i compile it with apk easy tool the layout is still the same not how i have changed it
What changes are you trying to make, some changes not possible without editing smali file
 

Stream Wizard

Active member
Joined
Jan 21, 2022
Messages
180
Awards
3
Offline
What changes are you trying to make, some changes not possible without editing smali file
Sorry to jump in here... ive been following this conversation.. as great as Android Studio is, as you can preview your edits on freetrail, is there another application that edits this?

Surly Android Studio isnt the only way to change these layouts on smarters ads app? There has to be other ways to edit these..

Just trying to think outside the box here 🤔
 

AfterLife

Well-known member
VIP Member
Joined
May 15, 2021
Messages
1,123
Awards
4
Offline
What changes are you trying to make, some changes not possible without editing smali file
I'm trying to centre the favorites and remove the radio and multi screen I should mention I am using the smarters vod ads I have posted on here
 

jbetbetbet

Well-known member
Joined
Aug 10, 2021
Messages
199
Awards
3
Online
Sorry to jump in here... ive been following this conversation.. as great as Android Studio is, as you can preview your edits on freetrail, is there another application that edits this?

Surly Android Studio isnt the only way to change these layouts on smarters ads app? There has to be other ways to edit these..

Just trying to think outside the box here 🤔
No not that I have found unfortunately, there are easier ways to load into android studio. But those ways complicate the rebuilding process. Remember we aren’t using the program as intended, we are forcing it to load resources without having a gradle build file. These work arounds took me the better part of a year to discover. This program isn’t for the faint of heart, but with persistent can be the most useful tool in your tool box.
 
Last edited:

nowacx

Well-known member
Joined
May 28, 2021
Messages
340
Awards
4
Offline
.....Surly Android Studio isnt the only way to change these layouts on smarters ads app? There has to be other ways to edit these..
hi @Stream Wizard
short answer, android studio is not the only way to edit layouts on smarters ads app

long answer....
as long as a user knows what they are doing(or looking for) they can use pretty much any "applicable" apk editing app/tool(provided it doesnt break anything😂) to make changes to layouts(xml) n other bits of any smarters, xciptv n similar
....for example with mt, one who knows what they are doing n looking for can "relatively easily" edit applicable layout code with visibility gone to remove live, radio, catchup, epg etc.... then simply edit weights of movies, series, ads and favorites to space n resize those sections as desired and voila.... a vod only layout

next, step in android studio......
aside from its other uses/benefits, android studio offers a visual of app layouts making it easy to see the effects of changes/edits as it is being done ..... so imagine the mt example earlier, reckon not many would know "where inside the layout xml" to apply/edit the "weights" or visibility gone that was mentioned but at least with studio it would be easier for such users to at least see what weights, visibility, padding, width height etc are about and how applying said attributes actually affects their layout

in effect, editing with mt n similar you gotta already be familiar with layouts n attributes in general or have direct instruction what to add/remove and on what lines so you can handily edit the xml without "visual aid"..... whereas studio, at the minimum, offers a visual learning foundation from which to begin handily editing layouts

anyone without prior/somewhat solid knowledge who is seriously interested in making considerable/massive changes to smarters, xciptv or other app layouts would definitely find it useful exploring n playing with studio
 

Stream Wizard

Active member
Joined
Jan 21, 2022
Messages
180
Awards
3
Offline
hi @Stream Wizard
short answer, android studio is not the only way to edit layouts on smarters ads app

long answer....
as long as a user knows what they are doing(or looking for) they can use pretty much any "applicable" apk editing app/tool(provided it doesnt break anything😂) to make changes to layouts(xml) n other bits of any smarters, xciptv n similar
....for example with mt, one who knows what they are doing n looking for can "relatively easily" edit applicable layout code with visibility gone to remove live, radio, catchup, epg etc.... then simply edit weights of movies, series, ads and favorites to space n resize those sections as desired and voila.... a vod only layout

next, step in android studio......
aside from its other uses/benefits, android studio offers a visual of app layouts making it easy to see the effects of changes/edits as it is being done ..... so imagine the mt example earlier, reckon not many would know "where inside the layout xml" to apply/edit the "weights" or visibility gone that was mentioned but at least with studio it would be easier for such users to at least see what weights, visibility, padding, width height etc are about and how applying said attributes actually affects their layout

in effect, editing with mt n similar you gotta already be familiar with layouts n attributes in general or have direct instruction what to add/remove and on what lines so you can handily edit the xml without "visual aid"..... whereas studio, at the minimum, offers a visual learning foundation from which to begin handily editing layouts

anyone without prior/somewhat solid knowledge who is seriously interested in making considerable/massive changes to smarters, xciptv or other app layouts would definitely find it useful exploring n playing with studio
Im very aware of everything you just said.

Thank you for your detailed message. Much appreciated 👌
 

jbetbetbet

Well-known member
Joined
Aug 10, 2021
Messages
199
Awards
3
Online
I'm trying to centre the favorites and remove the radio and multi screen I should mention I am using the smarters vod ads I have posted on here
I’ll load up the version I’ve got later on and see what’s going on.
 

AfterLife

Well-known member
VIP Member
Joined
May 15, 2021
Messages
1,123
Awards
4
Offline
I’ll load up the version I’ve got later on and see what’s going on.
I have managed to do everything apart from remove the multi screen option can I ask in order to remove it do I have to hide it from within each new_dashboard_layout ?
 

AfterLife

Well-known member
VIP Member
Joined
May 15, 2021
Messages
1,123
Awards
4
Offline
I’ll load up the version I’ve got later on and see what’s going on.
i have managed to get the same version as you by going into the download archive pal so ill see what i can do with it
 

jbetbetbet

Well-known member
Joined
Aug 10, 2021
Messages
199
Awards
3
Online
i have managed to get the same version as you by going into the download archive pal so ill see what i can do with it
No joy on removing multi and recordings on this version, best guess is need to edit newdashboard.smali but don’t have enough understanding to make the changes in smali, and having issues converting Java back to smali.
 

Leode

Active member
Joined
Dec 22, 2021
Messages
165
Awards
3
Offline
Here's a Basic Walk through of how to use android studio as a live editor.
This is not a detailed how to on Android Studio..... use google for that.
But in the video i do show
how I change the Ad layout size in Smarters 3.0.9.1.
I also tried to show the most common things edited, text size/color, icon color, app name.

Decomplie with APK EasyTool
Open decompiled folder with Android studio.

Resource Manager will almost guaranteed not open, just open a different project(decompiled folder) in the SAME WINDOW, then switch back to the first project,in the SAME WINDOW,
It should index correctly and you should see Resource Manager on the left side.

When you finished editing, just close Studio and Recompile with APK EasyTooL

I suggest grabbing a drink/smoke/coffee/tea before attempting…..this program can be infuriating. Good luck 👍🏻


THIS WILL NOT WORK FOR Smarters 3.1.5

I keep getting a recompile error with easy tool
Even if I don't make any changes. Is there anything setting I need to change with easy too?
 
Top