Archive

Posts Tagged ‘calculator’

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/