Layout advice needed (Apollo style) - Android Software Development

Hi, I am developing my first app (http://forum.xda-developers.com/showthread.php?t=2376406) and I'd like to change 2 things:
1) "Apollo style" layout. I'd like to have a swipe-ish layout, so I'll have many tabs easier to use because -for example- into the "quadratic equation" tab I could insert 3 EditTexts, one for each coefficient, and there couldn't be a syntax problem (because you don't have to use spaces and commas)
2) use different strings INTO THE CODE. I have already translated the application (buttons, texviews) using many strings.xml, but I'd like to be able to choose a string instead of another. For example, when I handle errors, I want the string "error" to appear if the system language is set to english, "errore" if it is set to italian, "erreur" if it is set to french and so on
Can you give me some advice on how to do this two modifications?

up, i need your help!

Related

Multilanguage hardware keyboard support for all devices (ipaq 600 pre made mapping)

A friend did this app that lets the ipaq 600 hardware keyboard type in any language without canceling the original keyboard functionality
This app can also be set to work on any other wm device that has hardware keyboard
It is like "AE-keyboard mapper" but on this app you can set more then one font per key
This functionality is very handy when you use numeric hardware keyboard like on the ipaq 600 asus p750 htc dual touch etc
It can be used when the number of fonts you use in your language is larger then on the device you have
It can also be used on a full hardware keyboard to have more then one language without the need of switching between keyboards layouts (you can even set a key for saved words like "hi" "thanks"..)
It is originally for Hebrew users (by default and fonts ) but the developer did it in a way that anyone can use/customize it by editing the app xml file in the software dir
You can set it to any character you use/want (any font/language)
For now the capability of the app is to set up to 3 letters and num for any key (total of 4 option per key -you will see it more clearly on the xml)
Instructions
BACKUP YOUR DEVICE BEFORE YOU INSTALL THE APP
ANY USE OF THIS APP IS AT YOUR OWN RISK
First you need to have support of your language or add fonts to windows/font dir in the device
only then you can use the software!
Then install the app to the device main memory
Ones the app set to on it will work in the background
For the ipaq 600 you have 3 ver of the app
1 switching between keyboards layout by passing the camera (orig- EN custom - HE)
2 switching between keyboards layout by passing the voice commend button (orig- EN custom - HE)
http://rapidshare.com/files/125258935/HebKeys_tog198.CAB.html
http://rapidshare.com/files/125142324/HebKeys_button.CAB.html
You can set it to toggle using any key you like by editing the XML
line " <HWcode>199</HWcode>"
selecting a button for toggling will disable its functionality when the app is in the background
to disable this option enter a nun used code like "9999" instead of the "199" option
to exit the app you can SR or press the app icon called "heb keys" then chose exit
customizing/ remapping
sync your device
then copy the xml file from your device to your desktop
the xml file can be found in: my device/program file/ HebKeys
KEEP A COPY OF THE ORIG XML FOR BACKUP
on your desktop right click the file and select : "open with" /"notpad"
now you will see all the layout like this "pack" of commend lines
<HWcode>50</HWcode> // the device code of the key being mapped (50= digit 2 on the ipaq 600 keyboard)
<state1>2</state1> // the first font (this case num )
<state2>ד</state2> // the second font (letter in Hebrew that can be set to yours)
<state3>ה</state3> // the third font (letter in Hebrew that can be set to yours)
<state4>ו</state4> // the fourth font (letter in Hebrew that can be set to yours)
You can also add more "packs" of definitions depending on the number of keys you have on your device
Reading the key code
To know the code for each pack/key you need this app
The key reading app can not work with the keyboard app at the same time
Therefore you first need to exit the keyboard support then start reading and editing the XML file
The reading app called "ranisoft kbtest"
Can be downloaded here
http://rapidshare.com/files/125091730/KeyMap_13.zip.html
After the completion of the XML customizing copy the new file to your device at the same location by replacing the orig
On the ipaq 600 all function keys like camera etc will pop the code for a second then return to code num 91
Camera = 199
voice commend=198
VIB = 200
Ok- to fast but I think 194
Then you have this
1=49
2=50
3=51
4=52
5=53
6=54
7=55
8=56
9=57
* =119
0=48
#=120
I did not set dig 1 for letters to get the key 1 signs like : " ;/…
Also not the # key that stands for space (7 is also free but can be used ..)
Function buttons re not recommended for letters
To run the apps on WM5 device you need to install CF2
Known issue/bugs
There is a delay that mast be maintained to type sequenced letters per key like AA or AB
For now you can tap on "space" (#) and go back the next VER will let you set your typing rate within the XML file
Also if you use your smart dial switch to EN or maintain the needed delay between digits
this app is freeware ,if you have any questions/notes pleas add it here
http://forum.xda-developers.com/showthread.php?t=403736
if you find this app helpful don’t forget to also say the "tanks " for this guy
he didn’t need this app (has a full support for his device/keyboard) but my naggings and the developer good will produced this grate app that free WM users from language typing limitation for benefit of all users/LNG and for all devices
you can help other users by sharing/uploading your language XML file at the XDA thread
enjoy
Here is he latest VER of the app
http://rapidshare.com/files/125678513/HebKeys_b_198_v15.CAB.html
In this VER the "voice commend " is set to switch between English & your language
The thing with this VER is that you can set in the XML file your typing rate
By default it is 3000 ,I have set it to 2000 and it works like orig
enjoy
for those who don’t like to switch between there language and tx9 and prefer to switch between there language and English (abc) you can disable the priority of the tx9 by installing this cab
http://forum.xda-developers.com/showpost.php?p=2082504&postcount=8
Hi,
it sounds good, but I've a question.
EREZYAD said:
...
It can be used when the number of fonts you use in your language is larger then on the device you have...
...
For now the capability of the app is to set up to 3 letters and num for any key (total of 4 option per key -you will see it more clearly on the xml)
Click to expand...
Click to collapse
In Hungarian/German etc. we use the same characters than in english and some more.
Can I set more options?
like this:
<HWcode>50</HWcode>
<state1>a</state1>
<state2>b</state2>
<state3>c</state3>
<state4>á</state4>
<state5>ä</state5>
<state6>ß</state6>
<state7>2</state7>
on this settings only the 2,3,4,5,6,7,8,9,0 are programed
you can also add "1" ,"#","*" so you will get 9 more characters
you can also use one of the "skin" without the numbers so on one "skin" you get ENG with num and the other one only your lang this way you can have up to 48 characters for one "skin"
good luck
btw - you can also map the camera for 4 more characters
& don't forget that you can exit the app at any time so you will get the orig keys
i have set this app on my start menu by going start/settings/today/item for quick operation (enter/exit the app)

Word substitution problem

I've inadvertantly shafted "im" in my substitution list - instead of changing to "I'm", I now just get "im". On the Touch Pro I used to be able to access the list of words to sub i.e. "havent" would appear as "haven't", "ive" would be "I've" etc. However, I can't find the list anywhere on the HD. Is this feature now disabled or am I just not looking in the right place?
1) Check you're using english language
2) Check you're un T-9 If you're in abc mode, it will not use substitution
C.

Editing User Dictionary

Hi all,
Is there any way to "batch edit" the user dictionary?
I want to add a whole list of words, even an entire new language, without having to do it word by word via settings->language and keyboards->user dictionary.
I want to do this because I often text and type in 2 (or more) languages, so I don't wanna change the phone locale.
Thanks for any help.

swtiching keyboard languages

Hey guys, I'm news to android phones, i'm used to Symbian (Nokia).
Anyways, here is my situation
My phone's menu is in english, but sometimes, i wanna write a sms or mms, or enter a friend's name in the contact list, I would like to write in chinese, but so far, I havent seen any options to switch they keyboard to chinese. Unless, i have to change to my phone to chinese, then i can only write in chinese, no english.
So my question is : Is there a way so we can switch alternatively between keyboad language without chaning the whole system?
Thanks
long press in the input field, then you get an option to change input method (keyboard)
hth
awesome!!! thanks!

Samsung keyboard restrict autocorrect to current language

I'm using the Samsung keyboard on my Note 4 with two languages enabled (English and German)
Sadly the autocorrect and word learning seems to unified which means that when I write in English (with the English language selected on the space bar ) I still get many german word offered by autocorrect.
Also learnt words seem to be stored in only one dictionary; not a pet-language one
But many words are similar (in terms of swiping path etc) between the two languages so that autocorrect's offerings are often useless. (Bettet instead of better)
The same applies for the handwriting input as that seems to be part of the same keyboard implementation. ..
I'd like it much better if it only used the selected language for word suggestions and kept separate dictionaries for leant words. .I can live with having to store some entries (like names etc) twice if I must
So is there a way to accomplish that?
Or is there a replacement keyboard that works as well with handwriting and swiping but which has separate dictionaries etc?
Try another keyboard maybe?
Right. Suggestions?

Categories

Resources