DroidScript / Docs

DroidScript Documentation
Apache License 2.0
85 stars 31 forks source link

GetType example Python #228

Open Al4He6 opened 4 months ago

Al4He6 commented 4 months ago

https://github.com/DroidScript/Docs/blob/63145db940b0ace9ef88855f7e3a4ec9c6c4576c/files/markup/en/app/GetType.js#L30

import is in markup, not in IDE This works

from native import app

def OnStart(): type = app.GetType() app.Alert( type, "Type" )