URI scheme for time events - calendar

Is there any URI scheme or protocol for time events? For example, for location is the geo URI scheme, which will open Google Maps or any other map application in mobile devices. I want something similar, but for opening Google Calendar or any other event manager application.
Is there an URI scheme for that? If yes, which one? If no, how could I achieve that?
PS: I want this for a mobile web app, no native code involve.

I haven't been able to find any URI Schemes for time events, I have tried cap:// and webcal:// with no success. But maybe you can use the mimeType 'text/calendar' for this instead.
If what you want is to open the google calendar app, you can use the URI Scheme for google calendar: comgooglecalendar:// or the specific google calendar path.
In case you want the native iOS calendar you should use calshow://.

Related

Best approach to use a CDN service

I am a mobile developer trying to do backend development. It is going more or less well but still having doubts about some subjects. Currently I want to add a Google app engine service to upload and resizing images on Google Storage. Now I am trying to define the best way to upload it because image is just a part of the object form data.
Option 1: I know I can use Javascript to send two different forms (one for the data to my own controller and the other one for image to the app engine service) pointing to different processing URIs and create a random string to use as a link between image and data (because after uploading successfully on Google Storage I need to write the URL on my object data.
Option 2: Upload everything in one form just with my service and store temporally the image locally and send it on background calling app engine from my controller.
Option 3: Storing everything like now and use a background task to send image to app engine and the replacing the image by the returned URI.
No one of this options convinces me, please if some of you faced this before, enlighten me.
Regards,

ACS Setup For Mobile App

I'm writing a mobile app that connects to Azure web services that use ACS access control for authentication. The mobile app is going to be a new version of a website that already exists. The website is already setup in ACS to connect to the web services.
Do I need to create a new entry in the ACS portal for the mobile app or can I just re-use the entry that the website has? If I create a new entry, what would I put in the realm and return URL? Mobile apps don't use URLs so I'm confused.
Thanks.
ACS supports a jsnotify protocol which basically will fire a JavaScript event that the host can listen. However this only works on Windows Phone. The other option you have is to poll the InApp browser (webview) until the URL is equal to whatever you put on the return url. Then inspect the result of the page to get the token, but that's not very easy. The truth is that ACS has not been updated for years and they are behind on mobile scenarios. You will probably spend a week or so trying to get something to work.
You can look at other services like Auth0 (disclaimer: I work at Auth0) which support the same protocol ACS supports (Ws-Fed) and have native support for lots of platforms (ios, wp, windows8, android, xamarin, etc.).

How to start a WinRT app from a web application?

Suppose I have a video hosting site, like youtube. When user clicks on a link on the site, I want to open a WinRT application for a better viewing experience, how would I do that?
How do I pass parameters into the WinRT application, to let it know what video it should stream? I need to be able to go back and forth, so I assume I can introduce a hyperlink to go back to the site from the app.
The other possibility is to embed the application on the site itself. How would that work? Can you still inline an applet style application on the site itself (eg. flash/silverlight)?
It is possible to launch a Windows Store app, given that you know the URI scheme associated with that application. For example, the Games app has the xboxgames: associated with it. If you insert a link with that URI scheme, the shell will pick it up as an internal reference. Read more details here.
You might also be interested in reading more on how to connect your website to a Windows Store app here.
Edit: It is possible to have an associated url: see accepted answer from Den Delimarsky.
Alternatively, a Windows Store app can declare file type associations. So you could make the user download a file (for example "video.customExtension"), which could contain informations, such as the video the app should play. In the same way as it works for Office Live Meeting when you download a meeting file to start a meeting.
If the user download that kind of file from your website, and that he doesn't have the corresponding app installed, he will be prompted to look for an app that can open that file in the store, and he will find your app.
And finally, no you can't embbed an Windows 8 Store app in a webpage.

Is it possible to create myapp in GAE, but disable access from myapp.appspot.com?

If I want to deploy anything on Google Apps, I'll have to create an application in Google App Engine, is that right? Is there a way to use FTP like in other web hosting services?
If I have myapp in GAE, and I already let myownsite.com to use this app. But I don't want anyone else to use this app on myapp.appspot.com, how can I do it?
Thanks in advance!
Perhaps not the best solution, but you can use self.request.headers["HOST"] in your handler to see which domain the request was requested to and redirect the user based on that.
You will need to upload your application. There is no FTP access for that as far as I know, but the GAE SDK contains a commandline tool to do that. You can also do it from IDE.
There is always an associated myapp.appspot.com domain with your application, so no one will take it. But you can also use your own domain (but not for SSL!). But you cannot also block access through myapp.appspot.com, but in Java you can create a filter that will redirect all requests to your custom domain. And keep in mind you cannot use naked domains (without www) in GAE.

develop Web sites for mobiles

I want to implement "mobile website provider" tool. Basically, It intake desktop website url and generate a mobile version of website without edit/add additional content to the desktop website. I am planning to design a product like (what mofuse.com does. This website create mobile websites). This tool should be hassle free to client(who are not tech savvy.)
1.Q) I want to know kind of functionality involved in this process.
2.Q) In Java Technology, I need the tool set and functionality of this actitity.
As I am new to this mobile application environment. Any information(web links) regarding this will be appreciated.
Update:
its not like skweezer.com.
I had a website and I want to "mobile"ize it. 1) What kind of java tool set I have to use to create mobile web site? 2) How to test in multiple mobile devices 3) How the domain name will be created for mobile websites.
Check out our Wapple Architect tech (http://wapple.net) - we allow you to use the same content from web to mobile, but if it's mobile, instead of outputting the html, use a web service to turn it into the right content for that particular handset.
Mobilizes the same domain, no need for m.yourdomain.com or anything like that.
Check http://wapple.net on a mobile for example!
there are certain plugins which mobilise your website .
they check user agent and if user agent is of mobile browser they load another css of mobile and if you want to redirect some another redirect it ther.
you dont have to buy separate domain make sub domain or cname like
m.yourdomain.ccom
wap.yaourdomain.com
try some javacripts code which detect browser type and redirect accordingly.
The best place to learn about mobile toolkits are
WURFL - The open source community built around profiling devices and managing their capabilities (http://wurfl.sourceforge.net/)
Mobile Elements - A tool to help you build mobile sites using a proxy type approach (http://www.mobilelements.com)
Device Atlas - A device profiling tool (http://www.deviceatlas.com)

Resources