How can you search using drive#property keys/values? - google-drive-api

I'm researching if Google drive might be an appropriate platform for us to host a resource library for a web application we are building. I would like to know if the new(?) file properties are programmatically searchable yet - didn't see any examples in the search section here: https://developers.google.com/drive/search-parameters.
Thanks!

They are not searchable, yet, sorry. This feature will be coming soon. Google agree that this would be an awesome and required feature to make the new properties feature fully effective.vg

I know this is super old but if anyone comes across this, Google Drive does support searching properties and appProperties for files now. See here.

Related

Security Concerns for using Google Javascript APIs through Chrome Extension

I can't find any answer to my question so here you go !
I have recently developed a Google Chrome extension that uses the provided Google Javascript API in order to have access to some content of a specific tab/page.
As the content of the page is confidential, are there any risks that Google stores it somewhere ? I'm not too familiar with Security of APIs and thought that you might be able to help
Thank you,
Kind Regards,
Yohann

Google Drive Android SDK: where to start from?

I have been looking all day at the Google Drive SDK for Android,
but I am a bit confused.
I need to make the list of folders and files in the user Google Drive account.
I thought that was a simple, basic standard feature, but maybe not...
Please can you help me?
You have two possible ways to go:
use RESTful API, or
use Google Drive Android Api (GDAA)
I would say the former would be easier to start with.
If you decide to go with the REST, you may use the GitHub demo here, that has both the REST and the GDAA 'CRUD' implementations (you just comment out the one you don't need). It also has some code to deal with the authentication / authorization which you need to do anything on Google Drive. See SO 28439129.
In case you decide to use GDAA, (you still have to get the authorization done), the 'official' to get you started demos are here and here.
You will definitely run into a lot of roadblocks and the solutions are mostly found here under the tag 'google-drive-android-api'.
Good Luck.

How to use Telegram API in Windows Phone 8?

I would like to use Telegram API for Windows Phone 8. Though unlike other platforms, Telegram doesn't provide source code for Windows Phone. This is unfortunate because it creates a lot of problems for those who want to use it. From my research people mention using REST Service to accomplish that. Though no one showed any exact solution for how to accomplish it. I also read about using RPC calls to accomplish it. I don't know how to do that and I would greatly appreciate someone who could explain step by step to how to implement Telegram in ones app. Big Thanks!
If you need to see source code of an app using the Telegram API you should take a look at github.
There are a lot of apps there using this API:
API, Protocol documentation
Documentation for Telegram API is available here: http://core.telegram.org/api
Documentation for MTproto protocol is available here: http://core.telegram.org/mtproto
Take a look at this one https://telegram.org/apps#telegram-for-wp
You can browser their source code there downloading the zip. Unfortunatelly Stackoverflow does not permit we post a step by step walkthrough of using an API.

Incorporate Google Drive solution in existing Android app project?

I have an existing Android app project which has been already published on the Google Play, and now I would like to incorporate in my app the possibility to use the Google Drive possibilities in order to download *.jpg files directly to the sd card when the app is opened or load for the first time. Like this I liberate the internal memories of the phones where this app is installed (All the images are stored in the resources of the app actually which is >~ 20MB). I have read a lot of forums concerning the Google Drive SDK or API subjects and I can say that I'm a little bit lost on the manner to manage it for my present app. Some ideas or suggestions would be very very very appreciated.
Thank you very much).
Please see this question for the basics on how to integrate your Android app with Google Drive SDK: Access to Google Drive from self implemented Android application
In it, I reference a good Google+ tutorial on how to get started, and it's easy enough to take the concepts and apply them to an existing app. (That's how I did it too.) Before you get started, sign up for the Google APIs (https://code.google.com/apis/console/), get into the API Console, and turn on both the Google Drive API and Drive SDK. This'll make coding go a lot smoother. Let me know if you have any problems.
One addendum for your specific case relating to *.jpg files is you could set a MIME type for fetching strictly the pictures. It'd go something like this:
request = service.files().list(); // .setQ("mimeType=\"text/plain\"");
Unfortunately setQ is commented out because it would fail to return any results when I used it. However, you may have better luck with the image/jpeg MIME type.

Any resource where all the Google webfonts are listed?

until Google launched the new Google Webfonts directory I used to read all the fonts dynamically vie PHP regex and output them in forms to have the possibility to use any Google Webfont as soon as it is available without adding it manually to a list. Now, this is not possible any more.
Does anyone know a feed or an other "static" resource from which we still could get the fonts automatically?
Best regards, .wired
Check out the googlefontdirectory's Google Code page, the source is available via mercurial.
http://code.google.com/p/googlefontdirectory/source/browse/