Hi guys,

can you tell me how it is possible to find out whether the device the application is executed on is a smartphone or a tablet? The goal is to create different layouts of an application. On a tablet more content could be presented because of the larger display than on a smartphone. I want to check which device is used and according to this load the suitable layout. Is that possible?

Thank you!

asked 16 Jan '14, 03:33

Lisa's gravatar image

Lisa
1716
accept rate: 0%

edited 16 Jan '14, 03:49


Hi Lisa,

The Beta 2 does not have this API but FS Mobile will have this API eventually. The Beta 2 is focused on smartphones. Even though the apps you will build with FS Mobile Beta 2 will work on tablets just fine, FS Mobile Beta needs a few more layout features and components so hat you can create tablet specific apps.

Kind Regards,
Yalim

link

answered 20 Jan '14, 06:32

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×23
×19

Asked: 16 Jan '14, 03:33

Seen: 961 times

Last updated: 20 Jan '14, 06:32


© Copyright Gerger 2017