Set supported orientation for Windows Phone 8 project - windows-phone-8

I have a WP8 project originated from template "DirectX App (Windows Phone 8.0)". How do I set supported orientation (I want to make it landscape-only)? I have found file named "WMAppManifest.xml" in project folder, but it has no "orientation" option.

for performance reasons, the option of automatic rotation is not available on Windows Phone 8, so we’re stuck with having to manually take care of everything: rotating stuff before we draw them, and processing input values to fit them to the new orientation. There are several things that we need to do in order to support other orientations besides the default Portrait one.
You can find more Reference here Handling Orientation in a Windows Phone 8 game

Related

BUG - rotation of Default image on iOS with AIR SDK 16.0.0.250

I just switched to AIR SDK 16.0.0.250. Everything was fine except one very strange problem with Default images on iOS devices.
My app runs in landscape mode. In my app I have default images that are shown during application loading phase.
When app start, first I see Default image properly, that for a very short period of time I see Default image rotated 90 degree and scaled to fill the screen and then it disappears and application is get loaded.
Here is a video that illustrates the problem: http://youtu.be/Ry1l1v7dQss
That is very strange, so I want to know if anybody else knows how to handle this issue and what could the source of it?
Some info that might help:
Application descriptor:
<initialWindow>
<content>SWF file name is set automatically at compile time</content>
<visible>true</visible>
<aspectRatio>landscape</aspectRatio>
<autoOrients>true</autoOrients>
<fullScreen>true</fullScreen>
<renderMode>direct</renderMode>
<softKeyboardBehavior>none</softKeyboardBehavior>
</initialWindow>
List of default images:
Default.png
Default#2x.png
Default-568h#2x.png
Default-Landscape.png
Default-LandscapeLeft#2x.png
p.s.: One of my thoughts was that app somehow uses not one, but few images during loading phase so I did remove all but Default-LandscapeLeft#2x.png and tested on iPad - no positive results.
So, for me it seems like a bug in AIR SDK 16.0.0.250
Try only including the Default-Landscape.png.

No rotations after programmatically setting rootViewController in iOS 8

After programmatically setting self.window.rootViewController in my controller, none of the orientation change callbacks (old or new) are called for the rest of the time the app is running under iOS 8. Is there a different way you are supposed to do that in iOS 8? or is this a bug and if so does anyone have a workaround?

Google Khmer font shows only the square boxes

I try to create a WebApp with Phonegap.
When I write Khmer (កើត​អាប់​ស) it works in Firefox and Chrome. But when I create the App (apk) my Smartphone only shows square boxes. But why?
I use this special font from Google
https://www.google.com/fonts/specimen/Khmer
Any ideas to fix this problem?
Details are available here which outline how to resolve the issue:
http://osify.com/2012/02/install-khmer-font-on-galaxy-s2-without-rooting-system/
To apply for Android 2.3.x:
Enable “unknown sources” installation (via Setting->Application)
Install Khmer.apk
Change font style
Settings > Display > Screen display > Font style
Choose Khmer
Restart the phone
Testing: Go to this website page: http://khnews.info/testing.html
To write Khmer, download Khmer keyboard from Android Market: Phum Keyboard or MultiLing Keyboard
9) To enable input keyboard:
Settings > Languages and keyboard > Select input method
Choose: Phum Keyboard (in my case)
After you should be able to see everything in Khmer even though the rendering is not fine, you can type Khmer Unicode as well.
Further details: http://adkhmer.com/index.php?option=com_content&view=article&id=19:install-khmer-unicode-for-android-without-root&catid=6:android&Itemid=18
FlipFont is a great technology from Monotype Imaging and it is using
in android phone of Samsung. The technology allows creating
application for adding more fonts into android phone beside the fonts
were shipped in system of the phone already.
Unfortunately, from Android 4.0 (ICS) and earlier version, FlipFont
doesn't work with web browser, but it still find some more useful for
Khmer, especially in Galaxy Note II with Android 4.1.1 (Jelly Bean)
for browsing song title, video name in Khmer in youtube and chat with
friend via facebook messenger.
I would like to note that it works with facebook messenger found on
Play Store only, it doens't work with facebook application yet. For
facebook application on Google Play Store, we also can chat in Khmer,
but we can’t read the feed post on the wall yet.
In Android 4.1.1, Khmer rendering work perfectly in all part of
Android OS, but there are not font in system yet. So if you install
Khmer.apk in Galaxy Note II, you can read and write Khmer in many
applications without root the device.
Otherwise, if I were coding a webpage and trying to get the font to display on someone's phone .. If modiX is correct I would use FontForge or any other font editor to import the glyphs from the original font into a new font file and reassign the glyphs to a unicode range within the limits of Android's range.
It seems Android does not support those UTF8 ranges, however you could root the device to get the necessary character set on the device.
I found an app that claims to do the same without root: https://play.google.com/store/apps/details?id=com.blogspot.androidsanctum.kui
There are also direct APK installers on the web.

Casting without dongle and multi device "screen sharing"

Since the Chromecast dongle is using a lightweight version of chrome and able to display (cast;-) content from the cloud, would it not make sense that the fuller version of chrome (on windows, Android, and other platforms) would also be able to be a display device?
In other words, it would allow to cast from a smart phone to a tablet, laptop, or anything that runs Chrome. Simply have these devices added to the list of castable mediums...
Additionally, it looks like a simple and great way to make the technology also support multiple screen sharing...
I suspect you are confusing chrome the web browser (https://en.wikipedia.org/wiki/Google_Chrome) with chrome the operating system (http://en.wikipedia.org/wiki/Chrome_OS).
Chromecast as currently available is only good for accepting comands from compatible software (chrome the browser, the youtube app on android or ios etc) at which point it then streams the requested data from the internet, not from your phone/tablet/computer.
Your idea is not supported, which is stunning as Android has had built in support for screen mirroring via miracast since v4.2.
There's also no mention of direct content streaming, for instance via DLNA, an open protocol designed for EXACTLY THAT.
In fact, a better approach here would have been to make the chromecast dongle a DLNA device and then implement support for it on the google play music and youtube ends.
https://developers.google.com/cast/devprev - don't notice that ability off-hand... it mentions having to email mac addresses and websites and things to 'whitelist' for development, if you could just use your browser I wouldn't guess the dev proccess would be so convoluted.

Can a HTML5 web application access the camera on a Windows 7 tablet

I have a HTML/Javascript web application which integrates with a device's camera using PhoneGap.
Is there any way we can run the application on a Windows 7 tablet (e.g. as a normal website) and be able to integrate with the camera on the device.
You will be, eventually, when the getUserMedia API is implemented in more browsers (currently only available in Opera and special builds of other browsers), but at the moment, no.
I don't believe there is a way to do this.
We enabled photos to be dragged into the application to support this feature. It means the user takes a photo as dictated by the tablet and then has to drag/select the appropriate photo file to add to the application.