multi language feature support windows phone 7 - windows-phone-7

I just wonder if we could take advantage of multiple language support in windows phone 7, 7.5 in any mean to enhance user's experience. For example says that how I can detect what language user use on the phone (this appear in start up setting) to auto change my app language. Or perhaps, what is a best way to provide user with multiple language support?

You can do this with Resource Files
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff637520(v=vs.105).aspx
There is some value in allowing a user to choose the language themselves, in particular if you want to support a language not supported by the phone, ie Chinese on 7.0

If you go into settings > keyboard, and then add another language it will give you options when the keyboard comes up so that useless autocorrect is no longer useless when typing in another language.
I had the problem of everything I wrote in spanish being autocorrected.. This is especially annoying when it splits your word into 2 as you are forced to retype it.
When adding a second language, you will have an extra button at the bottom of the keyboard so you can switch between lanugages. This changes the dictionaries also.. I believe you can have as many as you like.

Related

How to replace Windows 8 volume indicator overlay?

New to Windows 8 and 8.1 is a volume overlay that sits above all other windows, and displays for 3-5 seconds every time you press one of the special volume buttons present on many keyboards.
Please note that I am not talking about this:
But rather this:
Which appears in the top left corner of the monitor.
I would like an API or something that will disable the display of this indicator when volume buttons are pressed on the keyboard.
Does something like this exist? Programming language doesn't matter, as I can convert from whatever to whatever, but for reference I will be implementing this in C++
There is not a documented method for disabling the UI, and I'd expect that any technique for doing so would rely on potentially risky/unsupported APIs/techniques.
The UI is now provided by Microsoft to enable a standardized experience for volume control across all devices. Some applications like the Microsoft Music application expect the volume control to be present so that they appear together.
In Win 8.1, all Media handling support was moved to the SystemMediaTransportControls. An app has only a tiny bit of control over display: IsEnabled.
If possible, you might consider relying on the built in support -- as they're not likely to go away, and it's unlikely that you'll be able to control them in the manner you want.

How to set SIP language in Windows Phone Mango?

Is it possible to restrict language of virtual keyboard, or SIP, to a English only? I'm developing a multilingual game with Scoreloop and want to allow users to enter their nicknames in latin only.
I don't think it is possible, but if it were you shouldn't.
Leave the keyboard language selection to the user. It would be very confusing for the user to suddenly have a different SIP.
Just validate the string that is entered.
EDIT
You are not looking for an input language but for a character restriction so another option is to design your own SIP with the characters you want to allow

System-wide hotkey for custom text field highlighting

I want to create a way of enabling my computer to highlight text in any given text field, of any application, as I type it. The idea is I would press a hotkey and that would cause all text typed after pressing that hotkey to be highlighted until I press the hotkey again. What technologies, if any, could achieve this on a Windows XP or Windows 7 machine? And where do the current text selection behaviors such "live" (e.g. selection using shift+arrow keys, and deselection on key press, etc.)?
It's exceedingly unlikely that you could achieve this.
You can use RegisterHotKey and keyboard hooks to intercept the hot key and subsequent typing. That's not too bad.
What you won't be able to manage is to arrange that the text you type will appear highlighted. You'd have to special case many of the target applications. Applications like web browsers often don't use windowed controls for their input fields. There's no easy way to highlight the text as it is typed into those fields.
Your question used terms like "system-wide" and "any given text field". That's just not a realistic goal. Making this work for a single class of fields in a certain apps sounds more plausible. You may be able to do it when the text is going to land in a windowed edit control. Although even that sounds fraught with potential threading conflicts. You may also be able to make some headway with apps that support UIautomation, but again it doesn't seem like it would be very easy and many apps don't support UIautomation.

How can we disable the default keypad of textbox in silverlight windows phone 7?

i have made my custom keypad so i want to enter the text with my custom keypad. But the problem is that every time when textbox get focus the default keypad pops up.
so how can i fix this or i have to have to opt some patch.
I don't believe this is possible, as the SIP is controlled by the OS, and is shown depending on whether you have a hardware keyboard or not. If you really want to have a custom keypad, you will probably need to design your own data entry controls as well (ie. custom textbox that shows your SIP).
You can't do it the "elegant" way. If you really need this you could build the following:
1. User touches the control (control has focus ... open your custom SIP)
2. immediately switch the focus to a hidden, non textbox control
3. OS SIP will not show if this is done fast enough
Sorry, this is the only way I am aware of :(
A related example: http://www.dreamincode.net/code/snippet5650.htm
This is not possible, in this release anyways. I have also run into a problem with using the default keypad. But there are some options to use a keyboard that is designed for different types of input (ex. Search, Text, etc.).
Check out this article. It gives quite a few options in wp7 when it comes to the keypad. I'm sure one of these could be usefull.
All you have to do is set the InputScope = "" in the textbox control to whatever scopes are available(check article ^).
HTH.
try setting the IsReadOnly property of the testBox to true
Its an Interesting task .
I remember , i did the similar task with Windows Mobile 6 / 5 and Pocket PC 2003 where we have the access to the native API's via pInvoke and disabled the SIP Button . like using SHFullScreen
I think this is not supported in Windows Phone 7 since it is purely managed code .

Get title of front window in carbon

I am writing a program to sit in the background on osx 10.6, listen to keystrokes and record them, grouping them by window title. (No, I am not writing malicious software. I do not need this program to be sneaky in any way, I just want to have a safety net for when I have typed a huge email and then accidentally refresh the page (APPLE-R) instead of opening a new tab (APPLE-T)) I have already found apple's EventMonitorTest example for the keystroke capturing code, now I just need to find the "key window" title.
Does anyone know where I can find examples for this kind of functionality? Thank you!
A couple of possibilities:
You could use the Accessibility API (though of course keep in mind that 64-bit Carbon does not support this)
You could use the CGWindow functions introduced in Leopard
I suspect the first option will be easier to do this with, since the CGWindow API is somewhat low-level and treats all windows (application windows, menu bars, dock icons, etc.) more or less equally.

Resources