Set app as default launcher Programmatically - android-tv

we have an app that is used by providers for TV. We do not have Operator tier yet since there requirements are really high..
The issue we have is we use a commercial Android Tv box provider and they have a similar panel(like tier) for us to manage the device like remote buttons..
In order to facilitate the user experience we need to enable the app as a laucher for Home button to load our application.
But to get to that, we need to enable developer mode and then debug... A big process for common users to manage if they factory reset there boxes..
Also we do not want that dialog to show all the time that asks if we want this application to be set as default laucher..
Is there a way with android 10 and up to have our app as a default laucher?Without playing arround with ADB and developer settings?
Thx!

Related

Xamarin forms Maps from intent

How to receive Location from native Maps app into my Xamarin forms application. and when my application is opened it should open Xamarin.Forms.Maps on the specific location.
Suppose the user of my app received the location from client on whats app. He/She will open the location in Native app and from there when he chooses share, my app should appear in the list. When he/She chooses my app the the map should open and add a pin on that specific location.
If you mean receiving data from other apps to your app, you can use Share Extension to achieve that.
iOS: Understand Share Extensions
Android: Receiving simple data from other apps
Generally, when sharing data between map apps, we will open a map app manually.
According to the current technical solution, there are two main ways to open another application.
One is to integrate the SDK that needs to open the application.
Another is using the URL Scheme.
Both of them can not be detected automatically and then open the another appilcation. Every third party Map apps all expose their url scheme or SDK to developers. It seems like our app can detect the other map apps automaticall. Actually the developers has defined the supported other map apps. However, we can detect the defined map apps whether installed in device. If installed, the shared menu will show it, else not.
About URL Scheme, iOS and Android has their ways to achieve that.More info can refer to each of their official document.
iOS: Defining a Custom URL Scheme for Your App
Android: Interacting with Other Apps

Apple account for customizing maximo anywhere applications

I am using Maximo anywhere 7.6.3 and wanted to know if we need an apple account to customize (i.e add new fields) to existing application. The customization guide of 7.6.2 says it is needed for building iphone applications, but then not sure if it is required for the latest version. The modifications that i made in dev. work as expected though.
in order to compile to IOS, you don't need a developer account, just XCODE and a MAC. In order to distribute the app via the app store, you would need a developer account.
IBM publishes out of the box Anywhere applications to both the Google Play and Apple app stores, so you can point them at your Anywhere server and deploy a lot of changes that way without the need for an Apple account.
If you want to make changes to the iOS apps like custom app icons, custom app names or baking in the server url and then distribute the app either publicly or within your organisation, then you will need an Apple developer/enterprise account.

Firebase dynamic links in UWP

So Firebase has these Dynamic links, which if you click in your Android / iPhone you get redirected to your app instead of the website. So when you want to invite your friends to join you in the app (game, group chat or whatever) you just share this link with them.
I was wondering if this was achievable with UWP. I watched a video about project Rome where they talk about AppUriHandlers which seem to do the job. HOWEVER they require you to have a json file at your web server root which would identify your app, saying "yea, this app is allowed and me are associated, open this app when someone launches this link".
The problem with that is that the Firebase dynamic link points to a google endpoint, e.g. https://aaxy2.app.goo.gl/?link=redirect_here and naturely there is going to be no json file just sitting there.
Is there some other way how to have users redirected to my app just via a link (it needs to be an http link because that's what the Android and iOS versions of the app will be using).
It's not going to be possible; for this exact reason. To ensure that web links aren't hijacked by third parties (for potentially malicious reasons), only the owner of a domain (or more accurately: the person/people with access to the storage where the domains points) can "approve" an app.
Update:
After actually doing my job and properly reading your question, I can give you a correct answer; sorry :/
Linking to UWP apps will work similarly to how it's described for iOS apps in the first section here:
You can do the iOS 8 way and support a uri scheme as described in the Windows docs here.
With the Anniversary Update you can also support AppUriHandlers by directing your users to a web link that will launch your app instead (as described in the Dynamic Links docs for iOS 9).
It looks like, however, that you need to register an iOS or Android app to get going, so that might give you some trouble.

MeteorJS app architecture guideline required

I am building a marketplace Meteor app but I am confused about the app architecture. I want to build front end user interface for marketplace, Customer dashboard, Vendor dashboard, admin user interface and meteor mobile apps for customers and vendors. I know Meteor bundle everything in client folder and send it to the client. My question is do I need to use same hosted Mongodb database and create separate Meteor apps for
App 1 Marketplace user interface and Customer dashboard.
APP 2 Vendor dashboard.
APP 3 Admin user interface
App 4 Meteor Mobile App for Customers
APP 5 Meteor Mobile App for Vendors
OR
Create a single Meteor App for everyone. but in that case app size will increase.
OR
Create separate Meteor apps and connect all other apps to APP 1 (Marketplace App) through DDP to share publications and methods.
Please help me decide best architecture.
Option 1:
I've done so using a single MongoDb instance. I currently have four apps connected to it. It works really well.
Make sure you use the oplog for instant updates across all the apps.
Some of the security benefits of this approach were unexpectedly nice. For example, allow and deny rules being created with only one type of user in mind for each app. If someone has access to admin.yoursite.com for example, the permissions allow all sort of things for admins, but for the client facing app, the permissions can be locked down to only allow editing of the few things that are required.
You can get pretty far with this approach, I recommend it.
Option 2:
I wouldn't recommend making a large app that does everything.
Option 3:
Not to say there is no benefit to that sort of approach, but "APP1" in this case should probably be some sort of event log, which each app can subscribe to the events of and write events to, and update their own databases. This is the most complex (and expensive) solution, and I wouldn't recommend it until you are trying to scale really large. If you are interested in this type of approach I recommend looking into Event Sourcing/CQRS.

iPhone Phonegap based app load External website made of componentone

My Client wants a native iPhone App that displays their mobile site optimized for iPhone developed using asp.net and ComponentOnes Studio for iPhone. i was planning to use a PhoneGap app which calls an external URL using JavaScript and do it after showing the splash screen. but according to phoneGap FAQ its most likely to apple to reject an app that loads external URL ? just need somebody to clear me on the whole process. isnt it possible to create an app like that ? i've seen various iPhone apps that do this (eg: cydia).
else what care should i take if i'm to develop such an application.
I think you have answered your own question, while it is completly possible to create such an app with Phonegap, Apple isn't going to approve an app that doesn't have functionality when running unconnected (though how much functionality with Apple is never clear). In fact, there have been at least one report on the Phonegap google groups list of app's being rejected because it was just a "web clip", meaning that the app could have just been done as a website, apparently you have to add some functionality, my guess being services exposed by Phonegap, that you wouldn't be able to do on just a website..
And it is more to the point that the app that you chose to use as an example of a "web app", is only available on jailbroken phones.

Resources