• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

can you still use java to code android?

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i have not builth an app in ages and am familiar with java but i just installed android studio on debian 11 but no code i know work and apparently i have to learn a new language kotlin this is just a small remote app to interact with a server in my home is there anyway to use java now or do i have to spend hours learning kotlin. thanks
 
Bartender
Posts: 29139
215
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can still program Android in Java. Although older Android code examples may be obsolete. I just upgraded an app of my own and it's still in Java.

However, you might be interested to know that Android Studio can automatically convert Java files to Kotlin. So you can learn Kotlin by seeing how your Java code translates.

It's worth learning Kotlin because Java can't do certain Android things as well as it might and Kotlin is being actively developed specifically to be more capable in Android. But at the moment Java is just fine.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. Absolutely. Java is still 100% supported by Google for Android development. The majority of Android apps today have some mix of both Java and Kotlin code.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic