Implement image picker in Cocos Creator project


#1

Hi everybody
I am trying to use Image Picker with Cocos Creator.


How can i use this extension in cocos creator project?
Thanks.


#2

Is any one knows about this?


#3

I implemented Image Picker in cocos creator project.
Thanks.


#4

@harrywatson1008 care to share??


#5

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.

Any help?

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:

  1. On Samsung phone: it makes photo, gets it, but image orientation may be wrong.
  2. On Aries tablet: it makes photo, does not get it (then I have to pick it from gallery), image orientation is right.