Deep link for SonyLiv and Diseny + Hotstar Android apps using Intents - java

I am creating a recomendations app for android TV.
This will redirect users from my app to multiple streaming apps.
I have found most of the links but not able to find the APIs for "SonyLiv" and "Disney + Hotstar" application.
I am using "start activity intent" to launch the application.
How can I find the required API/URL links to these apps. These do not seem to have any documentation provided.
I tried to go through the Android Manifest file but did not get anything useful.

Related

Speech recognition and speech to text on Android without any Google services

I am trying to make an application which uses speech to text for command input. I am making this for Android 6.0.1 and 5.1.1. I started by trying the examples with Google services, but none of them seem to work on my devices. Most of the time there is no clear error or a crash. I have gotten the no network error while using wifi and mobile internet. For the record, I did try to use the Google app speech recognition directly, but this gave no error nor answer. After that I have tried other examples which seem to not use Google services. I would also prefer for the example to work offline, but this is more of a preference than a requirement. I am looking for an example for android speech recognition which does not use any of the google services.
Some of the examples that I have tried:
Did not work on a device without Google -
https://github.com/gotev/android-speech
I got a ERROR_INSUFFICIENT_PERMISSIONS error (RECORD_AUDIO and INTERNET were allowed) -
http://www.truiton.com/2014/06/android-speech-recognition-without-dialog-custom-activity/
My main question is if such thing is at all possible and if yes then how (an example please)?
edit 1:
Fixed the insufficient permissions error using the example from:
https://inducesmile.com/android/android-6-marshmallow-runtime-permissions-request-example/
Now I am getting ERROR_CLIENT error (I have no idea what it means).
edit 2:
the project
logcat output
Android devices ship with Google Mobile Services and some platform level functionality, such as an implementation of a RecognitionService which is used by SpeechRecognizer. The built-in service has support for offline functionality (and you can actually specify via option you prefer offline use). When not using offline support, it will need INTERNET permission.
However, your issue is most likely with the RECORD_AUDIO permission, particularly on Android 6+. Starting with Android 6 (Marshmallow, API 23) you have to use the runtime permissions model to gain access to any dangerous permission (which RECORD_AUDIO is.)

Shared storage on mobile devices

I am creating a music download app using codename one and java.i am trying to save the downloaded files in a location that can be accessed by other apps on the device. Basically, my questions are:
What is the best approach for this objective?
Where do I save the files so that the files can be accessed by other applications like the music player app?
Are there any tutorials or demos that can point me in the right direction?
In Android its called ContentProvider (Ex. Contacts App provides its contacts)
I think this will be helpful for iOS :
You can share data of your app using NSDefault :
Apple's documentation of that approach is (find "Sharing Data with Your Containing App")
https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html
or use this http://www.atomicbird.com/blog/sharing-with-app-extensions
http://www.enharmonichq.com/sharing-data-locally-between-ios-apps/

How to open the search-for-friends page on facebook from an android app?

I have two questions:
1) Is there a way to open the search-page on facebook app from my android application?
2) If there is a way, can I open the activity with extras and tell facebook what to search?
I tried to find in the internet an answer, but I came with no success.

Android missing option for geo uri

I'm developing an app using Ionic Framework. Within this app I have some geo uri encoded location links. In the upcoming Android-system option dialog where to choose an appropriate app to handle this intent it provides the following apps: Google Maps and Earth. As I have also OsmAnd installed it should also provide this as an option. Using 'geo:uri' intents from a native Android app does provide this option.
Does anyone has a clue why that happens and how to get this option?
Added
Within the ionic app I have this link:
Show
Angular is configured with:
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|geo):/);
This is what it looks like (my app using geo uri) and what it should look like (wiki entry with geo uri):

Can I link Skype with my Android App?

I want to add VoIP functionality to my application, without developing required VoIP/SIP libraries myself. Is it possible to "link" Skype to my application? Maybe via a button, which starts Skype?
Otherwise, are there any open source code projects for Android VoIP/SIP available (such as SipDroid?)
There is a VOIP open source project and it uses google voice as well, and there may be others, if you want to launch skype you will need to use an intent, maybe answered here as well Skype Intent and you may be able to google android skype and intent if none of that works

Categories

Resources