Screen Mirror with remote display app for samsung TV - android

I want to develop an app on android that uses screen mirroring with Samsung TV. I'm looking to use my android app screen as a remote(say a game controller) & TV screen to run the actual game. My initial approach was learning google cast but it needs a chromecast dongle which I don't want to use for this project. I want to use Samsung Smart TV's Screen Mirroring feature to do so. After some googling, I figured out that samsung uses Allshare Framework API for screen mirroring/cast but I'm not completely sure on this. I'm currently struggling to find a proper documentation for screen mirroring. If someone can point to the correct documentation link then that'd be awesome. Also, please correct me if I'm wrong with the assumption that this can be achieved using Allshare API only.

It seems Samsung have came out with this new SDK - Samsung Multiscreen SDK( or maybe I've found it now :)). This link should cover most of the questions I've asked above. Also, if you are Unity user, Samsung has their own version of Unity which comes intalled with Samsung Multiscreen Game SDK. But you need to send a partnership request to samsung in order to use this version of Unity. Apart from these two, you can also use Connect SDK which is independent of any technology, i.e. it covers almost every other technology used for Cast. For exmple, if you have a Samsung Smart TV at your home & a Roku connection. With Samsung SDK you can only discover Smart TV but not Roku stick. Whereas, with Connect SDK you can discover Samsung Tv as well as Roku & any other Cast device which is available in your network.

Related

Mobile Device Managed Single App Devices

I like to have single android app in our managed devices, we want only that app to be used on the device with necessary restriction, such that,
Single use - Device will have only one app, user can't use other apps, like browsing, youtube or anything,
the initial setting like notification sound, GPS always on, notification and ring sound maximum level can't be modified.
user can not power off the device.
this setting can only be changed by our servers.
i think i have 2 option,
1) Using samsung knox sdk on samsung devices,
Here's MDM proving feature of Samsung Knox Standard!
2) General Android way, Set up Single-Purpose Devices, COSU solution
Android Developer's site.
Wanted to know your's view on this, may be if you guys have done any of the two or any other ways, i could use some of the guidelines or a path.
Thanks for reading, and please comment if i was unable to articulate the subject or it needs editing.
You can use Google's new Android Management API, it seems to suit your needs.
It is a new cloud API that allows to manage Android devices from a server, without having to build an on-device agent (a device policy controller).
I have broad experience of using Samsung Kiosk Mode from Knox Standard SDK which is free and Pro-Kiosk mode from Knox Customization SDK (which has more functions but is not free).
So I can tell you for sure that all 4 points that you have mentioned can be achieved by using Knox Standard SDK.
Singe Purpose: https://seap.samsung.com/api-references/android-standard/reference/android/app/enterprise/kioskmode/KioskMode.html
LocationPolicy (you can turn on GPS and restrict changing): https://seap.samsung.com/api-references/android-standard/reference/android/app/enterprise/LocationPolicy.html
Yes. It is possible but I forgot the exact implementation.
Yes, as well.
Only downside of using this SDK is:
You are tied to Samsung (which I personally okay with, since Samsung has such market penetration and you could get service almost anywhere in the world and in enterprise world it is critical)
About Android native functionality: never tried it
Update March 7, 2019: Now I am playing around Device Owner, we use it for Kiosk mode, works well and works on android Device with Nougat and earlier.

Is it possible to flash or install stock Android on a smart watch?

I am looking to install stock Android (Lollipop/Marshmallow etc.) on my LG Watch Urbane. I cannot find any help on this since everywhere I search, I only get information about Android Wear.
I do not want Android Wear but a full, regular version of Android running on the watch. My main reason for doing this is to be able to eventually write my own personal custom Android ROM for the watch, but in order to start I want to see how regular Android will run on the watch.
I found that a CyanogenMod could be run on Samsung Galaxy Gear as demonstrated by this video: https://www.youtube.com/watch?v=rb0R_JeI6gg
Is there is strict specific hardware requirement to port Android (or even CM, misc. ROMs) on a smart watch? By this I mean, can I take any off the shelf smart watch and port Android to it? What steps do I need to take (like rooting, unlocking a bootloader etc.?)

Which device is perfectly suitable for checking android apps at development?

I want to check my developing application in android device. But i have (VideoView force close on Micromax Canvas magnus, java.lang.StringIndexOutOfBoundsException while playing video in videoView : Android v 4.2.1) these question which are told some problems are present using Micromax mobiles at development on android apps. So i confused to buy mobile for testing? Please provide the solution...
A Nexus device won't have any vendor-specific issues as you seem to have found. But just because it works on a Nexus, doesn't mean it will work on everything. So, there really is no perfect single device for testing.

Is Samsung S Health an exclusive Samsung API or is it using Google Fit?

In the Samsung Galaxy S6 there is a S Health app that measures heart rate, SpO2, stress and other values. It looks like I can purchase additional apps for this. Is this S Health exclusive to Samsung? When I search online Google Fit API shows up. I'm starting from scratch on my knowledge of this subject.
Background:
I want to make an app that accesses the API's above but I'm not sure if it's an Android API, Samsung API open to developers or a closed Samsung API. How does it all fit together?
S Health is now available on a variety of Android devices and is no longer exclusive to Samsung devices.
To make an app that interacts with S Health, you will need an Android development environment and the Samsung Health SDK. This can be found at: http://developer.samsung.com/health
The SDK download also includes a programming guide that can get you started. There are also sample apps that interact with S Health here: http://developer.samsung.com/sample-app/list.do

Emulate a 'Chromecast' or allow receiver capability

I'm posting my question here because I can't find any suitable answer to it.
I have an Android device that acts as a 'Google TV Board/Box' (linked to TV, network connection, Android OS, ...)
And I have multiple Android devices (smartphones and tablets).
I would like to be able to use the Chromecast application to cast the screen of a tablet (for example) to the 'Google TV board/box'.
I don't want to use an external Chromecast device as I have all the power needed directly from the board/box.
I heard about the Cheapcast application which emulate a chromecast device but I tested it and since Google change its politics regarding security certificates, I'm not able to make it works.
So my question is :
Is there any way to emulate a chromecast on an Android device
OR
Is there any way to make this possible wihtout emulating on an Android OS ? Maybe some king of API ?
Thank you for your time!
As you noticed, the official Cast SDKs on the sender sides validate that the Cast device they are talking to is a genuine device, hence you cannot emulate a Cast device if your sender is an using official Cast SDK.

Categories

Resources