Search Results

Search found 8 results on 1 pages for 'sumithran'.

Page 1/1 | 1 

  • How to get the file name from the intent?

    - by Sumithran
    This is my mainfeast file.After using intent filter i download the ics file from the mail attachment.when i open the downloaded file it start my application. I need to get the file name and data of the selected file in my application. What should i do in the mainfeast and the java file. I am very new to android can any one help me???? <application android:label="@string/app_name" android:icon="@drawable/icsicon"> <activity android:name=".setMIMEfile" android:label="@string/app_name"><intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="*/*" /> <data android:pathPattern=".*\\.ics" />

    Read the article

  • How to integrate with google Calendar?

    - by Sumithran
    Hi all. I am new to java. I need to integrate with google calendar form my java allpication.But it gives the Exception message : Error connecting with login URI.I use the following code for connect with google. CalendarService myService = new CalendarService("CalendarService"); myService.setUserCredentials("[email protected]", "Kdfdfderekra"); URL feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full"); CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class); System.out.println("Your calendars:"); for (int i = 0; i < resultFeed.getEntries().size(); i++) { CalendarEntry entry = resultFeed.getEntries().get(i); System.out.println("\t" + entry.getTitle().getPlainText()); }

    Read the article

1