Android :: Accessing Google Calendar Through Using Given Protocol
Jan 21, 2010
I need to insert,update,delete events in google calendar using android. I tried using the protocol given at http://code.google.com /apis/calendar/data/2.0/developers_guide_protoc but I was unable to go beyond authenticating the user. I was able to authenticate the user and I extracted the Auth code using:- temp1 = EntityUtils.toString (response. getEntity ()); if(response.getStatusLine().getStatusCode()==200) auth = temp1. substring (temp1. indexOf ("Auth=")+5).trim (); After this I tried inserting an event which did not work. I was getting status code 200 in response and I am not sure even if I did get a proper response, how can I extract the cookie s and gsessionid for my next request. I tried creating a calendar instead and I received the same status code 200. I used the following code:- String messageBody="<entry xmlns= 'http://www. w3.org /2005/Atom'"+ " xmlns: gd='http:// schemas. google.com /g/2005'"+ " xmlns:gCal=' http://schemas.google.com /gCal/2005'>"+" <title type='text'>ABC Project Schedule</title>"+ " <summary type='text'>This calendar Type as otherwise I would get a ClientProtocol Exception (content- length was causing the exception, didn't put content-type since it is already mentioned in the entity not sure where it should be defined). I am sorry that I don't understand the basics correctly.
View 3 Replies
Nov 1, 2011
which protocol Google Talk on Android uses? I know that for the Talk application on Gmail uses the Jabber/XMPP protocol. I need to know what protocol (or if it's the same protocol) that's the protocol being used on port 5228.
The reason being, my organization will open the port to the Android sync and push services but only for that specific protocol (for security purposes obviously).
View 4 Replies
View Related
Jul 15, 2010
I'm trying to implement some basic functionality for Google Spreadsheets,using the protocol specification with requests.The reason i'm doing this because it is for Android, and gdata-java library doesn't really work and the alpha android one doesn't really cut it.I managed to implement authentication, and get for lists, and delete, but for editing updating a row i can't really wrap my mind around it.For example i want to change the contents of a cell here is the specification for the protocol From my understanding of it, i have to send some sort of atom or xml formatted request to the edit URL. I never sent such type of requests. I also found this, which gives a clue on how it should be done (also an unanswered question on a forum), but didn't really managed it.Here is my authentication function if you need it, so you don't implement it again, if you want to try and code it.
/*** Logs in to the Google service using the ClientLogin HttpRequest API and returns an authentication token */ private String getAuthToken() {HttpClient httpclient = new DefaultHttpClient();HttpPost httppost = new HttpPost(CLIENT_LOGIN_ADDRESS);
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
nameValuePairs.add(new BasicNameValuePair("accountType", "GOOGLE"));
nameValuePairs.add(new BasicNameValuePair("Email", "username@gmail.com"));
nameValuePairs.add(new BasicNameValuePair("Passwd", "password"));
nameValuePairs.add(new BasicNameValuePair("service", "wise"));
nameValuePairs.add(new BasicNameValuePair("source", SERVICE_NAME));
try {httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));This currently gives a 400 Bad request.Also I'm trying to achieve this using Apache HttpClient. Does anyone have any idea on how this might be achieved implemented how what request i should send?
View 2 Replies
View Related
Dec 10, 2009
I'm looking for a way to access the Corporate Calendar information/ database on the Droid. I know it can be done since I have seen a few folks promote supporting being able to read this information, but have found zero info on it. how to read this?
View 5 Replies
View Related
Nov 10, 2009
I'm a new Droid Eris user and have been using Google Calendar for some time.I have a single calendar set up which is syncing with the Eris.I can successfully add/edit/delete entries from both applications and have them show up just fine on the other side.I have a couple of recurring entries that I've since deleted in Google Calendar but are still showing up on my Eris.The unique thing about both of these entries is that they were meeting requests sent to my Gmail address and accepted from there.They have since been cancelled from the original sender and are now removed from my Google Calendar.My calendar entries are labeled as dark blue, and these two show as light blue.I cannot select them on the Eris to edit or delete them.
View 3 Replies
View Related
Jul 15, 2010
I have two gmail accounts and when I go to the settings for the calendar to sync, I get the three options of My Calendar, Pc Sync and my first gmail email account.I can't get the second email account to show. That is the calendar I need synced.
View 10 Replies
View Related
Aug 4, 2010
Today, I managed to sync. my Lotus Notes calendar with google calendar (after 2 days of turmoil)Then the notes events were displayed on google calendar but 6 hours ahead (like GMT) thought both calendars were set on the same time zone (CST).At this point, the calendar pad widget synced with google calendar and displayed all my lotus notes events 6 hours ahead as in the google calendar.I then changed my google calendar time zone to GMT so that my lotus notes events showed the correct time .But now, the calendar pad widget still shows the old google calendar events that was 6 hours off even after syncing.Can some one please help configure such that my lotus notes , google calendar and calendar pad widget all show the same events at same time (hopefully, maintaining the same time zone settings for all)
View 3 Replies
View Related
Jun 8, 2010
I am developing an android application using google maps data.I can access google maps in emulator but when i try the same in my application the google maps is not opening.
View 2 Replies
View Related
Aug 8, 2012
I'd like to know how to access my Google Bookmarks via Chrome for my Android. In Chrome (Android), I made sure sync was enabled for my Google account and bookmarks is checked. However, when I open the bookmarks on Chrome (Android), nothing appears. If it's worth anything, these bookmarks were added in Firefox, but again these are Google Bookmarks, not saved locally in Firefox.
View 7 Replies
View Related
Aug 15, 2013
Problem: Appointments / events created on my LG Optimus G were not syncing to desktop Google Calendar. No problem with appointments / events created on desktop syncing down to phone. Problem Identification: Default calendar when creating appointment / event on phone was calendar called "Phone". There is no calendar on desktop called "Phone". Solution: Pick different calendar when creating an appointment / event on your phone.
View 5 Replies
View Related
Feb 20, 2009
I run the 1.0r1 emulator and install Calendar.apk and CalendarProvider.apk on the emulator. And I configure the username and pwd from DevTools->Google Service Login successfully. Now I can start the Calendar app successfully, with the month view/week view/etc. But I don't know how to sync the calendars or events with Google Calendar service. From the source code, I assume there should happen sync operation. But it didn't happened. And I know another trigger to sync is Menu->More->My Calendars, but after selected, the activity will crash. The below is from DDMS logcat: 02-21 00:59:44.260: INFO/ActivityManager(56): Starting activity: Intent { action=android.intent.action.VIEW comp=..................
View 2 Replies
View Related
Nov 28, 2010
Got fresh new 2.2 Froyo after I decided to stop pussing out and root/install vodafone stripped ROM.I'm liking the speed improvement for sure things appear smoother. However, I hate HTC Calendar and the way it has sync problems with Google Calendar, i would much prefer the stock Android Google Calendar. Anyone know where I can grab the latest one that comes with non-HTC Froyo so I can make my life better?And for anyone skittish about rooting don't be! It's easy and you won't regret it.it's awesome having the access to just remove whatever files you want whereever they are and customize things.
View 1 Replies
View Related
Jan 13, 2010
I have an iCal calendar at work that's on a password-protected server which I'd like to add to my Google calendar (and subsequently, my Droid).I have the URL for it, and can enter the URL into Google's "Add Calendar" setting, but nothing's showing up because,I'm guessing, my iCal is waiting for a password.I don't see any way to add that to the "Add Calendar" setting.
View 2 Replies
View Related
Jan 25, 2010
I haven't been able to figure out how to do this and the only way I can get to my Google calendar is to go thru the browser and log in.
View 11 Replies
View Related
Nov 15, 2010
On my Google calendar (on the Desktop) I subscribe to a calendar showing all Red Wings games. (I just searched under Add > Browse Interesting Calendars. For the life of me I can't get it to show up on my phone. It doesn't show up in my calendars list under the menu. I've had this problem for weeks. Any ideas?I'm using a Droid 2.I'd be fine with just copying all the events to my google calendar instead of just subscribing to an outside calendar, but I don't know how to do that either.
View 5 Replies
View Related
May 15, 2013
I copied my music files from my PC to the phone, but now when I try and play the music in Play Music, its somehow accessing the internet, changing my tags, album art etc which I've spent years perfecting on my own. BTW none of this stuff is in the cloud or purchased from Google, they're all "real" MP3 files.
Is there a way to stop the app from doing this, or are there alternate apps?
View 2 Replies
View Related
Jun 15, 2010
I did a search but cant seem to find an answer. I finally got my work email set up through active sync. Is there a way to get the calendar events to show up on my google calendar? I use calendar pro which I love. I don't know if there is a work around or I am just not knowledgable enough to understand it. A for instance would be that my work email gives me an event or invite...it will show up on the phones calendar but not on my google calendar/events. (my google notification each morning may say "no events scheduled for the day" but phone calendar/calendar pro will show it)
View 3 Replies
View Related
Jul 26, 2010
I am new to Android, Google calendar and the Captivate phone. Have successfully imported my old calendar to Google Calendar which initially synced with the calendar on my captivate. However, when I add a new event to my phone calendar, it does not automatically show up on the Google calendar. the Samsung rep told me I have to edit each new even to mark it as a "Google Calendar". Is there any way to make this the default option on the Captivate phone? I am hoping to have automatic syncronization b/t the phone and the Google calendar without having to force it to do so each time.
View 15 Replies
View Related
Jul 29, 2009
Does events made in the phones calendar sync to Google Calendar? Does all sub calendars show on the phone? haven't really found any information on this topic, so please share info, video, pictures.
View 2 Replies
View Related
Jan 10, 2013
I have a HTC Thunderbolt and use all the Google tools for my calendar, email and contacts. At work I have Outlook 2007. I would REALLY like to have my Outlook calendar (at minimum) pushed/synchronized to my phone. Is there an app or a way to configure this to work? Right now I am using the Outlook Web Mobile app for my email and I can view my calendar there but I would like schedule/calendar all in one place.
View 2 Replies
View Related
Nov 14, 2009
I added the Sports Calendar to my google account and it shows up on my online Google calendar but not on my Motorola Droid. I did the same with the US Holidays calendar and it instantly worked both online and my Droid.
View 19 Replies
View Related
Nov 7, 2010
I don't know what I did - but suddenly I cannot sync my calendar with Google calendar no more?
If I go to settings/basic settings/ I cannot tap the "set up your Google account" no more?
Is there anywhere I can reset all this and start over?
I tried to use SE's calendar, but can only sync new events in the calendar that I save in SE calendar..
View 4 Replies
View Related
Apr 30, 2010
I feel like an idiot for not being able to figure this out, but how do I sync my google account calendar with my phones calendar?
View 35 Replies
View Related
Jan 10, 2010
I have my hero using built in calendar app.I have a google calendar and a Exchange calendar, I also have My calendar, not sure what that is. I would like to have all the calendars sync using the phone as the main source. So for example if I create a meeting on my phone it also shows on my exchange calendar and my google calendar. At the moment I have to add a calendar entry under the calendar I want the entry to show up on.So If I add an entry to my exchange calendar it doesn't show in google calendar. Can anyone suggest a sync method, without using PC, just phone.
View 1 Replies
View Related
Sep 20, 2010
events created on phone won't go to google calendar. I believe I have the sync set up right, events on my google calendar have synced to my phone. A previous thread states you have to choose "google calendar" when generating an event on the calendar on the phone, however, when I try to edit the event, under "Calendar" the setting is "My calendar" but I can't change the setting (tapping on it does nothing)
View 3 Replies
View Related
Feb 3, 2010
I made all the appointments in my Calendar for MY CALENDAR but now on my GMAIL CALENDAR nothing is there, but they are both color coded blue so why don't they sync together?
View 1 Replies
View Related
Mar 17, 2010
I have tinkered with this issue and done a mind numbing amount of searching but have had no luck with syncing my calendar to my Google calendar.
View 7 Replies
View Related
Sep 27, 2010
does anybody know if we can sync. the google "My calendar" which is on (default) on the phone with the googlemail-calendar with can be seen on the googlemail account website?
View 2 Replies
View Related
Jun 8, 2010
just got the phone a week ago.i'm using Google Calendar exclusively for all my date keeping. it's great to see that the default calendar apps sync with google calendar (GC)now, in GC (the web version) i set up the default reminders for new appointments to be a) email and b) sms.i noticed that, in order to get notifications on my PHONE as well, i need to add c) pop up to it. tested and that seems to work fine. will that pop up show anywhere else as well though? i never used that notification option before.and i noticed the following two annoying things:
1) default appointment notifications not set when appointment made using phone calendar application
when i make a new appointment from my PHONE, it shows up on the web version after a sync, that's all very cool. BUT then the appointment does not get assigned the default notification options (email and SMS), it only has pop up. any way to work around that? can't seem to find options for that.
2) when appointment made via application, web version of the appointment shows me as a GUEST who has confirmed that's a bit rubbish?! i.e. the experience is totally different from the appointments i set using the web version of GC.
View 4 Replies
View Related
Sep 23, 2010
I have two google email accounts. I have both of them setup on my Epic however only one of the accounts gives me an option to sync the calendar? Any ideas why this is or how to add the second calendar so it will sync also?
View 16 Replies
View Related