Android-Galaxy S8或LG G6上的测试应用 [英] Android - Testing app on Galaxy S8 or LG G6

查看:106
本文介绍了Android-Galaxy S8或LG G6上的测试应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读以下有关更新应用程序以充分利用Galaxy S8或LG G6等设备的文章

I was reading the following article about updating an app to take full advantage of devices like the Galaxy S8 or LG G6

https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html

我想做的是在这些屏幕的模拟器中测试应用程序,并在添加本文建议的代码行之前和之后对其进行测试:

And what I want to do is to test the app in an emulator of these screens and test it before and after adding the line of code the article suggests:

<meta-data android:name="android.max_aspect" android:value="2.1" />

我曾尝试在Android Studio内创建一个屏幕尺寸为5.8,分辨率为2960x1440(Galaxy S8屏幕分辨率)的AVD,即使它是仅纵向模式的应用,我的应用也可以正常运行而没有任何黑条,并且由于它预期会显示黑条,所以我认为我没有适当地配置模拟器.

I have tried creating an AVD inside of Android Studio with a screen size of 5.8 and a resolution of 2960x1440 (Galaxy S8 screen resolution), and my app runs fine without any black bars, even though it's a portrait-only app, and due to that it'd be expected to show black bars, so I think I'm not configuring the emulator appropiately.

有什么想法吗?

谢谢.

推荐答案

我一直在寻找类似的东西来测试我的应用程序,发现三星提供了像Firebase这样的在线测试实验室.

I have been looking for similar thing to test my app and found that Samsung provides online test lab like firebase.

您可以访问 http://developer.samsung.com/rtlLanding.do 并一探究竟.如果您没有开发者帐户,他们会免费提供5分钟的时间.

You can go http://developer.samsung.com/rtlLanding.do and check it out. They give 5 minutes free if you don't have developer account.

根据三星,您可以关注

    每天为每个Samsung Developer用户提供20美元的信用.
  • 获得1个学分,用户可以使用远程测试实验室服务15分钟.
  • 最少预订:30分钟(2个学分)
  • 最长预订:每天10小时(40个学分)
  • 20 credits are provided to each Samsung Developer user every day.
  • With 1 credit, users can use the Remote Test Lab service for 15 minutes.
  • Minimum reservation: 30 minutes (2 credits)
  • Maximum reservation: 10 hours a day (40 credits)

更多详细信息: http://developer.samsung.com/remotetestlab/rtlAboutRTL.action

这篇关于Android-Galaxy S8或LG G6上的测试应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆