Windows Phone 8.1 Right to Left Language support - windows-phone-8

I am working in a Windows 8.1 Universal (not silverlight) app Windows Phone, and need to support right-to-left languages such as Arabic. Is there a was, other that setting the flow direction on the entire root frame, that I can alight the text right-to left to reflect this language?

You can set FlowDirection for specific Text to "RightToLeft" not for the entire root frame or you can set HorizontalAlignment to "Right" but this is not a nice way to do it.
Proved your XAML code please ?

Related

Increase text size in mars 4.5?

Im using the MIPs Mars 4.5 and Im trying to find out how to increase the size of text such as the menu bar etc.. Not the editor but the program itself.
Thanks
While there's no way within Mars to explicitly set the scaling, if you have a high dpi display and have everything in Windows scaled up, Windows' built-in compatibility can fix this.
The runMARS.bat calls javaw.exe -jar Mars4_5.jar
Assuming you've got java in your PATH...
Navigate to C:\ProgramData\Oracle\Java\javapath
Right click on javaw.exe, -> Properties
In the Compatibility tab, check Override high DPI scaling behavior
Select System for Scaling performed by
Now, running Mars with runMARS.bat will start it with proper scaling.
If java isn't in your path, do the above steps for whichever executable Mars4_5.jar is using. If you're not sure, the which javaw command might come in handy.
Also, Java9 properly supports hidpi screens, so this won't be a problem.
open mars,
1.click on settings -> editor...
2.select the font-size that you want
3.click on apply

Bringing up the soft keyboard in a Windows Phone 8.1 Direct3D app

I'm porting a game to Windows Phone 8.1 using C++/CX with DirectX 11. I need to bring up the soft keyboard for some text input.
Under Windows phone 8, I used the code provided by Microsoft here:
How to handle keyboard input in a Direct3D app for Windows Phone 8
This worked well but none of this code is valid in Windows Phone 8.1 and I've been unable to find any updated information. How can I do this in 8.1?
I need to show/hide the keyboard and listen for keyboard inputs. Popping up a dialog box with a text input element would also be acceptable.
The easy ways:
(on phone, but not desktop) call InputPane.TryShow and TryHide to
explicitly open the input pane out of context from an actual control. You can catch the input in the CoreWindow.CharacterReceived event.
(on either) use a Xaml TextBox on top of your DirectX surface via Xaml DirectX Interop. This
has the advantage of being easy as the Xaml controls already
implement the accessibility and IME interfaces needed for full text
support. It has the disadvantage of being external to the DX scene so
it can require some care to place it nicely.
I generally try to do
the full interactive form in Xaml rather than trying to merge a
single TextBox into a scene. Putting the controls in a Xaml popup like you mention should work nicely.
The hard way:
Implement your own fully functional control by providing the UI Automation text patterns and Text Service Framework (TSF) interfaces. Internally this is what the Xaml text controls do so that they appear to the system as text. When the user sets the focus to a text control (that supports the text patterns) the keyboard will automatically open.

PhotoChooserTask built in crop option for windows phone 8.1

In Windows Phone 8 I was using PhotoChooserTask to get images from phone gallery and when I fixed Pixel width and height automatically windows phone start a page for cropping the selected image. Can someone tell me how to enable this option with FileOpenPicker?
Unfortunately the Windows phone 8.1 SDK does not have this operation, and I swear I tried look for it in every where, and the people of MDSN tell me it is impossible.... But you can try two options:
First: In the workflow of FileOpenPicker the user has two options take a image file already exists or take a new picture like the follow pic:
So in this case you do nothing and talk to UX area that is impossible to do =) .
Second: You can create a module(separated project) in the same Project Solution which uses the Windows Phone 8.0 SDK (instead 8.1). Do what you need to get the job done using the PhotoChooserTask... After in the main project add a reference to it and be happy.
Some big projects are using this solution because the 8.1 SDK removed a lot of features of 8.0 SDK and did some things hard to do.
One project you should take a look in the source code is https://telegram.org/apps
I hope it helps.
Good Luck!

How to set text on the secondary tile in Windows Phone 8.1 Universal App

I want to show a text across the middle of the secondary live tile (not the small text at the bottom). I am struggling to find any documenttion of how to do it. I know it was possible in WP 8, but I wonder if this functionality is still available?! I also want to it from code not from XAML.
Are you familiar with the tile template catalog for Windows Runtime apps?
http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx

Inconsistent default button behavior in WP8.1 Universal versus Silverlight 8.1 / Windows 8.1 / earlier

Why is the default button visual behavior on click different in Windows Phone 8.1 "universal" apps? Is there some way to restore it to the behavior consistent with all other versions of Windows Phone/Windows 8 or do I need to create a new custom control?
Windows Phone 7/8/8.1 Silverlight/Windows 8.1: Button background flashes a complementary color based on theme, button stays fixed.
Windows Phone 8.1 "universal": Button background doesn't change color, tilt effect is applied to the button displacing it based on where the user has touched it.
I'm a beginner developer with some experience in developing WP7/WP8 apps, trying to make my first universal app for WP8.1/Windows 8.1. I verified this behavior in VS2013 Update 2 RC with a new Windows Store App, new WP8.1 Silverlight app, new WP8.1 universal app and one of my existing WP8 apps by just creating a new button object in xaml. Appreciate any help!
In my own test, the button does change color to the PhoneAccentBrush resource.
But if you want to remove the tilt effect, you should just edit the style of the button. Since you claim to be a beginner, I'll explain how to easily change the style using VS2013. Maybe you don't know this yet.
Right-click your Button in the designer, goto Edit Template... on the menu, then select Edit a Copy...
This will generate the standard button style in your xaml which you can edit. FYI, this will change your document outline to the button style outline. (See Document Outline window in VS2013.) To go back to the page outline, click the up arrow icon at the top of the outline.
Anyways, find the < VisualState x:Name="Pressed"/ > line and then comment out the PointerDownThemeAnimation line.
Done!