Closed svenmueller closed 9 years ago
consider using our java sdk for easier API handling:
https://github.com/sphereio/sphere-jvm-sdk http://sphereio.github.io/sphere-jvm-sdk/javadoc/master/overview-summary.html
The JVM SDK works only for the Java Virtual Maschine (hence the name) - not Dalvik.
The legacy Java client works with Android, but has not sku finder yet: http://www.commercetools.com/sdk/io/sphere/client/shop/ProductService.html
Maybe its worth to mention its not about JVM vs Dalvik but used Java version, right? There is a way of using java libs in Android if they are written with Java 6. With Android SDK based on KitKat (4.4) you can use Java 7 too but there is no support for Java 8 yet.
thx @schleichardt and @butenkor for the info
@sphereio/external-ingravity-media does this example (see above) help you?
Hope not to find any problem working with the library if its written in java 1.6 or 1.7. Tomorrow I'll check it. If I find any problem I'll tell you and we'll create a REST layer for the app. No worries about that.
Answer
getting access token
find the proper
project_id
,client_id
/client_secret
values in the developer section of the merchant center:https://admin.sphere.io/google-glass-demo/developers/clients
querying product by SKU
Unencoded predicate used for querying