模拟三星 Galaxy Tab

发布于 2024-09-24 12:16:32 字数 193 浏览 3 评论 0原文

我想使用新的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

时光沙漏 2024-10-01 12:16:33

你不能。

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

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

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

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."

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.

梦幻的味道 2024-10-01 12:16:33

我在网站下找到的。

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.

秋日私语 2024-10-01 12:16:33

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

  • 1024x600

如何表明这是大屏幕设备?

  • 你真的不能(据我所知)

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

最大堆大小是多少?

  • 没有把握

哪个 Android 版本?

  • 2.2

希望有所帮助 - 检查规格页面以了解所有未解答的问题。

What resolution and density should I set?

  • 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

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

身边 2024-10-01 12:16:33

转到此链接... 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!!!

土豪 2024-10-01 12:16:33

如果您在 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

_失温 2024-10-01 12:16:33

我不知道是否有帮助。
为平板电脑类型设备创建 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

梦情居士 2024-10-01 12:16:32

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

旧:
要获取官方 Samsung Galaxy Tab 模拟器,请执行以下操作:

  1. 打开 Android SDK 和 AVD Manager
  2. 单击“可用包”
  3. 展开“第三方附加组件”。在那里您将看到三星电子附加组件。
  4. 安装附加组件后,创建一个新的模拟器。在“目标”下,您将看到新的 Samsung 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:

  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.

That's it!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文