小编Mbu*_*ert的帖子

如何在 node js 中使用 ws (Websocket) 包创建/加入聊天室

我在服务器端使用ws包,我希望客户端在服务器套接字中创建/加入房间。以及当它们不再连接时如何将它们从创建的房间中删除。PS:我不想使用socketIo。

javascript node.js ws

10
推荐指数
2
解决办法
6987
查看次数

仅从 Android N (--min-api 24) 开始支持静态接口方法: void butterknife.Unbinder.lambda$static$0()

遇到此错误时,我正在尝试调试应用程序

仅从 Android N (--min-api 24) 开始支持静态接口方法: void butterknife.Unbinder.lambda$static$0()

这是我的毕业证书

apply plugin: 'com.android.application'

    android {
        compileSdkVersion 29
        buildToolsVersion "29.0.3"

    defaultConfig {
        applicationId "com.github.webrtc"
        minSdkVersion 19
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
        }
    }




    dependencies {
        implementation fileTree(dir: 'libs', include: ['*.jar'])
        androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
            exclude group: 'com.android.support', module: 'support-annotations'
        })
        implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
        implementation 'fi.vtt.nubomedia:kurento-room-client-android:1.1.2' 
        implementation 'org.whispersystems:webrtc-android:M59'
        implementation 'com.jakewharton:butterknife:10.0.0'
        annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
        implementation "org.java-websocket:Java-WebSocket:1.3.0"
        implementation 'com.squareup.okhttp3:okhttp:3.9.0'
        implementation 'androidx.appcompat:appcompat:1.1.0'
        testImplementation 'junit:junit:4.12'
        androidTestImplementation …
Run Code Online (Sandbox Code Playgroud)

java android

3
推荐指数
1
解决办法
1341
查看次数

通过 Webview 将字符串变量从 Java 传递到 JavaScript(反之亦然)

我正在尝试制作一个应用程序,两个用户可以通过 webview 进行交互。我想从 javascript 获取一个 String 变量到 Java,以便我可以将它保存在我的 Sqlite 数据库中。(反之亦然)

javascript java android webview

2
推荐指数
1
解决办法
527
查看次数

标签 统计

android ×2

java ×2

javascript ×2

node.js ×1

webview ×1

ws ×1