Coder Social home page Coder Social logo

animricheditor's Introduction

android-animate-RichEditor

android rich editor which enables users to insert/delete bitmaps and text into edit-view with animations.

target goal

Recently, my product manager requires our team to implement this kind of interactive experience: a rich editor which enables users to insert/delete images and text at anywhere they want. However, almost everyone denies this demand at first, because our time remain is at tension and this kind of demand may cause unpredicted out-of-control.
However, overcoming challenging difficulties is thrilling, isn't it?

compare with other rich editors

There exists other open-source rich editor projects in github, and i did run some of them.

  • One project uses WebView + HTML, the inserted images looks so strange there.
  • One project uses EditText + ImageSpan, maybe it's highly efficiency, but it's not that stable and robust.
  • and so on..

However, most of them are uncomfortable and inconvenient.
I implement this rich editor by using SrollView + LinearLayout. As you know, there may exist many views in this Editor, but you can never doubt that SrollView + LinearLayout could be quite smooth if you deal child-views reasonably.
Besides, LinearLayout could add some special animations when adding/deleting child-views.

captured images

PREVIEW PREVIEW

demo apk download

apk download (right in this github project)

extras

later on, i will add some instructions for use the code.

Version: 1.0

  • Pilot version

License

Copyright 2015, xmuSistone

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

animricheditor's People

Contributors

xmusistone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

animricheditor's Issues

Publish the demo APK on Google Play

This library looks great, but you only provide an APK file to try it out.
It would be great to be able to download the app straight from Google Play to test the app!

Plus, you can benefit from GitHub's releases feature in order to publish generated APK associated with releases.

Open Image after inserting it

Thank you for these great repository! It is the best editor for android I found on github.
One more thing, It would be also nice to know. How is it possible to implement that after we insert image in this editor, we would be able to open it in the gallery?
Thank you in advance.

请问保存后怎么编辑呢?

我编写图文后,保存到本地数据库,然后打开编辑,发现编辑后的原来的图片不能保存,新插入的可以

Licence is missing

This project does not have any licence information.

GitHub helps project owners to chose the right licence, check Open source licensing page and choosealicense.com!

As quoted from this page:

You're under no obligation to choose a license. It's your right not to include one with your code or project, but please be aware of the implications. Generally speaking, the absence of a license means that the default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.

android 6.0 点击拍照按钮闪退

02-09 15:43:25.035 4139-4139/com.stone.richeditor E/AndroidRuntime: FATAL EXCEPTION: main Process: com.stone.richeditor, PID: 4139 java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.android.camera/.Camera clip={text/uri-list U:file:///storage/emulated/0/DCIM/Camera/IMG_2017-02-09%2015%3A43%3A25.jpg} (has extras) } from ProcessRecord{40b44b1 4139:com.stone.richeditor/u0a132} (pid=4139, uid=10132) with revoked permission android.permission.CAMERA at android.os.Parcel.readException(Parcel.java:1620) at android.os.Parcel.readException(Parcel.java:1573) at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2681) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1509) at android.app.Activity.startActivityForResult(Activity.java:3978) at android.app.Activity.startActivityForResult(Activity.java:3939) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:843) at com.stone.richeditor.MainActivity.openCamera(MainActivity.java:102) at com.stone.richeditor.MainActivity$1.onClick(MainActivity.java:64) at android.view.View.performClick(View.java:5207) at android.view.View$PerformClick.run(View.java:21177) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5457) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)

目测权限问题

Can't import

I get this:

image

As you can see, I've tried to update the gradle version, but it didn't help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.