Android Tutorial-Making of Currency app(Part -2) and also learning about API calls for beginners.

  Рет қаралды 9,824

Code Boba

Code Boba

Күн бұрын

Пікірлер
@nO-oN2eVERYoNE
@nO-oN2eVERYoNE 11 ай бұрын
hy nice video love that and keep up vish you very best
@anilmohite9695
@anilmohite9695 3 жыл бұрын
Hello mam, I ve added button to MainActivity on click, we go into settings_Activity, There I've switch button which changes dark/light mode. The problem is it changes dark/light mode of only settings_Activity does not change of MainActivity and other activities, soln please mam, am stuck here.
@ankitpareek8514
@ankitpareek8514 4 жыл бұрын
is your api is working only for the USD endpoint, like i want to get the data for INR base ?
@codeboba
@codeboba 4 жыл бұрын
Hi, surely you can. INR is already there in the drop-down in my video. You just need to choose INR from drop-down instead of USD and convert accordingly.
@ankitpareek8514
@ankitpareek8514 4 жыл бұрын
@@codeboba Ok this works good on my project also and your video helps me alot❤️
@codeboba
@codeboba 4 жыл бұрын
Thanks, your positive comments help me too 🙂
@ankitpareek8514
@ankitpareek8514 4 жыл бұрын
@@codeboba please try to make video on Android database connectivity i am very much looking forward to it🙏👍
@codeboba
@codeboba 4 жыл бұрын
@@ankitpareek8514 I will surely take your point to account when I get back to video making.
@coreeye7611
@coreeye7611 3 жыл бұрын
I added Flag image to spinner, How ever when I click on convert Button , app crashes. how can I get only text value to be converted.
@codeboba
@codeboba 3 жыл бұрын
You will have to assign its corresponding test in another array and map the position of the selected image. Hope this helped.
@butters0y
@butters0y 4 жыл бұрын
Im currently learning Information Science in Japan. You helped me so much regarding to API application to Android app. Subscribeddddd
@codeboba
@codeboba 4 жыл бұрын
Hey! Thank you so much. You made my day🙂
@ikranurakdogan563
@ikranurakdogan563 4 жыл бұрын
when i click the button, it does not work. and it is coming back activity page. In onClick method and onFailure method, Toast message is running. But in onResponse method, Toast message isn't running. Please help me, thanks..
@codeboba
@codeboba 4 жыл бұрын
Hi, you can have a look at the git code and compare your code with mine and check where can be the possible issue. I have given the link in the description.
@naziyapatel6141
@naziyapatel6141 2 жыл бұрын
Hi In JsonObject and Ratriofit problem is occurred how I fix it? Please help me I heve to make this app for micro project. Please reply & solve this problem
@bhargavaramkatta9721
@bhargavaramkatta9721 2 жыл бұрын
hey, hi mam it was really helpful but how do i add all countries currencies and their conversion to this project can u help me with this........
@MegaJoGamer
@MegaJoGamer 2 жыл бұрын
Hello, What must I do if I cannot find a working api for unit conversion?
@codeboba
@codeboba 2 жыл бұрын
Hey! You can calculate it yourself too. Here I just demonstrated how to use apis.
@coreeye7611
@coreeye7611 3 жыл бұрын
Voice is sweet and content 👌. Subscribed
@codeboba
@codeboba 3 жыл бұрын
Thanks 😊
@panditonrocks3116
@panditonrocks3116 4 жыл бұрын
What is your android studio version??
@codeboba
@codeboba 4 жыл бұрын
Version 3.5
@jdpatel9442
@jdpatel9442 3 жыл бұрын
I have an error in call.enqueue , Can you please tell me how to solve it?
@codeboba
@codeboba 3 жыл бұрын
Hi! Can you show the logs from the debug window?
@pujadhar8908
@pujadhar8908 4 жыл бұрын
I have added your code and have done everything like dependencies and all everything....but when i run the app nothing shows up
@codeboba
@codeboba 4 жыл бұрын
Hi! Have you checked the debug window?on the bottom left of the screen.
@coreeye7611
@coreeye7611 3 жыл бұрын
How can I save. Value for offline usage
@codeboba
@codeboba 3 жыл бұрын
For offline you can use Shared Preferences
@jandros5491
@jandros5491 4 жыл бұрын
Hey, can you explain how to add the retrofit?
@codeboba
@codeboba 4 жыл бұрын
Hi, just add the dependencies and follow the tutorial. Let me know in which step you are getting stuck.
@mohammadsanchooli2556
@mohammadsanchooli2556 4 жыл бұрын
Hi dear thank you for Tutorial I get an PARSE ERROR when I run your code How to fix it؟
@codeboba
@codeboba 4 жыл бұрын
Hey, thanks for raising this. Were you able to debug it and see where you can go wrong?
@okepaul8509
@okepaul8509 4 жыл бұрын
Does the app get real time exchange rates online?
@codeboba
@codeboba 4 жыл бұрын
Hi, thanks for the question. The api that I am using is a public api and the data totally depends on their server. If they keep on updating their server then you are lucky, if not then maybe there are paid APIs for that. You have to do some research.
@okepaul8509
@okepaul8509 4 жыл бұрын
@@codeboba thanks
@santhoshmanoharan8969
@santhoshmanoharan8969 3 жыл бұрын
In Mainactivity.java this line " Call " is showing error for me
@codeboba
@codeboba 3 жыл бұрын
Hi, did you integrated retrofit library?
@santhoshmanoharan8969
@santhoshmanoharan8969 3 жыл бұрын
@@codeboba can you mention the time in the video where you integrate.
@codeboba
@codeboba 3 жыл бұрын
In the beginning of the video itself : 0:58
@aniketshinde4114
@aniketshinde4114 3 жыл бұрын
It's not showing result, please reply I have this as my project
@codeboba
@codeboba 3 жыл бұрын
Please download the git project given in the description and compare where you could have gone wrong.
@vamsikrishnanouluri972
@vamsikrishnanouluri972 3 жыл бұрын
app was unable to launch. it is saying that "app keeps stoping"
@codeboba
@codeboba 3 жыл бұрын
Can you tell me the logs? It will be shown in the debug window
@Palifico18
@Palifico18 4 жыл бұрын
Amazing, but how can I change the abbreviation to real name? Like GBP --> Great Britain Pound per example. Thankss
@codeboba
@codeboba 4 жыл бұрын
Hey, thanks! The easy way would be to add a dictionary with key being GBP and value being Great Britain Pound. Add in for the rest of the abbreviations you want and that's it. Print it out accordingly.
@Palifico18
@Palifico18 4 жыл бұрын
​@@codeboba Thanks, I never heard before about Dictionary, do you have some link or info about it? I dont found anything in Google, thanks!!
@codeboba
@codeboba 4 жыл бұрын
You can search dictionary in android studio, you should get examples. You you can follow me on instagram, I post stories there to questions.
@caesarquek
@caesarquek 3 жыл бұрын
Hi you are great, im a beginner and i have learned a lot from you. But i hope you can show us your Json object in this video. Because when i test to run your code, i believe that it doesn't parse to the json object to show the rates. Thanks!
@codeboba
@codeboba 3 жыл бұрын
Hi Quek, thanks. I have just recently checked my git code, and the project still works, can you download the project from git url in my description and check what is the difference. You can also debug using Log.d() and print out the areas where you would want to see the data. Hope this helps. Let me know if you face any issue.
@parthpandya2909
@parthpandya2909 4 жыл бұрын
onFailure method is being executed instated of onResponse
@codeboba
@codeboba 4 жыл бұрын
OnFailure method usually gets triggered when you have not added the right details for the api, or when the server is down, or when the internet is off. Have a look at these.
@emilundo2461
@emilundo2461 3 жыл бұрын
It crashs everytime, i have the same code..
@codeboba
@codeboba 3 жыл бұрын
Did you download from the git url I provided in description and checked if that is working?
@mittsejl
@mittsejl 4 жыл бұрын
Why did you leave out that crucial part where to get and add the decencies implemented in GRADLE. Why do people do that they give a tutorial and leave crucial things out? It won't work w/o that so it's important to include it. Right?
@codeboba
@codeboba 4 жыл бұрын
Hi, it is in the description dear.🙂
@RiteshSingh-nv8cv
@RiteshSingh-nv8cv 3 жыл бұрын
TYSM 😊
@codeboba
@codeboba 3 жыл бұрын
You are welcome
@nomanahmad3057
@nomanahmad3057 4 жыл бұрын
TYSM
@codeboba
@codeboba 4 жыл бұрын
Glad to help 🙂
@sonishmagar
@sonishmagar 3 жыл бұрын
App crashed!!
@codeboba
@codeboba 3 жыл бұрын
Can you tell me what is the error?or where it crashed?
@sonishmagar
@sonishmagar 3 жыл бұрын
@@codeboba at the end point!!! entry name 'res/animator/linear_indeterminate_line1_head_interpolator.xml' collided Message popped while exporting on APK.. App crashed on while clicking on Convert button.. hope you understand
@codeboba
@codeboba 3 жыл бұрын
Can you download the repo from the git url I provided in the description and check if that is working for you?
@codeboba
@codeboba 3 жыл бұрын
@@sonishmagar also did you provide internet permission in manifest file?
@rxtechandtrading
@rxtechandtrading 4 жыл бұрын
you are not providing good instruction..You forgot to instruct us on how to build a vital component of this app..the JASONobject.java file !!!!!!!!!!!!!!!!!!!!!!!
@codeboba
@codeboba 4 жыл бұрын
Hi, can you show me where have I mentioned regarding the java file that you are talking about? And how have you come across this file?
@rxtechandtrading
@rxtechandtrading 4 жыл бұрын
ummmmm lets c..the one thats displayed on your screen as a tab but never opened..!!! JASONobject.java... review ur own video and u will c
@codeboba
@codeboba 4 жыл бұрын
This file is not used anywhere, maybe some pre build file, but don't worry about it.
@rxtechandtrading
@rxtechandtrading 4 жыл бұрын
@@codeboba i copied your code exactly ..and i does not work!!!!! i dunno..you must have forgot something
@rxtechandtrading
@rxtechandtrading 4 жыл бұрын
@@codeboba make a video on how to fix this problem for us
@rxtechandtrading
@rxtechandtrading 4 жыл бұрын
i dont think u really know how to teach that effectively..like most women
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Building a Mobile App in 2025: The BEST Technologies
13:31
Dan Ilies
Рет қаралды 140 М.
Build A Currency Converter In React
26:37
Web Dev Simplified
Рет қаралды 130 М.
Currency Converter with HTML, CSS and JavaScript (Part 1)
41:45
Coding Journey
Рет қаралды 37 М.
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН
Android tutorial- Making Currency Conversion App(Part-1)
27:59
NVIDIA CEO Jensen Huang's Vision for Your Future
1:03:03
Cleo Abram
Рет қаралды 328 М.
How to Calculate Age in Android Studio | CalculateAge | Android Coding
15:19
Currency converter using Using  Android Studio
15:02
Tutus Funny
Рет қаралды 44 М.
I've Used Jetpack Compose For 4 Years - Here's the Good and the Bad
16:12
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН