I am new to Java / Netbeans, but I want to try something on Android. I choose Clojure, but the beginning is not so simple. I set the mode for Netbeans and Clojure and can run simple swing applications.
I found https://github.com/remvee/clojurehelloandroid , but I canβt translate it into a NetBeans solution, I donβt even know how to specify if for Android (Dalvik).
(ns us.riddell.TestProject (:gen-class :extends android.app.Activity :exposes-methods {onCreate superOnCreate}))
Where is android.app.Activity from coming / how to install / add it?
And it looks like working with a graphical interface in a Dalvik virtual machine.
I really like the NetBeans Clojure GUI Hello World for Android :)
Thanks.
source share