Saturday, February 27, 2016

Beginnings 2: Software and Tools

Beginnings 2: Software and Tools

So now we know why I'm doing this, let's have a look at what I'm using to do it!

First off for any programming, it's good to have a solid Integrated Development Environment, or IDE. It is possible to write code using Notepad and then compile it with a standalone compiler, but that's like saying it's possible to write a novel without having proofreaders - you're making your life more difficult, and at the end of the day the results will be worse.

To compare code in an IDE with the same code hand-typed:

So here we have a Java "Hello World!" program.
You can see that there is colour-coding for common elements - the declarations are purple, comments are in green, and the string "Hello world!" is blue.

What you can't see is that Eclipse has automatically indented lines as they are typed; nor that when you open a brace { or parenthesis ( it closes them.

It will even, when you type System. show a list of possible continuations.

Then if you, say, forget the semi-colon to end a line, it will highlight that line as problematic and suggest you add it.
And here is the equivalent hand-typed.

There's no indentation, so it's harder to see what is going on; and with all the text the same colour doesn't help.

If I forget a piece of syntax, or misspell a command here, the first I know of it will be when the compiler throws an error. Not fun.

So, an IDE is essential - but which one to use?

I have chosen Eclipse. Primarily, this is because Eclipse is a very popular IDE for the Java family of languages - and Androids run on a form of Java. It is also because Eclipse is free (yay! says my wallet) and open source (yay! say my principles).
Eclipse can be found here.
Once you've installed Eclipse, you need to add the right attachments to make it work with Androids. It's like buying an electric drill - you need the right drill bit to do the job.
Specifically, you need the Android Development Tools (ADT), and the Android Software Development Kit (SDK). Fortunately, there's a very good tutorial on the whole process here to walk you through that.

Once you've done this, Eclipse doesn't just have the usual advantages of an IDE - you can also run virtual Android devices with a variety of specifications, to test your program on more phones than just the one in your pocket! (More testing is always good...)

So far so good. I've added two more bits'n'bobs which look as though they may be useful, and offer functionality which is lacking in Eclipse:
DroidDraw, which is a visual environment for laying out interfaces and screens. Hopefully when it comes to prettying up an app, this will make the process reasonably simple. DroidDraw is found at this site, which not only has the downloads, but also tutorials on how to get started with it.
SQLiteBrowser, which is a database manager, found (among other places) here. I've added this because it may help with handling storage and retrieval of data.

Last thing to mention:
Scrap paper and a pencil/whiteboard and a pen can also come in handy; especially for planning out the outline of a program before you jump in and start coding.


  1. ANDROID TRAINING IN KATHMANDU
  2. ANDROID TRAINING IN LALITPUR 
  3. APP DEVELOPMENT IN KATHMANDU

Friday, February 26, 2016

The purpose of education


A quick interlude from the Manifesto series - that Values Development Project just keeps on rolling, and as education is the next thing on my list to consider it is very apt that the current prompt is:

What is the purpose of public education?

Or to put it another way, why is it compulsory for children to spend thirteen years of their lives learning in school; what benefit do they get from it? Assuming that the children benefit, what do their parents get out of it? And what of society at large? Do we benefit from educating other peoples' children?

The child


In the first instance, that of the child as an individual - we live in a big and complicated world. Centuries ago you could learn a trade from adults around you without any formal instruction. Almost everyone you knew would be close enough to walk over and say hello. Any contracts and tenancies into which you entered would be on traditional terms. Unless you were rich you would handle very little money in your life, and mostly make deals by paying in goods, or remembering what you were owed. And your rights in your local political system were likely to amount to "rise in rebellion if it all gets too unbearable, otherwise put up and shut up".
So the need for education was minimal.
Now, on the other hand, just to live quietly in a small town, work at a nondescript job, and stay out of trouble, you need to:
Read and write, quite well - you will sign contracts to secure your dwelling place, your employment, your communication with friends and family. More informally you will get written instructions to assemble your furniture; you will receive birthday cards; you will want to write to your MP or Councillor about your concerns.
Be able to handle arithmetic, compound interest and other mathematics - you may take on debt to buy a home, get an education, or just to get something you really want. If you don't understand how interest works, you are likely to pay much more than you need to, and may cause problems for other aspects of your life.[1]
Have a knowledge of complex systems - to know your legal rights; to know how to get involved in politics; to keep up with what's going on in the world; simply to find the right bloody form to fill in at the post office, requires not just personal knowledge of how society works, but also knowledge of who to approach with your questions, how to judge the trustworthiness of sources[2] etc.

If you don't have an adequate education you will not be able to find a job, or at least not one that's interesting and has any chance of going anywhere; so if you want to do interesting things at work, and have enough money to do interesting things with your free time, some kind of education is essential.

Also, you need a certain baseline of education in order to be able to get more - many information sources assume a certain level of competence. For example, almost all companies assume that you can read - and that you can read in English. More and more, it is assumed that you can access the Internet, and that you will be able to make use of information you find there. Supermarkets assume that you can't add up very well, so that they can make more profit, and it is very much in your interests to prove them wrong.

Enough about the individual - most people realise at some point that education is worthwhile for them personally, albeit it takes some of them years after leaving school (as it happens this is why I am in favour of offering free courses at Further Education colleges to all, up to A-level[3].

The parents


It is in a parent's interest to educate their child; a parent should want the best for their child, and the best cannot be had without an education. If you want your children to decide what they want to do in life, and to achieve their potential, then spending some time teaching them what life has to offer, and developing their skills and knowledge, is fairly vital.
The tricky thing, obviously, is that all parents have limited expertise, and also limited time; so if home-schooling were universal, many budding scientists would get a great education in the humanities, but not learn the first thing about science because their parents have no expertise in it; children who could have been great novelists will end up as lab technicians because their parents didn't have the literary chops to light the touchpaper; and children who could have done anything will get hardly any education at all, because their parents don't know enough, don't have enough time, or simply can't be bothered.
Like so many aspects of life, by pooling the responsibilities and costs of a major requirement we can raise the floor - make the worst experience better than it might have been - and make opportunities more equal.
With all the flaws and failings that our current education system undoubtedly has (a scary proportion of children reaching age 11 still functionally illiterate, for starters), it is still possible for a child whose parents have little education and less interest in education to make it in life; to learn what they need in school to go out and make the world their oyster.[4]

Society:


Educated people are more productive; educated people are better citizens; better education leads to less inequality in a society; an educated workforce is the biggest draw for companies to base themselves near you, both on the micro-scale (look at the number of tech start-ups around Cambridge) and on the macro-scale of countries in the global economy.
If you have any belief in equality of opportunity, a good, free, compulsory school system is the foundation stone of equality - and if you don't believe that equality of opportunity is a good thing, please justify yourself below, because even our darling Coalition pay lip-service to the idea.


[1]A story from my father - when he was a fairly young adult, credit cards first became available. Some of his friends went "Ooh, free money", and spent up to their credit limit because they could, be it on suits or cars or whatever - and were paying it off - and regretting it - for years.
[2]e.g. if you do not wish to receive marketing telephone calls, you can register with the Telephone Preference Service. This is free. There are several companies who will charge you money and then register on your behalf. They are deceitful bastards. Finding this out takes either bitter experience or some research.
[3]Translation into American - essentially free education up to finishing High School, no matter the age of the student.
[4] At least in theory; a range of practical hurdles do exist between baby Sam and Sam who has achieved their heart's desire.

  1. ANDROID TRAINING IN KATHMANDU
  2. ANDROID TRAINING IN LALITPUR
  3.  APP DEVELOPMENT IN KATHMANDU

Thursday, February 25, 2016

Welfare State 101


Welfare State 101:


The purpose of the Welfare State is to afford everyone dignity, opportunities, and access to society.
Who has maximal access to society? Working, childless, healthy, able-bodied, educated adults who own their own home. They can support themselves, they can socialise, help with causes, and so on.
So the aim is to get everyone as close as possible to that position.

Rule 1 is Health. 

If you aren’t healthy, you can’t work, can’t study, can’t look after someone else, can’t do anything as well as you could when you ARE healthy. The United States is a cautionary tale for all of us here – if healthcare is not comprehensive, people slip through the cracks and will bankrupt themselves trying to achieve health. There are a variety of valid options for running a health system, but the NHS is one of them – it is fundamentally sound, and good value for money by international standards. So, I wouldn’t mess with it too much; possibly try to fold optical and dental care into the system of paying taxes and then receiving free treatment at the point of need, but no more.
[For example, laser eye surgery is expensive, but cheaper over time than contact lenses. If I didn't have to pay up front, I would have had my eyes lasered 2-3 years ago when my prescription was sufficiently stable, and would be saving over contact lenses by now].

Rule 2 is Education

If you don't have any education, you won't have many choices in life. In fact, I think I've discussed the issue of education here.
Free education from nursery to A-level at a minimum. If someone drops out of education before age 18, they should be able to go back free as and when they're ready. I know plenty of people who didn't want an education aged 16, then grew up and realised better qualifications would be really handy. That's normal, and shouldn't be penalised.

Rule 3 is Money

Ideally we want all adults to either earn money directly, be supported by someone who is earning directly (e.g. stay-at-home parent supported by their partner), or be living off their own prior earnings (pensioner).
Due to unemployment, and disability, and taking time off to look after small children, and further education, and…there are many reasons why this isn’t going to work. At the moment we have a hodge-podge of systems and funds to deal with this, from Job-seekers Allowance, through Child Benefit, Tax Credits, Disability Living Allowance, and so on.
However, as I found while unemployed, there are cracks in this system – the specific one I slipped through is probably fairly rare, but there are common ones. How do we prevent people slipping through the cracks?
There's a radical solution - guaranteed income – every adult is guaranteed income equivalent to a full-time minimum-wage job after tax.
At the moment this would be around £11,200 a year (£6.19 an hour, 40 hours a week, 50 weeks a year). What is the cost of £11,200 a year for every adult in the UK? Well, according to census data we have approximately 63 million people, and about 16 million of them are 19 or younger – so call it 47 million people, times £11,200 a year.
That’s £517 billion, which is a suitably scary number (aka about 1/3 of the whole economy). However, a lot of the expense is already being paid – for example, everyone older than 65 who contributed to National Insurance is getting £5,700 odd a year as their State Pension, regardless of need.
Additionally, guaranteed income will cover Housing Benefit; Council Tax Benefit, Child Benefit...
The Department for Work and Pensions already controls a budget of £160 billion; Tax Credits and Child Benefits (coming from HMRC) is another £40 (that’s got us to £200 of the £500 necessary), and not to mention the fact that a basic income guarantee allows the social housing stock to be rented out, providing a countervailing income stream.
However, to close the gap, top tax rates, and corporate tax rates, are going to have to go up. The other side is that companies have more customers, fewer people who can’t afford to buy.
Also bear in mind that even with a Basic Income of £11,000 per annum, anyone earning more than about £45,000 will still be paying more tax than they are receiving in Basic Income; that’s around 10% of taxpayers and much more of the percentage of tax.
Why am I justifying this? The brief is that I am dictator and can create the welfare state I want - well there you go. It might not be complete, but that's a good start.


ANDROID TRAINING IN KATHMANDUANDROID TRAINING IN LALITPUR APP DEVELOPMENT IN KATHMANDU

Wednesday, February 24, 2016

Platform usage in android

Platform usage





Circle frame.svg
  Marshmallow (1.2%)
  Lollipop (34.1%)
  KitKat (35.5%)
  Jelly Bean (23.9%)
  Ice Cream Sandwich (2.5%)
  Gingerbread (2.7%)
  Froyo (0.1%)
Charts in this section provide breakdowns of Android versions, based on devices accessing the Google Play Store in a seven-day period ending on February 1, 2016.[282][d] Therefore, these statistics exclude devices running various Android forks that do not access the Google Play Store, such as Amazon's Fire tablets.

VersionCode nameRelease dateAPI levelDistribution
6.0 - 6.0.1MarshmallowOctober 5, 2015231.2%
5.1 - 5.1.1LollipopMarch 9, 20152217.1%
5.0 - 5.0.2November 3, 20142117.0%
4.4 - 4.4.4KitKatOctober 31, 20131935.5%
4.3 - 4.3.1Jelly BeanJuly 24, 2013183.4%
4.2 - 4.2.2November 13, 20121711.7%
4.1 - 4.1.2July 9, 2012168.8%
4.0 - 4.0.4Ice Cream SandwichDecember 16, 2011152.5%
2.3 - 2.3.7GingerbreadFebruary 9, 2011102.7%
2.2 - 2.2.3FroyoMay 20, 201080.1%

Tuesday, February 23, 2016

Beginnings 1: Whys and Wherefores

Beginnings 1: Whys and Wherefores

Who am I, and why am I doing this?

I'm young, highly qualified and unemployed. There's a lot of it about, oddly enough. I want to get a job developing software, and part of the problem is that my formal programming education is slim; so I need pieces of work to point to, an "I did that!" I am learning to write Android apps partly just to improve my skills, and partly to build up a portfolio of work which I can show to prospective employers.

Why blog about it? Self-discipline, primarily. If I know that the results are public, I have more motivation to push on through the debug phases, the design crises, etc. With the added possibility of showing the blog itself to people.

Why Android, not iOS?
1) I have an Android phone, and it's much more appealing to write an app I can use myself.
2) I have an Android phone, so I have a test-bed in my pocket.
3) Getting an app out on the Android Market (or Google Play, as it seems to be now) is a lot easier than getting one onto the Apple Store.
4) I just prefer the Android philosophy of an open platform.

Coming soon: Software and Tools. 

Monday, February 22, 2016

android quotation in openeyesit

All of a sudden, if you think about the entire ecosystem of connected devices that can pull down information, access content and allow me to share and work and communicate, the vast majority now are not Windows computers. They are iPhones. They are iPads. They are Android devices.

Read more at

Android training in lalitpurAndroid training in kathmanduapp development in kathmandu

Sunday, February 21, 2016

coursecontent of android in kathmandu:: openeyesit


Android Training. App Development Training

We OPEN EYES IT SOLUTION  started android training from last few years and successfully placed students in different IT organization. We train students from professional Android Developers who have minimum 5 years working Experience. The open-source, Linux-based and hardware-independent Android mobile OS, with the new updating release is giving mobile developers a whole new ball court to play in. Android is the fastest growing mobile OS among its competitors and with its share in the Smartphone user market growing, Android is attracting more and more enthusiastic developers.
JAVA CONCEPTS
  • Introduction to Android
  • OOPs Concepts
  • Inheritance in detail
  • Exception handling
  • Packages & interfaces
  • JVM & .jar file extension
  • Collections – HashTable,Vector,,List, ArrayList, HashMap
  • Multi threading(Thread class & Runnable Interface)
SQL
  • DML & DDL Queries
  • What is Android?
  • Setting up development environment
  • Dalvik Virtual Machine & .apk file extension

Fundamentals:

  • Basic Building blocks – Activities,Services,Broadcast Receivers & Content Providers
  • UI Components- Views & notifications
  • Components for communication -Intents & Intent Filters
  • Android API levels(versions & version names)
Application Structure (in details)
  • AndroidManifest.xml
  • uses-permission & uses-sdk
  • Activity/services/receiver declarations
  • Resources & R.java
  • Assets
  • Android Training Course Syllabus
  • Values – strings.xml
  • Layouts & Draw able Resources
  • Activities and Activity lifecycle
  • First sample Application
  • Deploying sample application on a real device
Emulator Android Virtual Device
  • Launching emulator
  • Editing emulator settings
  • Emulator shortcut
  • Logcat usage
  • Introduction to DDMS
  • File explorer
  • Second App :- (switching between activities)
  • Develop an app for demonstrating the communication between Intents
Android widgets
·        Basic UI Component and Ui Properties
1.      TextView
2.      Button
3.      EditText
4.      Spinner
5.      CheckBox
6.      Radio Button
7.      ImageView
·        Listview and Adapter and View Holder Pattern
·        Gridview and adapter
·        Listview with custom Adapter
·        GridView with Custom Adapter
·        View Pager
·        Progress bar

Design User Interface
·        User Interfaces :
1.      Drawable
2.      Shape
3.      Selector
·        Using Font Icons.
·        Styles/Themes
·        Review week one, Two and Git Basics
·        Assignment: Survey App using different UI component /Listing Popular Programming language / Shopping List Task App
Dialogs

·        Alertdialog /Dialog/Toast
·        Custom Dialog
·        Custom Toast Message

Why UI Thread and Background Thread

·        Thread /Runnable Handler
·        AsyncTask With examples
·        Service

Interacting with hardware

·        Working with camera (taking pictures and saving it to gallery)
·        Alarm application with vibration and and sound
Data Storage: How and when to use(Real time Scenarios)

·        Share Preferences
·        File Storage
1.      Reading and Writing Sd card
·        Database : SQLite
1.      SQLite Basics
2.      Creating database
3.      CRUD operation
·        Assignment : Database Related Project. Taking input from the Form and saving it to the Database and Display the information Listview.

Data Exchange format

·        Json/Xml
·        Parsing Json data with examples
·        Parsing json using Google Gson lib

Handling Network Connection

·        REST API Connection using basic DefaultHttpclient
·        REST API Connection Using third party Library - Volley
·        Loading remote images using Picasso Library.

Some Advance topics(Brief)

·        What is Material designs and its implementation.
·        Adding Navigation Drawer
·        RecyclerView and Adapter/ LayoutManager class

Google Map
·      Introduction to Google Map
·      Implementation

Final Project
·        Create a Final Android Application and publish to Google Play and Openshift

Summary of Key Learnings
  • Learn the core concepts of an objectoriented programming language (Java)
  • Develop programming skills by building Native Android Mobile Apps
  • Implement your applications
  • Develop Android based Apps and sell Android Apps in the marketplacewith Live Industrial Project
  • Understand theAndroid OS, UI and Design requirements
  • Learn Android Storage
  • Deploy the application in the marketplace to show during interviews and in Final semester Viva presentation.
Pre-requisites Eligibility
  • Candidates with understanding of C, C++ can undergo this training. Core Java

Fees

Fees for the Android Training course vary by the duration and course program selected. Please call us for an immediate response

Further more coursecontent android training  in kathmandu:: openeyesit 

android training in lalitpur