列表 第页
在具有安装它'家'之后的Web应用程序时,它似乎是一个最新的更新到iOS已经引起了一贯的黑色状态栏变成透明,并漂浮在它下面的网页内容。When working with a web application after having installed it to 'home', it seems like a mos...阅读全文
有一些问题在这里对SO有关捕获一个Android应用程序的截图。但是,我还没有找到如何采取截图编程方式使用Android SDK的或任何其他方法了坚实的解决方案。There are a few questions here on SO about capturing screenshots of an android...阅读全文
我有固定的屏幕方向的只有我的index.html页面的问题。我想允许该应用除了在主页上旋转。据我所知,添加以下到你的活动 - 安卓screenOrientation =画像旋转停止屏幕I am having an issue with fixing the screen orientation for my inde...阅读全文
信息:我的设备是Nexus One的2.2和我已经测试了两个项目,一个在1.5和一个在2.1。问题:我有麻烦理解我的应用程序的生命周期中,当屏幕处于关闭状态而上。下面是我的输出//活动开始08-04 17:24:17.643:ERROR / PlayActivity(6215):ONSTART执行...08...阅读全文
我要通过加载列表NG重复,其中每个元素包含一个 IMG 标记。我想表现出某种负载指示灯(阻断列表中的项目),直至每一个项目中的每个图像加载完毕。 I have a list loaded through ng-repeat where each element contains an img tag. I'd lik...阅读全文
我的工作,这将被包含在HTML页面中我没有控制上的角项目。其实我只是有机会获得什么&LT内部;身体GT; 元素。 I'm working on an Angular project that will be included in a HTML page I don't have control on. Actua...阅读全文
我们要创建一个应该有不同的列表视图,用户可以滑动(左或右)查看其他列表视图(就像在TweetDeck的,并在主屏幕上的一些Android操作系统版本)的屏幕。还有点用于识别许多列表视图如何在那里的列表。We want to create a screen which should have different lis...阅读全文
我需要code中的机器人部件的布局采用DIP / DP(在Java文件)。在运行时,如果我code, INT像素= this.getWindowManager()getDefaultDisplay()的getWidth(); I need to code the layout of the android widge...阅读全文
我有一个SimpleCursorAdapter和$ P $从SQLite数据库ppopulated与价值创造的EditText项长期滚动列表。我有这样的人:光标= db.rawQuery(选择_id,标准,localweight,globalweight FROM+ dbTableName +ORDER BY准则,NU...阅读全文
我想的最后2天,但找不到任何solution.My模拟器的屏幕挂起尝试运行并显示错误消息的Android应用程序,如下图所示错误日志时:I am trying for last 2 days but can not find any solution.My emulator screen hangs when t...阅读全文
我的看法是这样的:
我有一个OpenGL的游戏为Android。它运行在一个良好的60fps的当屏幕被触摸。当我松开我的手指,又回到下降到大约30帧。请问触摸事件/释放升/降线程的优先级,如果是这样我怎么能复制这使其保持在一个恒定的60fps的。这只似乎是Galaxy Note的问题2为止。I have an OpenGL game f...阅读全文
在我的应用我认为有一些按钮和SurfaceView。我一定要把这个观点的截图,但在地方SurfaceView的只有黑场。我尝试,我发现计算器的解决方案,但他们不为我工作。 In my application I have view with some buttons and SurfaceView. I must t...阅读全文
谁能告诉我这可绘制做的Nexus 6和Nexus 9支持xxhdpi或xxxhdpi?我也想的Nexus 6是否支持large-华电国际还是别的什么?Can anyone tell me which Drawable does Nexus 6 and Nexus 9 support xxhdpi or xxxhdpi...阅读全文
有关多屏支持这样做,我们需要不同的布局,每个进去华电国际,LDPI和MDPI文件夹屏幕上,我读到这对Android的网站,但不知道如何实现这一点。 For Multiple screen support do we need different layouts for each screen which goes i...阅读全文
我已经看到下面的链接张贴这个问题之前,I have seen the following links before posting this question http://www.devx.com/wireless/Article/40792/1954 如何保存一个Android应用程序的状态? http://w...阅读全文
我是self_learner到Android。我有两个screens.The第一屏幕包含一个的EditText和一个按钮,所述的EditText是从用户获得的输入和按钮是调用tabhost的活动这是第二屏幕上。在运行时,从用户获得输入后,就应该表现出相应的值(根据用户的输入),以一个tabhost这是第二个屏幕上的选项...阅读全文
因为我在一开始与Android编码我犹豫了一下后,我的问题,但现在我在的地步,我无法抗拒。since i'm at the beginning with Android coding i hesitated to post my question, but now i'm at the point where i c...阅读全文
我想使用的BroadcastReceiver,但它不能正常工作,请帮我解决这个问题。MyReceiver.java I am trying to use BroadcastReceiver but it is not working, please help me to solve this problem.My...阅读全文
我想让我的Android屏幕的视频(我在做什么了android屏幕上)编程。I want to make video of my android screen(what i am doing on the android screen) programatically.有没有这方面的任何最好的教程或帮助。我寻...阅读全文
您好,你能告诉我如何禁用选项卡中的Android code中的UI。(闪电code)hi can you tell me how to disable a tab in the UI of android code.. (eclair code)推荐答案如果你的意思是禁用TabWidget一个选项卡按钮,然后...阅读全文
说明:请保存自己的一些时间,指的是接受的答案,没有必要阅读所有的quesiton 您可以阅读问题的其余部分,我提供了另一种答案(虽然不太复杂的)方法。此外,您可能想在安卓2.X后台故障修复的优势,通过增加相关一张code到你的preference活动类。 NOTICE: Please save yoursel...阅读全文
我无法让我的ImageView出现半个屏幕可以有人帮忙的。这里是我的XML文件。它应该采取的屏幕尺寸的一半,并还与TextView的线性布局应该在imageview的页脚I am having trouble to make my imageview appear half of the screen can som...阅读全文
我已经创建了自己的应用程序,我想这个是我的发射。这是一个简单的应用程序,但它的作品。I've created my own app and I want this one to be my launcher. It's a simple app, but it works.是否有可能与我的应用程序替换默认的启动,使...阅读全文
在我的布局,我有一些按钮寿做出一些选择,然后一个按钮来执行一个查询到数据库。此查询的结果显示在的ListView 这个布局中。On my layout, I have some buttons tho make some choices and then one button to perform a query t...阅读全文
我已经使用这个code作为@gnobal张贴在 http://stackoverflow.com/a/2700683/1556329 和它的伟大工程。但我的问题是,我发现,当我申请Theme.Transparent的活动不进入横向模式,当我旋转手机。I have used this code as @gnobal p...阅读全文
我已阅读本教程支持多屏幕操作多次和许多计算器问题,关于设计Android的用户界面与所有的Android屏幕尺寸合身。 I have read this tutorial SUPPORTING MULTIPLE SCREENS several times and many stackoverflow questi...阅读全文
我要建一个使用OpenGL ES 2.0的Android应用程序,我已经碰壁。我想转换屏幕坐标(其中用户触摸)为世界坐标。我试着阅读并GLU.gluUnProject玩弄,但我现在不是做错了,或只是不明白。这是我尝试...... 公共无效getWorldFromScreen(浮X,浮动Y){视口INT [] = {...阅读全文
我的应用程序是一个拨号器,当用户拿着手机靠近他的头,我需要把屏幕关闭,prevent点击上的控制 - 就像原生的Android拨号器的行为。我需要什么API级别,我怎么能做到这一点在正确的方式?My app is a dialer and when user holding the phone near his...阅读全文
我服用的谷歌地图截图V2 使用$ C $的这款C回答这是给我的输出:I am taking screenshot of Google Map v2 by using code of this answer which is giving me output : 这是好的采取截屏图通过以下$ C $词可以把拍...阅读全文
的愿望有480 * 800像素,3.7英寸的HD拥有480 * 800像素,4.3英寸的屏幕规格。The desire have 480 x 800 pixels, 3.7 inches and the HD have 480 x 800 pixels, 4.3 inches screen specification...阅读全文
是否有可能一个小部件的宽度分配给一半的可用屏幕宽度,并使用XML的声明做呢?Is it possible to assign a widget width to half the available screen width, and do it using declarative xml?推荐答案如果您的小部件...阅读全文
我试图建立一个Android应用程序,将拍摄一张照片,并以某种方式处理它。我想布局类似于谷歌护目镜。意,相机preVIEW在上面,并利用纵向在底部一些控制I trying to put together an Android app that will take a picture and process it in...阅读全文
我创建一个TextView,并动态地添加到布局。我使用 textView.setTextSize(18)方法来设置size.I测试了三星平板电脑,发现字体大小是太小,屏幕上的文本,然后我改该TEXTSIZE 25,但它是太大仿真器(480 * 800)。我的问题是动态设置文字大小,使其适合于所有的屏幕上。I am c...阅读全文
我试过 getOrientation()获得的价值取向,但它总是返回0!I tried getOrientation() to get the orientation value but it always returns 0!推荐答案getOrientation()是pcated德$ P $但这不是neccesa...阅读全文
我想知道如何检测屏幕变暗或亮度在Android 1.6。I am wondering to know how to detect screen dim or brightness on Android 1.6.我发现在API级别7的解决方案是容易的开发:I've found a solution on API...阅读全文
这样的问题周期性地出现。如果这已经涵盖对不起之前,但我是一个新手,但没有找到合适的答案。它涉及的正确实施课程和活动之间的沟通。This kind of questions appear periodically. Sorry if this has been covered before, but I'm a new...阅读全文
我有一个活动,通常需要一些时间来观看屏幕,不与其进行交互。I have an Activity that usually needs some time to watch the screen without interacting with it.问题是,屏幕将自动关闭,就像Almos酒店的其他应用程序。我想p...阅读全文