#導覽列 #文章列表 #許洛豪
在光之翼的守護下訴說著一段段的英雄傳說。 [ 首頁 | 網誌 | 相簿 | 留言 | 訂閱 ]

Programming Android 1.5 application with Scala.

Sorry for my poor English, but I think this maybe useful for those people who want program Android 1.5 application with Scala.

Thanks for cris’s work, I finally found out how to build Android 1.5 applications with Scala 2.7.5.

Here is how to do it.

  1. First, you will need install ProGuard, and here is the android_rules.xml ANT build XML I modified.
  2. Copy it and overwritten the original android_rules.xml under ${ANDROID_SDK}/platforms/android-1.5/templates/ directory.
  3. This build file should work both on pure-Java source code and Scala source code mixed with Java source code, if your android application is written by Java,  just run ant debug/reinstall/release as usual.
  4. If your android application is written in Scala, then you need create an tools directory and copy both scala-compiler.jar and scala-library.jar into it like Step 3 in chris blogs.
  5. Now, run ant reinstall to test and enjoy your Scala-powered Android application.
將本文加入 Hemidemi 書籤
Brian Hsu (墳墓)
2009-09-12 (週六) 09:17:25

第 1 篇迴響

Brian 你好:

我是Mountain, 我們是作技術類的教育訓練, Scala提供課程, 剛好看到你網頁上有提到Scala, 所以就留言, 想看看是否有合作的機會

麻煩你

由 Mountain 在 2009/10/23 發表


留下迴響







請勿使用注音文或火星文!並請遵守發規則,本站亦不歡迎匿名留言。