Use of Constraint Layout for developing TV android Apps - android-linearlayout

I want to know why android developer documentation is recommending to use view groups such as Relative Layout or Linear Layout to arrange views for developing TV Android Apps and not the current standard i.e. Constraint Layout.
Is there any specific reason for it? I need some thoughts on that.

Related

Allow users to create simple fractions and mixed numbers in a nativescript mobile app

I would like users of my Nativescript Angular 2 mobile app to be able to input fractions and mixed numbers and some other math symbols like exponents into a form. Using the standard keyboard in Android and IOS devices this does not appear to be possible. Is there some way that I can enable users to enter fractions in a form on the mobile.
Thanks
There are several keyboard types which are accessible through NativeScript with KeyboardType. Documentation article about using different keyboards here
However, if you need even further extended keypad then you can create your own using native code. Some basics shown here

Creating a social app with games with Xamarin.Forms

I know that there are some games created with MonoGame out there. I wonder if its possible to create a Xamarin.Forms app which has some games in it. More specifically, is it possible to start an OpenGL game when the user taps a Xamarin.Forms button for example? This is possible in native iOS games so it should be possible in Xamarin but I couldn't find any info about it.
I don't know why this question is downvoted.
In Xamarin.Forms you can use OpenGLView which you can use as any other Forms view (https://developer.xamarin.com/api/type/Xamarin.Forms.OpenGLView/). Please note that it only works on iOS and Android.
Mixing Forms and Native (https://github.com/xamarin/xamarin-forms-samples/tree/master/Forms2Native). With this approach you can have native games.

Is there an orthodox way to develop Android TV apps

I have a few problems with understanding of android tv development. First of all when i had launched android tv project and was trying to create custom interface for new activity, unfortunately i couldn't find any xml elements which could help me. From the example i got some ideas that whole interface provided by android SDK collected in many fragments. I just can modify colors, fonts, fonts size, transparency maybe animation and etc. But if i really need to customize structure of controls and WTF i wanna output "Hello World" inside label!!! Is it possible? I read all articles from this link https://developer.android.com/training/tv/index.html but it is still useless for me (maybe I am unique :) ). After this suffering with google guide, i have done a conclusion that the platform so new and there is no way to do some thing except only way that was provided by google. Am i right? If not, what should i do to find successful way?
The fragments provided by Google as part of the "leanback" framework are templates designed to make it easy for content providers to start publishing to Android TV without having to worry about the technical details of building a TV UI. The idea is that a content provider can create a channel just by feeding in their video content. This ease of use comes at a cost, customization is difficult or impossible with these templates.
However there is nothing preventing you from creating your own Activities and Fragments from scratch and implementing a completely custom UI for the TV, it works just like any other Android device. Add "android.intent.category.LEANBACK_LAUNCHER" to your manifest and see for yourself.

Printing in Flex Mobile Applications (Flash builder 4.7)

I was hoping to find an easy way to print PDFs that display from my flex developed mobile iphone app.
Doesn't look like Adobe has made this available on Air.
At this point, is there any way to print anything from a flex mobile app? Print screen or print bitmap?
Thanks!
Yes and no. It is not available through the AIR SDK in any shape or form on mobile (as of 3.7, anyway).
However, you can create an AIR Native Extension (a code base written in Objective-C or Java, depending on platform that connects through an AS3 library) that can do this. On my last project, we tasked one of our iOS devs to create an extension that allowed for the native "Open In" and "Sharing" menus to display and interact with data in an AIR app. Along with that share menu came the option to Print, depending on content. It worked great and did exactly as we had hoped. I am sure you could build one that only did this with the print menu and did not do the full Share menu if needed.
I will warn you, however, that native extensions are not easy to create by any means. It involves knowing a separate language, using poorly documented libraries from Adobe, and command line work. Additionally, an iOS ANE must be created on OS X in XCode. There is no way (that I know of, at least) to create it in Windows or Linux.

Create a desktop widget framework using asp.net

I like to create a desktop widget framework using asp.net. its like yahoo widget or google widget any one able to create a simple widget application and plug in to this framework.any one give me idea for this how to develop this framework?
For a kick off, you should take at the W3C Widgets specification - that provides the framework for how widgets are packaged and distributed (and means that you get to play with existing widgets from Opera, Nokia, RIM etc rather than have to invent them all from scratch).

Resources