Android TV Development questions [closed] - android

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm new to Android TV development. I'm looking to build my own TV interface that will allow me to create my own home screen with the apps I choose from the App Store, my own settings screen, ect. I don't want the user to be able to get out of my custom app and the main OS. I basically want to create my own flavor of the OS. Is this possible to do as an app that runs at startup and takes over the device, or would I be looking at creating my own version of the OS? And is it possible to create my own version of the OS and use apps from the Google Play store? Thanks

I don't think this is possible. In Google's documentation you can find information about all the things that you can do and as you will see, you are not given such wide freedom as the one you are seeking.
You can however, change through your app the content of the home screen but not the layout. Meaning that you can, for example, add a new recommendation on the home screen as described here. But, this is as far as you can get.
Edit: If you just want to run your app in kiosk mode on an Android TV device, you can do so, the same way you do it on phones or tablets. For example, scalefusion supports android TVs, but you should google to find more options and compare them in detail.

Related

Enable screen casting feature of Android from our application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am working on casting application. I am able to cast local videos from my app on TV using chromecast device.
Now I want to cast(mirror) complete android phone on the TV. I know Android provides this as a default feature by using Cast feature in quick Settings where user has to explicitly connect to a Chrome Cast device available.
How can I do the same from my application? I have tried using MediaProjection API to capture screen and save it.
Can anybody show me direction how to do that?
If you mean turning on mirroring programmatically from your app to mirror your phone, you cannot do that. If you want to limit that to your own app, then the closest thing would be to use the RemoteDisplay apis. Using those APIs, you can create a view in your own app and project that on your Cast device, see this tutorial.
The Google Cast SDK lets you extend your Android, Chrome or iOS app to control a TV or sound system. It supports many media formats, protocols and codecs to ease integration. Use Google's Official Cast SDK
and Sample can be found here.

Can I build my app into the standard Android camera application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new in mobile app dev. And I want to build my app in standard camera. It will be like helper guide lines on camera to make better photos. But I don't want to build separate app, instead I want make it in standard cam like add on. So, because I am new in that sphere, I don't know is it possible to do, and which API or tools I should use. Can you help me with that?
In the way you want to achieve this based on description above : no, you can't.
Only way to do something like this is build own app (with own app icon in launcher) and try open camera from your app by Intent, but before that show tutorial within your app. But it seems to be not nice idea for tutorial purpose.
You cannot add more features in the application provided by different vendors. Each vendor(like Samsung, HTC) has its own application of Camera which is protected. If you want to do that then you will need to have permission of a vendor or become a vendor in the process. That entails to building your own OS or custom OS (Android Source Code is Open Source).
Next best thing you could do is provide a helper application that gives tips and tricks and anything informative for guidelines. Then user can learn from your app which is available for download through Google Play.
It is worth noting that almost every device hardware is different. Some features are device specific. Therefore quality and settings will also differ.

Locking Down ("Kiosk Mode") Android Devices [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How would you go about locking down an Android device while meeting the following requirements:
Access to Wifi networks
Access to a single company's App
Ability to download/update to newer versions of the company's App
Access to Bluetooth Printers
Obviously, this is a pretty general question, but I was hoping for some guidance. Are there any existing solutions to this problem? I am aware of apps like SecureLock and Device Lock, but do either of these allow application updating for JUST our application?
What about if we preconfigured the device to only have our application and nothing else, deleting all other applications?
Again, just looking for some direction/suggestions here.
Note: I am aware that essentially anything can be accomplished by releasing a custom version of Android, but implementation effort is a factor in which solution we will decide on.
I believe most of this can be achieved by building a "launcher" app and making it full screen (cover the status bar). Check out the API Demo Home.
Access to Wifi networks
You can use WifiManager to handle listing/connecting/etc.
Access to a single company's App
Creating the main app as a launcher gives you the ability to control what other apps may be installed/uninstalled/launched/etc.
Ability to download/update to newer versions of the company's App
This can easily be done by simply downloading the updated .apk (with a larger version code) and opening the file via Intent to install.
Access to Bluetooth Printers
I don't know much about this, but if it can be done in a normal app, the launcher method covers it.

Is it possible to use a device to run one application exclusively? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have developed an app which is destined for tablets in hospitals for patients use.
Right now I am being asked to make the tablet's only functionality be my app to prevent personel or any person from using it for web browsing, gaming or anything else.
Is this possible?
There are products on the market that offer 'kiosk mode' style device lock down whereby you can restrict applications.
Surelock
SuperLockLite
Also see this Stackoverflow post for similar discussion.
Kiosk mode in Android
This is the best solution to kiosk mode I've found so far
http://thebitplague.wordpress.com/2013/04/05/kiosk-mode-on-the-nexus-7/
android is a linux OS and you can create users with specific permission,
i never did this but I've seen it: http://l4android.org/
I hope might help
You can create your own custom android version, in order to prevent users to use the back button or to acceas settings, for instance. You have to take care of restarting your app if it crashes. You can ovverride the home launcher in order to be your app the only launchable. You want to take same sort of "back door" just in case you want to grant super user access

How to lock down Android tablet to only allow one app to run [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am looking at locking down several Android Tablets (Samsung Galaxy tab) to allow the user to unlock the device and be sent straight into one application and not allowed to leave. I was wondering if this is possible without creating a custom ROM and if so how? Any help is greatly appreciated
You might try creating a custom launcher and see how far that gets you. I don't think it will be bulletproof but by adding some hacks like having it auto-launch a specific app, it's probably about as far as you can get without a custom ROM. See here for the code of the stock Android launcher:
https://android.googlesource.com/platform/packages/apps/Launcher/+/master/src/com/android/launcher/Launcher.java
You could create an app that is more or less "non-exitable" by overriding the hardware buttons' default behaviour in your application.
Although if your app crashes and doesn't automatically restart after a crash, the user has full access to the rest of the system.

Categories

Resources