Android 模拟三星 Galaxy Tab

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3745491/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 11:37:19  来源:igfitidea点击:

Emulate Samsung Galaxy Tab

androidandroid-emulatortablet

提问by Dariusz Bacinski

I would like to test my application with new Samsung Galaxy Tab tablet.

我想用新的三星 Galaxy Tab 平板电脑测试我的应用程序。

What parameter should I set in emulator to emulate this device?

我应该在模拟器中设置什么参数来模拟这个设备?

  • What resolution and density should I set?
  • How can I indicate that this is large screen device?
  • What hardware does this tablet support?
  • What is max heap size?
  • Which Android version?
  • 我应该设置什么分辨率和密度?
  • 我怎样才能表明这是大屏幕设备?
  • 这款平板电脑支持哪些硬件?
  • 什么是最大堆大小?
  • 哪个安卓版本?

回答by Jona

UPDATED:
Matt provided a great link on how to add emulators for all Samsung devices.

更新:
Matt 提供了一个关于如何为所有三星设备添加模拟器的很好的链接。

OLD:
To get the official Samsung Galaxy Tab emulator do the following:

旧:
要获得官方的三星 Galaxy Tab 模拟器,请执行以下操作:

  1. Open the Android SDK and AVD Manager
  2. Click on Available packages
  3. Expand the Third party Add-ons. There you will see Samsung Electronics add-ons.
  4. Once the add-on is installed create a new emulator. Under Target you will see the new Samsung Tab settings, select that.
  1. 打开 Android SDK 和 AVD 管理器
  2. 点击可用包
  3. 展开第三方加载项。在那里您将看到三星电子附加组件。
  4. 安装附加组件后,创建一个新的模拟器。在目标下,您将看到新的三星标签设置,选择它。

That's it!

就是这样!

回答by Kim Ki Won

I found under website.

我在网站下找到的。

http://developer.samsung.com/android/tools-sdks/Samsung-GALAXY-Tab-Emulator

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.

将 zip 文件解压缩到 android sdk 路径下的附加组件。然后启动 Android SDK 管理器。在“extras”文件夹下,选中“Android + Google APIs for GALAXY Tab, API 8, revision 1”项并安装包。

That's all.

就这样。

回答by xil3

What resolution and density should I set?

我应该设置什么分辨率和密度?

  • 1024x600
  • 1024x600

How can I indicate that this is large screen device?

我怎样才能表明这是大屏幕设备?

  • you can't really (not that i know of)
  • 你真的不能(不是我知道的)

What hardware does this tablet support?

这款平板电脑支持哪些硬件?

What is max heap size?

什么是最大堆大小?

  • not sure
  • 没有把握

Which Android version?

哪个安卓版本?

  • 2.2
  • 2.2

Hope that helps - check the spec page for all unanswered questions.

希望有所帮助 - 检查所有未回答的问题的规范页面。

回答by Tatarize

You can't.

你不能。

"The Samsung Emulator has the same functionality as the Generic Android Emulator, but varies with the size and appearance of the device."

“三星模拟器具有与通用 Android 模拟器相同的功能,但因设备的大小和外观而异。”

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.

三星的问题在于他们不使用通用的 android 图像,他们有自定义应用程序,他们以自定义方式做出反应,并做你意想不到的奇怪事情,当你试图修复你想要的错误时。你不能得到那个。您需要访问物理设备才能获得正确的生态系统来寻找错误并确定哪些意图在该设备上起作用以及它们如何工作。有时会出现仅在三星设备上发生的错误,因为某些核心渲染代码也不同。我遇到过错误,除了三星之外的所有 Android 设备都可以完美运行,但该方案本身无法在三星上运行,因此不得不报废。三星唯一允许的就是换肤,它不会正确记录渲染管道的变化或三星生态系统如何处理意图。

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.

你可以让设备看起来相似,那毫无价值。我不在乎它的样子,我在乎这个错误是否仍然影响那个特定的模型,或者我对意图的调整是否纠正了这个问题,我无法从漂亮的图片中了解到这一点作为同一设备的边框.

回答by Scott Wardlaw

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

如果您在 Netbeans 上进行开发,您将不​​会获得第三方附加组件。您可以在此处直接从三星下载皮肤:http: //developer.samsung.com/android/tools-sdks

After download, unzip to ...\Android\android-sdk\add-ons[name of device]

下载后解压到...\Android\android-sdk\add-ons[设备名称]

Restart the Android SDK Manager, and the new device should be there under Extras.

重新启动 Android SDK Manager,新设备应该在 Extras 下。

It would be better to add the download site directly to the SDK...if anyone knows it, please post it.

最好把下载地址直接加到sdk里。。。如果有知道的请发一下。

Scott

斯科特

回答by Naya

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

不知道有没有帮助 为平板设备创建 AVD:将目标设置为“Android 3.0”,将皮肤设置为“WXGA”(默认皮肤)。你可以检查这个网站。 http://developer.android.com/guide/practices/optimizing-for-3.0.html