Keyboard & Chinese

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Keyboard & Chinese

Post by Dixie »

How do I get a chinese keyboard to 'stick' in the simulator and enter chinese charecters into a field, I don't mind if it is an LC field or a native field... Which is the font that I should use ?... I seem to have tried everything and I can't seem to get this to work... anyone tell me the 'a,b,c's' of how to do this ?...:-)
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Keyboard & Chinese

Post by Dixie »

Eventually, I managed to get chinese charecters to display in the iOS simulator... though I had to revert to using LC 6.7 and the 7.1 simulator... it seems I just cannot get it to run with LC 7 and the iOS 8 simulator... Does anyone know if this is an LC problem or a problem with the simulator ?
Attachments
ChineseInLC.png
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Keyboard & Chinese

Post by bn »

Hi Dixie,

I can use the simulator Xcode 6.1 (iOS 8.1)
with

LC 6.6.5
LC 6.7.1 RC2
LC 7.0.1 RC2

MacOS 10.9.5

Kind regards
Bernd
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Keyboard & Chinese

Post by Dixie »

Hey there Bernd...:-) long time
I am able to use LC 7.0, xCode 6.1 and the iOS 8 sim for many things... except it seems the chinese keyboard..:-(
bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4219
Joined: Sun Jan 07, 2007 9:12 pm

Re: Keyboard & Chinese

Post by bn »

Hi Dixie,

I tried without knowing anything about Chinese. I stopped after I added Chinese to the system and it was all chinese to me...

No idea.

Kind regards

Bernd
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Keyboard & Chinese

Post by [-hh] »

Hey Dixie,

you helped a lot of other users, also me, with some nice tricks and short clear answers.

Sadly my budget for virtual bouquets or similar is exhausted. Nevertheless I'm instructed by some others and me to thank you for this help.
Now you are the first one to get on the occasion of crossing the 1000 posts line the 0-0-0 decoration of class 1 (that is 1-0-0-0). Here it is:
class 1 0-0-0 decoration  for posts. Take it when you cross the line.
class 1 0-0-0 decoration for posts. Take it when you cross the line.
1000posts.png (1.88 KiB) Viewed 7745 times
Thank you very much for all your help.
shiftLock happens
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Keyboard & Chinese

Post by Dixie »

Thanks Herman... you will make me blush :oops: there are many others who deserve any accolade before me... Klaus, Bernd, John Craig to name just three but there any many others...

I am now starting to understand how to use multiple keyboards within a mobile app and how to tap on the globe icon at the bottom of the software keyboard to change between them... Does anyone know how to set a keyboard to say English or Chinese depending on which card you are on, or depending on which field you might want to enter English text as opposed to Chinese ?

In other words, how could ~I know which keyboard is about to be or being used ?
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Keyboard & Chinese

Post by [-hh] »

Hi Dixie,
others are currently not close to a full thousand as far as I can see, and the virtual big cheese for Klaus at his next full thousand is already on my disk.

To your keyboard question: All info I have about switching is this
http://support.apple.com/en-us/HT202178
and this for android
http://www.greenbot.com/article/2453381 ... board.html

On Mac desktop one would try to use automator or look how they do it. I heard 'Workflow 'is something similar for iOS. Perhaps they have a script available?
shiftLock happens
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Keyboard & Chinese

Post by Dixie »

Mmm... I now have the 'chinese' keyboards working...:-) the 'Chinese Simplified' pinyin & handwriting keyboards..
LC 7.0, xCode 6.1, OSX 10.9.5, but the stack will only complile against 7.1 simulator...

The 'Chinese' keyboards seem only to work properly if native fields are used, (thanks for the info Andy Parng..:-) )

Anyone seeing problems compiling against 8.0 or 8.1 ?
Attachments
chinesePinYin& Handweiting.png
LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Keyboard & Chinese

Post by LCNeil »

Hi all,

Alternative keyboards showing within the iOS 8 simulator is a known bug in the simulator itself which Apple have acknowledged. More information on this can be found here-

http://stackoverflow.com/questions/2614 ... e-keyboard

You will be able to test this issue by opening Safari within the simulator and attempting to change keyboards. You should notice that only English(US) and emoji are present.

Hopefully Apple will have a fix available soon.

Kind Regards, 

Neil Roger 
-- 
LiveCode Support Team ~ http://www.livecode.com 
--
Post Reply