Content Provider used for Shared data of Android Mobile . Which are easily accessible from every Application of Android. Following are the example of Shared data. Mobile Contacts Browser Bookmarks Media Storage (images, audio and Videos) First of all we studies Built in Content Provider.
Blogger blog or website can create easily without any special skills required. Second it's no need domain and web hosting cost. Therefore creating and develope blogger website save your lot of money . So it's suitable for low investment people, beginners and those who start earning by investment low amount. You can create it free, designs your self by changing it's built-in theme. Then start post articles on . When you write 50+ articles then apply for adsense, after adsense approval you can earn handsome money from this blog like a regular job. If you directly come to paid hosting and domain name. Only domain per year cost is 5 to 10$ normal. And hosting start from 5$ to 10$ per month. In Paid service you first invest 50$ to start your earning. In blogger you do it all step yourself free. Or you want to save your time in energy then you create and design your blog in just 3$. And write 30 to 40 articles on just 5$. So here total cost is 15$ for your complete blogger webs...
In this application we calculate total year, months and day of our age. You simply enter Data of Birth to calculate it. Let start the fun First we Create AgeCalcualtion class where we add all calculation method to calculate Year, Months and Day from date of Birth public class AgeCalculation { private int startYear; private int startMonth; private int startDay; private int endYear; private int endMonth; private int endDay; private int resYear; private int resMonth; private int resDay; public String getCurrentDate() { Calendar c=Calendar.getInstance(); endYear=c.get(Calendar.YEAR); endMonth=c.get(Calendar.MONTH); endMonth++; endDay=c.get(Calendar.DAY_OF_MONTH); return endDay+":"+endMonth+":"+endYear; } public void setDateOfBirth(int sYear, int sMonth, int sDay) { startYear=sYear; startMonth=sMonth; startMonth++; startDay=sDay; } public void calcualteYear() { resYear=endYear-startYear; } public void calcualteMonth() { if(endMont...
Comments
Post a Comment