TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Like Android, but not Java/XML. Any alternatives?

4 pointsby curtis17almost 11 years ago
Android L with the Material design language looks very attractive. But I really dislike the Java&#x2F;XML combo for development.<p>So, anyone tried the alt-Java&#x27;s for coding Android apps: Kotlin, Xtend, Scala etc.<p>Or even Xamarin or QT&#x2F;QML.<p>P.S With ART, I hoped Google were moving away from Java and would bless one of the alt-Java syntaxes and eventually cut-out Java and evolve ART independently. But apparently not.

3 comments

higherpurposealmost 11 years ago
This here explains why they can&#x27;t move to other languages overnight:<p><a href="https://docs.google.com/document/d/1N3XyVkAP8nmWjASz8L_OjjnjVKxgeVBjIsTr5qIUcA4/preview?sle=true" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;document&#x2F;d&#x2F;1N3XyVkAP8nmWjASz8L_Ojjnj...</a><p>They basically need to rewrite Android from scratch, and then find a way to make all old Java apps compatible with the new Android, too, but I&#x27;m guessing that should be easier with ART available.
评论 #7970207 未加载
_random_almost 11 years ago
C# and&#x2F;or F# + Xamarin: <a href="http://fwaris.wordpress.com/2014/03/26/xamarin-f-experience-report/" rel="nofollow">http:&#x2F;&#x2F;fwaris.wordpress.com&#x2F;2014&#x2F;03&#x2F;26&#x2F;xamarin-f-experience-...</a><p>(I have not yet tried, but am going to)<p>PS: why hate XML? It has its place. JSON is not meant to be extensible and it&#x27;s a data, not mark-up language.
frowaway001almost 11 years ago
People use Scala and it works pretty well.<p>Here is a mailing list full of those people: <a href="https://groups.google.com/forum/#!forum/scala-on-android" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;scala-on-android</a>