Archive

Posts Tagged ‘android activity’

Menu ListAcitivity instead of Acitivity in Android | CalculatorPlus

May 8, 2012 Leave a comment

Its been a while since I updated the Android Project, the reason is that I need to read and study some of Java and its functions its really confusing sometimes. Anyways there is a lot of ways to display the Menu in Android but this method that I’m using is the dynamic way of displaying its contents in the menu, instead of manually setting it up in the Manifest structure, I will just directly call the Activity without the hassle of configuring the Manifest file. So its like shortening the codes that will be using.

Honestly I also learned this method in just watching the tutorial and took me 2 days to fully understand the code then tweak some of it according to my needs. Anyhow here is the picture of the phone screen running the Menu ListActivity, since there is no file about this screen in the layout.xml then the only way to make it appear is the run the whole package.

The menu is pretty much fully set up now we only have to worry about the Calculator Class and SciCalculator Class, I started creating a design prototype of it but then I got lazy 😛

If you’re just starting to develop an android or anything really. YOUTUBE best teacher ever, and oh did I mentioned GOOGLE?

Oh and if you guys missed the previous post about Android Development then click here is the links:

https://troubledblogger.wordpress.com/category/android-development/

Bits And Pieces of The Application

April 24, 2012 4 comments

Yesterday we presented the overview of the application plan. Now we will try to explain each of them and the intents of each of the Activity(Pages). We will start on the SplashScreen Activity:

public class SplashScreen extends Activity() 

This here when the user click the icon the first thing that will happen to the application, it will show the logo, title and the version of the application. Usually SplashScreen isn’t really that necessary because we can operate even though it is disable, We will  implemented it for the purpose of beautifying the application. This is the first thing that I will do since it only takes few codes the work.

public class MenuMain extends Activity()

After the SplashScreen this is the next thing that will happen to the application it will direct the the MainMenu Activity . There is a lot of ways to implement menus but since we are aiming for simplicity we will just use buttons. Buttons are great for everything when you get used to it, a whole new world of ideas you will discover. Maybe for the future projects we will use the more advance method of menus like widgets.

 public class CalculatorMain extends Activity()
public class SciCalculatorMain extends Activity() 

 This is where all the magic happens this is where the core of the application is, we will codes together on this area more often debug stuff and shit. Since it needs to have a database to store the last 5 equations, we will have a research on SQLite platform on Android since we don’t have any idea on how to implement it or try to see if there is any other solution rather implementing the SQLite.

public class AboutApp extends Activity()

We will put in here the ones who help contribute to the project, the one who is supporting it and making this impossible stunt possible. We will get famous in no time guys. haha

Thats it for now,  tomorrow I will probably create the visual images of the application and take a screenshot and show it to you guys, I will also show you how to make the UI its as easy as 123 trust me.

BTW naa nay ni sign up isa ka bouk for the Designs sa application lamats kaayo bai, due to his request dili sya paila hehehe

Regards,
Bryan

%d bloggers like this: