Android Eclipse Tutorial #1 - Building an App From Scratch

  • 7 лет назад
In this video, I show you how to create a basic Android app from the very bottom.\r
\r
Is anyone looking to start a website? You need web hosting and domain registration. Each cost money. Im with DreamHost and I honestly love them as a hosting company. If you start a website, go to DreamHost () and use my promo code MIKEYAWORSKI1 to get free domain registration! Thats one fee off the list, now all you need to do is pay for the web hosting. At DreamHost, its cheap for what you get ($8.95/month). Its one of the best deals out there.\r
\r
**READ THIS BEFORE POSTING A COMMENT**:\r
Here is a link to all of the code that I wrote (compare yours to mine): \r
\r
If youre having a problem with your code/app, go to this website:\r
\r
and paste your code in the box. Select Java as the language in the top right, and then select Create Paste. Copy the URL (link) it brings you to, then comment on this video with a description of the problem and also paste the link you copied.\r
\r
ALSO, please WATCH THE VIDEO AGAIN to make sure the code you have is correct. People that show me code which is obviously not the code that I wrote because they MISSPELL words are annoying. If youre trying to do what Im doing in the video and youve made sure that the code is the same, then please comment. I can help with additional problems to the code Ive already showed.\r
\r
Also, please read the error messages that occur and try to solve them yourself. Usually they give you a clear explanation of the problem.\r
\r
0:00 starting it all up\r
\r
2:30 building your layout\r
\r
6:34 starting to code the basic stuff\r
\r
9:48 creating the button listener\r
\r
11:14 getting the user input\r
\r
12:07 displaying text to the screen (on the label)\r
\r
12:43 running the app for the first time\r
\r
13:50 creating a new class for the calculations and creating a static method for it\r
\r
16:03 using the class created to do the calculations\r
\r
16:43 using the constructor method and a non-static method in the class created to do the calculations\r
\r
18:50 creating an instance of the class and using the non-static method to do the calculations\r
\r
19:50 running the app using the class created to do the calculations\r
\r
This sample app uses user input and does calculations with that user input. A button listener detects when a button is clicked, and then the calculated results are displayed to the screen.\r
\r
I also show you how to use static methods, non-static methods, and separate classes to perform sample calculations.\r
\r
Tutorial on How to Prevent Android App From Crashing Due to Invalid Input:\r
\r
\r
Tutorial for How To Download and Run Android Eclipse - \r
\r
Tutorial for Running your Android Eclipse App on your Phone - \r
\r
My website: \r
\r
\r
\r
My cont information and social media:

Category

📺
TV

Рекомендуем