Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8339143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:48:15+00:00 2026-06-09T04:48:15+00:00

my current problem is the following; I am creating a website with two files

  • 0

my current problem is the following; I am creating a website with two files for download(.vcs and .ics) that will add an event to the device calendar once clicked on the respective link. For the .ics in the iPhone I have no problem. My issue is that when downloading the .vcs file in Android it just opens a blank page showing the .vcs file content but is not downloading it neither recognizing the file as a calendar event.

I think as per what I read before in SO (and I was searching for that thread but could not find it now to reference) that has something to do with the mime type but after trying to figure out how to do it I cant make it work.

In that thread also they point to a site where the vcs file works for Android so is possible to do (I read many posts saying is not possible unless you download a calendar app from google play); http://plone.org/events/community/plone-conference-2011

I inspected that page source code and I am wondering if is something they are doing in the server side
If you could please help me pointing out a direction to follow or a working solution or any advice you may have about it I will be thankfully.

PD – Is my first question in SO!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:48:17+00:00Added an answer on June 9, 2026 at 4:48 am

    Finally got it working adding a link to a location with this index.php

    <?php
    header("Content-Type: text/x-vCalendar");
    header("Content-Disposition: attachment; filename=london2012.vcs");
    ?>
    BEGIN:VCALENDAR
    PRODID:-//AT Content Types//AT Event//EN
    VERSION:2.0
    METHOD:PUBLISH
    BEGIN:VEVENT
    DTSTAMP:20120801T133822Z
    CREATED:20120801T042948Z
    LAST-MODIFIED:20120801T043003Z
    SUMMARY:Olympic Games
    DTSTART:20120727T000000Z
    DTEND:20120812T000000Z
    LOCATION:London
    URL:http://www.london2012.com/
    CLASS:PUBLIC
    END:VEVENT
    END:VCALENDAR
    

    Then from Android it downloads the file and you can import it to the calendar.
    Hope is usefull for someone else…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following code summarizes the problem I have at the moment. My current execution
I'm trying to write a re-usable .NET Assembly that implements WCF. My current problem
I'm creating a simple alarm clock app. The problem is that i get the
We have a website load balanced across two servers that calls into a WCF
I'm creating a custom html helper that will allow me to group multiple checkboxes
Consider the following problem: You have a class 'A' that serves as a base
My problem is the following: I have two tables; persons and teams, I want
I'm stuck and can't figure out a fix to my current problem and was
I want to fix the Background while only the ListFields scrolls. Current Problem: Scrolling
My problem is to get the current latitude and longitude of the user. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.