Archive | Programming

[Java] Read the Excel file in Java with JXL – Read write Excel file in Java with jxl

In the course of work and data processing we often have to interact with the file especially Excel File. Today I'll show you the simple steps to read Excel files recorded with JXL. JXL is a library package allows us to interact called Excel as read, record,.., Detailed information about the JXL package you see here. First of […]

About the android operating system

As you know Android is a mobile operating system the most popular current, as well as the fastest growing. So it is with great potential, although it also parallels there are other operating systems like iOS or WinPhone but here I just want to mention Android only.

[Java] Execute the command line with java – Execute command line in java

You never want to execute a command from a terminal like java? This article will help you do it in a simple way. Note that I do on Ubuntu, so on Windows or some other distro of Linux may vary slightly. Assuming you've installed vlc and now you want to open with vlc video chim_trang_mo_coi.mp4 in /home/nguyenvanquan7826/Desktop/chim_trang_mo_coi.mp4. You write a program like […]

[Java] Get the size of the object – Get size of Object

There are several ways to get the size of an object, in this article I'll show you how to build a class to own property. Said the construction of this question but what people write and, we just copied and used only, without interest or impact on it at all.

ActionBar in Android

ActionBar in the title bar of android apps Android allows us quick, more convenient. This is an example of the ActionBar in Gmail. This article will guide you to create and work with ActionBar easily possible.

Rounder image in Android

Tutorial rounded picture of you as shown below

Separating the range from string

This article will help you separate the range from string. For example, the string We will be out of the cup: Here its successful implementation in c and java, other languages ​​also make a ;). Added, is how to use regex, you do not clear can read more about it. In C: This is actually his way of reference and […]

[Java]Standardized strings in Java – Standardize string in java

To normalize the string in Java, we need to remove the extra white space at the top, end and mid-strings. First we manually delete the spaces at the beginning and end by methods trim(). For example we have: Then followed our work will be cut out for extra spaces in between the strings. To do this there are many ways, I outlined here 2 substantially […]

Hide keyboard when click EditText Android – Hide keyboard when click EditText

Have you ever wanted to click on the EditText without displaying the default keyboard on Android? For example, when pocket calculators. Chúng ta xây dựng bàn phím sẵn và không muốn nó hiện lên rồi 😉 Đoạn code dưới đây sẽ giúp bạn làm điều đó 😉 Trong code trên editMath là cái EditText chúng ta muốn thao tác. For example, the computer simply by doing their […]

[C #] Socket Communications objects via C #

Yesterday we showed you a simple example transfers the socket in c #, hôm nay tiếp tục hướng dẫn các bạn truyền đối tượng qua socket 😉 Bài này hướng dẫn các bạn viết chuơng trình truyền nhận đối tượng giữa client và server. Client is 1 From information 1 book (Book) including title, author, Publishing year and category. Client 2 […]