How customize GCKUICastInstructionsViewController from Google chromecast SDK? - chromecast

I need just to move button, make is transparent, make text capitalized.
Is it possible to achive this with UIApperance protocol or need to create its own controller?

Related

Custom validation in google forms using Google script on focus out the field

Is this possible to check to validate a text field on focus out in google forms? Need to check for the unique value and notify the user about an error.
Google forms allow only onload and onsubmit events, so seems no way to check on change, on blur or something like that. "Built-in" capability is quite good, but doesn't cover this situation.

How advanced can I make the controller?

Specifically is it possible to draw a line on your phone and pass that shape to the screen? Or can I only have buttons on the controller. Thanks!
Your controller is a (mobile) website. That means you can have everything a mobile website can also do such as buttons (touchevent), swipe/gestures functionality (touchmove etc, see e.g. hammer.js), use device motions, camera,...
So if you manage to draw lines on a mobile website, you can also use it for an AirConsole controller. Just keep in mind the latency: drawing lines in realtime on your phone and displaying it on the screen may have some delay.
Also sending messages on a touchmove event is a limitation.

Include an image into a "mailto" mail?

The title might not be clear - I'm creating an app in Unity and I want it to start the device's default mail client to create a new mail. I can easily do that with mailto. What I don't know how to do is include an image in the mail being composed. In any way: as an attachment, as a part of the mail body or whatever. But it's a local image, so I can't just put a link to it in the mail.
Is it even possible? If so, how?
I doubt if you can do it as the mailto page doesn't mention this as one of the parameters.
At best you can add body and subject.No attachments I suppose
See http://www.faqs.org/rfcs/rfc2368.html
However a hack you can try is in the body that you include
add <img src="your image src"> and hopefully the mail client will recognise this as html markup and render the image when the client opens up.
I haven't tried this though.

RPX/Janrain - using an image map instead of the widget

I would like to use an image map for my Rpx/Janrain basic account instead of the widget they provide. I have tried looking through the javascript file, but it is minified so useless to me.
I just want the "login buttons" to be displayed in my header image with an area map and depending on the image area clicked launch in to the login for that service.
Thanks!
A bit late to the game but I will answer this for posterity. Unfortunately this isn't possible with the Basic app. Pro level and up allows you to customize your method of login. You would set janrain.settings.custom = true; in the settings in the head and use the janrain.engage.signin.triggerFlow(provider) function in the image map areas to kick off the various identity provider sign in pages.
See http://developers.janrain.com/documentation/widgets/social-sign-in-widget/users-guide/coding-the-widget-appearance/ for examples.

How to post a Google Calendar in a web page without using <iframe>?

Google Calendar provides a way to insert your Google Calendar into a web page using an <iframe>. Is there a way to insert this data into a web page without having to use the <iframe>?
I know that there are ways to do this using the Google API, but is there any way that I can put that code directly into my page without the need to use the <iframe> or rewrite the entire source code and call the Google API?
Actually you can just make it an object and it will validate. For the Google calendar in particular, all you have to do is change "iframe" to "object" (don't for get to change the iframe break too), change "src" to "data", and remove the frameborder and scrolling tags and all is good. The only drawback is that objects are not supported in IE....
I'd say you'd get what you want with restylegc.
You can check the strategy the developer used and insert into your page.
It basically uses curl to get the entire webapp and rewrites links dynamically so that it's in the middle of some request.
This also allows you to restyle the calendar and add custom javascript.

Resources