Monday, September 22, 2014

Eimacs: My First App

Today I worked on the eimacs curriculum but I am a bit slow at it because the tutorials are for NetBeans and Eclipse while I am using IntelliJ.



Notes
  • Activity: A screen(menu, settings) of the app where the user can make actions like press buttons or swipe (quit, change volume)
  • View: The class for widgets for the user to perform actions like buttons
  • ViewGroup: A subclass for View and the base class for layouts. It includes AbsoluteLayout, RelativeLayout, LinearLayout, and GridLayout for positioning widgets and such.
  • Method: From what it sounds like this is basically a function
  • Intent: These seem to tell the app what to do, like quit the app. You can also add FLAG like here "Intent.FLAG_ACTIVITY_NEW_TASK" to prioritize the Intent so, for instance, you would want a quit button to quit the app ASAP.
  • Class: Someone described it as blueprints where methods are placed and it can create different objects. So it was described as blueprints(class) for bikes(objects) where the different bikes had different features like gears,etc.
I skipped a section temporarily because the curriculum told me to use "Organize Imports" or "Fix Imports" to correct all the errors in the code they provided but it doesn't seem to be working in IntelliJ when I used "Optimize Imports". To answer your previous question, our reason for using custom image buttons is because the default buttons won't fit the art style of the game.

Finn Edit: I was sick today, but over the weekend I was able to get chat fully working with usernames. Now, it'll have a username in chat before the text, the username being found via SharedPreferences (it was saved back from the Account Creation screen!). I also fully finished the Music and SFX players (using the MediaPlayer object), so as soon as we have sounds, they can be easily played from any class that calls them!

I haven't checked with Aki yet, but this week my goals are to fully code all image buttons for the menu, have art done for all the buttons, and possibly start some UI coding for the game.

2 comments:

  1. If the difference in IDE is causing you and issue, I suggest you use Eclipse while you work on the eIMACs lessons (Finn can continue working with IntelliJ). I'm going to want you to complete the curriculum, evaluate its effectiveness (in this blog), and then take the test when you get to that.

    ReplyDelete
  2. After representation whatsoever of your blogposts I moldiness say i pioneer this particularised one to generally be top nick. I mortal a weblog also and necessary to repost a few shear of your articles on my own diary tract. Should it be alright if I use this as daylong I private reference your web diary or create a incoming linkage to your article I procured the snipping from? If not I make and could not do it without having your tolerance . I hump collection starred this article to cheep and zynga calculate motivated for publication. Anyway revalue it either way! PSD to Email

    ReplyDelete