-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A example : Take a screenshot & Share the screenshot #23
Comments
@matrixreal , I'v tried the best of my ability for helping you. |
@matrixreal , there is a full example phoboslab#540 and Could you Star my fork version of Ejecta ? |
@matrixreal , you asked :
Sorry , We can't do it . iOS does not allow us do that. |
@matrixreal , you can use ${Documents}, ${Library}, ${Caches}, ${tmp} . I think that's enough. |
social.showPostDialog seem not access to document folder |
@matrixreal , Could you test phoboslab#540 ? |
@matrixreal , thanks . I don't have iOS 7. |
same error |
@matrixreal , thanks . Please Update and test again . |
this could explain why showpostdialog can't access to documents ? no ? right ? |
No. Crash because the queue was lost. |
@matrixreal , Are there same errors ? |
same error |
can you pleas check again if showpostdialog can access to documents ? |
I am very sure that social.showPostDialog could access Documents folder . |
Now , I download iOS 7.1 SDK , and Test in simulator. That's OK. |
still same here |
what's same? no image or crash ? |
@finscn |
@finscn |
"some times crash" in device or simulator ? or both ? Could you get the error message ? "created 6 times " : I don't know , In my test case , there is no this problem . |
crash in device .... i don't use simulator since there are a lot of restrictions etc ... so i prefer real device |
@finscn |
@finscn |
|
@finscn |
@matrixreal , please update . now it could add image. see https://github.com/finscn/Ejecta/blob/master/App-Example/example/e-download-snapshot-share.js#L73 |
works perfectly thanks |
hi, i found that construct 2 (the tool i use to make html5 games) is using the line below to create canvas var ctx = canvas.getContext("2d"); and the appUtils.saveImage call need the canvas initialize by var context = canvas.getContext("2d"); how can i modify it ? to use the ctx and not context ? thanks |
@finscn |
|
yes yes thats okay ... |
saveImage supports WebGL . I test it in pure WebGL , not construct 2 . Maybe the problem is about something else ,not 2D or WebGL |
Sorry , I make a mistake. I've not tested it with WebGL. I will try it later. |
:D* you are welcome .... |
@finscn |
@finscn |
@matrixreal , Sorry , My macbook is breakdown (in fixing). Now I work on a windows PC . So I don't do anything about Ejecta . My macbook will be back in Next week |
@matrixreal , update and try again |
All code in index.js of this example:
The text was updated successfully, but these errors were encountered: