Addition of the settings in ROM - Other Tools & General Discussion

Hello, such question, I collected aosp, I want to add the settings as cyanogenmod, don't prompt as? I collect for Nexus 7 Grouper
I apologize for bad English =)

Funn1 said:
Hello, such question, I collected aosp, I want to add the settings as cyanogenmod, don't prompt as? I collect for Nexus 7 Grouper
I apologize for bad English =)
Click to expand...
Click to collapse
I think you mean list items on Settings, if this, decompile Settings.apk and find settings_headers.xml look into it and you will discover how to add an item.
xpirt

Related

Android Localization?

Hello people,
I just saw on YouTube that some guy had localized their Android in Ukrainian. Is it possible to do this in other languages and what would I need for this?
Thanks a lot!
zkvvoob said:
Hello people,
I just saw on YouTube that some guy had localized their Android in Ukrainian. Is it possible to do this in other languages and what would I need for this?
Thanks a lot!
Click to expand...
Click to collapse
You could:
Download system sources (original AOSP or maybe sources of some ROM, if they are available), modify them and build. Very long way - I don't recommend it to you.
Talk to some ROM cooker - you will send him localized strings and he will integrate them into his ROM.
You could also use apktool to decode framework-res.apk file, add new locale, build it and install, but it isn't that good: first - it might add some issues, second - you will have to do it after each ROM update.
Second option is the best, I think.
try this app, for me it works with the latest king MT3G-Slide2G1 ROM
http://www.androlib.com/android.application.jp-co-c_lis-ccl-morelocale-qnpC.aspx
bluedragon1982 said:
try this app, for me it works with the latest king MT3G-Slide2G1 ROM
http://www.androlib.com/android.application.jp-co-c_lis-ccl-morelocale-qnpC.aspx
Click to expand...
Click to collapse
Err... I think you didn't understand first post ;-)
Brut.all said:
You could also use apktool to decode framework-res.apk file, add new locale, build it and install, but it isn't that good: first - it might add some issues, second - you will have to do it after each ROM update.
Click to expand...
Click to collapse
Will try it,but where I have to add new locale?
Framework-res.apk now decoded,but at which file are the languages?
Ganii said:
Will try it,but where I have to add new locale?
Framework-res.apk now decoded,but at which file are the languages?
Click to expand...
Click to collapse
You must create e.g res/values-fr (for French language) directory and place strings.xml file in it - similar to strings.xml in the res/values dir.
You should read about Android apps development.
After decoding the apk I add this to the "res" folder,maybe you can
check if it`s right?
Original framework.apk also attached!
Then,after decoding,I have to build new apk and sign it,right?
Hi
did anyone succed with this? In my case all the languages are existing in framework-res.apk but unfortunately only a few of them are available in the language settings menu. Does anyone have an idea on how the menu is set up?
Android localization tool
You can localize Android apps in up to 200 languages using this localization tool: poeditor.com. Translators will have a great time with it, as it offers various features such as translation memory and automatic translation via Google or Bing. :good:

[Q] Develope new Language for CM7 (Persian)

Hi
I want to develop a new language (Persian - something like Arabic with additional characters) for Milestone CM7 (Both UI and keyboard). Is there anybody who can help me to know where and how I should start?
erfannf2 said:
Hi
I want to develop a new language (Persian - something like Arabic with additional characters) for Milestone CM7 (Both UI and keyboard). Is there anybody who can help me to know where and how I should start?
Click to expand...
Click to collapse
Use apktool to extract string.xml in every apps, create a project on crowdin.net, upload string.xml to your project, ask friends for translate!
Googling for more information about apktool and crowdin.net
This is not the right way.
CM is open source, so you should make changes to the source from which CM is built and submit them for review to be eventually merged.
See http://wiki.cyanogenmod.com/index.php?title=Howto:_Gerrit
Btw., I thought that base of Persian locale is already included in CM7.1.
kabaldan said:
This is not the right way.
CM is open source, so you should make changes to the source from which CM is built and submit them for review to be eventually merged.
See http://wiki.cyanogenmod.com/index.php?title=Howto:_Gerrit
Btw., I thought that base of Persian locale is already included in CM7.1.
Click to expand...
Click to collapse
That's the best way, but im not similar with linux/ubuntu so i prefer my way, but never mind, CM7 already has Vietnamese language!
kabaldan said:
This is not the right way.
CM is open source, so you should make changes to the source from which CM is built and submit them for review to be eventually merged.
See http://wiki.cyanogenmod.com/index.php?title=Howto:_Gerrit
Btw., I thought that base of Persian locale is already included in CM7.1.
Click to expand...
Click to collapse
I found the Persian Language in CM 7.1 (It wasn't there in CM 7!!!) and It's not bad, but it's incomplete. The numbers should be changed and some texts need translation.
I'm wondering if only the text direction and position in settings could be set as right-to-left. Is it possible?
Is there a way to add Persian calendar to the system? Is the calendar app opensource? Is is possible to add a new module to kernel?????
Sent from my Milestone using XDA App
erfannf2 said:
Is there a way to add Persian calendar to the system? Is the calendar app opensource? Is is possible to add a new module to kernel?????
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
Try to extract the strings from Calendar.apk and translate them.Then recompile the apk and push it back to phone
https://github.com/CyanogenMod/android_packages_apps_Calendar
kabaldan said:
https://github.com/CyanogenMod/android_packages_apps_Calendar
Click to expand...
Click to collapse
Thanks man. I'll apply changes and then will release the new calendar. Really thanks.
yurasts said:
Try to extract the strings from Calendar.apk and translate them.Then recompile the apk and push it back to phone
Click to expand...
Click to collapse
LOL, it's the wrong way
kabaldan is right
Hi everyone! First I want to download source, like it's described here. But first problem is that when I type command
Code:
repo sync
it starts downloading CyanogenMod for all devices and that takes a lot of time. How can I download CyanogenMod source code for Milestone only? The next question is, when I complete the translation, where can I send the source code?

how to make my owm theme?

I want to make a theme.who can help me ?
There are many threads about theming (just have to search) Do you wanna create a "whole" theme or just edit some images?
Sent from my Nexus 7 using Tapatalk 2
Here is how to theme in a short explanation:
Pick apps you want to theme I.E. systemui.apk
Extract the apk
Find the images and change them
Replace old images
Repackage
Place in system app folder
Reboot
Enjoy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have many app ideas, but don't have the skill or the time to learn how to make an app. if you would like to know an idea and attempt to make one, just message me.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone: Tmobile Samsung Galaxy s4 m919
Rom: Wicked v2
Kernel: Stock
Radio: Stock
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can seach.
Well you can do all that above, or you try out this. Its really easy and simple, works with their proprietary themes as well as CM based themes.
kuanzi5 said:
I want to make a theme.who can help me ?
Click to expand...
Click to collapse
Please have you search a little before to post, apparently not.
You will find on the bar tools, just above your thread, two spaces:
Type to find your device...
Click to expand...
Click to collapse
and
Search all forums
Click to expand...
Click to collapse
If you use this last box, type "how to build a theme" and the answer is: 629 000 résults (0,21 seconds)
So now you have the links for searching, go ahead. And don't forget to read the rules and this
[GUIDE] - XDA New User Guide - Getting started on XDA
Click to expand...
Click to collapse

Any way to theme phones any more?

I've been trying to skin my phone and run into a problem I can't seem to theme where the navigation bar is Eg using uccw you can't place nothing or when using docks on launchers it places a rectangle that stops above nav bar. I know with lollipop there is no xposed framework
Sent from my Nexus 5
You decompile the apk packages, change what you want and recompile.
Lethargy said:
You decompile the apk packages, change what you want and recompile.
Click to expand...
Click to collapse
There is no need to decompile and recompile. You can just copy/paste same named png-s in .apk/res/drawable nodpi or drawable xxhdpi for our device. That works for all apps from factory image.
Regards, Zagor
Is it possible to theme nav from homescreen only so I can give it its own background
Sent from my Nexus 5
zagorteney said:
There is no need to decompile and recompile. You can just copy/paste same named png-s in .apk/res/drawable nodpi or drawable xxhdpi for our device. That works for all apps from factory image.
Regards, Zagor
Click to expand...
Click to collapse
Recompilation is required to edit things like XML. Signing properly is also important.
Lethargy said:
Recompilation is required to edit things like XML. Signing properly is also important.
Click to expand...
Click to collapse
Whith respecr dear Lethargy! You don't need to decompile and signing properly stock app. For example: if you want to change almost all of UI, you just have to change images in framework-res.apk. You don' t need to do things mentioned before. When I was on Xperia I made this way too UI look like AOSP as possible.
I think that for noob is enough to know that. But off course, if you are UI designer and developer that isn't enough.
Regards, Zagor
zagorteney said:
Whith respecr dear Lethargy! You don't need to decompile and signing properly stock app. For example: if you want to change almost all of UI, you just have to change images in framework-res.apk. You don' t need to do things mentioned before. When I was on Xperia I made this way too UI look like AOSP as possible.
I think that for noob is enough to know that. But off course, if you are UI designer and developer that isn't enough.
Regards, Zagor
Click to expand...
Click to collapse
For replacing a .png it might be okay, but in no way are you going to modify anything else that way. Recompiling is the PROPER way to do it.
So in short someone like me I'm out of luck
Sent from my Nexus 5
tonyt3rry said:
So in short someone like me I'm out of luck
Sent from my Nexus 5
Click to expand...
Click to collapse
If your launcher supports it you can hide the navbar then attempt to use something like Zooper Widget to imitate them on the bottom, but other than that, you have to recompile SystemUI.apk.
Wouldn't I need it for when I'm in apps
Sent from my Nexus 5
tonyt3rry said:
Wouldn't I need it for when I'm in apps
Sent from my Nexus 5
Click to expand...
Click to collapse
Read my post again, I said on the launcher.
Can you tell me what launcher supports it I know if I had pie or what ever it is called I could hide it
Sent from my Nexus 5

How can I edit Gmail's App Code?

Hello everyone.
How can I edit Gmail app code? I would liek to check if I can enable dark theme for me with editing the code because I heard dark theme option is already in the code but not available yet.
Thanks for the answers in advance!
ECC9 said:
Hello everyone.
How can I edit Gmail app code? I would liek to check if I can enable dark theme for me with editing the code because I heard dark theme option is already in the code but not available yet.
Thanks for the answers in advance!
Click to expand...
Click to collapse
Well first you would have to decompile the APK. The coding for dark mode is probably in an XML file....possibly more than one. Most likely is res/layout. Then recompile the APK. There are plenty of tutorials here on XDA in regards to decompiling, modifying/themeing and recompiling apps.
Pain-N-Panic said:
Well first you would have to decompile the APK. The coding for dark mode is probably in an XML file....possibly more than one. Most likely is res/layout. Then recompile the APK. There are plenty of tutorials here on XDA in regards to decompiling, modifying/themeing and recompiling apps.
Click to expand...
Click to collapse
Is it possible to only make the theme selector available at the settings menu ?
ECC9 said:
Is it possible to only make the theme selector available at the settings menu ?
Click to expand...
Click to collapse
That would require even more coding. Best bet is to probably just wait for Google to add the function into the application
ECC9 said:
Hello everyone.
How can I edit Gmail app code? I would liek to check if I can enable dark theme for me with editing the code because I heard dark theme option is already in the code but not available yet.
Thanks for the answers in advance!
Click to expand...
Click to collapse
pLEASE POST IN The proper section! and use search before posting!
Moved to q&a
Pain-N-Panic said:
That would require even more coding. Best bet is to probably just wait for Google to add the function into the application
Click to expand...
Click to collapse
Aigh't then.
Logix said:
pLEASE POST IN The proper section! and use search before posting!
Moved to q&a
Click to expand...
Click to collapse
Sorry i'm new.

Categories

Resources