我做了一个带应用内计费的应用,测试并发布了它,没有任何问题。应用内购买起作用了。
Error while retrieving informations from server [RPC:S-7:AEC-0]
Logcat给了我这个错误:
02-12 12:15:27.524: E/Volley(5650): [629] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/commitPurchase
02-12 12:15:27.539: D
我正在寻找一种快速的方法将数据从在我服务中的侦听器获取到一个活动中。
我尝试使用变量来存储当前值并在活动中读取它,但这是为了减缓速度!
我从一个活动开始我的服务。我读到,可以独立于活动启动服务,也可以将活动绑定到此服务。这会是个荡妇吗?会是什么样子?
这是我服务的一部分:
公共类DataService扩展服务{
private VehicleManager mVehicleManager;
public int onStartCommand(Intent intent, int flags, int startId) {
context = getApplicationContext