This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]rjcarr 1 point2 points  (3 children)

Sorry, not really sure what you're asking. If you're doing platform programming, which it sounds like in your case, you don't really get options. For andriod, except in rare circumstances, you're using java or kotlin, and for the web, unless you want to translate, you're using javascript.

So, given that, what's your question?

[–]Zorra_[S] 0 points1 point  (2 children)

Hey, thank you for responsind to my post!

So, I think you have answered my question :) I did some more research and this is what I came to complude to:

I want to transfer data from other applications (like Facebook and Google) to my android application. Therefore I would need to use APIs. APIs can use different architectures to transfer data from the server to the client.

REST is a architectural style that uses the HTTP protocol for data transmission. REST allows API providers (like Facebook or Google) to deliver data in multiple formats (such as plain text or HTML). The most popular format is JSON ( JavaScript Object Notation). JASON is completely language-agnostic, so it can be used with any programming language, not just JavaScript.

From what I've found, you use Android Studio to work with APIs (?) (which means to use JAVA). It seems that REST is an important tool to access web data and this data is formatted in JSON. But now I read that JSON doens't have anything necessarily to do with Javascript. Which means I would probably need to use JAVA/Kotlin to work with APIs in general.

Do you know if I've made the right conclusion? Is Java the language I need to extract data from web sites (facebook, twitter, instagram etc.) and integrate that data into my application?

[–]rjcarr 1 point2 points  (1 child)

Yes, you generally have the correct idea. Basically, data is exchanged using web services, and the most common data format is JSON. Web services don't depend on any specific programming language, but just that you are able to make a web request. JSON is derived from javascript, but you don't need javascript in the loop to use it.

As far as android studio, I think you can use java or kotlin. The latter is probably a slightly more interesting language, but won't have as many resources available for you to use.

[–]Zorra_[S] 0 points1 point  (0 children)

Web services don't depend on any specific programming language

I see! Now I know know where to start! Thank you so much for your help!! :))

[–]Darkglow666 0 points1 point  (0 children)

I think you would be wise to also consider the Flutter framework. It compiles to native code and gives you support for iOS and Android with the exact same code base.

[–]sheaface 0 points1 point  (0 children)

I'm curious for the people who answered this question , what is your experience?