Development plate reader serial Android Andrews

Recently received a project,Demand is to do a special project Andrews board serial read and write in order to achieve some specific external devices to interact with - yes you read right,Andrews is also a board can have serial port!

Many friends do mobile development may not come into contact with - in fact, before I did not come into contact with。He stepped on seven or eight hours a pit,Finally climb out,Here to do a summary,Each board may project different circumstances,We must improvise。[……]

Click link to continue reading...

Exception in thread “main” java.lang.ArrayIndexOutOfBoundsException: 0

When you learn Java,Some details of the small problems tend to be very confusing,When in receive parameters, for example。

If your program needs to receive arguments in order to run,And you did not give the default parameters,That can cause this error:

For example, your code is:
[crayon-5d628[……]

Click link to continue reading...

Reprint:Multi-paradigm programming language-an example of Swift

The original from InfoQ,Author Guo Lin

Based on the Swift case study of language,Introduction what is a multi-paradigm programming language;Also introduces several of today's more popular programming paradigm,Worth a read。Collection,Original linkIn this

Swift programming paradigm

Programming paradigm is the idea behind the program language。Representing programming language designers believe that how the program should be built and implemented。Common programming paradigm:[……]

Click link to continue reading...

OSX 10.11 EI Capitan running Java SE 8

A few days ago,Latest session of WWDC Conference for us EL Capitan 10.11 latest OSX system,The first time I installed a developer preview。Without him,Netizens have said very little bug is the forums。Looking back to the year,When upgrading from 10.9 and 10.10,Even in beta stage,Is still flying bug!

But this did[……]

Click link to continue reading...

Talk about MVC and software development of SoC

No matter what language you are learning,Will probably encounter a called MVC concept,It is a program development model,"Isolation and show" as the core,In the hierarchical framework has a great influence。

MVC Is a shorthand,Three uppercase letters corresponding to Model View and Controller

Now we create a application software,Many cases will bring[……]

Click link to continue reading...

Java development environment Introduction

DESCRIPTION

JDK (Java Development Kit) is a Sun Microsystems product for Java developers。Since its launch Java,JDK has become the most widely used Java SDK。JDK Java is the core of the whole,Including the Java Runtime Environment、Java tools and Java Foundation Classes。The first step is to learn the Java JDK。[……]

Click link to continue reading...

'Javac' is not an internal or external command solutions

These days began playing with a BlackBerry,Engineering mode,Java development environment is installed on the computer,But always after the installation prompts

'javac’ Not an internal or external command balabalabala ... ...

Google ~ solution:

  1. Right-computer--> Properties-> The left side of the "advanced system settings"-> The "Advanced" option[……]

    Click link to continue reading...