Great demo, thanks!!
On Wednesday, 24 September 2014 02:10:21 UTC+2, venuatu wrote: > > I've setup a demo <https://github.com/venuatu/android-macroid-okhttp-demo> > for > you using OKHTTP <https://square.github.io/okhttp/> and spray-json > <https://github.com/spray/spray-json> to show you how I do things > > Basically I wrap the java async request/response api into a future and use > this to create a function to start a HTTP request and map the response into > a case class in WebService.scala > <https://github.com/venuatu/android-macroid-okhttp-demo/blob/master/src/main/scala/me/venuatu/scalaokhttpdemo/WebService.scala> > and > then I use macroid to push the data into the ui as in MainActivity.scala > <https://github.com/venuatu/android-macroid-okhttp-demo/blob/master/src/main/scala/me/venuatu/scalaokhttpdemo/MainActivity.scala> > > I think doing things this way is pretty great! > > On Saturday, 20 September 2014 02:41:36 UTC+10, Dani wrote: >> >> Hi David, >> I'm very glad of hear that. I'm fan of Android and Scala, so the >> combination is explosive!! :-) >> >> Could you tell us a little about your experience with scala on android? >> >> Now I'm developing an scala-on-android app with macroid (I'm fan of this >> DSL) and rapture.io, as a http client lib to attack a Restful api. >> I'm evaluating the results, and considering to use in future projects. >> >> Do you know rapture.io? did you use it? do you use another one? >> >> Thanks in advance, >> Dani >> >> >> >> On Thursday, 18 September 2014 18:02:39 UTC+2, David Pérez wrote: >>> >>> The most difficult part is the tooling and the build process. >>> >>> I use IDEA. It works ok, but mainly the debugger needs to be improved >>> in evaluating expressions. >>> >>> Thanks to the continous efforst of pfn & others, the android-sdk-plugin and >>> SBT ease the process a lot. >>> >>> I find it very productive, and the code size has been greatly reduced. >>> >>> Now the pending task is to use better Macroid and Scaloid. >>> >>> When I have time, I'd like to publish on GitHub a library for >>> simplifying in Scala the handling of Sqlite. >>> >>> David >>> >> -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
