Git Product home page Git Product logo

Comments (6)

tocker avatar tocker commented on August 15, 2024

Administration API is not supported for android clients, as it is not intended to be consumed by end-users.
We will change the exception message to reflect this.

Were you trying to implement any specific use case?

from cloudinary_java.

pawelByszewski avatar pawelByszewski commented on August 15, 2024

i want to create app that will show gallery with all images but SDk does not support listing. I have already wrote custom rest service to handle that but it make my code a little bit messy

from cloudinary_java.

tocker avatar tocker commented on August 15, 2024

Depending on your requirements, you can either setup a backend to maintain the photo information and provide api to the android app, or utilize the JSON listing URL:
http://res.cloudinary.com/<your\_cloud\_name>/image/list/<tag>.json
which lists resource by a specific tag. Keep in mind however that this is a cached list that can be up to 1 hour behind the live data.

from cloudinary_java.

pawelByszewski avatar pawelByszewski commented on August 15, 2024

I would like to use Cloudinary as fast backend to my 'proof of concept' project so if listing is available via REST it would be nice to have everytnig in ons SDK. By the way, why there are methods in SDK that would never has implementation?

from cloudinary_java.

tocker avatar tocker commented on August 15, 2024

The "not implemented" exception message is imprecise. It should actually say that it is not applicable for mobile applications. The message will be updated in the next release.

All Java API implementations (Android, HTTP42, and taglib) share the same structure, but some methods are not intended to be used in a client environment for security reasons (as they require the API secret key).

For your POC you can borrow the code from the HTTP42 implementation of APIStrategy - just remember it requires your API Secret, so be carefull whom you share the app or its code with.

Alternatively you can implement a simple Rails app (see Rails Samples) and connect your android app to the Rails REST API. Of course the same can be done with other platforms such as PHP if you're more comfortable there 😄.

from cloudinary_java.

tocker avatar tocker commented on August 15, 2024

Closing this issue.

Please feel free to reopen or create a new ticket if you have any additional issues.

from cloudinary_java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.