newtronlabs / ipceventbus Goto Github PK
View Code? Open in Web Editor NEWFaster than Intents and easier than AIDLs.
Home Page: http://www.newtronlabs.com/
Faster than Intents and easier than AIDLs.
Home Page: http://www.newtronlabs.com/
After upgrading android studio i get this error:
`Could not find com.newtronlabs.android:plugin:4.0.1.
Searched in the following locations:
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
Can you help me to implement this to communicate with a service in different/isolated process?
your sample is app-to-app, and I think it's lacking.
This library is very great and has a massive potential, in case there's more examples and guidelines.
Please help.
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'
}
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
Intents has limit of 1MB. What a limit for IpcEventBus? Can I use it for full HD images exchanging?
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
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.