草庐IT

automatic-updates

全部标签

java - LibGDX - Camera.update() 调用不执行任何操作

我刚开始玩LibGDX,已经遇到相机问题。我在Internet上看到一些教程告诉我,如果我理解得很好的话,在使用LibGDX的2D游戏中,您必须重新计算所有实体(我的意思是屏幕上的每个实体)的位置,并考虑速度等参数。..对我来说,这意味着相机不会移动,但它所展示的世界。我想做相反的事情,移动相机而不是世界,因为这对我来说更有意义,而且看起来更容易,因为我只需要移动相机,而不是所有实体。所以我不希望世界移动而我的相机显示变化,而是我的相机移动并显示变化。因此,即使某些实体不动(它们的坐标x和y不变),它看起来也会像相机移动一样。所以我有一个继承自OrthographicalCamera的

android - 更新 : This is now a Swype related issue: Disable the automatic capitalizing of a sentence's first character in an EditText

我正在实现一个用于从用户获取rtspURI的EditText。虽然这在功能上不是一个大问题,但我想禁用屏幕键盘的默认行为,其中为每个句子的第一个字符启用大写键的状态。据我所知,这不能通过android:inputType标志在XML中完成。关于如何以编程方式执行此操作的任何指示都会有所帮助。我想包含代码,但项目的性质不允许我这样做。但我可以说这里没有什么特别的。EditText本身没有使用其他输入标志,唯一可用的IME选项是禁用横向提取UI的标志。布局是通过XML而不是以编程方式实现的,因此混合中也没有自定义类或扩展。编辑:从TextView继承的android:capitalize常

android - PlaceAutocompleteFragment : automatically open SearchView

我想在Activity加载完成后立即自动点击fragment。fragment定义为:我试过这样做fragment=findViewById(R.id.place_autocomplete_fragment);newHandler().postDelayed(newRunnable(){@Overridepublicvoidrun(){fragment.performClick();}},1000);但是没用。有什么方法可以自动点击fragment吗?编辑:在我的例子中,fragment被膨胀了//PlaceAutoCompleteSearchImplementationPlaceAu

java - 安卓 2.2 : How to make an app to run automaticly on startup & how to make an app start another app

主题几乎说明了一切。 最佳答案 使用BroadcastReceiver接收ActionBOOT_COMPLETED的Intent。在onReceive()方法中为您的Activity创建一个Intent:@OverridepublicvoidonReceive(Contextcontext,Intentintent){IntentmyIntent=newIntent(context,YourActivity.class);context.startActivity(myIntent);}

安卓 2.2 : How to update textviews automatically with a timer?

我的应用程序中有一些TextView,我希望每5秒自动更新一次。我有一种刷新它们的方法,但是如何制作一个每5秒运行一次该方法的计时器?谢谢! 最佳答案 提供另一种解决方案Handlerh=newHandler();@OverridepublicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);this.setContentView(R.layout.main);h.post(newRunnable(){@Overridepublicvo

Android:ContentResolver.update() 究竟做了什么?

我想使用方法ContentResolver.update(Uriuri,ContentValuesvalues,Stringwhere,String[]selectionArgs)我知道如何使用它,但我想知道它对ContentValues有何作用。它会覆盖所有现有的ContentValues,还是只覆盖给定的ContentValues?例如,这些ContentValues存在:A:abcB:123C:456update()方法中的ContentValues包含以下内容:A:asdfC:789那么新的ContentValues将是:(只覆盖给定的值)A:asdfB:123C:789或者会

安卓工作室 : install an update patch

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎不是关于aspecificprogrammingproblem,asoftwarealgorithm,orsoftwaretoolsprimarilyusedbyprogrammers的.如果您认为这个问题是关于anotherStackExchangesite的主题,您可以发表评论,说明问题可能在哪里得到解答。关闭6年前。Improvethisquestion我想将androidstudio从1.2更新到2.0我从下载了所需的文件(Windows:https://dl.google.com

android - "This app won' t run unless you update Google Play Services"when app is installed on real device

当我在运行旧版本(例如4.4.4)的Android设备上安装我的应用程序时,我收到此消息。我能看到的与此消息相关的所有其他帖子似乎都是在模拟器上运行时与GoogleMapsAPI相关的。我使用的是GooglePlay服务7.0.0。 最佳答案 Thisandroiddeveloper'sblogentry描述了GooglePlay服务7.0版中的新功能。如果您不需要这些,您可以使用6.5版,它已经使用了新的GoogleApiClient类并提供了精细的依赖模块(最好描述here和here。在我的一个项目中我使用了这个compile'

android - 处于 Release模式时 SupportMapFragment 中的 "Google Play services are updating"消息

我在使用GoogleMaps时遇到了这个奇怪的问题。当我处于Debug模式时,一切正常,但当我处于Release模式时,永远不会调用onMapReady回调,map会显示“GooglePlay服务正在更新”消息。另一件奇怪的事情是,如果我在应用程序中运行一个以map开始的Activity,即使在其他Activity中也是如此。这是我在fragment中的代码@Nullable@OverridepublicViewonCreateView(LayoutInflaterinflater,ViewGroupcontainer,BundlesavedInstanceState){FrameLa

android - (强化)类别 : Android Bad Practices: Missing Google Play Services Updated Security Provider (1 Issues)

我们正在使用Fortify扫描我的Android源代码,但我无法解决这个问题:Category:AndroidBadPractices:MissingGooglePlayServicesUpdatedSecurityProvider(1Issues)Fortify指向这行代码:tools:replace="android:allowBackup">AndroidManifest.xml:37null()强化推荐:ThesimplestwaytopatchthesecurityprovideristocallthesynchronousmethodinstallIfNeeded().Th