android - 为什么 Gallery 如此缓慢/访问 GoogleLoginService?

标签 android authentication gallery

我正在开发一个允许用户查看图像的应用程序,因此我发送了一个让图库显示图像的 Intent 。由于某种原因,显示图像需要几秒钟。 LogCat 显示它正在尝试连接到“GoogleLoginService”?为什么画廊连接到互联网?这可以在电话上或代码中关闭吗?

I/CacheService(19326): Preparing DiskCache for all thumbnails.
I/CacheService(19326): DiskCache ready for all thumbnails.
I/ActivityManager( 1433): Starting activity: Intent { act=android.intent.action.VIEW     dat=file:///mnt/sdcard/x/attachments/68efeba8-7f0c-47bf-b7d7-d714f29f99c7.jpg typ=image/* cmp=com.cooliris.media/.Gallery }
I/Gallery (19326): onCreate
D/GoogleLoginService( 1601): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/RenderView(19326): First Draw
D/GoogleLoginService( 1601): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/ActivityManager( 1433): Displayed activity com.cooliris.media/.Gallery: 477 ms (total 477 ms)
D/GoogleLoginService( 1601): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/GridLayer(19326): Slot changing from -1 to -1

最佳答案

设备正在使用与 Picasa 集成的 Gallery3D 应用程序 - Picasa 的登录由 Google 帐户验证器处理。然而,大多数帐户操作都发生在一个单独的线程上(如果我没记错的话)——并且不会真正影响启动。

罪魁祸首几乎总是获取图库缩略图。

关于android - 为什么 Gallery 如此缓慢/访问 GoogleLoginService?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4094124/

相关文章:

java - android canvas drawText从宽度设置字体大小?

Android 从收件箱中获取短信,优化了读取所有消息并将它们分组的方式

java - 在单独的类中加载 JSON 数组列表并在另一个 Activity 中加载

html - 创建选项卡式图片库 - 更改我的 flexbox 卡片

具有 KEYCODE_VOICE_ASSIST 键捕获的 Android 启动器

php - Symfony 基本 HTTP 身份验证不起作用

python - 多次登录才能通过 Azure AD 进行记录

PHP PDO登录系统

Wordpress 删除短代码并保存以供其他地方使用

android - 如何调整我从 android 中的图库中挑选的图像的大小?