Detecting the mobile Platform

Get help using Construct 2

Post » Fri Dec 13, 2013 7:43 am

Hello,
I need to detect the platform of the mobile device.
I tried using Browser.platform , but gettinig Linux ARMv7 instead of android ,may be that is because android is an os developed from linux family.
Now i found that there is the system condition "is on Platform".
This is working for Android by selecting "Android" from dropdown list.
But for blackberry the dropdown menu "BlackBerry 10 App" is not detecting the platform, is that means the condition is true after packaging to blackberry?

Thank You...
B
4
Posts: 11
Reputation: 224

Post » Wed Dec 18, 2013 11:42 am

Hi. I did not try the mobile detection yet but I set mine to "is on node-webkit" to show a close button for win/mac/linux but it does not seem to work.

Is on platform node-webkit > Closebutton Set Visible
Else > Closebutton Set Invisible
On Touch > Closebutton: Browser.Close

/Update: It does not work in Node Webkit Preview and in the exported project. :(Bl4ckSh33p2013-12-18 12:18:03
B
54
S
16
G
6
Posts: 719
Reputation: 9,207

Post » Wed Dec 18, 2013 7:00 pm

Did anyone else use this successfully? It seems I have to show the close button always until a workaround/fix is found.

Did I miss something or is this a bug?Bl4ckSh33p2013-12-18 19:01:41
B
54
S
16
G
6
Posts: 719
Reputation: 9,207


Return to How do I....?

Who is online

Users browsing this forum: ChoosyZerk, Google [Bot], lukewasthefish and 17 guests