Creating A layout.xml For Calculator Layout Design | CalculatorPlus
We are done creating the layout.xml file for the calculator design, it was a tough one because I was forced to read the design documentation and the design techniques in order the come up with what design we want. The important thing that we did was the android:layout_width="fill_parent"
because its the thing that makes the row and column to be even and no overlapping between the buttons.
Kudos to the internet of course especially StackOverFlow.
After all the necessary feature of the program is done I’m gonna upload all the codes for the community. Oh and btw that Button H there is the unique feature of it. We will be implementing it in the future.
In a few weeks we will be coding the Calculator.java it is where all the Java codes will be added and the functions that will make the program a workable piece of awesomeness.
loso!
Related articles
- Xamarin Designer for Android (i-programmer.info)
- How to add attributes to your custom View (droid-blog.net)
- Frequently Asked Questions in Java Part-9 (clean-clouds.com)
- Rackspace Cloud for Android Technical Overview (rackspace.com)
- This week’s developerWorks newsletter: Innovate 2012, Riak, IPSEC, XSLT 2.0, and more (ibm.com)
- The JavaFX SceneBuilder Tool (drdobbs.com)
- ‘R cannot be resolved to a variable’ – gen folder is empty (stackoverflow.com)
- Folder Structure For Android Project in Eclipse (androidmyway.wordpress.com)
- Help with GUI layout (daniweb.com)
- How to draw a dynamic drawing over a layout (stackoverflow.com)
The Making Of SplashActivity In Android
Before I got to the programming the very first thing that I did is to make a simple logo, its hard since I not a really that good in photoshop, all I did was to find tutorial in the net and did exactly whats in the instruction and I came up with these. I’m having trouble as to what specific logo to put since I made two.
It took me almost 2 hours to figure out how to put this image into the phone because it very confusing, good thing I have google and showed me the way. I can’t explain enough for you guys to understand in case you lost yourselves in the development don’t forget that uncle google is your bestfriend!
Its all messed up though, the title is still hanging it supposed to be hidden together with the phone signal or the top header of the phone but I got an idea how to get rid of it. My friend is working on the algorithms, and codes for the main calculator so I have time to procrastinate :D.
You can join guys there are a lot of work to do in the calculator activity especially the scientific calculator it will take us ages without any help .
Related articles
- Vicinno significantly improves its 12C Financial Calculator Mac app (themactrack.com)
- Scientific+Calculator – Thomas Tsopanakis (itunes.apple.com)
- Color Splash Fridays!! (alainamarieinteriors.wordpress.com)
- Viral videos: Kid creates working scientific calculator in Minecraft, Tenacious D returns (digitaltrends.com)
- An Awkward First Date with a Scientific Calculator (bulletinamaelstrom.wordpress.com)
- Hit music app maker Smule launches on Android, finally (gigaom.com)
- Review: Symbian scientific calculators (Qcal, CalQtlator, Calc Pro) (allaboutsymbian.com)
- Scientific Calculator – David J Firth (itunes.apple.com)
- 16-year-old Makes Working Scientific Calculator in Minecraft (tomshardware.com)
- An Awkward First Date with a Scientific Calculator (bulletinamaelstrom.wordpress.com)
Bits And Pieces of The Application
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
Related articles
- Android SQLite Journal Information Disclosure (CVE-2011-3901) (watchfire.com)
- Android Development SQLite vs. Hashtable (stackoverflow.com)
- Advisory: Android SQLite Journal Information Disclosure (CVE-2011-3901) (seclists.org)
- Simple Offline Data Synchronization for Mobile Web and PhoneGap Applications (coenraets.org)
- Persisting Data on Android Using SQLite (drdobbs.com)
- SQLite3 database encryption — determining encryption library? (stackoverflow.com)
- SQLite Navigator 2.0 Arabella – First glance (victorlapin.wordpress.com)
- SQLite – retrieve set of lat, long from the table (stackoverflow.com)
- SQLite: execute case-sensitive LIKE query on a specific query (stackoverflow.com)
- SQLite3 locking and database busy messages (karmanebula.com)
Rough Draft Of The Calculator App
I just finished with the rough draft, basically this is the flow or somewhat pages of the entire application, It would be best if we have an icon, logo, background but that is really not important at the moment, we need to first make each pages and make features in each and everyone of them. At the end of the week I will create a written Project Proposal for everyone to read and code some of the parts in order for the project to start running.
Some of you might be wondering why Calculator? Calculator because it is a very simple program yet we can cover almost all the basic android programming terms on how to code. So its like we are familiarizing the Android Development by building a simple calculator after this we can continue making more complex applications and move forward. One step at a time guys. WE CAN DO THIS.
Anyone can join or just watch on how to develop applications or ask questions.. really guys we really need your support!
For anyone who wants to have the developer’s kit on Android I have the complete files if ever you want to have one. Its easier for you just get it from the usb than to download because it takes hours to download all the files.
For those who want to start reading about android development please go to their site Android. All the things are found their including the downloads and tutorials, I’m recommending you guys if you start on HELLO WORLD app so that you can grasp parts of how to code inside Android.
*And for those you want to learn designing naa sad didto on how to design the logo icons background.
Pag practice2x lang sad ug Java kay mao rajud atong gamiton sayun ra ang Java basa2x lang gud.
Mag himu pud ko ug site nga dedicated ani nga project so everyone can sign up and post their ideas works and etc in the site so every can see.
TINABANGAY TA!!!!!!!!!!!!!!!!! I KNOW ICT STUDENTS MGA BRIGHT UG MATINABANGON
TRUST ME GUYS DAGHAN TAG MA LEARN ANI NOT JUST SA ANDROID BUT OVERALL.
PEACE \m/
Related articles
- How do i know how long the application is running in background in android? (stackoverflow.com)
- Android security: Protection of Java and native apps (net-security.org)
- Twilio Client Expands to Android to Enable Cross-Platform VoIP Calls (twilio.com)
- Answers to your questions about the application players for BlackBerry Java-based and Android apps (blogs.blackberry.com)
- 30+ Excellent Apps for Android Photographers | Android.AppStorm (drweb.typepad.com)
- Arxan Introduces End-to-End Protection Of Java And Native Apps – Dark Reading (darkreading.com)
- Newbies discover how to make android applications (kapaoo.com)
- Want to transfer Android apps to a Windows Phone? Microsoft would like to help (pocket-lint.com)
- Analyst: Google gets less than $3 per device from ads (electronista.com)
- Issue #3 – May 17, 2012 (androiddevweekly.wordpress.com)