a kind of IFRAME for Android app - android-layout

Is there any kind of iframe for android.?
I have an Ad spot in the bottom and the ads need to be visible on each activity page.
I already make an Activity class for my ad. The ad can be in mp4 or png format.

Try using a WebView:
http://developer.android.com/reference/android/webkit/WebView.html

Related

Azure AD B2C Custom Policies: Change styling of social IDP buttons on sign in page

Is there anyway to change the styling of the social IDP buttons when using custom policies in Azure AD B2C? For reference here's what they look like when implemented via custom policy:
And here is an example when using the user flows:
Ideally I'd like my screenshot from the first image to look a bit more like the example in the second image. I understand how to change the text on the button but I'm more referring to the color and the icon. Have scoured the documentation but bit of a custom policy noob and can't find anything that covers this.
After a little tinkering I figured out the solution:
The styling of these IDP buttons is related to their 'TargetClaimsExchangeId' in the custom policy orchestration step. While this id can be set to anything you like, setting it to the relevant Id eg: "MicrosoftAccountExchange" or "GoogleExchange" will invoke the correct styling. This isn't really made clear anywhere on the documentation.
It's possible to customize styles of each element while using azure AD B2C custom policies.
It's explained nicely here on how to use custom html files and override styles in the Microsoft docs. Please read through the whole thing.
Refer to this GitHub repository with HTML files that you can deploy to your storage account or similar and you can start working.
If you are familiar with HTML and CSS, this should be a straightforward styling changes and using custom icons etc based on your requirement.

How to customize elements of the Azure AD B2C page while still using Azure's template

My business has the requirement of doing below changes while still using Azure blue template in Azure B2C's login page. Can someone point me in the right direction on how to achieve this?
B2C login page
If you need styling customization you need to go with your own template. If you want to be as close to the default one provided then you need to download it, change and use as your custom one. To do that just open Developer Tools in the browser, open your user flow and find something similar to this (image below) in the Network tab of Developer Tools:
Just double click it and the new page with template used with your flow will open. Just save it as HTML and you are free to go. Don't forget about checking any extenal references (CSS, JS, etc). Depending on what will you be changing you might want to download them and host on your own as well.

How can we remove / customize Azure AD B2C authentication webview page title bar in Xamarin forms?

A title bar is displayed in the web view activity when using Azure AD B2C authentication service with MSAL in Xamarin forms. I have attached a screen shot of it running on an android phone below. I have the following questions :
1) How do I remove it? Is it even possible?
2) Also Is it possible to customize the top bar? Change the colors, font size etc. If so how?
3) How do I change the text of the top bar? Is localization possible for the text in the top bar based on user's language settings in the app?
Thanks a ton in advance!!
I finally used a custom web view instead of MSAL and checked the web view's URL whenever it changed using PropertyChanged(). If the web view contains the redirection URL then I hide the web view and parse the token that is provided along with it to get the result of the user's action in ADB2C.

Spotify Developer Application logo

I am looking to set my application logo for Spotify. I cannot see anywhere to upload a logo for my application. How can I upload my logo for a Spotify application?
If it is for the Web API and the "My apps" part, then it is not currently possible to upload a logo for your application. It is in our backlog to be able to do so, I cannot provide a date for when it will happen though.

no BODY tag was found in page While Using Html component in Lwuit J2ME

I'm using ad network in my (Lwuit) J2ME Application, but I'm having some problems, I tried to put the HTTP call of the ad in an html component but I got No body tag was found.
So I tried to get the response as string from the HTTP call then put it in the html component but it takes long time to open the screen which contains the ad and I have to handle the on click event.
How can I integrate my ad network in J2ME application, or is there any other component which can hold the ad?
HttpRequestHandler handler=new HttpRequestHandler();
HTMLComponent htmlC = new HTMLComponent(handler);
htmlC.setPage("http://ads.mp.mydas.mobi/getAd?apid=357&auid=testingauid&uip=66.209.31.31&ua=testing&mode=test");
The ad is designed to show within an existing HTML page. You need to download the ad content and set it to the html component while adding the appropriate tags to the HTML.

Resources