我在 Android 上的 Android OpenGL 应用程序的用户分辨率低于支持的分辨率
我正在使用具有 480x854 像素分辨率的 Motorola Defy,在其中测试 OpenGL ES 应用程序,但我无法让我的 OpenGL 表面在手机的全分辨率上运行。
我阅读了有关它的其他问题,并且我已经像这样设置了我的清单:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true" android:name="com.test.game.MyApplication">
<activity android:name="com.test.game.VikingsActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"
android:resizeable="true"/>
</application>
但它仍然无法工作。我缺少什么?
I'm using a Motorola Defy which has a 480x854 pixel resolution in which I'm testing an OpenGL ES application, but I can't get my OpenGL surface to run on my phone's full resolution.
I read other questions on it and I have already setup my manifest like this:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true" android:name="com.test.game.MyApplication">
<activity android:name="com.test.game.VikingsActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"
android:resizeable="true"/>
</application>
But it still won't work. What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这修复了我的应用程序的问题:
在
标记之前添加。This fixes it for my app: Add
before your
<application>
tag.