在 Appaccelerator Titanium 上从 Android 手机运行应用程序时,窗口缩小到屏幕大小的四分之一
我已经构建了一个 iPhone 应用程序并使用相同的代码来编译 Android 应用程序。当我在手机(HTC Desire)而不是模拟器中运行应用程序时,主窗口缩小到屏幕尺寸的四分之一,除此之外其他一切都工作正常。有人可以告诉我是否有任何需要在钛金中寻找的配置吗?
- Ubuntu
- 应用加速器 Tatanium Studio
- HTC Desire
I have build an iPhone app and using same code to compile Android app. When I run the app in the phone (HTC Desire) instead in emulator, the main window shrinked to the quarter of the screen size, everything else is working fine except this. Can someone please let me know if there is any configuration to look for in Titanium ?
- Ubuntu
- Appaccelerator Tatanium Studio
- HTC Desire
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此可能对你有帮助吗?
This could possibly help you?
查看 Appaccelerator 网站上的屏幕截图,我发现 Android 手机是由 HTC Hero 推出的,这对于 2011 年来说有点旧。这让我认为 Appaccelerator 不知道像 Desire 这样的最新高密度设备。如果应用加速器使用像素的物理坐标,那么在高密度手机上您将得到您所描述的准确行为。
无论如何,Appaccelerator 网站上声明的短语正在申请专利的开发技术已经是反对使用它的警告信号。
Looking at screenshots on Appaccelerator website I see that Android phone is presented by HTC Hero, which is kind of old for 2011. This makes me think that Appaccelerator is not aware of newest high-density devices like Desire. If Appaccelerator uses physical coordinates for pixels then on high-density phones you'll get exactly the behavior you describe.
Anyways, phrase patent-pending development technology stated on the Appaccelerator website is already an alarming sign against using it.