Hi all,
can i use Google API with Unity in order to access Picasa albums? I am not sure if Unity can access other dll’s… maybe i should code the protocol by hand instead…
Thanks for your advice!
Ok, i’ve found that if you copy the DLL’s to the Assets folder you can use them, BUT, when i try to build, i have errors like “The Assembly System.Web is referenced and could not be found”, so i copied it, and then it will complain about another one, and another one… and so on… I’m sure there must be a way to avoid copying the entire .Net framework to the Assets folder right? can someone give some advice on how to solve this issue? Thanks!!
There’s a whole lot in .NET that’s not in Unity.You might never get it to work going that route.
Why do you need a DLL to communicate with the Picasa webservice? Can you not just construct a query and get image URLs, titles, etc. from the returned XML file?
I just checked the Picasa API page and I see where you’ve gone wrong. You won’t be able to use the premade DLL in Unity to get the pictures if it depends on System.Web and other classes that aren’t available. Your best bet is to write your own code to construct the query URL and then parse the returned XML file for the URLs, and then load those through Unity’s WWW class.
Enjoy!
Thanks for the reply!
You’re right, i have to code the requests myself, its not hard since there’s a lot of documentation. It’s just that it would be much easier using the dll’s
Have a good day and thanks again!
More recently, it appears some headway has been made in this regard. I’m working on an implementation that uses picasa web albums api with the dlls as MatRon originally tried. I’ll post back any additional findings. But this article is pretty comprehensive:
http://supersegfault.com/accessing-google-services-via-c/