Android Development 25

Samsung S Pen SDK TutorialI’m very excited to provide you with my Samsung Mobile SDK Tutorial! Over the next few videos I’ll cover: the Samsung Mobile SDK and I’ll demonstrate the opportunities it provides.

Thanks to the nice people at Samsung and the Samsung Smart App Challenge, who are giving away $1.1 Million in prizes.

I’ll also be offering a give away. Between now and November the 30th, sign up for a free Samsung developer account at and you will be eligible to win a Samsung GALAXY Note 3 device or one of three Samsung GALAXY Gear smart watches. I will choose a winner at random. After you signup for the Samsung developer account, leave me a comment below stating that you signed up. That is all!

The more people that make videos, the better the chances I can do a giveaway like this again. Feel free to share on Google+ [googleplusone]

Important Links Mentioned in the Video

How to Win My Contest

The winners of the Galaxy Note 3, or one of the 3 Galaxy Gear Smart Watches will do the following:

  1. Make an app that displays your skill at developing an app using the Samsung Pen SDK in some way
  2. The app should be designed to teach others more about theΒ Samsung Pen SDK
  3. The winner will also make a video that describes the app in a way that they teach others about how it was made
  4. The winner will be someone that hasn’t previously made videos about developing Android apps on YouTube. I want the prizes to go to my subscribers and not to someone who is just looking to win the prizes.

There will be 4 winners. I haven’t decided at this time if I will make the final decision on the winners or not. I decided to give everything to you guys and I have received nothing, but those items that I’m giving away for this promotion. This is my thank you to all of my subscribers.

I’d also like to personally thank Samsung for allowing my little YouTube channel to participate in this amazing contest!

Samsung Galaxy Note Emulator Settings

Samsung Emulator Device Definitions

Samsung Emulator Device Definitions


Samsung Galaxy Emulator AVD

32 Responses to “Android Development 25”

  1. aurang zeb says:

    sir , please prepare tutorials on telephony and wifi direct.

  2. matej says:

    So, where do we submit our apps and videos for you to see?

  3. Simon says:

    I live in South Africa and really like your tutorials. Can I also compete?

  4. Buddha says:

    If I wanted the prior knowledge to be able to take part in this competition, which of your older Java, C, and Android videos would you suggest I watch?

  5. Mark says:

    Hey Derek

    Would you be able to do a short video on how to use git hub in eclipse for version control? Or could you recommend another that works well? Thanks

  6. Anonymous says:

    you are great. Very detail n helpful videos/tutorials. Thanks a lot.

  7. Andrew says:

    Signed up for a Samsung Developer account and ready to go!

    • Derek Banas says:

      Great! Tell me why you’d like to win and you’re in the running.

      You don’t need to develop an app anymore to win. You basically just have to give Samsung a good reason to give you a prize.

  8. DunderKlumpen says:

    Hey Derek,

    While i was following your java tutorials you mentioned you would be making android games, is this still on the table?

    Keep up the good work!

    • Derek Banas says:

      Yes I definitely will be making Android games. I just want to cover everything else first. I have this weird habit of always wanting to cover things completely. I promise when I start making games that I’ll devote myself to that process as well πŸ™‚

  9. ltrader says:

    Hello Derek,

    having created the Device Definition for Galaxy Note 2 and created the Android Virtual Device based on this I run into the following error.

    [2013-11-13 22:43:43 – Dex Loader] Unable to execute dex: Java heap space
    [2013-11-13 22:43:43 – SamsungSPenExample] Conversion to Dalvik format failed: Unable to execute dex: Java heap space

    Yet I was not able to figure out what might be the reason for this. Do you have any idea here?

    I am also using Eclipse Indigo, but on a Windows 8 Setup.

    Thanks and Regards

    • Derek Banas says:

      Modify the -XmsAm and -XmxBm paremeters in eclipse.ini so that they are large enough. The default is -Xms40m -Xmx384m. Try changing them both to -Xms512m -Xmx512m and restart eclipse to see if that helps. If not, continue to increase the values and restart eclipse until either one of two things happens:

      Your build completes.
      Eclipse won’t restart because you don’t have enough memory.
      eclipse.ini is located at /etc/eclipse.ini in Ubuntu (assuming you installed Eclipse from the Ubuntu repositories).

      For MAC please see:

      Finding eclipse.ini is a wee bit tricky. To locate it, right-click on the Eclipse Application icon and select “Show Package Contents”, then double-click on the “Contents” folder and then double-click on the “MacOS” folder, the home of eclipse.ini

      Taken from :

      • ltrader says:

        Hello Derek,
        thank you very much for your help here. Your suggestion fixed the issue.

        I wonder why this all must be so cryptical all the time.

        Beyond that I needed to uncheck “Use Host GPU” in the emulator in order to avoid issues as

        terminate called after throwing an instance of ‘std::bad_alloc’

        in my emulator. All very fragile this environment I have to say…

        Thanks and regards

  10. Fredrik Westman says:

    what, you dont need to make a app anymore ? I already made an app and video and everything (but i guess lucky for me because I missunderstood the instructions a bit. Made a video about the app,its features, rather then a tutorial on how to make it xD)It was a awsome app tho, so its not like i made it in wain, i guess πŸ™‚ and i got some video making skills.
    So anyway. I signed up now. Is that all you had to do ?

  11. Anonymous says:

    Hi Derek,
    I love your tutorials. Keep them coming.
    I have watched almost all of your android videos up until the #24. I did not come across any that covers the need and usage of (different versions of) the support and compatibility packages.

    Could you please let me know if you have covered it somewhere ?
    If not could you please get us newbies a video tutorial of it?


  12. Vivek says:

    Hi Derek,
    I love your tutorials. Keep them coming.
    I have watched almost all of your android videos up until the #24. I did not come across any that covers the need and usage of (different versions of) the support and compatibility packages.

    Could you please let me know if you have covered it somewhere ?
    If not could you please get us newbies a video tutorial of it?


    • Derek Banas says:

      Hi Vivek,

      Thank you πŸ™‚ To be honest normally I let Eclipse handle that for me. If you use a library that isn’t supported by your current version it throws an error. I normally use a minimum version of 8 and then work up if needed.

      I’ll be getting back into coding Android apps after I finish up with App Inventor. I’m not done yet.

  13. Fong says:

    Hi Derek,

    Sorry to bother you again. Are you planning to give or you have had any tutorials on using GPS location on android development?


    • Derek Banas says:

      I just did that in my App Inventor tutorial. I plan on finishing up App inventor and then I’ll go back and recreate most of those apps using regular Java Android. Yes I’ll cover GPS and much more

  14. Ahmed Ali says:

    hay, i just wonder if you make a video on Web services in android
    cause i’m doing right now a new project and i have mysql database on the server so, i wanna get data from these database and i searched alot about web services but i still need some guide

Leave a Reply to Fredrik Westman Cancel reply

Your email address will not be published.