I am trying to use Image Picker with Cocos Creator.
How can i use this extension in cocos creator project?
Is any one knows about this?
I implemented Image Picker in cocos creator project.
Can anyone build (with modern cocos verions) & run (on android) the qiankanglai sample?
Building on windows for android in cmd I get the error while running the app
java.lang.UnsatisfiedLinkError: Native method not found: com.sdkbox.plugin.SDKBox.nativeInit:(Ljava/lang/Object;Ljava/lang/ClassLoader;)V: com.my_app - but I do not use sdkbox in sample; but plan to use it in future.
Upd.: Ok, I did it. (I do not code java)
The result looks ok - I can add into the empty modern project ImagePicker, admob, facebook, iap and gpg and it works.
Also I’ve improved the project by adding functionality “make photo and get it and show it on screen”. The results:
- On Samsung phone: it makes photo, gets it, but image orientation may be wrong.
- On Aries tablet: it makes photo, does not get it (then I have to pick it from gallery), image orientation is right.