- join1v1Chat的问题什么时候能解决呀?
微信没升级到新版就会有黑屏,升级了之后画面会变形,我看了论坛不是我的个别现象,好像出现了一段时间了。 微信什么时候能解决呢?
2022-12-16 - 小程序双人音视频对话wx.join1v1Chat 呼叫失败?
刚开始提示余额不足,然后购买了5万次。再次执行 wx.join1v1Chat,拉起呼叫画面,回调success已执行,屏幕显示 正在等待对方接受邀请,一两秒后 出现提示“呼叫失败”,然后退出了呼叫画面。 被呼叫方 是正常出现了被呼叫画面,点接受进去只能看到本地画面。
2022-09-23 - 双人音视频对话的api到底是怎么调用的呢?
文档也太简单了吧 就这么两句话 ******************************************* 调用流程通过 wx.setEnable1v1Chat 接口将用户的接听状态[代码]enable[代码]设置为[代码]true[代码],该设置仅在当次小程序生命周期有效,小程序每次冷启动后均需要重新设置。通过 wx.join1v1Chat 接口传入呼叫方信息[代码]caller[代码]与接听方信息[代码]listener[代码]发起呼叫,接听方与呼叫方均需在小程序内。****************************************** 到底是发起方如何发起,接听方如何接听呢?先说消息通知这里暂且不提,和组件功能无直接关系。 比如 发起方 执行了 wx.setEnable1v1Chat() ; wx.join1v1Chat( { caller{}, listener{} }) 然后 接听方也执行一遍 wx.setEnable1v1Chat() ; wx.join1v1Chat( { caller{}, listener{} }) 吗? 感觉有些参数好多余,自己发起还要填caller,自己接听也填上listener?
2022-09-16 - 执行 wx.setEnable1v1Chat 一直报 -30002没有record用户授权?
执行 wx.setEnable1v1Chat 一直报 -30002, wechat has no record authorization 打印 授权情况,全都有,请问是什么毛病呢 [图片]
2022-09-14 - errcode:47001errmsg:data format error 不知道错在哪里?
实在检查不出来,请指点,谢谢。 模板如下: ****************************************** 问诊医生 {{name3.DATA}}问诊内容 {{thing1.DATA}}提醒内容 {{thing2.DATA}}****************************************** 发送内容如下: ********************************************** "touser":"oiN1M5MKGaR7B_vv6FktNPFWzoBo", "template_id":"y7VRbJSrV-OqMQRHCUPghgw5YYjsOZTfHGVdfD7AD7s", "page":"tarbar/detail?videoId=25", "miniprogram_state":"trial", "data":{ "name3":{"value":"陈燊"}, "thing1":{"value":"肾结石111"}, "thing2":{"value":"专家已回复,请注意查看"} } } ********************************************* 响应 如下 ********************************************** { errcode": 47001, "errmsg": "data format error { ***************************************************
2022-04-21 - 服务端要发送在小程序订阅的消息,到底是什么格式?
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/uniform-message/uniformMessage.send.html 两个参数 ,一个小程序 的weapp_template_msg 又说下线了不用发,一个是公众号mp_template_msg 那到底怎么发??????
2022-04-20 - 我想问一个超级简单的问题,H5里的 a href=xxx?id=xxx在小程序是怎么实现的?
我想问一个超级简单的问题,H5里的 a href=xxx?id=xxx在小程序的列表渲染是怎么实现的? 我用navigator吧,navigator内只能放文字,不能放图片等复杂元素,达到点击图片就跳转的效果。 我用 <view bindtap=xxxx > <image>.... </view> 吧,这个bintap 又不知道怎么把id参数放进去
2021-11-17 - app内发起H5支付 “支付信息已过期,请重新下单” 怎么回事?
[图片] 之前还很正常,今天突然拉起支付后 短短几秒还没来得及输入支付密码,就退出支付弹出这个界面。
2020-09-11 - 运行demo功能出错
原封不动运行demo,分享文本 时 报告签名有误 把 constants.java的 appid替换成我自己的appid时 错误信息为 Server response error code:404, error:{"ret":-1, "msg":"invalid appkey"} logcat 内容如下: 2020-08-16 12:02:19.388 18358-1l8358/? I/Zygote: ForkAndSpecializeCommon: fork is finished, pid=0 2020-08-16 12:02:19.392 18358-18358/? I/Zygote: ForkAndSpecializeCommon: Beginning of SetGids 2020-08-16 12:02:19.392 18358-18358/? I/Zygote: ForkAndSpecializeCommon: End of SetGids 2020-08-16 12:02:19.398 18358-18358/? I/ceforge.simcpu: Late-enabling -Xcheck:jni 2020-08-16 12:02:19.447 18358-18358/net.sourceforge.simcpux I/ceforge.simcpu: The ClassLoaderContext is a special shared library. 2020-08-16 12:02:19.499 18358-18358/net.sourceforge.simcpux I/Perf: Connecting to perf service. 2020-08-16 12:02:19.511 18358-18358/net.sourceforge.simcpux W/ExceptionMonitor: getExceptionConfig type=0,package=net.sourceforge.simcpux 2020-08-16 12:02:19.554 18358-18358/net.sourceforge.simcpux I/FlymeFontsHelper: UserId == 0 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.content.res.flymetheme.FlymeThemeHelper.getMetaDataFromApp(FlymeThemeHelper.java:1036) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:710) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.content.res.Resources.getDrawableForDensity(Resources.java:899) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.content.res.Resources.getDrawable(Resources.java:838) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.content.res.Resources.getDrawable(Resources.java:813) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.ApplicationPackageManager$Injector.getDefaultFlymeActivityIcon(ApplicationPackageManager.java:3007) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.ApplicationPackageManager.getDefaultActivityIcon(ApplicationPackageManager.java:1324) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2738) 2020-08-16 12:02:19.580 18358-18358/net.sourceforge.simcpux W/System.err: at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:424) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.Activity.setContentView(Activity.java:2804) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at net.sourceforge.simcpux.MainActivity.onCreate(MainActivity.java:29) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.Activity.performCreate(Activity.java:7187) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.Activity.performCreate(Activity.java:7178) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1273) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3116) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3276) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.os.Looper.loop(Looper.java:223) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7035) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 2020-08-16 12:02:19.581 18358-18358/net.sourceforge.simcpux W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:937) 2020-08-16 12:02:19.654 18358-18418/net.sourceforge.simcpux I/Adreno: QUALCOMM build : 8984de8, Ie50a6ff6b2 Build Date : 02/20/19 OpenGL ES Shader Compiler Version: EV031.26.00.00 Local Branch : Remote Branch : quic/gfx-adreno.lnx.1.0.r50 Remote Branch : NONE Reconstruct Branch : NOTHING 2020-08-16 12:02:19.654 18358-18418/net.sourceforge.simcpux I/Adreno: Build Config : S P 6.0.9 AArch64 2020-08-16 12:02:19.656 18358-18418/net.sourceforge.simcpux I/Adreno: PFP: 0x016ee181, ME: 0x00000000 2020-08-16 12:02:19.660 18358-18418/net.sourceforge.simcpux I/OpenGLRenderer: Initialized EGL, version 1.4 2020-08-16 12:02:19.705 18358-18358/net.sourceforge.simcpux W/Choreographer: Already have a pending vsync event. There should only be one at a time. 2020-08-16 12:02:19.709 18358-18358/net.sourceforge.simcpux I/Choreographer: Skipped 3 frames! The application may be doing too much work on its main thread. 2020-08-16 12:02:19.714 18358-18358/net.sourceforge.simcpux I/Choreographer: Skipped 3 frames! The application may be doing too much work on its main thread. 2020-08-16 12:02:21.550 18358-18434/net.sourceforge.simcpux I/MID: read mid from InternalStorage 2020-08-16 12:02:21.552 18358-18434/net.sourceforge.simcpux I/MID: read mid from InternalStorage:xjgD6zAYj0803BeA0pxH43WbIZl673m8SnAJpFaX2PhicUBmi+vXgrY0Hzb7T3EJQUN0x+dWSUxuQyNK+VLTNgAAzPE5sJGVULOjFnzw4u13+vRAdNFgXEcxon4aQRApIAZox+SCzb5cMVcywU+AZ2SlNEDu 2020-08-16 12:02:22.705 18358-18358/net.sourceforge.simcpux W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@38f1136 2020-08-16 12:02:24.072 18358-18366/net.sourceforge.simcpux I/ceforge.simcpu: Compiler allocated 4MB to compile void android.widget.TextView.(android.content.Context, android.util.AttributeSet, int, int) 2020-08-16 12:02:24.502 18358-18390/net.sourceforge.simcpux I/ceforge.simcpu: Profile saver ProcessProfilingInfo for first launch .... 2020-08-16 12:02:25.181 18358-18358/net.sourceforge.simcpux W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed. 2020-08-16 12:02:25.665 18358-18358/net.sourceforge.simcpux W/ContentCapture: sendLongClick1 error, captureResult: null 2020-08-16 12:02:25.926 18358-18390/net.sourceforge.simcpux I/ceforge.simcpu: Profile saver ProcessProfilingInfo done for first launch .... 2020-08-16 12:02:27.095 18358-18358/net.sourceforge.simcpux I/MicroMsg.SDK.WXApiImplV10: sendReq, req type = 2 2020-08-16 12:02:27.112 18358-18358/net.sourceforge.simcpux I/MicroMsg.SDK.WXApiImplV10: getTokenFromWX token is OpenSdkToken@1597550547108 2020-08-16 12:02:27.155 18358-18358/net.sourceforge.simcpux I/Choreographer: Skipped 3 frames! The application may be doing too much work on its main thread. 2020-08-16 12:02:31.801 18358-18444/net.sourceforge.simcpux E/MtaSDK: [pool-4-thread-1(7162): null:689] - Server response error code:404, error:{"ret":-1, "msg":"invalid appkey"} 2020-08-16 12:03:48.146 18358-18444/net.sourceforge.simcpux E/MtaSDK: org.apache.http.conn.ConnectTimeoutException: Connect to /113.96.208.29:80 timed out at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:126) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:149) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:170) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:598) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:516) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:494) at com.tencent.wxop.stat.i.a(Unknown Source:412) at com.tencent.wxop.stat.k.run(Unknown Source:6) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764)
2020-08-16 - 如何实现打印功能
我目前在开发一个排号机,装在一个带打印功能的android设备上,我想用户点击“取号”后 打印 一个张小票出来。 假设打印机已连接安装在设备上,不需要用蓝牙连接什么的,我想简单一点 就用浏览器的web打印功能实现。 当然 打印内容通过js动态生成,不是打印当前整个页面,这个在小程序怎么实现呢?
2017-08-07