Skip to content
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

Skitch Integration #42

Open
GitHubDroid opened this issue Oct 18, 2013 · 4 comments
Open

Skitch Integration #42

GitHubDroid opened this issue Oct 18, 2013 · 4 comments

Comments

@GitHubDroid
Copy link

Are there any resources for integrating and customizing skitch?

I am trying to pass a .png file from my android app to skitch's canvas for markup. Skitch can be used as an excellent markup tool and I would love to utilize its capability in my app rather then recreate the wheel. Any help or info would be greatly appreciated. Thanks.

@parallelcross
Copy link

Skitch supports the ACTION_EDIT on its image canvas. It will accept a png or a jpeg. http://developer.android.com/reference/android/content/Intent.html#ACTION_EDIT

@GitHubDroid
Copy link
Author

Thanks for the help. This is good stuff. How could I go about launching through an EDIT intent with an
existing image as background. And when finished marking up the image have it save to a specific location ?

Intent shareIntent = new Intent(Intent.ACTION_EDIT); shareIntent.setType("image/png");
shareIntent.putExtra(Intent.EXTRA_STREAM,Uri.fromFile(file));
shareIntent.putExtra(Intent.EXTRA_TEXT,"My Image");

Would something like this work? But how would I have skitch save the image after editing in the specified folder where the image came from with the same file name and overwrite it? Any help would be great. Thank you in advance.

@ntkachov
Copy link

ntkachov commented Nov 4, 2013

We have a small gist that might help. Feel free to use this in your application. It creates the ACTION_EDIT intent and sends it to skitch. If skitch doesn't support it or isn't installed, it will send the user to the Android Market and allow them to install it.

https://gist.github.com/ntkachov/7307531

@rishabhMaltare
Copy link

Is it really working? I have tried but it didn't work for me. Can you please provide me a working sample?
Skitch tools for image annotations are the actual things which I am looking for quite long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants