Creating an emulator for Galaxy S8? - Android Studio -
i create new hardware profile in attempt make , emulator galaxy s8/s8+. set screen size 5.8/6.2 inches (depending on whether s8 or s8+, despite fact doesn't appear affect emulator anyway), , screen resolution 1440 x 2960, device. emulator appears nothing on real device. testing app on real s8+ shows laid out poorly, on emulator appear relatively organised, , noticed uses dimens nexus 6 emulator (xxxhdpi). dimens values used isn't big deal, because i'm happy phase out nexus 6 considering it's no longer in production.
so add code launcher java class that gets me dimensions of emulator, here s8 emulator: {density=3.5, width=1440, height=2792, scaleddensity=3.5, xdpi=560.0, ydpi=560.0}
besides fact height says 2792 instead of 2960 (i assume meant happen), believe see issue - density 3.5. suspected, same density nexus 6. emulator i'm creating not galaxy s8, , evident in comparison real s8+ displayed app in distorted manner. far i'm aware, galaxy s8 has density of 4, not 3.5. ide says device has 560dpi. need able create emulator density of 4, , same specs i've put down. how can this? how can test galaxy s8 without using real thing? there isn't preconfigured emulator device provided ide.
many in advance.
there no preconfigured emulator. per experience, if try create matching device configuration if not of use still run stock android.
so, found samsung provides online test lab firebase.
you can go http://developer.samsung.com/rtllanding.do , check out. give 5 minutes free if don't have developer account.
as per samsung can following
- 20 credits provided each samsung developer user every day.
- with 1 credit, users can use remote test lab service 15 minutes.
- minimum reservation: 30 minutes (2 credits)
- maximum reservation: 10 hours day (40 credits)
more details : http://developer.samsung.com/remotetestlab/rtlaboutrtl.action
Comments
Post a Comment