我有一个Google Play应用,下载量为5000.
在这5000个中,900个未能在我的服务器上存储GCM注册ID.
我担心失败率为18%,并且正在努力找出这种情况发生的原因.这绝对不是将Id传递给我的服务器并存储的问题,所以我认为它必须是注册失败.有没有人在他们的项目中遇到过这样的事情?代码如下:
// Fired every time the app is booted in Main Activity
private void setupGCM()
{
String gcmRegId = GCMRegistrar.getRegistrationId(this);
if (gcmRegId.equals(""))
{
GCMRegistrar.register(this, AppProperties.GCM_SENDER_ID);
} else
{
// This is well tested and is not the issue
ServerUtils.sUpdatePushToken(this, gcmRegId);
}
}
// GCMIntentService Class onRegistered
@Override
protected void onRegistered(Context context, String registrationId)
{
mContext = context;
if (!registrationId.equals(""))
{
AppProperties.GCM_REGISTRATION_ID = registrationId;
new UpdateGCMRegistrationIdAsync().execute();
} else
{
GCMRegistrar.setRegisteredOnServer(context, false);
}
}
// GCMIntentService Class My Async …Run Code Online (Sandbox Code Playgroud) 我正在写WPF中的图像编辑程序,photoshop风格.
我在文本渲染方面遇到了巨大的障碍.当我使用RenderTargetBitmap将画布保存到PNG时,它会将文本的cleartype质量降低到灰度级,而且老实说看起来很糟糕,并且使应用程序无法完成任务.
遗憾的是,在决定使用WPF时,我没有想到这种限制.
有没有人有任何解决方法,或替代RenderTargetBitmap将画布保存到PNG.或者无论如何要防止功能的"缩小"
我已经阅读了ms bug报告,这是"限制而非错误",但我希望有某种形式的替代方案
非常感谢
汤米
我有15个Android应用程序来构建和托管(并在将来更新).
每个应用程序都有一个唯一的包名.
5个应用将托管在一个Google Play帐户中.
另外10个将在10个个人客户账户上.
我不想在应用程序之间建立链接,并希望将来能够单独更新它们.
问题:我可以使用1个密钥库吗?或者我是否需要为每个应用程序提供唯一的密钥库?这会影响未来的更新过程吗?或者我只需要保持packagename相同以确保成功更新?