Code Monkey home page Code Monkey logo

ipceventbus's People

Contributors

newtronlabs 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

Watchers

 avatar  avatar  avatar  avatar  avatar

ipceventbus's Issues

Problem with android studio 4

ConnectorFactory.getInstance().buildConnector remember only last call

I call ConnectorFactory.getInstance().buildConnector from different services. onConnected callback invoked right, but only last targetApp listened by. Can I organize communication between more than two services?
In my case, I organized communication between 2 services, but u tried to listening each other to do bidirectional communication rather than using postBack

Unable to run demo(App2)

When I compiled and ran App2, I saw the following error :
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.newtronlabs.ipceventbus.app2, PID: 1962
java.lang.NoSuchMethodError: No static method getInstance()Lcom/newtronlabs/ipceventbus/connection/factory/ConnectorFactory; in class
Lcom/newtronlabs/ipceventbus/connection/factory/ConnectorFactory; or its super classes (declaration of 'com.newtronlabs.ipceventbus.connection.factory
.ConnectorFactory' appears in /data/app/com.newtronlabs.ipceventbus.app2-2/base.apk)
at com.newtronlabs.ipceventbus.app2.MainActivity.onCreate(MainActivity.java:38)
at android.app.Activity.performCreate(Activity.java:6222)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
... ...
... ...

But I didn't make any changes to the example...

// build.gradle(App2)
buildscript {
repositories {
google()
jcenter()
maven { url "http://code.newtronlabs.com:8081/artifactory/libs-release-local" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath "com.newtronlabs.android:plugin:4.0.0"
}
}
... ...

// build.gradle(:app)
dependencies {
... ...

// IPC EventBus.
compileOnly 'com.newtronlabs.ipceventbus:ipceventbus:6.0.0'
implementation project(path: ':events')

}

// build.gradle(:events)
dependencies {
... ...

// IPC EventBus.
compileOnly 'com.newtronlabs.ipceventbus:ipceventbus:6.0.0'

}

Request to have app upgrade to latest Gradle

Hi,

So i was planning on using the IpcEventBus (and possibly others) in an application that i am working on. And I keep getting an issue with gradle wanting version 3.5.+ and not any of the latest version of gradle (version 4.0.1, as an example). Is there any timeline if this plan to support latest gradle / v4 would occur?

Best,

Manny

Event IData size limit

Intents has limit of 1MB. What a limit for IpcEventBus? Can I use it for full HD images exchanging?

Unable to run demo

I'm running on api 27
Stacktrace:

**02-15 09:58:21.901 6248-6248/com.newtronlabs.ipceventbus.app2 E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                Process: com.newtronlabs.ipceventbus.app2, PID: 6248
                                                                                java.lang.ExceptionInInitializerError
                                                                                    at com.newtronlabs.ipceventbus.connection.factory.ConnectorFactory.getInstance(Unknown Source)
                                                                                    at com.newtronlabs.ipceventbus.app2.MainActivity.onCreate(MainActivity.java:38)
                                                                                    at android.app.Activity.performCreate(Activity.java:6679)
                                                                                    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
                                                                                    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
                                                                                    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
                                                                                    at android.app.ActivityThread.-wrap12(ActivityThread.java)
                                                                                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
                                                                                    at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                    at android.os.Looper.loop(Looper.java:154)
                                                                                    at android.app.ActivityThread.main(ActivityThread.java:6119)
                                                                                    at java.lang.reflect.Method.invoke(Native Method)
                                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
                                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
                                                                                 Caused by: java.lang.RuntimeException: Stub!
                                                                                    at com.newtronlabs.ipceventbus.connection.factory.ConnectorFactory.<init>(Unknown Source)
                                                                                    at com.newtronlabs.ipceventbus.connection.factory.ConnectorFactory.<clinit>(Unknown Source)
                                                                                    at com.newtronlabs.ipceventbus.connection.factory.ConnectorFactory.getInstance(Unknown Source) 
                                                                                    at com.newtronlabs.ipceventbus.app2.MainActivity.onCreate(MainActivity.java:38) 
                                                                                    at android.app.Activity.performCreate(Activity.java:6679) 
                                                                                    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) 
                                                                                    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618) 
                                                                                    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) 
                                                                                    at android.app.ActivityThread.-wrap12(ActivityThread.java) 
                                                                                    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477) 
                                                                                    at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                    at android.os.Looper.loop(Looper.java:154) 
                                                                                    at android.app.ActivityThread.main(ActivityThread.java:6119) 
                                                                                    at java.lang.reflect.Method.invoke(Native Method) 
                                                                                    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) 
                                                                                    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
**

If I apply the plugin, I can't compile with error Error:Resolving configuration 'androidTestCompile' directly is not allowed

migration 4.4.0 to 4.5.2

Hi,
i try to usage this library but it look like Data,IData, EventExample classes removed from new version.

How i can try your example with new version ?

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.