felix-on-android | felix-on-android osgi android | Android library

 by   luoqii Java Version: Current License: Apache-2.0

kandi X-RAY | felix-on-android Summary

kandi X-RAY | felix-on-android Summary

felix-on-android is a Java library typically used in Mobile, Android applications. felix-on-android has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However felix-on-android build file is not available. You can download it from GitHub.

优点: * 在有限情况下,实现静黙升级; * 快速分发,升级; * 动态加载(扩展)应用功能(需要定义良好的框架); * 向第三方开放接口,我们成为平台;. 缺点: * 更加复杂的升级方案(apk升级,bundle升级); * 更加复杂的后台? * 对传统android开发人员的挑战(引入额外的开发模型,工具的支持(ant, adt, gradle?),osgi 相关知识); * native支持 NOTE. how to buidl felix?.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              felix-on-android has a low active ecosystem.
              It has 15 star(s) with 7 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. On average issues are closed in 1729 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of felix-on-android is current.

            kandi-Quality Quality

              felix-on-android has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              felix-on-android is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              felix-on-android releases are not available. You will need to build from source code and install.
              felix-on-android has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed felix-on-android and discovered the below as its top functions. This is intended to give you an instant insight into felix-on-android implemented functionality, and help decide if they suit your requirements.
            • Create the grid layout
            • Adds a bitmap drawable to the layout
            • Adds a drawable drawable to the layout
            • Load and print a bitmap
            • Initializes the status bar
            • Build the default intent for the activity
            • Initializes the shadow card
            • Creates and returns a set of AnimatorSet based on the provided items
            • Handle activity result
            • Reads the input stream without closing the stream
            • Called when a draw frame is drawn
            • Create icicle
            • Called when the draw frame is drawn
            • Start an animation
            • Process an AccessibilityEvent
            • Layout the children
            • Initializes the View
            • Called when the view is clicked
            • Initializes the activity
            • Initializes the card
            • Create the sms message
            • Initialize the activity
            • Called when a surface is created
            • Set up the keystore
            • Creates a dialog
            • Handle drag event
            Get all kandi verified functions for this library.

            felix-on-android Key Features

            No Key Features are available at this moment for felix-on-android.

            felix-on-android Examples and Code Snippets

            No Code Snippets are available at this moment for felix-on-android.

            Community Discussions

            QUESTION

            Embed OSGi Felix in Android causes in UnsupportedOperationException: can't load this type of class file
            Asked 2017-Aug-11 at 12:26

            I have an android project developed with AndroidStudio and Gradle which embeds and starts a small OSGi project based on felix. To debug I use emulator for Nexus 5X with Android 8.0, API 26. I use declarative service and therefore my project bases on felix.main, felix.scr and felix.configadmin. All bundles are dexified. Installing the bundles works fine, but if I start the bundles by bundle.start() I get the following error message for felix.scr and felix.configadmin (felix.main and my own bundles work fine -> states are active):

            ...

            ANSWER

            Answered 2017-Aug-09 at 09:50

            Your biggest issue is that you cannot know the original exception due to a bug of Apache Felix: https://issues.apache.org/jira/browse/FELIX-5643

            If there is an exception during Android based class loading

            • the exception is swallowed
            • Felix falls back to normal JDK class loading mechanism that throws the exception you see

            We could solve the issue temporarily in two ways:

            We did set a breakpoint to the beginning of BundleContextImpl.getDexFileClass(...) function in Android Studio and after it stopped, we did set Android dev studio to catch all exceptions. By doing that, we were able to find the original cause.

            The first solution made us tired as we had to switch on and off the stop-at-exception feature. With many bundles where one is failing, it is hard to find the right one during debugging. Therefore, we simply copied out the content of BundleWiringImpl class into Android developer studio and changed it to log out the swallowed exception. By doing that, we were able to see the original exception in the log.

            Btw.: The most annoying problem was the following. We dexified the jars as the tutorials said. However, the aapt command is that ugly, that if you specify the classes.dex file with an absolute URL, the entry of the ZIP will have the same name (including drive letter if you use windows). E.g.: The entry name of classes.dex in the zip is c:\classes.dex and no ZIP editor show the _c:_ part of its name. Therefore we listed the entry names of the ZIP/JAR in Java and to find out the real entry name.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install felix-on-android

            You can download it from GitHub.
            You can use felix-on-android like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the felix-on-android component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

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

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/luoqii/felix-on-android.git

          • CLI

            gh repo clone luoqii/felix-on-android

          • sshUrl

            git@github.com:luoqii/felix-on-android.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link