Developing app for Amazon Fire TV Stick? - android

I want to develop application for the Amazon fire stick but I am not aware of it. I am unclear about some points
Can we create a standalone app that can run into the Amazon fire stick without need to Android phone or tablet?
If we can create the standalone app then can we call web-service to retrieve data from the server?
It would be great help if you can help me to clear with these questions.

Can we create a standalone app that can run into the Amazon fire stick without need to Android phone or tablet?
Yes. It is a first-class Android device on its own.
If we can create the standalone app then can we call web-service to retrieve data from the server?
If you hold the INTERNET permission and the device has suitable connectivity, then yes. This is no different than any other Android phone, tablet, TV, or toaster.

Related

App framework for linking HuggingFace transformers to, using a mobile device (Android)

I'm looking to create an app , using a mobile device (Android), that will accept my HuggingFace api to form a simple ChatBot. The question is simply: what would be the MOST EFFICIENT METHOD to create the base application?
In the past, i have used Termux to write/debug/compile the app on my android phone. However, this app needs to be put together as cleanly as possible, to allow for seamless upgrading, when I get around to embedding it into one of my websites.

Pass string from Android App to Wear Os App

I am an Android Developer. I need to develop an Wear Os app that can display the text from android app that i build. May i ask any Example because i cannot found any of the Bluetooth communication example on this and is it possible?
To sync data between a phone and a Wear OS watch, you don't use Bluetooth directly. The simplest way to do this is with Wear's Data API; step-by-step documentation is here: https://developer.android.com/training/wearables/data-layer/accessing (and there's a link to an example on that page).

Making and monitoring phone call within phonegap

I'm considering building a PhoneGap app that would work with my web app via web socket. It would receive the instruction to dial a phone number, run in the background while the phone call is in progress, detect when the phone call picks up and when the call hangs up, and then resume so that the call information is sent back via ajax.
Can this be done in PhoneGap? Can this be approved for iOS?
Note: this is a feasibility question, not a give-me-code question.
For using any native functionality like location, call etc; developers have to create plugins. For iOS 10 and upcoming versions, apple has introduced callkit framework which allows you to programmatic access to VoIP functionality, as well as call blocking and identification. Prior to iOS 10, I have used twilio API which does the same things as mentioned in your question.
Yes, it is possible in phonegap using the custom plugins.
Yes, the application will be approved for iOS.
Can this be done in PhoneGap?
No, you'd have to develop a plugin for each platform.
Can this be approved for iOS?
All samples I found to similar problems use deprecated APIs, so probably not.
I am not an ios developer, which is why I am not sure. More information here Detecting the call events in ios
I know that this is possible on Android, see How to detect incoming calls, in an Android device?
It is not possible on Windows phone, see Is there any way to monitor phone call info on Windows Phone 7?

Integrating Android Wear

If I want to integrate Android Wear into my app, do I need to rewrite the whole app for the Wear Device or can the App on the wear device use the SharedPrefs, functions and so on from the "normal" Device?
Is there a good tutorial for that?
You should consider app for Android Wear device as a separate app (it's inside separate apk bundled in parent apk i.e actual Android app) that communicates with your master Android app on the device. It's run directly on the wearable device and does not have direct access to things like SharedPreferences. Of course you can implement such access using Data Layer API.
I'd recommend you to start from Android Wear official developer guide: https://developer.android.com/training/building-wearables.html

How to store data accessible to both a web site and android application?

I’m developing an Android and web application that will function as a service (use the same data).
My question is how should the data be stored to allow for both the web and the android application to have access to the same set of data?
Should the android application connect to the sites MySQL server to store/access data?
If so how do I allow someone to access the data when they are not in a service area?
It sounds like you need to provide a REST or SOAP interface to the data on your webserver so that the Android app can get at it. As for providing access when not in a service area you would need to cache the data, or provide some sort of full data sync capabilities, to keep a working copy of the data on the Android device. I would recommend against letting Android devices connect directly to an external database, if that's even possible.
Do you have a fully functional web app that you are just copying as an Android app? If so I would suggest that you consider just letting Android users view your site via the web browser. Perhaps provide a more mobile friendly version of the CSS. This will get you Android, iPhone, Blackbeery and Windows Mobile support. If you need that webapp to be accessible when devices are not in a service area you could look into Google Gears or HTML5 client side database support. That would make your webapp accessible on Android devices that aren't in a service area (not sure about Gears or HTML5 support on other mobile devices), and it would also provide that functionality on notebooks/netbooks and other portable devices that might go in and out of service areas.

Categories

Resources