Change android system settings by code. - Android Q&A, Help & Troubleshooting

Hi friends,
Can anyone tell me about some tutorial for changing android system settings by code.
System Settings like:
Ringtones
Vibration
Volume
Brightness
etc
If anyone please tell me the names of the classes in which I have to look into, it will also be helpful.
Thanks

First of all it would be better if u have root
Further you need the terminal emulator app
Afterwards u could use try and error or look out for linux comands in the internet

Have you tried this? http://stackoverflow.com/questions/10018163/change-ringtone-in-android
Your app must have the android.permission.WRITE_SETTINGS permission.

Related

[Q] o2 hiding apps

I have found certain applications to be missing in the drop down application list on the tasbar.
These are adb, terminal & spare parts.
I am running original o2 8105 rom and have found spareparts in system/app of which i tried to reinstall as root to get it to show in the application list but it wont install.
please can anybody advise what i need to do to get these applications to show.
search for engineering mode
there's codes you can type into the phone pad to unlock those apps..
mba07 said:
I have found certain applications to be missing in the drop down application list on the tasbar.
These are adb, terminal & spare parts.
I am running original o2 8105 rom and have found spareparts in system/app of which i tried to reinstall as root to get it to show in the application list but it wont install.
please can anybody advise what i need to do to get these applications to show.
Click to expand...
Click to collapse
adb isn't really an app and the other 2 have nothing to do with o2...
terminal and spare parts are on the market.
Thanx
Thanx fards, That did the trick. All sorted

[App] Password Safe.. My first Android Application :). Version 1.2 Released

Hi Friends, Am learning android application development and working on my first android application Named "Password Safe".
This is a very simple password keeper application with following features
1. You can save user id and passwords (of different types ) for different websites.
2. Password details can be saved in Phone memory as well as Memory card
3. Password details in memory card will be stored in encrypted formatted using your Password Safe Application.
4. In case you flashed your phone or uninstalled the application, You can recover all your password details by using this Password safe application. And to do so-
a. install the password safe application
b. Create User id and password ( same as which you used before to store your password details)
c. Go to Password details page and use Load from sdcard menu.
Please try this application and let me about any issues (or enhancement) so that we can make it more user friendly and useful.
Change Log Version 1.2
1. Now you can fetch details for any particular site ( No need to give the complete name just mention 2 - 3 character of the name and it will fetch details of all the similar sites )
2. Option to delete all the password details from phone memory.
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.
Many Thanks for your Comments and M happy that u guys are finding this application useful
If you have any idea to improve this application, please let me know. You can drop your ideas here or send me a PM. I will try my level best to achieve that
Working great !!!!!!!! Good job !!!
Sent from my X10i using xda premium
Great work
Why does it need Internet access permission ?
Rapier07 said:
Great work
Why does it need Internet access permission ?
Click to expand...
Click to collapse
Internet access permission is required to display Ads (Advertisements ). There is an option in Preferences Menu. from there you can enable Or disable ads
Note : Changes done through Preferences Menu will reflect next time when you will log in into the application.
Okay...
Good work mate
Many Thanks for your Comments and M happy that u guys are finding this application useful
If you have any idea to improve this application, please let me know. You can drop your ideas here or send me a PM. I will try my level best to achieve that

[Q] ADB files will push to phone but will not open.

Hey Guys,
I am currently trying to modify Instagram.apk using adb transfer to my Android Galaxy S4 i505. The program is Apk_manager and I am on mac os x 10.8.5
My problem is that, after i upload the Instagram.apk, I receive the error
"Incompatible Device. Unfortanatley this device doesnt seem to meet minimum camera requirements. For more infomation please visit http: (space) //bit.ly/igdevices"
I have tried multiple Instagram.apk files of the latest version (5.05) and they say the same.
I have found that if I compile as non-system app and sign with batch file the app will run and work perfectly, however if I want to modify the app I am certain it needs to be compiled as system app.
I then say "yes" to transfer additional files and hit remove resources.arsc and hit enter. Then I press 9 to abd push and file into:
system/app/Instagram.apk
It installs but every time comes up with the error message mentioned above:
(Incompatible Device. Unfortanatley this device doesnt seem to meet minimum camera requirements. For more infomation please visit http: (space)//bit.ly/igdevices[/url])
I know that my device is supported by the app version.
Please help!!!!
Sorry bit of a noob.

[HELP] Decompile APK, fix, Recompile help

Hi, before all, sorry for my poor English.
I have buyed a new Android Watch; the SmartWatch U8. I have found many Android app to run it but nothing have great result.
After few test and search I have found the original APK for my watch, is run good but have some problems and I want improve it.
I have decompiled the APK (APK to ZIP, dex2jar and APK Tool), I have now some .jar files, the .manifest and few assets and others ressources.
Using Android Studio, I have tried to recompile, without modification of code. I have many, many errors.
Some errors is about depriciated, others is for unknown command or class.
I have tried to fix, but no chance, too many errors and my Java skill is realy low (I'm better under PHP). I have also try to copy only few codes using the error tools to known what is needed to add, but I don't known own the default structure was made (all class in same folder ?, or many folder for many class ? less class but with more actions ? not sure)
I have tried all ideas I have found, no valid result, I never build the app with success. I have made few Android App, with help of tutorials and are very basic (Web browser for my website, music player and scanner). I known the basic of Android coding and the new and old way to code them (Eclipse and Android Studio).
I search many solutions;
- [easy] Find another app with all (or the most) of needed change I want; hide the notification text but keep the icon when connected, more control of what is sending to watch (keep notice of call, but not make/answer call over the watch)
- [medium/hard] Find a good tutorial/guide for rebuild a Android app from decompiled APK.
- [hard] Build from scratch a Android app for my watch (with tutorial/guide)
The APK I try to edit: levelkro (dot) com/download/android/KHR1.3.22.apk (not available on Play Store)
Thank for your help

Change Font Android System

Hi.
I have been in this forum for a short time and since I'm so big I can not find where to write my question, so I've decided to write here if someone sees that it is not the right place to tell me.
I've been wanting to change the source of my android root, I've tried several applications ifont, Hifont, fontster ..., but none of them change the source completely, all the phone.
I have another mobile with xioami in which with the application "
MIUI Custom Font Installer "I change all the source of the system, status bar, settings, applications and everything, even when I make a storie with instagram the letters of the story are also with that source, there is some application or method to do that in a xperia z2?
Thank you so much
A greeting!

Categories

Resources