Floating widget application on LG webOS Smart TV - webos

I want to write an application in webOS as a widget that will be visible(floating) when other applications are running. Is this possible? I am unable to find any documentation related to this.

I'm not sure about it. I'm never see that behaviour in third party apps, only system apps are able to use 'overlay' feature in alerts and notifications dialogues according to WeOs developer site
http://webostv.developer.lge.com/design/webos-tv-system-ui/notifications/

Related

UI Automation for AppleTV system using XCode

Is UI automation available for the main menu of the Apple TV and not a specific application? I already setup the whole UI testing thing using XCode and tried using the remote control but it is only available for the application that was defined using XCUIApplication.
So is it possible to control the whole system rather than a specific application? I was thinking of something similar to pyatv but using XCode since I might be able to get more information concerning the current focused apps and so on.
There is an API XCUIApplication(bundleIdentifier: ) to interact with not-AUT apps. You need to substitute the right identifier for this Springboard-like interface. Maybe it is a Headboard, but I'm not sure.
Bundle identifiers of tvOS apps https://github.com/rzakhar/XCTApps/blob/master/Sources/XCTApps/tvOS.swift

How can Xamarin be used to wrap a web app as if it were a native app for Android?

Say I build a super mobile friendly web application that I want in the Play Store for Android users to be able to download.
Could I use Xamarin to:
Wrap the entire mobile app as a single WebView
Register for mobile push notifications
Essentially shortlining an MVP of an android app by using an existing web app? If so, is there any well-known process or documentation that demonstrates this?
Probably the best approach for you would be using Xamarin Forms with one or more pages containing only web views.
I don't love Xamarin Forms because usually for me Xamarin Android+iOS gives a better result in similar time, but your app would be so simple that doesn't make sense to do it with Xamarin Android.
Make sure that your web app will show only what makes sense to be shown in your app, otherwise you risk to see double header/footer, useless buttons... but if the website is yours adding a few parameters to change a bit the UI won't be a problem I guess.
Have a look at this example:
https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithWebview
Another approach is the use of Razor to build your pages in html directly inside your app, but if I understood well it's not what you need:
https://developer.xamarin.com/guides/cross-platform/advanced/razor_html_templates/
Although it is technically possible to do this as the previous answer has suggested. I would recommended firstly reviewing, the relevant stores guidelines on submissions. Apple for example will not allow a submission to their store of any application that simply mirrors the functionality of a website. I suspect Google's would likely be the same.
However that said, to answer your question, Xamarin.Forms would be appropriate for a simple application like the one you are suggesting. Or if you prefer to build to a specific OS, then in iOS with Xamarin you would use the Safari View Controller that was added in it's xcode 8.1 release. Android uses something similar as does windows.
EDIT:
You can use the Web View control in Xamarins Andorid native PCL project to encapsulate your mobile friendly website within an application here is the documentation:
Xamarin Android Developer link to Android Web View
As for push notifications, yes this is perfectly possible using Xamarin.Android. and varies on implementation depending on what you want to use as the back end to handle them, I.E. Azure's notification hub etc.

Is it possible to get an app to open up when entering a beacon region / within range of a beacon/ibeacon

I'm exploring the end user experience for a beacon prototype but I'm struggling to find any end-user scenarios that involve the app becoming active / opening up on the screen when within range.
I can get the app to send a notification and this is the most likely experience on both Android and iOS but does anyone know if it is possible to get the app to open up?
It's unlikely that I'd want real customers to have their experience interfered with in this way, I think it's ok if the app is already running and is open but not if it's running but not open.
Thanks
On Android this is possible. The reference app for the Android Beacon Library demonstrates how to do exactly this.
On iOS, it is not possible due to OS security restrictions. See here for details. The best you can do is send a local notification to the user when the beacon is detected, then if the user gestures to it, bring up the app.

How to create a desktop notifications for your web application?

I've tried searching and surprisingly I couldn't find anything on this. I have seen a few web apps that have desktop applications. For instance in gmail you can go into the settings and enable desktop notifications and get an alert even if you don't have the browser open at all. Also, there is an app called "slack" that I have been playing around with and I somehow got desktop notifications enabled. Also, google hangouts gives me notifications every once in a while. I don't know if this is a google chrome thing, or if it is a mac specific thing. Does anyone have any idea how these apps are posting these notifications?
Is it a browser specific thing? A platform specific thing? Did I download some type of desktop app that I have forgotten about that is enabling these apps to do this? Has anyone else created a desktop alert for their web app and how did you do it?
A similar question asked -
Chrome Desktop Notification.
From a front-end standpoint, there is EventSource for this, though you could also use websockets or polling (checking every few minutes/seconds).
Event Source and Server-Sent Events.

admob wp7 sdk dont work, alternative ad networks?

i use the admob wp7 sdk for displaying adds in my apps, but i dont see any, it looke like:
<google:BannerAd
xmlns:google="clr-namespace:Google.AdMob.Ads.WindowsPhone7.WPF;assembly=Google.AdMob.Ads.WindowsPhone7"
AdUnitID="MY_AD_UNIT_ID">
of course i insert my adUnitID, when i start my app i dont get anything to see, also when i enable test mode i cant see anything, what could be worng? on the homepage i see that i got requests because it counts up, but nothing to see.
other question:
are there any other add providers instead of smaato and adDuplex which provide a WP7 sdk?
As of today the Microsoft Ad SDK for WP7 can now be used in all territories where the marketplace is available.
Alternatively you could consider AdDuplex
I would recommend looking at the documentation and contacting admob support. Its a third party control so you would be lucky to find someone on here who can offer advice.

Resources