[Q] Tasker - changing system language / shell command? - Android Q&A, Help & Troubleshooting

Hey,
I would like to make a task, which would change system language to x, then - on exit task to y. I was searching a bit, but I haven't found any plugin which could do that - but maby it's possible to change sys language by using shell command, which can be executed by tasker?
ty

I'm looking for the same thing, still no luck?

Found! https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en
Tasker/Locale plugin which allows you to change the system language.

Related

[Q] Adding binaries in /system/bin

i have noticed that to keep Os size small google has included only the minimum "Linux" utilities in /system/bin like ls, cat etc.. Hwever i wud like to add some more such utilities in that folder so that i can use them in my scripts like netstat (monitors active socket connections) etc..Can anybody suggest something???
Install Busybox(free) or Better terminal (paid)

[Q & A] Using VIM to know terminal height via adb shell

Hi,
I have I assume is a very specific question. Cyanogenmod 7.2 has vim (and nano) installed, but when i use vim, the full size of my terminal is unused, and the cursor position and what is displayed become asynchronous. I have tried setting TERM=linux and TERM=xterm (I'm using OS X terminal which emulates an xterm), but neither get me a working vim. vi, which is part of busybox works fine. nano also fails to use the height of my terminal window, and additionally the enter key is broken.
Does anyone know of any fixes, config to get a working vim using android?
Thanks in advance for any info!
Findin' ma size...
To answer my own question for the benefit of others:
So, it seems at least Cyanogemnod7.2 Bash does not correctly receive the size of the terminal window from its host (use "stty -a" to check):
Code:
[16:44 localhost]-1 /
-> stty -a
speed 38400 baud;stty: standard input: No such file or directory...
And therefore Vim is unable to correctly set its columns and lines. The solution is simple, you have to force the terminal session to reread the window dimensions:
Code:
[16:45 localhost]-1 /
-> resize
[16:45 localhost]-1 /
-> stty -a
speed 38400 baud; rows 63; columns 107; line = 2;
I add "resize" to the bottom of my .bashrc file to do this automatically. Note if you are in Vim and resize your window, you need to force rereading the new dimensions, the vim command ":!resize" will do this.

Any way to enable tv out on my MTK6575 running gb?

Do someone or developer kindly explain this.After rooting with kingoapp in my gionee pioneer p1. I found this on system file ->advanced_meta_init.rc and opened as text and get some interesting infos which i dont really understand .. Is the phone supports tv out?
# change MTKFB permission for Settings App JNI functions to set TVOut related status
chmod 0666 /dev/graphics/fb0
#TV-out
chmod 0664 /dev/TV-out
I add photo attachment. I found this hidden settings by installing holo launcher and selecting activity
.. Is there a way to enable it?..
hhhjjjj

[Q] Any way to enable TV OUT or an app for MTK

Do someone or developer kindly explain
this.After rooting with kingoapp in my gionee
pioneer p1. I found this on system file -
>advanced_meta_init.rc and opened as text
and get some interesting infos which i dont
really understand .. Is the phone supports tv
out?
# change MTKFB permission for Settings App
JNI functions to set TVOut related status
chmod 0666 /dev/graphics/fb0
#TV-out
chmod 0664 /dev/TV-out
I add photo attachment. I found this hidden
settings by installing holo launcher and
selecting activity
.. Is there a way to enable it?..

ADB shell: change IME method gives error “Unknown ID: null”

I bought a Chinese Android 4.2.2 smartwatch (SWatch / Kingelon K2) and discover it does not have any virtual keyboard. There is also no "input" option in Settings (there is "language" only).
I installed a third party keyboard (Anysoftkeyboard) and another app called Quick Keyboard Switch that can change keyboards with going through Settings.
When I run Quick Keyboard Switch and tried to enable the downloaded keyboard, the app force closed.
I found a post in Stackexchange describing how to use ADB shell to enable and set the default keyboard:
how to change input method with ime command
The instruction from the above post describes how to enable the keyboard using "ime enable com.etc.etc" command before setting the keyboard as default using "ime set com.etc.etc"
Unfortunately, when I use the "ime enable" command in ADB shell ("su" applied, the watch has been rooted), it gives me an error message:
Error: Unknown ID: null
When I use "ime set" command, it returns a similar error message ("com.etc.etc" (name of keyboard) instead of "null") - I gather this is because I have not enabled the keyboard yet.
I am worried that I don't even see "keyboard" option in Settings - does that mean the input module has been removed by the firmware maker of this smartwatch?
If so, where should I look in the Android firmware (I guess somewhere inside /system) that I can copy and paste to restore the keyboard input function?
I am NOT a developer nor a computer engineer. I google and try to find solutions to my problems. Thank you for your help and being patient.

Categories

Resources