腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
Android
-
bindService
不止一次
android
、
service
、
bind
、
unbind
在同一服务的相同上下文中多次使用
bindService
可以吗?谢谢
浏览 1
提问于2012-08-02
得票数 12
回答已采纳
1
回答
在
android
中调用
bindService
android
、
service
mServiceConnected = true; mActivity.
bindService
浏览 2
提问于2014-07-25
得票数 2
2
回答
如何获取
Android
本地服务实例
android
、
service
我不想使用
bindService
,因为我想自己处理服务生命周期。谢谢。
浏览 1
提问于2010-06-12
得票数 18
回答已采纳
1
回答
安卓服务为NullPointerException
android
、
android-service
为什么要在Activity的onResume()上创建
bindService
()?请帮助解决下面的问题。我想在
bindService
()之后使用
bindService
()方法, protected void onCreate:name=".ServiceActivity"
android
:label="ServiceActivity"
浏览 2
提问于2011-07-07
得票数 0
1
回答
无法
bindService
Android
()
android
、
service
(info.serviceInfo.packageName, info.serviceInfo.name)); //NPE because info is null Log.i("SUCCESS:", "
bindService
;
浏览 3
提问于2016-11-24
得票数 0
1
回答
为什么我的ServiceConnection方法从不执行?
android
、
android-listview
、
android-service
、
android-tabhost
connectService() Intent intent = new Intent(getApplicationContext(), TicketConnector.class); { }}<activity
android</e
浏览 0
提问于2010-09-29
得票数 3
回答已采纳
1
回答
InAppBillingService绑定失败
android
extends Activity { ServiceConnection connection; } getApplicationContext() new Intent(
浏览 0
提问于2014-06-20
得票数 2
2
回答
Android
-
bindService
at fragment
android
、
android-fragments
Activity类,在它的onResume部分,我使用了下面的代码-protected void onResume() {
bindService
中遇到的问题是绑定部分,我已经尝试了下一个代码- protected void onResume() {
bindService
(), IMService.class), mConnection , Context.BIND_
浏览 1
提问于2014-04-24
得票数 8
回答已采纳
1
回答
片段中的绑定服务导致错误
android
、
android-fragments
、
connection
、
android-service
has leaked ServiceConnection BillFragment$1@419ae7c8 that was originally bound here at
android
.app.LoadedApk.getServiceDispatcher(LoadedApk.java:868) at
android
.app.ContextImpl.<em
浏览 0
提问于2014-01-30
得票数 0
1
回答
Android
InAppBilling onServiceConnected从未调用过
android
、
in-app-purchase
、
in-app-billing
; }; context.
bindService
(new Intent("com.
android
.vending.billing.InAppBillingService.BIND
浏览 1
提问于2013-06-20
得票数 3
1
回答
BoundService AndroidDeveloper示例不起作用
android
、
kotlin
那是我的MainActivity.kt:import
android
.content.Contextimport
android
.util.Logimport
android
.view.ViewLocalService
浏览 3
提问于2021-12-21
得票数 0
回答已采纳
1
回答
POJO作为BeaconConsumer而不是活动
ibeacon-android
、
android-ibeacon
、
altbeacon
但我必须强行推翻unbindService和
bindService
。
浏览 3
提问于2014-11-19
得票数 0
回答已采纳
1
回答
Android
:“无法绑定到服务”(getApplicationContext()没有帮助)
android
、
android-lvl
我复制了*{
android
-sdk}\extras\google\play_licensing\sample*,将*{
android
-sdk}\extras\google\play_licensing也是在LicenseChecker.checkAccess()试图改变至 .
bindService
()仍然返回false,在
bindService</e
浏览 7
提问于2013-04-15
得票数 0
2
回答
Android
服务可以在不启动的情况下绑定?
android
、
android-service
如果没有
bindService
(),我无法使用startService()。在实际使用中,是否需要首先使用startServie &然后只有我们才能使用
bindService
()。这意味着没有startSErvice,我们就不能
bindService
!如果这句话是错的,为什么我不能不启动
bindService
呢?
浏览 2
提问于2011-04-28
得票数 6
回答已采纳
1
回答
"com.
android
.exchange.ExchangeService泄露了...“运行仿真器时出错
java
、
android
01-01 15:16:22.805: ERROR/StrictMode(607): null
android
.app.ServiceConnectionLeaked: Servicecom.
android
.exchange.ExchangeService has leaked ServiceConnection com.
android
.emailcommon.service.ServiceProxyat
android
.app.ContextImpl.
bindService
(C
浏览 1
提问于2013-01-01
得票数 17
回答已采纳
1
回答
java类中的
Android
库集成
java
、
android
、
altbeacon
我试图在
android
中的java类中集成alt信标函数,但是由于getActivity,我得到了一个错误。我想在onahter活动中从这个类创建一个对象。 this.beaconManager.unbind(this); public boolean
bindService
浏览 0
提问于2019-03-07
得票数 0
回答已采纳
1
回答
Android
未正确连接到设备
java
、
android
、
bluetooth
、
bluetooth-lowenergy
、
android-bluetooth
Metadata value : none05-01 12:39:26.606 2753-2753/com.redbear.chat I/Timeline: Timeline: Activity_idle id:
android
.os.BinderProxy25.866
浏览 1
提问于2017-05-01
得票数 1
回答已采纳
2
回答
如何处理
android
中的服务重启
android
、
service
、
background
我是
Android
服务的新手,我没有得到关于
android
服务的有用材料。 我需要的是当我点击按钮时,我的服务启动,它有一个方法来上传数据到实时服务器并显示通知。
浏览 3
提问于2011-06-29
得票数 0
1
回答
使用startService的隐式意图是不安全的InAppPurchase
android
、
in-app-purchase
、
in-app-billing
带有act=com.
android
.vending.billing.InAppBillingService.BIND的隐式意图是不安全的:意图{
android
.content.ContextWrapper.
bindService
:538 }
android
.content.ContextWrapper.
bindService
:538 com.bulbulapps.bulbul.v3.BillingProcessor.bindPlayServices:106 com.bulapps.bulbul.v3.Bi
浏览 10
提问于2015-01-06
得票数 3
回答已采纳
3
回答
我如何启动并绑定到
Android
中的服务?
android
、
android-service
、
android-lifecycle
我正在尝试在
Android
中启动一个
Android
Intent gattServiceIntent = new Intent(this,BluetoothLeService.class);startService
浏览 8
提问于2014-07-14
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Service初涉
霍金生前最担心的事,他不止一次强调,这是人类最大威胁
跑分新技术:QLC固态硬盘的“掉速”过程将不止一次
android 动画
Android神器
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券