ZCommon | An android library for application 's fast developing | Aspect Oriented library

 by   yuyuyu123 Java Version: 1.3.3 License: No License

kandi X-RAY | ZCommon Summary

kandi X-RAY | ZCommon Summary

ZCommon is a Java library typically used in Programming Style, Aspect Oriented applications. ZCommon has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

An android library for application's fast developing.

            kandi-support Support

              ZCommon has a low active ecosystem.
              It has 37 star(s) with 2 fork(s). There are 1 watchers for this library.
              It had no major release in the last 12 months.
              ZCommon has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of ZCommon is 1.3.3

            kandi-Quality Quality

              ZCommon has 0 bugs and 0 code smells.

            kandi-Security Security

              ZCommon has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ZCommon code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ZCommon does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              ZCommon releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              ZCommon saves you 13651 person hours of effort in developing the same functionality from scratch.
              It has 27389 lines of code, 1612 functions and 211 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ZCommon and discovered the below as its top functions. This is intended to give you an instant insight into ZCommon implemented functionality, and help decide if they suit your requirements.
            • Download a file with the given URL
            • Write response body to disk
            • Installs the apk file
            • Notify that the download rates have been updated
            • Draws the dividers
            • Returns the offset of the last divider that should be shown depending on the layout
            • Returns a group index for the given position
            • Register GPermission requests
            • Apply for permissions
            • blur
            • Deserialization
            • New lens and hue and saturation
            • Initializes the views
            • Get value as Object
            • Creates a new SSL socket factory
            • Helper method to calculate the bounds of a divider
            • Splits a bitmap
            • Initializes the Activity
            • Returns the MD5 hash of the given string
            • Generate random numbers
            • Compares a bitmap to a new bitmap
            • Embed Bitmap
            • Convert a bitmap to RGB
            • Make a Bitmap
            • Cast a bitmap
            • Compare two strings
            Get all kandi verified functions for this library.

            ZCommon Key Features

            No Key Features are available at this moment for ZCommon.

            ZCommon Examples and Code Snippets

            AOP Supports
            Javadot img1Lines of Code : 113dot img1no licencesLicense : No License
            copy iconCopy
              repositories {
              dependencies {
                 classpath 'org.aspectj:aspectjtools:1.9.1'
                 classpath 'org.aspectj:aspectjweaver:1.9.1'
            import org.aspectj.bridge.IMessage
            import org.aspectj.bridge.MessageHandler
            import org.aspectj.t  
            Javadot img2Lines of Code : 70dot img2no licencesLicense : No License
            copy iconCopy
            public abstract class DkBaseActivity>
                extends RxBaseActivity {
              protected void onResume() {
              protected void onPause() {  
            Javadot img3Lines of Code : 43dot img3no licencesLicense : No License
            copy iconCopy
            private void downloadApk(String url) {
              File savingFile = new File(getExternalFilesDir(null) + File.separator + "rainbow.apk");
              RetrofitDownloadConfig retrofitDownloadConfig = new RetrofitDownloadConfig.Builder(this)

            Community Discussions


            download zip with Zk framework
            Asked 2017-Aug-07 at 13:59

            i'm using JDK 1.8, tomcat 7.0,ZK and jsf-2.2.8 and i have in my web-inf/lib the fowlling For the ZK framework jars :












            I create a zip file that contains 4 file With success.

            Here is the function that creates a zip file public class FileDownloadServer {



            Answered 2017-May-11 at 09:12

            Just to wrap it up for future readers: The line in Filedownload.save() that fails tries to retrieve the current Execution, which will fail as you are calling save() in a worker thread (i.e. a thread that has no access to the Desktop).

            Read this link for more information on how to access the desktop/execution from a worker thread with the help of Executions.activate(Desktop): https://www.zkoss.org/wiki/Small_Talks/2015/January/Simplify_Long_Operation_Handlings#Long_Operations_made_simple

            Source https://stackoverflow.com/questions/43899831


            How to destroy unity objects created in an static class?
            Asked 2017-Jan-14 at 22:35

            Please consider the following code. It creates a material and shader from a certain path. It's a utility to use in an editor extensions.



            Answered 2017-Jan-14 at 22:35

            Thanks to @Programmer Figured out a workaround to ensure the destruction of materials. In order for this to work, the class should become a singleton and inherit from ScriptableObject. Then we can implement OnDisable() and it will be called when editor is recompiling. Here is the working example:

            Source https://stackoverflow.com/questions/41649135

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install ZCommon

            注意,在Android7.0以上的手机,需要提供相应的provider文件,并在AndroidManifest文件中注册,具体可以参考我们的项目。 2.下载普通文件   下载普通文件和apk类似.


            注:若网络比较慢,建议Fan Qiang(你懂得)依赖,否则可能会失败。 2.使用 关于aspectj的具体使用方法请自行查找教程并学习. 3.ZCommon中提供的aspect功能 3.1 处理快速点击 若需要处理快速点击,只需要在对应的方法中添加@FastClick注解接口,例:. 3.2 权限申请 ZCommon中针对Android M提供了动态权限申请服务,包含Java代码的方式(见下文)和注解的方式,注解包含三个部分: 1.GPermission(Get Permission),申请权限; 2.CPermission(Permission Canceled),权限被用户拒绝,但允许再次提示; 3.DPermission(Permission Denied),权限被用户拒绝,且不允许再次提示。 下面分别对这三个注解进行讲解: 3.2.1 申请单个权限. 3.3 登录验证 我们在开发过程中有许多地方需要验证用户是否已经登录,对此,ZCommon对其作了统一处理: 首先需要在Application类中对LoginManager类进行初始化:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link