[Library]Build.prop Tools - IDEs, Libraries, & Programming Tools

Build.prop Tools is a library that makes it easier for app developers to edit the build.prop file from their applications. I decided to make this library when I needed to edit build.prop from within an app I'm developing and I couldn't find a library to make this simple. So, after I had worked out how to do it and tested the code in my app, I made it into a library, because I think this will help quite a few developers.
Project on GitHub: https://github.com/Tezlastorme/build-prop-tools/
The download link is there on the project page, along with the source.
The methods are all documented, and there are a couple of wiki pages, an FAQ (it's not a very long FAQ :silly: ) and a tutorial.
Bug reporting
Do not report a crash unless you have read the FAQ, and when you do, post a logcat, preferably errors only.
I CAN NOT HELP YOU WITHOUT A LOGCAT.
I hope this helps people
Credits:
Me
@torpedo mohammadi

Working on the next update which will have some more useful methods

I haven't tested this new version, but I would appreciate it if people would test this and tell me whether these new methods work
https://docs.google.com/file/d/0B90a_sKAHkjVZ0FBMUdOMlVPems/edit?usp=sharing
Changelog:
added getPropArray() and getPropAsHash() methods

Really useful and simple library for tweaking phones.Will use it later on and report

I just wrote this in my program and it crashed..
Code:
String device = BuildProp.getProp("ro.product.model");
Not even started coding till now.. Logcat shows error in line 15 which contained the above code.. I am using 1.1 beta

prototype-U said:
I just wrote this in my program and it crashed..
Code:
String device = BuildProp.getProp("ro.product.model");
Not even started coding till now.. Logcat shows error in line 15 which contained the above code.. I am using 1.1 beta
Click to expand...
Click to collapse
1. Logcat please.
2. Is the device rooted?
3. If it was rooted, was it granted root access? And did you add the superuser permission to AndroidManifest.xml?

Tezlastorme said:
1. Logcat please.
2. Is the device rooted?
3. If it was rooted, was it granted root access? And did you add the superuser permission to AndroidManifest.xml?
Click to expand...
Click to collapse
Superuser permission? Never saw anything like that. Can you tell?
Sent from my HTC Desire X using xda app-developers app

prototype-U said:
Superuser permission? Never saw anything like that. Can you tell?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Request su permissions:
Code:
Process p = Runtime.getRuntime().exec("su");
xpirt

xpirt said:
Request su permissions:
Code:
Process p = Runtime.getRuntime().exec("su");
xpirt
Click to expand...
Click to collapse
thats for su access and that is not for androidmanifest.. its for your java class file

prototype-U said:
thats for su access and that is not for androidmanifest.. its for your java class file
Click to expand...
Click to collapse
.ACCESS_SUPERUSER?
xpirt

xpirt said:
.ACCESS_SUPERUSER?
xpirt
Click to expand...
Click to collapse
Yeah. You don't need to request su in your app btw. The library does that for you.
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side

Tezlastorme said:
Yeah. You don't need to request su in your app btw. The library does that for you.
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
Click to expand...
Click to collapse
Will try it tomorrow and report
Sent from my HTC Desire X using xda app-developers app

prototype-U said:
Will try it tomorrow and report
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
How'd it go?

Hi.
I've got a question :
Is it possible to access Build.prop without accessing root using this library ?
For example ro.build.model or ...
Thank you.

torpedo mohammadi said:
Hi.
I've got a question :
Is it possible to access Build.prop without accessing root using this library ?
For example ro.build.model or ...
Thank you.
Click to expand...
Click to collapse
Currently, no. Before the release, in the prototypes you could, but it was really buggy and would do things like deleting build.prop or making it empty or unable to open. I have no idea why. I made it so it copies the file to sdcard then reads it and that works fine. Maybe I could see about doing that without root. I might experiment more some time but I've been busy with school and other things lately.
Sent from my Wildfire S A510e

App Crash when i want getprop :/

Valounours said:
App Crash when i want getprop :/
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Wildfire S A510e

How to obtain Root Access
prototype-U said:
Superuser permission? Never saw anything like that. Can you tell?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Using RootTools library (used also from the library) https://code.google.com/p/roottools/
The library require Root Access.
Necessary
Obtain Root Access
Code:
if (RootTools.isAccessGiven()) {// your app has been granted root access
}
Advised
Specify the app uses Root permissions, add this to AndroidManifest.xml
Code:
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />

Thank you for this new project, I am on it.

Tomorrow I will start working on this again
Sent from my Wildfire S A510e

Related

Flash fix including choppy netflix

So I found this somewhere weeks ago but can't find it again or else I would link to it.
Anyways, I posted this in the CM7 thread and someone asked for it to be its own thread, sooo here it is!
You can use any root explorer to navigate to the given directory, just make sure any options for hidden folders are enabled, or use a terminal emulator like already in CM7.
In terminal emulator first type "su" without quotes to gain super user access. From there type cd /data/data/com.android.browser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player
The periods and capitols are essential, so don't mess those up.
If you get an error saying of can't cd to the whole directory path go a couple at a time and if you get lost type "ls" again without quotes and it will list the files and folders in the current folder. If nothing shows up do "ls -a" and it will list hidden folders as well (ie the .macromedia folder for instance).
Once in the final folder type "chmod 000 config.data" and verify it worked by typing "ls -l" where you should see all "-" for the config file.
Hope that helps and is clear enough.
I attached a screenshot of terminal emulator for a visual. Although I did break up the "cd" into two parts so you can see the entire directory path.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my ThunderBolt using Tapatalk
I concur with this method....I used this method through root explorer.
Sent from my ThunderBolt using XDA App
I guess im missing something
i tried to get to the directory a few different ways but I guess something is missing? Help?
I will point out that the directory doesn't show up until you try to run a flash video in the stock browser (or whatever browser you are using). If you use dolphin it is a different directory. Replace the "com.android.browser" with "mobi.mgeek.TunnyBrowser".
Sent from my ADR6400L using Tapatalk
Ok, so I have tried watching vids in dolphin browser and stock and I still get no folder in data, and is the data on the root of my phone or on the SD card
Sent from my ThunderBolt using XDA Premium App
schwab16 said:
Ok, so I have tried watching vids in dolphin browser and stock and I still get no folder in data, and is the data on the root of my phone or on the SD card
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
It is in the phones internal storage, not the sdcard. It is data/data/mobi.mgeek.TunnyBrowser/app_plugins/com.adobe.flashplayer/.macromedia/Flash_Player/ The file is "config.data". You would have to try to play a flash video in the stock browser for it to show up in the directory that is in the op.
Sent from my ADR6400L using Tapatalk
I managed to browse to /data/data/com.android.browser/app_plugins/com.adobe.flashplayer after that there is nothing, see below.I did play some flash to generate the folder but nothing . Anybody?
arkshel said:
I managed to browse to /data/data/com.android.browser/app_plugins/com.adobe.flashplayer after that there is nothing, see below.I did play some flash to generate the folder but nothing . Anybody?
Click to expand...
Click to collapse
The folder after this is hidden, hence the "." in front of macromedia.
Sent from my ThunderBolt using Tapatalk
arkshel said:
i tried to get to the directory a few different ways but I guess something is missing? Help?
Click to expand...
Click to collapse
Try playing an embedded flash video then going back in to see if its there.
Sent from my ThunderBolt using Tapatalk
CBMC thanks for clarifying that my OP is for stock browser...I didn't even think about another browser since I don't use anything else.
Sent from my ThunderBolt using Tapatalk
what exactly is this fixing in flash? i found version 13 of flash is sometimes black regardless of this fix... 12 is fine though apparently.
dc iz 2 legit said:
I concur with this method....I used this method through root explorer.
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=15476324&postcount=7378
There's something in this particular config file that causes issues playing any flash video of 420p or higher.
Various other people had no problems when the 10.2 update came out but I did. 10.3 has the same config file, but that's when more people started having the sound but no video issue and this "fix" came about.
I wish I had a more definite answer but I just don't know.
On another note, if you fix permissions in rom manager or CWM this fix goes away and you'll need to go back in and redo the chmod.
Sent from my ThunderBolt using Tapatalk
tbot said:
The folder after this is hidden, hence the "." in front of macromedia.
Sent from my ThunderBolt using Tapatalk
Click to expand...
Click to collapse
Ok next dumb question how do I enable view hidden files? I'm using SUFBS to browse.
Sent from my ThunderBolt using XDA Premium App
"cd: can't cd to /app_plugins"
Why is it only choppy in cm7? In the GB Sense roms, Netflix works fine.
Sent from my ThunderBolt using XDA App
scriz said:
"cd: can't cd to /app_plugins"
Click to expand...
Click to collapse
Finally got there, doesn't fix Netflix's choppiness in CM7.
The Netflix app for me is somewhat working for me with this hack I mean its not the best but it's def alot better
Edit. @death metal....by the way it's funny to see that my post actually got read lol
Sent from my ThunderBolt using XDA App
dc iz 2 legit said:
The Netflix app for me is somewhat working for me with this hack I mean its not the best but it's def alot better
Edit. @death metal....by the way it's funny to see that my post actually got read lol
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
Yes sir! I followed your steps with root explorer.
Netflix isn't entirely flash so this won't/shouldn't help much with that.
Sent from my ADR6400L using XDA Premium App

Increase Wifi Strength with this tweak (Moving to development)Mods please delete

Hey guys I got a tweak from wolfs Rom working on my x10 that increases the signal greatly. Watch the how to video here. Works in all roms. (if you have Wolfs Rom this isnt necessary. He already has it)
http://www.youtube.com/watch?v=jy0r-o1Bh9Q&feature=youtube_gdata_player
I now have over a 10000 kbps connection just like his in the video. Pretty cool.
First step unzip the file in your sd card then open the file via root explorer
Next go into system/etc/init.d and copy the modules script using root explorer.
Next go to your system on the actual phone (not the sd card) then go.to etc then find the folder called init.d. (if you dont have it flash this via recovery) http://forum.xda-developers.com/showthread.php?t=1236446
Then place modules in the init folder.
Next go back to your sd card where the 4.0.4 thing is and go into system*etc and copy the entire. Install sh recovery folder then go back to the actual phone and go to.system/etc and just paste it there and select yes if it asks u to overwrite something.
Finally find the install recovery thing
you just copied and click it once and press execute.
Then your done.
How to test if it worked. Before u do the tweak download speed test from the market and test your current wifi speed. After tweak test it again. Note it may require a reboot.
Get it here. http://www.datafilehost.com/get.php?file=a18d42a6
Sent from my X10i using xda premium
So if i'm already on Wolfbreaks v4.0.4 i dont have to do this?
Haldi4803 said:
So if i'm already on Wolfbreaks v4.0.4 i dont have to do this?
Click to expand...
Click to collapse
No u dont. This is for other roms. Like stock or other custom roms like zidhus or jerepleas. Basically any Rom besides wolfs
Sent from my X10i using xda premium
Is it working for anyone. Havent gotten a lot of replies
Sent from my X10i using xda premium
Moltres32 said:
Is it working for anyone. Havent gotten a lot of replies
Sent from my X10i using xda premium
Click to expand...
Click to collapse
Yes. It is uploading screenshots now.
Before
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After
Sent from my x10 on steroids with stock gingerbread
you do realize that overwriting install-recovery.sh will overwrite any other init.d scripts the person might have and also any tweaks put in there by the dev (if you are using it on any other rom than wolfbreaks)?
You shouldn't be advising people to do stuff like this without at least warning them about what they're doing.
scoobysnacks said:
you do realize that overwriting install-recovery.sh will overwrite any other init.d scripts the person might have and also any tweaks put in there by the dev (if you are using it on any other rom than wolfbreaks)?
You shouldn't be advising people to do stuff like this without at least warning them about what they're doing.[/
Dude y r u spamming
Sent from my X10i using xda premium
Click to expand...
Click to collapse
Phoenixking86 said:
Yes. It is uploading screenshots now.
BeforeView attachment 704448
After View attachment 704449
Sent from my x10 on steroids with stock gingerbread
Click to expand...
Click to collapse
oh so you're back with another IP? Interesting...NOT, At least you're getting more creative, Keep on wasting your time
riginal said:
oh so you're back with another IP? Interesting...NOT, At least you're getting more creative, Keep on wasting your time
Click to expand...
Click to collapse
What r u talking about
Sent from my X10i using xda premium
Can be used with the new rom achotjan? Thanks!
diego32allimite said:
Can be used with the new rom achotjan? Thanks!
Click to expand...
Click to collapse
As far as I know it sure can. Just try it. Thats what I did
Sent from my X10i using xda premium
Phoenixking86 said:
As far as I know it sure can. Just try it. Thats what I did
Sent from my X10i using xda premium
Click to expand...
Click to collapse
well I'll try and I mention how I was! thank you very much for the prompt response.
excuse my English, I'm using the google translator. In case you do not understand my messages.
diego32allimite said:
well I'll try and I mention how I was! thank you very much for the prompt response.
Click to expand...
Click to collapse
No problem. To delete tweak. If for some reason you want too just go to the init folder and delete modules.
Sent from my X10i using xda premium
Don't do it how it is described....
Here is how to do it and not lose all your tweaks.
http://forum.xda-developers.com/showpost.php?p=17100002&postcount=15
scoobysnacks said:
Don't do it how it is described....
Here is how to do it and not lose all your tweaks.
http://forum.xda-developers.com/showpost.php?p=17100002&postcount=15
Click to expand...
Click to collapse
Whatever u say. Either way its working and my x10 is faster than ever
Sent from my X10i using xda premium
Phoenixking86 said:
Yes. It is uploading screenshots now.
BeforeView attachment 704448
After View attachment 704449
Sent from my x10 on steroids with stock gingerbread
Click to expand...
Click to collapse
Wow, for only being a 1 day old member you certainly know your way around the xda app, and your X10.
Get a job, lion-king.
Moltres32 said:
First step unzip the file in your sd card then open the file via root explorer
Click to expand...
Click to collapse
where to find this file? I can't find it in the attatchments
thanks

APK Resizer (Alpha 2) - The simpliest and most automated way to resize APKs

Hey, I made a program with you can resize APKs faster than ever. I haven't got much idea how to test it so I'm giving to you to test and report!
It's coded in VB. NET, which is pretty easy langauge, and source can be found at github.com/galaxyfreak/APK_Resizer. Just click download as zip in corner
It supports : MDPI, HDPI, XHDPI and LDPI.
What it actually does:
1) Extracting the APK to C:\temp
2) Taking highest existing resolution
3) Resizing PNGs and put it in new folder 'drawable-<targetresolution>'
4) Packing new APK named 'resized_<originalname>' at same folder as original APK
5) Deletes C:\temp
Test it and feel free to report and problems.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Alpha 2 (28/11/2012) - Download - Much more stable than A1
Alpha 1 (24/11/2012) - Download
It requires .NET Framework 3.5!
On resizing it will freeze on not responding for few moments, JUST LEAVE IT.
What about .9.pngs? It will be resized, nothing else, I currently dont know anything about them, so I can't make anything else with them than just resizing.
Gona try it
just what i needed to resize doodle jump for my S3
Going to try it!
Merge 9 patch resize tool with it.
9 patch problems are over .
...
And remember to press THANKS.
Small news: Done with LDPI support. (see commit)
Tommorow i'll start working on batch resizing.
arunsai123 said:
Merge 9 patch resize tool with it.
9 patch problems are over .
...
Click to expand...
Click to collapse
I cant, if it was coded in VB.NET or even C# i could but when its in java - no way.
Any chance of making this an apk
Sent from my SGH-T679 using xda premium
hatememarkz said:
Any chance of making this an apk
Sent from my SGH-T679 using xda premium
Click to expand...
Click to collapse
WTF? This is an Windows tool. You mean for onboard resizing? I don't think so. You can't program Android apps in VB.NET (basic4android is poor)
Yes, of course you can resize on Android.
Not possible ATM though.
If anyone is looking for a Cross-platform option, look for StudioAndroid at http://bit.ly/SA-XDA
No offence on yours though
Sent from my Galaxy Nexus running Android 4.2 JB
mDroidd said:
Yes, of course you can resize on Android.
Not possible ATM though.
If anyone is looking for a Cross-platform option, look for StudioAndroid at http://bit.ly/SA-XDA
No offence on yours though
Sent from my Galaxy Nexus running Android 4.2 JB
Click to expand...
Click to collapse
I meant to say "I cant make it", not "its not possible"
O OK this would so piss off pa :thumbup: considering how they are so gay about there settings apks
via my jb'd P.A GTAB2 7.0 or E24G CM9'D
hatememarkz said:
O OK this would so piss off pa :thumbup: considering how they are so gay about there settings apks
via my jb'd P.A GTAB2 7.0 or E24G CM9'D
Click to expand...
Click to collapse
What? Didnt understood you?
Sent from my Explorer A310e using xda app-developers app
Pa is making ppl take there settings apk out of unofficial builds an hybrid builds like pacman rom if this work across all rom variants it would so rokc an if in apk form that would be super awesome :thumbup:
via my jb'd P.A GTAB2 7.0 or E24G CM9'D
Alpha 2 - released - much more stable - check first page!
galaxyfreak said:
Alpha 2 - released - much more stable - check first page!
Click to expand...
Click to collapse
Good work bro!
Sent from my HTC Explorer A310e using xda premium
galaxyfreak said:
Alpha 2 - released - much more stable - check first page!
Click to expand...
Click to collapse
Not working
When i click on resize nothing happens
And sometimes program not responding
Sent from my HTC Explorer A310e using xda premium
Hpsgill said:
Not working
When i click on resize nothing happens
And sometimes program not responding
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
it should I discontinued this, bcoz resizing isnt only pngs, its layout most often too..

[Tool][Windows][Portable] Boot Animation Creator by Team M4gkBeatz!

Hello guys,
yesterday I started working on a little project, which allows people to create their own boot animations.
The program, for Windows, is called 'Boot Animation Creator by Team M4gkBeatz'.
Basically, it allows you to select from a variety of different settings, and then creates all necessary files and folders, where the user can then input the desired files. The program will then store the zip appropriately and rename it bootanimation.zip (Or any other name, as that matter..)
I consider this program very early, but as it's open source, I'd like it to be available for everyone at any stage.
Inside the source folder, there are some builds, which only do very simple tasks at the moment (Create part-folder and desc.txt file) but in the next few days it should get some decent updates, which will allow it to do everything as planned.
The source code can be found either in my GitHub profile (See my XDA-username) under Beatsleigher/BootAnimationCreator or under http://github.com/beatsleigher/bootanimationcreator.
Once I have a useable build, I'll upload it to SourceForge, along with a link.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Have fun downloading, using and porting the source code. I hope this helps someone, some day
If you like my project, please consider donating to me by adding up to my new PC, so I can make more awesome apps like this! http://www.gofundme.com/NewPC
I'm looking forward for this
IndraWP said:
I'm looking forward for this
Click to expand...
Click to collapse
So am I!
I think it'd be a better alternative to all those different guides, etc. And because it's open source, it's not even a secret how this works
CyanogenModded Very China-like, from my Samsung Galaxy S III
LG Familyguy59/Beatsleigher
pls is posible change logo initial ???? i have tablet android 4.0.4
thks in advance
waltercell said:
pls is posible change logo initial ???? i have tablet android 4.0.4
thks in advance
Click to expand...
Click to collapse
It shouldn't be too hard to code. But at the moment my laptop's dead.
I'll be able to work on it when I get the parts or a new computer.
All hail Lucipurr!
So does this application work or is this juts sorce codE?
jackrabbit72380 said:
So does this application work or is this juts sorce codE?
Click to expand...
Click to collapse
It's just code. I'm not developing in Visual Basic anymore. You can take the code and use it as you wish.
At some point in time, I may re-code it in Java, but for now it's dead.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Thanks For Your Work
ela1103 said:
Thanks For Your Work
Click to expand...
Click to collapse
Use the thanks button.
Looking forward to this
Sent from my C1905 using xda app-developers app
Well, seeming as this is gaining attention again, I'll start re-working it in Java.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Beatsleigher said:
Well, seeming as this is gaining attention again, I'll start re-working it in Java.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
We are waiting for the latest version.can you bulid boot logo creator also ah
ela1103 said:
We are waiting for the latest version.can you bulid boot logo creator also ah
Click to expand...
Click to collapse
Never, EVER ask for ETAs again.
It will be released as a part of Universal Android Toolkit, so you'll have to wait until then.
ela1103 said:
We are waiting for the latest version.can you bulid boot logo creator also ah
Click to expand...
Click to collapse
~impatient
Beatsleigher said:
Never, EVER ask for ETAs again.
It will be released as a part of Universal Android Toolkit, so you'll have to wait until then.
Click to expand...
Click to collapse
:good:
Was looking for the source code to rebuild it in VB but Link is down and on your Git profile I can't find the project :/ but nice idea
Android-xp said:
Was looking for the source code to rebuild it in VB but Link is down and on your Git profile I can't find the project :/ but nice idea
Click to expand...
Click to collapse
https://github.com/Beatsleigher?tab=repositories
kermage said:
https://github.com/Beatsleigher?tab=repositories
Click to expand...
Click to collapse
I was already looking there, can't find it...
Android-xp said:
I was already looking there, can't find it...
Click to expand...
Click to collapse
you could PM him...
I took the source down and deleted the repos.
It'll be in Universal Android Toolkit's repo.
Sent from my GT-I9505 using Tapatalk
Beatsleigher said:
I took the source down and deleted the repos.
It'll be in Universal Android Toolkit's repo.
Sent from my GT-I9505 using Tapatalk
Click to expand...
Click to collapse
thanks for the info..

Edit/disable toast frame message of an app

How can I edit or change the toast frame message ?
Its displayed after opening the app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PaulRichter said:
How can I edit or change the toast frame message ?
Its displayed after opening the app.
Click to expand...
Click to collapse
Do you want to remove/edit all the toast or just a specific one? Do you have root?
Sent from my HTC Desire 626s using Tapatalk
droid4life01 said:
Do you want to remove/edit all the toast or just a specific one? Do you have root?
Sent from my HTC Desire 626s using Tapatalk
Click to expand...
Click to collapse
What do you mean a specific one ?
There is only 1 in the screenshot.
I mean the text "Shared by AppZang.com"
I have root.
PaulRichter said:
What do you mean a specific one ?
There is only 1 in the screenshot.
I mean the text "Shared by AppZang.com"
I have root.
Click to expand...
Click to collapse
Sorry for the late reply, been busy lately. I have 3 options for you[emoji1] :
1:
If you have Xposed installed you can try installing XToast(http://forum.xda-developers.com/showthread.php?t=2825156) and using the "Block toast of selected apps" but the problem is that it will stop ALL of that apps toasts(the app you choose).*
2:
Another option is that you might be able to decompress the app file and look through the assets until you find the frame(s) that have that toast and delete them. Once you do that, you can re-compress the app and it shouldn't show it anymore since it won't find the frame that had that specific uri.*
3:
Install UnToaster Xposed(Xposed module)(http://forum.xda-developers.com/showthread.php?t=2624523) . After you install it, you will need 2 things, the apps package name, and what the toast says.
If you need help, choose any method and I can walk you through it.
*Make 2 app backups, 1 for backup, the other your going to work with*
Sent from my HTC Desire 626s using XDA-Developers mobile app
droid4life01 said:
Sorry for the late reply, been busy lately. I have 3 options for you[emoji1] :
1:
If you have Xposed installed you can try installing XToast(http://forum.xda-developers.com/showthread.php?t=2825156) and using the "Block toast of selected apps" but the problem is that it will stop ALL of that apps toasts(the app you choose).*
2:
Another option is that you might be able to decompress the app file and look through the assets until you find the frame(s) that have that toast and delete them. Once you do that, you can re-compress the app and it shouldn't show it anymore since it won't find the frame that had that specific uri.*
3:
Install UnToaster Xposed(Xposed module)(http://forum.xda-developers.com/showthread.php?t=2624523) . After you install it, you will need 2 things, the apps package name, and what the toast says.
If you need help, choose any method and I can walk you through it.
*Make 2 app backups, 1 for backup, the other your going to work with*
Sent from my HTC Desire 626s using XDA-Developers mobile app
Click to expand...
Click to collapse
I dont have xposed nor will I install it to keep my phone stable.
I choose the 2nd method.
Thing is that I cant find the files related to that toast frame message not in assets nor in classes.dex.
Thx btw.
PaulRichter said:
I dont have xposed nor will I install it to keep my phone stable.
I choose the 2nd method.
Thing is that I cant find the files related to that toast frame message not in assets nor in classes.dex.
Thx btw.
Click to expand...
Click to collapse
Have you tried going into the "res" folder and trying to find it within the drawable folders?
What the app might be doing is listening for a specific frame/drawable to be displayed so that it can show the toast at that moment. By deleting it, what your doing is your practically telling the app it doesn't exist(which it won't thereafter lol) and therefore it will no longer show the toast.
droid4life01 said:
Have you tried going into the "res" folder and trying to find it within the drawable folders?
What the app might be doing is listening for a specific frame/drawable to be displayed so that it can show the toast at that moment. By deleting it, what your doing is your practically telling the app it doesn't exist(which it won't thereafter lol) and therefore it will no longer show the toast.
Click to expand...
Click to collapse
I still cant find it.
Btw do you know how to add intro.mp4 to an app ?
Im working on GTA V for android and would like to add the intro video.
PaulRichter said:
I still cant find it.
Btw do you know how to add intro.mp4 to an app ?
Im working on GTA V for android and would like to add the intro video.
Click to expand...
Click to collapse
What folders do you have for the app?
If you have all the app decompiled already you could probably do that by adding the video to through the manifest by specifying an activity and layout with a VideoView as the <category android:name="android.intent.category.LAUNCHER" /> and playing the video as soon as the activity starts. After that you just start the Mainactivity.
These might also help...
http://www.sherif.mobi/2012/06/how-to-play-video-from-resources.html?m=1
http://stackoverflow.com/questions/...s-in-android-from-assets-folder-or-raw-folder
http://stackoverflow.com/questions/11356601/android-how-to-play-video-from-assets
droid4life01 said:
What folders do you have for the app?
If you have all the app decompiled already you could probably do that by adding the video to through the manifest by specifying an activity and layout with a VideoView as the <category android:name="android.intent.category.LAUNCHER" /> and playing the video as soon as the activity starts. After that you just start the Mainactivity.
These might also help...
http://www.sherif.mobi/2012/06/how-to-play-video-from-resources.html?m=1
http://stackoverflow.com/questions/...s-in-android-from-assets-folder-or-raw-folder
http://stackoverflow.com/questions/11356601/android-how-to-play-video-from-assets
Click to expand...
Click to collapse
Im gonna try that and thank you once again for helping me about the toast message I will just use an apk without that.

Categories

Resources