模拟三星 Galaxy Tab
我想使用新的 Samsung Galaxy Tab 平板电脑测试我的应用程序。
我应该在模拟器中设置什么参数来模拟该设备?
- 我应该设置什么分辨率和密度?
- 如何表明这是一个大屏幕设备?
- 这款平板电脑支持哪些硬件?
- 最大堆大小是多少?
- 哪个安卓版本?
I would like to test my application with new Samsung Galaxy Tab tablet.
What parameter should I set in the emulator to emulate this device?
- What resolution and density should I set?
- How can I indicate that this is a large screen device?
- What hardware does this tablet support?
- What is the max heap size?
- Which Android version?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
你不能。
三星的问题是他们不使用通用的 Android 图像,他们有自定义应用程序,他们以自定义方式做出反应,并做你意想不到的奇怪的事情,当你试图修复错误时,这就是你想要的您无法获得这一点,您需要访问物理设备才能找到正确的生态系统来查找错误并确定哪些意图有效以及它们如何在该设备上工作,因为有时会出现仅在三星设备上发生的错误。一些核心渲染代码也不同。我遇到了错误,除了三星之外的所有 Android 设备都可以完美运行,但该方案本身无法在三星上运行,因此必须被废弃。三星唯一允许的是皮肤,并且获胜了。没有正确注意渲染管道的变化或三星生态系统如何处理意图,
你可以使设备看起来相似,那是毫无价值的,我不在乎它看起来像什么,我关心这个错误是否仍然影响该特定模型。或者对我所做的意图的调整是否纠正了问题,但我无法从作为同一设备边框的漂亮图片中了解到这一点。
You can't.
The problem with Samsung is that they don't use a generic android image, they have custom apps and they react in custom ways and do weird things you wouldn't expect and when you're trying to fix bugs that's what you want. You cannot get that. You need access to a physical device to get the right ecosystem to hunt down the bugs and map out which intents work and how they work on that device. And sometimes there are errors that only occur on Samsung devices because some of the core rendering code is different as well. I've had errors where all Android devices except Samsung would work flawlessly but the scheme itself could not work on Samsung and had to be scrapped. The only thing Samsung allows is skinning and that won't properly note the changes in the rendering pipeline or how the samsung ecosystem deals with intents.
You can make the device look similar, that's worthless. I don't care what it looks like, I care whether this bug still affects that particular model or whether the tweak to the intents I made rectified the issue and I can't learn that from a pretty picture as the border to the same device.
我在网站下找到的。
http://developer.samsung.com/android/tools-sdks/Samsung-GALAXY- Tab-Emulator
将 zip 文件解压到 android sdk 路径下的附加组件。
然后启动 Android SDK 管理器。
在“额外”文件夹下
检查“Android + Google APIs for GALAXY Tab, API 8, revision 1”项并安装包。
就这样。
I found under website.
http://developer.samsung.com/android/tools-sdks/Samsung-GALAXY-Tab-Emulator
Extract zip file to add-ons under android sdk path.
then launch Android SDK Manager.
under "extras" folder
check "Android + Google APIs for GALAXY Tab, API 8, revision 1" item and install package.
That's all.
希望有所帮助 - 检查规格页面以了解所有未解答的问题。
Hope that helps - check the spec page for all unanswered questions.
转到此链接... https://github.com/bsodmike/android-avd-profiles-2016/blob/master/Samsung%20Galaxy%20Tab%20A%2010.1%20(2016).xml
在计算机中另存为 xml 文件。进入Android Studio =>工具=> AVD 管理器 => + 创建虚拟设备 =>导入硬件配置文件...选择保存的文件,设备将在平板电脑部分可用。
祝大家 Android 开发愉快!!!
Go to this link ... https://github.com/bsodmike/android-avd-profiles-2016/blob/master/Samsung%20Galaxy%20Tab%20A%2010.1%20(2016).xml
Save as xml file in your computer. Go on Android Studio => Tools => AVD Manager => + Create Virtual Device => Import Hardware Profiles ... choose the saved file and the device will be available on the tablet's section.
Happy Android developments guys!!!
如果您在 Netbeans 上进行开发,您将无法获得第三方附加组件。您可以直接从三星下载皮肤:
http://developer.samsung.com/android/tools-sdks
下载后解压到 ...\Android\android-sdk\add-ons[设备名称]
重新启动 Android SDK Manager,新设备应该出现在 Extras 下。
最好直接将下载站点添加到SDK中...如果有人知道,请发布。
斯科特
If you are developing on Netbeans, you will not get the Third-Party add-ons. You can download the Skins directly from Samsung here:
http://developer.samsung.com/android/tools-sdks
After download, unzip to ...\Android\android-sdk\add-ons[name of device]
Restart the Android SDK Manager, and the new device should be there under Extras.
It would be better to add the download site directly to the SDK...if anyone knows it, please post it.
Scott
我不知道是否有帮助。
为平板电脑类型设备创建 AVD:
将目标设置为“Android 3.0”,将皮肤设置为“WXGA”(默认皮肤)。
你可以检查这个网站。
http://developer.android.com/guide/practices/optimizing-for -3.0.html
I don't know if it is help.
Create an AVD for a tablet-type device:
Set the target to "Android 3.0" and the skin to "WXGA" (the default skin).
You can check this site.
http://developer.android.com/guide/practices/optimizing-for-3.0.html
更新:
Matt 提供了一个关于如何为所有三星设备添加模拟器。
旧:
要获取官方 Samsung Galaxy Tab 模拟器,请执行以下操作:
就是这样!
UPDATED:
Matt provided a great link on how to add emulators for all Samsung devices.
OLD:
To get the official Samsung Galaxy Tab emulator do the following:
That's it!