I am planning to write a twitter app for Windows phone 7 with supporting Arabic, RTL with complex scripting, and with Arabic keyboard layout like the one in this app as this langauge is not supported by WP7.
I tried looking for a resources to help with this porcess but couldnt find any.
So does anyone have an idea on how the complex scripting can be rendered in WP7 through apps?
regards,
I saw a demo on a Windows Phone lately. Arabic text is shown normally in internet explorer and even SMS! But user can not write Arabic in the current moment as the Windows Phone 7 now is not supporting it. But People in Redmond promised it will be available in next language package updates! May be you should let Arabic supporting feature for the next version of your application.
About the app you pointed as example, I believe they have made their own custom keyboard! So you might contact the company developed the application and ask them for keyboard if it is available as 3rd party component.
Related
I was asked to develop a software in vb.net and one of it's features should be the possibility to take photos on a tablet PC. I already played around with the MediaCapture API which returns me a photo, but as it seems that it's not possible to show a preview or anything else outside of ModernUI apps. It's just pure photo capturing.
I thought for a little while how this problem could be solved. I got some inspiration from my Android phone then. My idea was to call some sort of API to open up the regular Windows 8 camera app in ModernUI mode, let the user take the photo and then receiving that through a "return value", just like you usually do it in Android apps.
Now my question is, if there is a way to start up the Windows 8 default camera app, let it take a photo and receive that back into my WPF desktop application.
I could develop my software as ModernUI app as well, but I never did that and it also seems like you must publish it over the web store then, but I only want to use that inside my company.
My other (simple stupid) idea would be to ask the user to open the camera app by himself, take some photos and come back to my software later. I could then receive the images from the folder they were stored in. I guess that would work as well, but I don't really like that idea because it's not very intuitive and seems just stupid.
If you have an idea (or an alternative), I would be really happy if you could share it with me.
Thanks in advance!
Unfortunately, there are no .NET classes that allow you to access a webcam or integrated camera on your computer. This means that you have to take a look at the native Windows API and call it from your application. I cannot point you to the right methods that you have to use, as I just have used Microsoft Media Foundation to capture a continuous stream of images from a webcam and encode it to a video file.
There are some sites that encapsulate this native functionality in .NET classes, but I don't know if they are good or not:
http://dotnet.dzone.com/articles/using-webcam-wpf-application
http://www.yiigo.com/guides/vbnet/how-to-process-image.shtml
(just google for more if you'd like to).
In Windows Store Apps, this task can be performed relatively easy with the media capture API you've mentioned. You can also side-load Windows Store Apps if you have Windows 8 Pro or Enterprise - then you do not have to publish your app in the Windows Store.
If you have any further questions, please feel free to ask.
Is there anyway to insert the MS Pubcenter Ads into a WPF 4.0 C# application. If so, please show me step by step how.
The pubcenter does not support ads within anything other than WP7 or Win8 apps. Hopefully this will change to include standard desktop apps as we have a moderately successful game on WP7 that I would like to integrate ad support for and release on the desktop, but for now we'll need to look elsewhere for desktop ad revenue. I haven't found a solution yet either, unfortunately, so if anyone has a suggestion I'd like to hear it too.
Back when Windows Phone 7 had it's first SDK released they had an item list template that had the transitions for the items. Currently in the RTM tools there doesn't appear to be any support for this, can you not access the standard built-in transitions in Windows Phone 7?
You can implement this yourself with Blend.
Two things you can look at.
Christian Schormann's blend demo in his CL02 Mix Talk.
Shawn Wildermuth's blog post on this topic.
Bring Back Page Transitions to the Windows Phone List Application Template
Micks' suggestion is great. To add awesomeness to your Windows Phone application, learning how to use Blend is important. Adding page transitions is quite simple to a Windows Phone app is easy and if you are looking for sample code/library, Kevin Marshall has a good sample here. I would also recommend reading Kevin's development tips for Windows Phone development.
I've found the Silverlight Toolkit for Windows Phone has some transitions very similar to those that exist in the phone itself.
http://silverlight.codeplex.com/
I've heard that Windows Phone 7's user interface (UI) is completely based on Silverlight. Can anybody confirm this? Or it is implemented by other frameworks?
Windows Phone 7 will support developing apps in either Silverlight or XNA.
Are you asking if the shell, etc that comes on the phone itself is written in Silverlight? My first question would be "why does it matter what Microsoft used?" It's probably a good bet that they leveraged it, but I doubt they did everything in SL. At some point they have to get down to the OS. For example, I doubt the built-in media player core or Office apps are SL.
Looking at the unlocked emulator image contents would certainly let you deduce which parts were developed with what technologies. I leave that exercise to you.
Indeed Silverlight is used for third-party apps on Windows Phone 7, plus XNA is supported too as mentioned.
However the Office apps and some first-party applications are written using the Iris framework which is an internal only developer framework similar to WPF, it is the same framework used for the Zune Software (Dorado) which is used to sync to a Windows Phone 7 device.
Yes it is based on Silverlight
I can tell you one thing, they are using Expression Blend (or a modified version of it) for parts of the core UI design. You can see the developers using this on one of their promo videos.
I'm working on a multi-lingual WPF project that will be localized into many different languages. One issue we are currently having is localizing the tool tips on the minimise, maximise and close buttons. The tool tips seem to get localized when changing the OS language in Vista and Windows 7, however on XP SP3 the tool tips still appear in English even though the current OS language is set to Arabic (ar-SA) for example.
Are these tool tips controlled by the operating system or do they come from somewhere else like the .NET language pack?
UPDATE:
I forgot to add, applications such as Microsoft Word and Notepad appear with localized tool tips on the same XP machine that failed to display our application's tool tips in the desired language.
The language has been changed via the Keyboards and Languages panel in intl.cpl.
UPDATE AGAIN:
Installing the English version of the application on Arabic Vista also results in Arabic tool tips suggesting that the localization of these tool tips is done outside of the application. I have seen no trace of a .NET language pack on the Vista machine leading me to believe that with Vista, the tool tips are controlled by the OS. The question now is why aren't these tool tips being localized for the Arabic application being installed on Arabic XP SP3?
FURTHER UPDATE:
Today I went on the XP machine and created a new WPF application out of curiosity to see what it's tool tips came out like and discovered that they were localized to Arabic; meaning that the problem with the tool tips is within the application itself. The question now is, what possible ways are there of preventing these tool tips being localized? It was suggested today that it could be the setting of the windows xml lang, however I did not get the time to test this out and can hopefully try this tomorrow.
The tooltip texts come from the operating system and the language will depend on the language version of the operating system. If you for instance open the Windows Explorer, the menus of that application should appear in the same language as the tooltips for Minimize/Maximize buttons.
Note that changing regional settings in the Control Panel does not affect this.
The problem is our use of some 3rd party controls. These controls do some localization that works in Vista and Win 7 but falls back to some strings in an XML file on XP for some reason.