列表 第页
我的应用程序升级到23 API,其中 org.apache.http 是德precated。I'm upgrading an app to API 23 where org.apache.http is deprecated.我现在的(de precated)code样子的:My current (depreca...阅读全文
有没有别的东西,应该叫什么名字?Is there something else that should be called?showDialog(TIME_DIALOG_ID);这是在本教程但是他说的德precated 的Eclipse中。It's in this tutorial but says deprec...阅读全文
我只注意到,自17 API的 SlidingDrawer 的它已经pcated德$ P $。 在其上的评论说:这个类是德precated在API级别17。不支持了这个类。建议您基于自己的实现上的源$ C $ C为Android开源项目,如果你必须使用你的应用程序。这是不是意味着我应该导入$c$c到我的项目,以确保它...阅读全文
我想明白了什么,我相信这是很基本的一些人。 我读无处不该startManagingCursor方法是pcated德$ P $,你应该使用CursorLoader类。但是,这是否意味着你应该使用CursorLoader类甚至支持API的级别和其中的应用程序; 11?抑或是说,如果你打算只支持蜂窝起来,然后用cursorL...阅读全文
在使用Crashlytics +面料为Android有一个非常简单的方法来启用和禁用崩溃报告。我用它因此在开发和测试有没有一吨崩溃提醒大家。When using Crashlytics + Fabric for Android there is a really easy way to enable and disa...阅读全文
我真的很惊讶,这样一个小工具去获得precated。我想要一个简单的画廊是滚动左右,显示了整个活动屏幕上的图片,最重要的是,你不能在任何方向轻扫超过1的图像,即使滚动速度快则切换到下一张图片。 I was really surprised that such a Widget gets deprecated.I...阅读全文
我看到不少good 甚至是整个类是德precated和过时的老有用的方法。 I see quite a few good old useful methods or even entire classes being "deprecated and obsolete". 不过,code,它用来调用这些方法继续工作。...阅读全文
我正在使用一个Android应用程序项目下面的简化配置。I am using the following simplified configuration in an Android application project.android {compileSdkVersion 20buildToolsVersion...阅读全文
有使用大量的答案和教程InsertHelper做快速批量插入在SQLiteDatabase。但是,InsertHelper是德precated为API 17。There is plenty answers and tutorials using InsertHelper to do fast bulk insert...阅读全文
我在做一个项目,我需要显示的主页上,当主页显示,在这之后,或继续与3〜5秒我的其他受欢迎的自定义对话框显示。但做的是,出现下列错误,但我的应用程序不会停止工作.. LogCat中显示这些错误。应用code:最后一个对话框D =新的对话框(Main.this);d.setContentView(R.layout.Spl...阅读全文
我创建我的应用程序preference活动,允许用户启动/停止背景闪屏音乐如下:I create Preference activity on my app to allow user to start/stop background splash screen music as follow :public cl...阅读全文
我已经更新了我的应用程序使用了最新的支持库(23.0.0版),我发现了,他们去precated的片段类的onAttach()函数。I have updated my app to use the latest support library (version 23.0.0), I've found out that...阅读全文
我想检测时, preference 包含在的ListView 被点击,那这样我就可以推出的意图来管理的选择。我会在我的布局做过这样的 XML 文件:< preference机器人:标题=关于安卓键=的myKey>< / preference>在我的的Java code以下内容:preferen...阅读全文
在网上搜索和Android团队宣布我无法找到答案。将超过ADT可以去precated当机器人工作室达到它的第一个稳定版本?最有趣的是,他们还更新Eclipse插件到最新的ADT 22.0.0 为什么Android团队开始了另IDE,而不是继续改进老好ADT的?? 好像昨天,当他们宣布ADT捆绑与所有的Androi...阅读全文
我又回到了工作的一个应用程序,我的工作了一段时间前,当我拥有了一切围绕的Android 2.2 Froyo。I am getting back to work on an app I worked on a while ago, when I had everything built around Android...阅读全文
SimpleCursorAdapter 德precates其构造与下面的注释之一:SimpleCursorAdapter deprecates one of its constructors with the following comment: pcated德$ P $。此选项气馁,因为它会导致应用程序的UI线...阅读全文
我发现这两个 FILL_PARENT 和 match_parent 意味着同样的事情I found both fill_parent and match_parent means the same thingFILL_PARENT 意味着视图想要成为大如其父,减去母公司的填充,如果有的话。match_parent 意...阅读全文
我有这样的方法:public String getRealPathFromURI(Uri contentUri) {String[] proj = { MediaStore.Images.Media.DATA };Cursor cursor = managedQuery(contentUri, proj, null,...阅读全文
您好我正在做一个应用程序中,我计划显示地板和放大器;卖场内的商场类明智上市。Hi I'm making an app in which I plan on showing floor & category wise listing of stores inside a mall.下面单元显示出商店的地板明智的上市活...阅读全文
昨天(17-10-2014)我有更新的Android SDK和支持库-v4.jar 我的应用程序,现在我得到德precation警告有关 ActionBarDrawerToggle ,阅读文档看来,我必须使用 ActionBarDrawerToggle 在支持库-v7.appcompact.jar 。Yester...阅读全文
我创建每个打开一个不同的活动的应用程序,它具有五个选项卡在屏幕的底部,I am creating an application which has five tabs at the bottom of the screen, each of which opens a different Activity.我的标签...阅读全文
使用新的Android API 22 getResources()。getDrawable()现在去precated。现在最好的办法是只使用 getDrawable()。With new android API 22 getResources().getDrawable() is now deprecated...阅读全文
实际上是没有问题的。项目编译和运行。但我不明白是什么意思三振类名(Android的工作室讲述,有去precated code时)。有人能解释一下吗? Actually there is no problem. Project compiles and runs. But I can't understand what...阅读全文
我指的是使用一个表显示表格数据,例如:为preadsheet,专注于数字,我觉得的并查看UX 应右对齐,正确的格式(带有小数数相同),以方便款项。对于数字,这看起来像语义和格式之间的边界线的情况下,对于其他类型的数据类型的像日期选择取向更加随心所欲。 I am referring to the usage a tab...阅读全文
好像 UITextAlignmentCenter 是pcated在IOS 6日$ P $ Seems like UITextAlignmentCenter is deprecated in iOS 6. 我仍然使用它,效果很好,但它给出了一个警告。I still use it and works well, bu...阅读全文
我在Grails中发现2.4文件(http://grails.org/doc/latest/ref/Tags/remoteLink.html),它提到remoteLink标签现在是很precated。I noticed in Grails 2.4 documentation (http://grails.org/do...阅读全文
我在开发一个Android应用程序,它采用HTTP POST来登录数据发送到服务器的过程。这一切都工作得很好,直到两个HttpClient的和的NameValuePair图书馆是德$ P $在最近的更新pcated。I'm in the process of developing an Android app, wh...阅读全文
为什么absolutelayout是德precated?我知道这可能会导致支持多种屏幕的问题,但是表示在特定位置视图更好。why absolutelayout is deprecated? I know that it may cause problems in supporting multiple screens...阅读全文
imageView.setLayoutParams(new Gallery.LayoutParams(WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT));什么其他的方法来取代画廊。因此,我可以在活动使用水平...阅读全文
我想创建一个应用程序,得到通知时,短信到达并处理短信,但阅读的参考createFromPdu功能,它指出:I want to create an app that gets notified when an SMS arrives and processes that SMS, but reading the ref...阅读全文
我有一个非常简单的任务(至少我是这么认为的) - 在I have a very simple task (at least I thought so) - make a 5 non-scrollable static tabs with icons and fragments within我花了整整一天的这个任务,我...阅读全文
我有一个使用该权限的安全应用程序(App储物柜):I have an security App (App Locker) that uses this permission:android.permission.GET_TASKS在Android的棒棒糖此权限去precated,我想我的应用程序的API +21工作...阅读全文
自从升级到最新的应用程序兼容性库,我在我的日志中看到一条消息,从ViewUtils。Ever since upgrading to the latest appcompat library, I'm seeing a message in my logs from ViewUtils.应用程序:主题现在是很preca...阅读全文
当我试图效仿Android的开发者指南和教程使用preferences创建设置的活动,我收到警告,如:的方法,从类型$ P $ pferenceActivity增加preferencesFromResource(INT)是pcated德$ P $对于无论是在code这些行:获取preferenceManager()...阅读全文
我试图得到默认缩放控件显示在谷歌MapView类。我一直在寻找这 code。但getZoomControls()是德precated。 I'm trying to get the default zoom controls to show on a google mapView. I was looking at...阅读全文
的类型TabActivity是德precated?我在做应用程序的选项卡下面的教程书。我已经从Android developer.com网站检查,但我有以下消息的意义没有想法:这个类是pcated德$ P $ 新的应用程序应该使用片段,而不是此类;继续在旧设备上运行,则可以使用V4支持库,它提供了一个版本的片段API...阅读全文
我有在底部排序码头的主要活动,具有4个图标:A,B,C,D I have a main activity with a sort of dock at the bottom, with 4 icons: A, B, C, D.我已经尝试过让这里的问题响应涉及替换一个给选项卡中的片段,但没有得到答案。我开始想,也许我...阅读全文
我在本教程挣扎: http://developer.android.com/resources/tutorials/views/hello -gallery.html 它不会对API大于1.6的工作,我不能使它发挥作用。在R.styleable是pcated德$ P $ it wont work on API g...阅读全文