Android Development for Beginners

Android Development for BeginnersThe time has come to cover Android Development for Beginners. After reading hundreds of comments it has become clear that well over 80% of the apps everyone wants to make can be made using a tool called App Inventor. Over the next few videos I will cover everything you can make with App Inventor.

I’ll cover how to install App Inventor and then use it to make an app that uses GPS, Opens Dialog Boxes, Opens other apps, vibrates devices, plays sounds, converts text to speech, uses the accelerometer, adapts to screen orientation and more.

If you like videos like this it helps to tell Google plus with a click here

Assets Used in this Tutorial

SplatterBackground.png
Zombie.png
ZombieAttack.wav
ZombieMoan.wav
ZombieIcon.png

Important Links

53 Responses to “Android Development for Beginners”

  1. kerel says:

    Hey before you finish all the app tutorial can you please make a video of how you would install for example your website blog on a app user experience. Great Lesson by the way.

  2. Richard says:

    With the video I am unabe to use my java based notepad to build android apps. When I try to drag the commands from the left over to the app screen, they do not move. With firefox the whole webpage moves to which ever way I move it. Then with the stock internet the screen does nothing. I have tried to double cli k on them and even do a long hold but did not work. So how can I get around this using a note pad? If need to know I am using a samsung galaxy note 10.1. Please send e mail reply.

  3. Larry says:

    This is a great tutorial! While not a programmer, I am able to “decipher” and work my way through code. I have wanted to make Android Apps for a while now. The App Inventor makes it super easy! On a side note, where are the image files for the tutorial? Are those not provided?

    • Derek Banas says:

      Thank you 🙂 Sorry i forgot to upload the image files. I’ll make sure I upload the image files, sounds etc. as soon as possible. The next part of the tutorial will be up today. It will be fun teaching non-programmers how to make Android apps. Always feel free to ask questions because it will actually help me make this tutorial better.

  4. yahya says:

    hi. what program use for recording ur screen ?

  5. alain dhaene says:

    I ‘ve follow all your tutorials on Android. When we use App Inventor can we later on download the generated code to work futher in Android studio?

    • Derek Banas says:

      Yes you can get at the code, but it is normally a bit buggy. I’m working on a step-by-step list of ways to fix that code after you get it. I’m getting very close.

      I’ll be making Android tutorials for the rest of the year. I’m not done coding Android apps.

  6. Gputhige says:

    Great Tuts Derek. I am a beginner in android apps and love these tutorials. While watching this tutorial, I was wondering if I can trigger an animated bit map/ video when I recieve a call from a friend? Is this possible?

    Rgds
    GP

  7. Gputhige says:

    Thanks Derek for doing a tutorial on this. In the meanwhile, I will go through all of the 5 posts and do the projects to better understand the subject. I have a decent working knowledge in 3DS Max ( and the allied software) and wish to add app development to it.

    BR

    gp

  8. dhyan says:

    do you need the latest version of java or the developer version you said in the “installing developer tools” video

    Appinventor isn’t opening for me. I have windows 7 64 with “java development kit 45”
    should i have the latest java..or what? please reply

  9. Nikolay says:

    I was wondering which of the tutorials to watch – Android Development for Beginners or Android Development. I watched some of your java tutorials. I also consider developing apps that are neither too simple nor too complex such as games. What would you advise me?

    • Derek Banas says:

      I’d start out with the beginners tutorial. The reason why is that it explains in a graphical way a lot of the topics that confuse people. It is also a ton of fun making apps with App Inventor 🙂

  10. Omar says:

    Bluetooth tutorial please 🙂

  11. Zeev says:

    Hi Derek

    I’m now in chapter 10 , and i LOVE your videos, so clear and so well done. thank you very much.
    But i asked you once about the sorce code, if we can get it after using the App Inventor 2.
    in additional, i was undering, can we add external SDKs?
    Thank you very much
    Zeev

    • Derek Banas says:

      Hi Zeev,

      Thank you 🙂 I’m glad you are enjoying them. I’m close to the end of my App Inventor tutorials. I will finish by covering canvas, animation and tools available that provide source code. I hope to cover all of those topics next week.
      Derek

  12. vinodh says:

    Hi,
    thanks for this. I am a java developer trying to learn android.
    similar tutorial I bought for more than hundred bucks somewhere.
    regards
    vinodh

  13. Michael says:

    Hello Derek,

    Went thru it once again and the latitude and longitude did not show up. As well lag on locator button, Believe I did everything right, secon time around. Tried it on my Xperia Z Ultra, also running 4.4.2 and worked exactly the same way. Not grabbing gps coordinates and lag on locate button. The rest seems ok and beginning to think it is a 4.4.2 issue although to green to know for sure.
    Thoughts?

    Michael

  14. siva says:

    Hi

    Derek, first thanking you for your vid on appinventor its good presentation for the public, and who are interested to learn from zero.

    Derek iam just a small time tester, a manual but wanted to do good in android programming, i dont have any hands on in programming on java , but no opps as just class, objects, functions, nothing on programming and i disliked eclispe, because its full or bugs not very stable, well is it possible for me to be comfortable programmer in android apps development?, will the appinventor will help me to achieve my dream of becoming a good knowledgeable android app developer?

    Thanks for reading till the last
    Siva

    • Derek Banas says:

      Hi Siva

      Yes the App Inventor tutorial actually teaches you how to make Java Android apps. I kept that a secret so that everyone could just focus on the graphical part of App Inventor. By the end you’ll be able to make very nice regular Android apps. Feel free to take a look at the last to videos to see the final goal.

  15. Francis says:

    Derek, you are the Man. thank you so much for your hard work

  16. Andy says:

    Derek, kudos for the great videos…I followed the Zombie Locator steps and connected to my Android phone however the background images (which were loaded using your example files) do not appear on my phone – I see the labels but nothing else…

  17. emmanuel says:

    hi, i liked it, but after this part 2 session, how do I make the app run, or give to others. Also, i want to make an app, in which upon recieving a phone call, the zombie mentions the contact name / number and instead of the ring tone, the zombie moans are played. help me with that.

    • Derek Banas says:

      App Inventor doesn’t allow you to directly change settings like that. You will learn later in the tutorial how to build parts of the app in AI and then edit the code using Java.

      To download the app click the Build link and then save APK

  18. Hi Derek,

    Does app inventor able to make a social media apps like facebook or twitter or instagram? Is it possible to make this kind of apps using App Inventor?

    Would you explain on that case, what kind of features that is available on facebook, twitter or instagram apps that App Inventor still unable to make?

    I’m really curious about it, because i want to make a social media-like apps. I wonder if i could do it by using App Inventor or i have make it in Java.

    Thanks in Advance,

    Irfan

    • Derek Banas says:

      Hi Irfan, While App Inventor tries to read from Twitter there have been problems that keep occurring. Every time the Twitter / Facebook API changes it breaks everything. I haven’t tried working with either for a while. I’ll look into it, but it will require regular Java Android to accomplish it.

  19. Hong says:

    Hi Derek,
    void $define(){ gives the following error:

    The method MainActivity.$define() does not override the inherited method from Form since it is private to a different package.

    Hope you can advice!

    Regards,
    Hong

    • Derek Banas says:

      Hi Hong,

      Which specific tutorial are you on?

      • Hong says:

        Hi Derek,

        Sorry, my mistake.
        The tutorial is Hello Zombie. Eclipse gives the error as described above. I noticed some one else has the same problem and you advised to copy and use your code. So I did, but Eclipse keeps nagging. At my Galaxy S4 the APP shows after the button icon is clicked, you hear the sound after shaking and I see the GPS working in the background. But once the Zombie button is clicked the APP crashes.

        Thanks for your help in advance.

        Regards,
        Hong

        • Derek Banas says:

          Hi Hong,

          What errors show in the LogCat panel in Eclipse when it crashes?

          • Algis says:

            Is that a problem: “com.google.devtools.simple.runtime.components.HandlesEventDispatching
            Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.
            “.I see this, when I get close to “public class MainActivity extends Form implements HandlesEventDispatching” with mouse. I can’t find dispatchEvent in sourse override/implement methods. LogCat shows a lot of errors and it’s better to send you a picture than to write it.

            • Derek Banas says:

              Sorry, but I’m not sure what specific part of this tutorial is giving you the errors.

              • Algis says:

                java.lang.SecurityException:Requires vibrate PERMISSION
                AT ANDROID.OS.pARCEL.readException(Parcel.java:1465 and 1419)
                at.android.os.IVibratorServiceStubProxy.vibrate(IVibratorservice.java:141)
                at android.os.SystemVibrator.vibrate(SystemVibrator java:80 and 62)
                at com.google.devtools.simple.runtime.components.android.Sound.Vibrate(Sound.java:238)
                at om.xxx.xxx.MainActivity.dispatchEvent(MinActivity.java:325)
                at com.google.devtools.simple.runtime.events.EventDispatcher.delegateDispatchEvent(EventDispatcher.java:220)
                com.google.devtools.simple.runtime.events.EventDispatcher.DispatchEvent(EventDispatcher.java:198)
                com.google.devtools.simple.runtime.events.android.Button.Click(Button.java:49)
                com.google.devtools.simple.runtime.events.android.ButtonBase.Click(ButtonBase.java:41)
                com.google.devtools.simple.runtime.events.android.ButtonBase.Click(ButtonBase.java:430)
                at android.view.View.performClick(View.java:4438)
                at android.view.ViewPerformClick(View.java:18422)
                at android.os.Handler.handleCallback(Handler.java:733)
                at android.osHandler.dispatchMessage(Handler.java:95)
                at android.osLooper(Looper.java:136)
                at android.app.ActivityThread.main(ActivityThread.java:5017)
                at java.lang.reflect.method.invokeNative(NativeMethod)
                at java.lang.reflect.method.invoke(Method.java:515)
                at com.android.internal.os.ZygoteInitMethodAndArgsCaller.run(ZygoteInit.java:779)
                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
                at davik.system.NativeStart.main(NativeMethod)

                • Derek Banas says:

                  Here is the error java.lang.SecurityException:Requires vibrate PERMISSION Sorry, but I’m not sure why you’d get that error if you gave the app permission when you installed it.

  20. Hong says:

    Hi Derek,

    Same error after I copied and used your code.
    Please help.

    Regards,
    Hong

  21. Tux says:

    how to make a dictionary with diagrams in appinventor

Leave a Reply

Your email address will not be published.

Google+