Embedding PowerBI report with an iOS app developed in Xcode - xcode

I have a simple PowerBI report with 2-3 visualizations that uses Azure database to get data. I want to see how I can embed this report in an iOS app that we are working on. We're using Xcode for developing the app. I want that report to be accessible using our own in-house app and not PowerBI app.
In my Xcode project I added a WebKit component and added the embedded code URL for the report. When I run the simulator, it asks me to sign in to PowerBI but if I click on the Sign-In link, it doesn't do anything. Is that the expected behavior?
I was wondering if anyone has worked on a solution like this before. Also, i thought if you use PowerBI embedding, it shouldn't ask the user to login. Is that correct? If not, what would be the best way to embed the report to the iOS app without asking the users to login?

what would be the best way to embed the report to the ios app without asking the users to login?
Follow the tutorial here: Tutorial: Embed Power BI content into an application for your customers
Your back-end app generates an embed token for the browser to use with the Javascript API to embed and interact with the report visual.

Related

Embedded Power BI reports into Xamarin Forms

I'm really new in Xamarin mobile app developing. I would like to create a basic mobile app which display some Power BI reports/diagrams. I already created an Azure active directory so I have the ID-s and the token for the authentication.
Can you please show some code example how to binding it in Xamarin forms? The simple webview is not a good solution, it does not work for embedded Power BI reports. I didn't find any working code/solution on the internet specially for Xamarin.Forms..
Thanks for helping.

Programatically Start UWP app after installation

I am creating a Store Build for my UWP app. I would like the app to run automatically (without user intervention) once installed on end-user device. Is that possible? If so, how?
I’m afraid you can’t let the app run automatically after installation.
Currently, uwp doesn’t provide such api to do this. If you do want this feature, please feel free to submit your feature requirement with Windows Feedback Hub app.

Reading answer sheet with OMR by Mobile phone (Xamarin applcation)

I wish to make a mobile app that will take a picture of a student’s answer sheet with OMR check boxes filled in.
And I want to then read the results of the answer sheet (which check boxes are marked) on the app. (offline, not using a web service, or api)
I'm using xamarin croos platrom application. (Androis and IOS)
how can i do this? Or, is there a tool for this solution?
Thanks.

How can Xamarin be used to wrap a web app as if it were a native app for Android?

Say I build a super mobile friendly web application that I want in the Play Store for Android users to be able to download.
Could I use Xamarin to:
Wrap the entire mobile app as a single WebView
Register for mobile push notifications
Essentially shortlining an MVP of an android app by using an existing web app? If so, is there any well-known process or documentation that demonstrates this?
Probably the best approach for you would be using Xamarin Forms with one or more pages containing only web views.
I don't love Xamarin Forms because usually for me Xamarin Android+iOS gives a better result in similar time, but your app would be so simple that doesn't make sense to do it with Xamarin Android.
Make sure that your web app will show only what makes sense to be shown in your app, otherwise you risk to see double header/footer, useless buttons... but if the website is yours adding a few parameters to change a bit the UI won't be a problem I guess.
Have a look at this example:
https://github.com/xamarin/xamarin-forms-samples/tree/master/WorkingWithWebview
Another approach is the use of Razor to build your pages in html directly inside your app, but if I understood well it's not what you need:
https://developer.xamarin.com/guides/cross-platform/advanced/razor_html_templates/
Although it is technically possible to do this as the previous answer has suggested. I would recommended firstly reviewing, the relevant stores guidelines on submissions. Apple for example will not allow a submission to their store of any application that simply mirrors the functionality of a website. I suspect Google's would likely be the same.
However that said, to answer your question, Xamarin.Forms would be appropriate for a simple application like the one you are suggesting. Or if you prefer to build to a specific OS, then in iOS with Xamarin you would use the Safari View Controller that was added in it's xcode 8.1 release. Android uses something similar as does windows.
EDIT:
You can use the Web View control in Xamarins Andorid native PCL project to encapsulate your mobile friendly website within an application here is the documentation:
Xamarin Android Developer link to Android Web View
As for push notifications, yes this is perfectly possible using Xamarin.Android. and varies on implementation depending on what you want to use as the back end to handle them, I.E. Azure's notification hub etc.

How to integrate cortana in Universal App?

I am trying to develop windows 10 app using existing website.
Here is I have followed link http://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm
I am able to view my website in Windows 10 app, but I don't know how can I integrate Cortana into my web page?
I have checked this link also WebApp: Cortana loads app, but how can I deep link into the web app with javascript?
but it didn't help me.
I found solution for this. Based on this link WebApp: Cortana loads app, but how can I deep link into the web app with javascript? I did write code in my application
The reason cortana was not working because I need to first run windows universal application manually, so it will download vcd file from home page of website.
After running application manually first time and second time I did try to give command to cortana to open my application, it works !!!

Resources