Easiet way to access a currency exchange rate in Android - java

I started my journey with Android and I would like to make a simple feature that would convert one currency to another. I don't know anything about web services really, I saw some tutorials but none for Android Studio for this.
Could someone explain how this could be done? Or give a link to a beginner-friendly tutorial that would hep understand how to perform such an operation?

You can use this API provided by google codes.
It fetches and uses bank web-services to fetch the rate dynamically for java-based application.

Related

Get Data from websites for android live score app

i'm developing an app for android which is just like SofaScore.
but the point is that i don't have any API. also free APIs on internet have some limitations that makes them not suitable for me.
so i decided to extract data from live score websites. my questions are
is it possible to get live data from websites?
i just know java and android developing, in order to extract data,
should i learn a new language?
Why don't you just create a Mock-API with the structure and everything that you need, that would be more reliable in the long run!

How does a website and android app connects?

I am new in android development and i have been developing android apps using cloud firebase but how can i make an app for a website which is not using firebase. I know i need to connect to its database but what if the website is hosted on wordpress.com which does not provide phpmyadmin. So is there any other way? I know there is something called rest api. Can we use rest api in websites that are developed in some framework like codeignitor? Please explain what rest api is and is there any other way to get the data for our app? Please let me know thank you.
This is going to be tough. Usually, an application communicate with a web service. A web service may be a Rest API, Firebase or any hosted service that can provide data (I don't know all of the subtilities of it).
Explaining to you how all of this works wouldn't work here as it will be objective as every application have different needs and every developper have preferences on how he want his application to communicate with the world.
One thing you should avoid at all costs would be to access an online database directly from your application as it is a huge security flaw.
Here are some links that will help you understand better all of this.
REST API concepts and examples
Make an HTTP request with Android
Web services explained
I am well aware that stackoverflow answer shouldn't be mainly links but I still thinks that they will be relevant to your problem. Be aware that this answer doesn't even cover a little part of communication between an application an a webservice. You'll have to learn that by yourself, using courses and tutorials.

How to create a server for Android app which receive and transmit data to my application without socket?

I want to create a java server application which receives data from an Android client and also transmit notification to client. Actually i did not know much about server apps. I am quite familiar with servlets and mysql, is there any tutorials based on these??
So any suggestion how to build it or any tutorials for it?? please help me!
What you are probably looking for is Google App Engine a SaaS by Google. While there are many alternatives this is probably the best route you can take for implementing a Java based backend. Follow these tutorials* and you'll be good to go. Keep in mind the GAE is a bit complicated and will take some time to get on your feet.
https://cloud.google.com/appengine/docs/java
More tutorials on GAE can be found by a nice google search!

How to Integrate Waze Traffic Data into Website?

Could anyone show me a way on how to integrate the traffic info app Waze into the website?
I have looked up the previous post but somehow there is no answer to it.
Waze is an application, which offers an actual traffic information. There is also a livemap Waze livemap - where are marks as you can see.
So, I found some site - egaraz and I'm really curious how did they get the data from Waze.
Programming is not my main field but a could still understand some basic php coding.
Could someone suggest me a working solution?
Thanks
a while ago i wrote this project:
https://github.com/Nimrod007/waze-api
you can run this api and get:
get address list from free text
get routes by address (text)
get routes by coordinates
get traffic notification
get navigation instructions
link to full docs:
http://htmlpreview.github.io/?https://github.com/Nimrod007/waze-api/blob/master/docs.html
After googling I found that WAZE has an API for developers which you can use. They have given sample code only for android and ios. I am not sure about php. Check this link from waze developer - http://www.waze.com/dev/documentation/

Java Voice Biometric

I want to develop an application based on Voice Biometric Recognition.
Specifically, I want to develop an application which will record a voice from the telephone, and identify the speaker. If the same person calls again it will recognize the voice. Like other Biometric applications do here my need is to do a voice biometric. Are there any URLs or examples which will help me. I searched but not able to find a solution.
FreeSpeech is a text-independent speaker verification system that verifies a caller's identity
I want to achieve the above one FreeSpeech Recognition in my application.
Is it possible to do the below things by using any Open Source.
The individual records a voice print, then
The system keeps track of the voice prints and can distinguish recordings from live speech
If yes, can you please provide me a URL or example which will help me.
Well, I got the light from This Url to achieve the above task but not able to get the expected out put.
After wasting 20 to 25 Hrs, Finally I got the solution by using MARF Framework.
I got the sample app from the http://sourceforge.net/projects/marf/files/Applications/%5Bf%5D%20SpeakerIdentApp/0.3.0-devel-20060226/
And for now, it's working fine for me. This links is very useful for me to make the sample app executable. http://marf.sourceforge.net/
You can take a look at this previous SO post in which various Java Speech Recognition Engines are described such as Sphinx.
I am not an expert on this domain so please take my answer as is , it's not an authorative one... I think you have different ways to achieve your goals :
- finding a Java library is one , the most natural one
- recording the voice in Java then applying one of the several algorithms available for such job , you may find many research papers dealing with that subject
- depending from the architecture choices, you may find different libraries implemented in C dealing with voice signal, using JNI or JNA is one way to deal with C/C++ libraries, Web Services or CORBA are other ways to achieve this....
HTH
Jerome

Categories

Resources