MVC mobile android not recognizing as mobile device - asp.net-mvc-4

I have a mobile site with .mobile.cshtml
WIthout putting anything in global.asax iphone works and loads my mobile view.
I saw I may need to add opera mobi.
Do I need to specify every mobile type if they are all going to the same mobile view?
What do I need to do so that it should work for android?
I added code where i manually entered a list of mobile devices .
I would think mvc mobile would have this out of the box.
What am I missing that i need to specify a list of devices.
Just saying ismobiledevice in the global.asax does NOT work
Thank you

Related

iBeacon mobile web application development

Are there any custom APIs for iBeacon access from mobile web applications? Probably it could be a mobile safari extension.
Thanks in advance.
Unfortunately, no.
You could write a native iOS app that looks for iBeacons in the background and launches a specific web app URL on mobile Safari. You could even pass ranged beacon info in query parameters.
But you would still need a native app installed on the phone to do this. And once the Safari page is launched, getting further updates is impossible, unless you use a complex web service proxy to the native app.

Is it possible single Box App to authenticate different iOS apps?

The whole idea is to authenticate App, App Lite, App iPhone, App iPhone Lite with single Box.com App ID and return the user to the right app which redirected to the user to the authorization/authentication web site.
My Conclusion till now leads to using different App Id, because of lack of option to add different Redirect url's and respectively possibility for [box-api] to recognize the right caller application.
Will it work if I try to embed auth url in UIWebView and handle the response from that webView?
We currently don't support this use case, and you'll need separate App IDs

How to do FB feed share post without leaving my hybrid app?

I am making mobile app using Sencha touch which will be bundled as native app and installed on devices. In my app on certain pages I want to add "share" functionality which is supposed to post some data to user's feed. While testing on browser I can to do that by opening a window with FB sharing url like "https://m.facebook.com/dialog/feed" or "https://m.facebook.com/sharer.php" and passing all related params as explained in https://developers.facebook.com/docs/reference/dialogs/feed/
But when this app is bundled and I share with this, user is moved to browser and cannot return to app because redirect_uri cannot point to app which is why I wanted to open this dialog within my app, probably in an iFrame. This is also not possible because these dialogs are not allowed to be embedded in iframe by META tags and in order to surpass it I have to do user login which again is another dialog which I cannot open in my app's iFrame.
I also looked at sample sencha app http://blooming-day-7830.herokuapp.com/ but it also takes user to separate login page instead of opening in-app dialog.
So my questions is how does hybrid apps connect with FB without moving out user to browser?
if you decide to use PhoneGap you can try the following two options. You will have to check for the iOS version before you switch your Phonegap call to. . .
Option 1 : for iOS before 6.0
Phonegap has a pretty nifty ChildBrowser plugin that you can use to load the FB share page without leaving the app for iOS 5.0 and below.
Option 2 : for iOS 6.0+
Facebook Share functionality has now been added to iOS. So all you have to do, is call a custom plugin class that you create, and call the standard FB share code using a basic Phonegap plugin call. You won't leave the app, the ChildBrowser doesn't have to show up, instead, you'll get the stock iOS-FB share sheet that will show up, you can add pictures, text, and so on, and post to facebook.

Display Web page inside a mono application

Is there a way to display a web page inside an application done with mono framework. It is a cross platform application, so it would be great if the solution is in mono. It need not be a generic browser, i just need to display the web pages from my own server. The number of pages is too much also it will be updated often, so cannot include it in the app itself.
Any help would be really great. BTW the app will be for most of the mobile platforms, like android and iPhone.

Sencha Touch and Admob without url

I have found some tutorials on the web on how to integrate admob with sencha. My problem is when you add a Site/App on admob, after selecting Smartphone Web for the ad type, one of the requirements is the Site URL. Now, the app I am creating is packed for android and ios but without a website counterpart.
How am I going to integrate admob to sencha without the needing to input the url of the app? Can I just make up any url, but will this deliver/detect the ads?
many thanks.
I'm pretty sure that you can just leave that box empty, its your Publisher ID that's used to deliver the ads.