I am developing an application in Java using Google App engine. I have Google Contacts CardDAV API to access contacts.
How would I configure my project to access the contacts information. I googled but there isn't any proper guidance available for the same.
Help with example will be very appreciated.
Thanks in advance.
You could take a look at the CardDAV API specification in this article on Google Developers. You simply need to interact with it like any other RESTful API, issuing commands like GET, POST, DELETE. You can easily issue these requests by using the HttpURLConnection class (documentation here).
Related
I was wondering if I need the Google java client libraries to access my google calendars from GAE. Are they part of the Google App Engine SDK by default?
Moreover I was not able to find a good example or tutorial which shows how to create, read, update and delete Google calendar events from an Google Cloud Platform app.
Thanks a lot, if you can offer same code examples or links to appropriate and working tutorials.
You're looking for the Google Java API client:
https://developers.google.com/api-client-library/java/
This library isn't included in App Engine by default, but there are instructions on that page for how to install it. When you have it set up, here's the guide for using the calendar API:
https://github.com/google/google-api-java-client-samples/tree/master/calendar-appengine-sample
Hope this helps!
I'm trying to setup Google App Engine with custom domain and SSL.
I've added the certificates to Google Apps and added the custom domains to Google App Engine.
I can successfully access http://domain.com and https://domain-com.appspot.com but when I try to access https://www.domain.com I got the following error: This webpage is not available
The domain is lonardiDOTorg
Any suggestions?
After some research, my findings show that this isn't supported for the moment being.
Issue 10802 on the Google App Engine issue tracker seems to confirm that it isn't yep available at the moment.
This stackoverflow post seems to contain the different workarounds that other users have used.
I hope this helps.
It is very challenging to help with this kind of issue without being able to inspect the domain and app itself.
Are there any privacy concerns in sharing the domain name so that we can see if the page is being returned by Google or by your DNS provider? It may be possible that the DNS records aren't set correctly.
Keep in mind that as this configuration is done on the Google Apps side, the Apps team may be able to assist if you have a Apps for Business account. This could help get assistance without sharing any information.
Apps Help Center: https://support.google.com/a/answer/2644334
Apps Contact Page: https://support.google.com/a/answer/2644334#contact=1
I have been developing an online accounting software which is a web application. We use Secured Google Cloud Endpoints in our project. Now I would like to securely access those endpoints in phonegap. So, for that I would like to do OAuth2.0(google) and access my API securely. I have been struggling for a while to find good JavaScript Client Libraries to access my Secured API in phoneGap.
Please help me...
Any replies would be appreciated.
Finally After some struggle I have figured out the solution. If we are trying to do Google OAuth in phone gap its better to use normal JQuery and for calling the Secured Google Cloud Endpoints we can go with Google JavaScript Client Libraries. I have found a sample project oauth-google-api-gapi-phonegap-childbrowser-jquery which is a very good start for the beginners.
I'm a newbie in google appengine java. I'm having a hard time to create a web crawler in it. One solution I'm thinking and studying on is by using urlFetch() to access books.google.com. I need to input a certain isbn of a book and the app will fetch the details (title,authors,etc) of that certain book. Is it possible using urlFetch()? Thanks for the advices. :)
Google books has an API. You can access that over URLFetch just as you would any other HTTP-based API or site.
I am trying to create a chrome extension which will interact with some of the google products like calender, maps etc using their respective APIs.
Presently I am trying to create a Java backend which will be run on google app engine.
My chrome extension will send request to java classes in Google app engine and excnage data streams.
Is it a good idea to go ahead with this approach ? or could you please suggest me some other model.
Thanks,
Mayank
Sounds good to me. If those APIs don't provide javascript (or REST) access then there is no other way than to write a proxy in one of the supported languages.
Yes, this is a perfectly reasonable approach. Did you have specific questions about how to accomplish it?