DroidScript / Docs

DroidScript Documentation
Apache License 2.0
81 stars 29 forks source link

GetType example Python #228

Open Al4He6 opened 1 month ago

Al4He6 commented 1 month 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" )