SilverlightShow: Windows Phone 7–Creating Custom Keyboard Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Windows Phone 7–Creating Custom Keyboard when i tried this code,it didn't work it shows error in keboardcontext error http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment9818 saumil http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Mon, 02 Sep 2013 12:30:29 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>Idk but sounds tight and id so get it </p> <p> </p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment9064 rokie29 http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Fri, 15 Mar 2013 08:37:01 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>Hi,</p> <p>Thanks a ton for showing this implementation to me. I want to create a Punjabi Keyboard. Is it possible to switch to keyboard language for which windows phone 7 doesn't support font yet? I have font files for Punjabi language in desktop. Can you give me some more background on how to do this part. </p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6657 verinder http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Fri, 14 Oct 2011 23:23:08 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>I could resolve the error: It has to do with the Background.jpg file. It has to be set to Resource, Do not copy. And when checking in the WMAppManifest.xml, make sure:</p> <span style="font-family: consolas; color: #0000ff;"> <p><</p> <p> </p> </span> <p><span style="font-family: consolas; color: #a31515;">BackgroundImageURI</span><span style="font-family: consolas; color: #0000ff;"> </span><span style="font-family: consolas; color: #ff0000;">IsRelative</span><span style="font-family: consolas; color: #0000ff;">=</span><span style="font-family: consolas;">"</span><span style="font-family: consolas; color: #0000ff;">true</span><span style="font-family: consolas;">"</span><span style="font-family: consolas; color: #0000ff;"> </span><span style="font-family: consolas; color: #ff0000;">IsResource</span><span style="font-family: consolas; color: #0000ff;">=</span><span style="font-family: consolas;">"</span><span style="font-family: consolas; color: #0000ff;">false</span><span style="font-family: consolas;">"</span><span style="font-family: consolas; color: #0000ff;">></span><span style="font-family: consolas;">Background.jpg</span><span style="font-family: consolas; color: #0000ff;"></</span><span style="font-family: consolas; color: #a31515;">BackgroundImageURI</span>> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p>(the extension must be .jpg, I think it might have been .png in my WMAppManifest).</p> <p>Clean and Rebuild worked after that.</p> <p> </p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6400 aleeb http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Wed, 03 Aug 2011 22:09:30 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>I get the same error: Xap packaging failed. I checked, the version is 7.0</p> <p> </p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6398 aleeb http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Wed, 03 Aug 2011 21:39:54 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>Hi Pencho,</p> <p>Thanks for your reply. I rebuilded solution, but error is the same.</p> <p>I want to code Chinese SIP more flexible(use Model-View–ViewModel pattern), but I got a bottleneck. Could you explain how to create keyboard buttons programmatically(not to code in xaml) more detail?</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6383 edwardlin http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Thu, 28 Jul 2011 07:05:22 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>Hi edwardlin,</p> <p>This is very strange. I think you should not have any problems to compile the project for WP 7.1. In fact, I haven't installed the Mango tools on my PC yet. Did you try Clean Solution or Rebuild Solution? I really don't have any idea.</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6378 ppopadiyn http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Tue, 26 Jul 2011 07:45:28 GMT Re: Windows Phone 7–Creating Custom Keyboard <p>Hi Pencho,</p> <p>I can't build your code with Windows Phone SDK 7.1 Beta 2. Error is "Xap packaging failed. Object reference not set to an instance of an object. WP7.BulgarianKeyboard.Client".</p> <p>Please help, thanks. </p> <div class="authorNameHolder"> </div> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6361 edwardlin http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Thu, 21 Jul 2011 10:57:16 GMT RE: Windows Phone 7–Creating Custom Keyboard for Turkish keyboard you can use <a href="http://metphone.blogspot.com/">http://metphone.blogspot.com/</a> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment6175 metphone http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Sat, 21 May 2011 12:28:28 GMT RE: Windows Phone 7–Creating Custom Keyboard <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal arial;">Hi, does a homebrew app exist to change original keyboard into this one? </p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 16px/normal arial;">I am an italian user who wants to use a keyboard similar to the one you created (with latin letters), because your keyboard has the keys more distant then the wp7's original keys .. </p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5964 Andrea Marras http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Thu, 21 Apr 2011 19:09:35 GMT RE: Windows Phone 7–Creating Custom Keyboard actually i also made a custom keypad but i used textbox instead of textblock because i want some textbox features.The problem is on textbox focus. If i transfer the textbox focus to some other control then i will no get the cursor movement. i want cursor movement as well as my custom keypad should be on the top. http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5919 ruby http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Mon, 18 Apr 2011 11:33:11 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hello ruby, </p> <p>If you want additional effects (as you said "cursor position") you have to exert additional efforts.</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5907 ppopadiyn http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Fri, 15 Apr 2011 09:06:33 GMT RE: Windows Phone 7–Creating Custom Keyboard that's really helpful. but wat to do if i want cursor position also  http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5895 ruby http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Wed, 13 Apr 2011 09:30:22 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hello maximv,</p> <p>I am familiar with the service that yallaapps provides. However as far as I know yallaapps is focused on countries from the Middle East and Africa. I think Bulgaria is not amongst the eligibible countries. Though thank you for the suggestion.</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5833 ppopadiyn http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Mon, 04 Apr 2011 11:26:43 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hey,</p> <p>I think now you can create a developer account. Please visit <a href="http://www.yallaapps.com/">www.yallaapps.com</a></p> <p>It is new service for countries that are not included into AppHub.</p> <p>let me know offline if you have any issues. </p> <p>I'll send you my email contact offline.</p> <p>good work.</p> <p>Maxim</p> <p> </p> <p> </p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5832 maximv http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Mon, 04 Apr 2011 00:15:25 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hi </p> <p>Thanks a lot :). By the way, only modification I am doing in the keyboard is the support for fonts. App I am writing needs to display keyboard in an Indian language. If I use unicode string mappings for indian language alphabets, they just show up as boxes in Windows Phone. Probably they don't have full support for Unicode characters yet. May be, you can have the in-built support for using Fonts in your base classes. That will be pretty useful for other people looking for same thing :).</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5751 RSK http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Tue, 22 Mar 2011 04:05:56 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hi RSK,</p> <p>Thank you about your interest. Since I am providing the source code, feel free to use it and modify it as you want. Just when you are ready and upload it in the marketplace, let me see what is the end result :). If you have any further questions or remarks, let me know.</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5742 ppopadiyn http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Mon, 21 Mar 2011 10:12:18 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hi</p> <p>Thanks a lot for sharing the code for writing custom keyboard. I am writing an app, in which I am planning to create a keyboard for my language. Is it okay if I use your WP7.Keyboard project in my app (with some modifications) ?</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5739 RSK http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Sun, 20 Mar 2011 05:59:37 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>Hi <span id="ctl00_cphMiddle_ContentPlaceHolderContent_itemComments_dlstComments_ctl02_lblCommentAuthor">IlEdVal</span>,</p> <p>I could easily unlock my phone and deploy illegal applications (there are programs that allows me to download xap files from the marketplace), but that's not the point here.</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5595 ppopadiyn http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Sun, 27 Feb 2011 21:21:25 GMT RE: Windows Phone 7–Creating Custom Keyboard <p>I understand your frustration. It is already frustrating being in the Netherlands, but at least we don't have the problem of different characters and not being able to get a developer account.</p> <p>However, as soon as Bulgarian is supported, the problem you mention (switching between English and Bulgarian keyboard) is no problem, as WP7 supports selecting multiple keyboard layouts you normally switch between. This is just like doing so in Desktop Windows, and when you select more than one, the space bar on the SIP becomes smaller to show a language switch button, which also switches the keyboard layout. I know this works between EN/FR/DE which is already supported. There is no reason to suspect this won't work with Bulgarian and English as soon as WP7 supports Bulgaria.</p> <p>Of course, there is still no indication on when this will be. Good luck with that! :-/</p> http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx#comment5574 peSHIr http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx Thu, 24 Feb 2011 14:17:49 GMT