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 […]

[Algorithm] Problem number 7

Threads: Code article link: For VOSSEVEN sequence of N characters, Each character is a digit from 0 to 9 Request: For each segment the number 7 consecutive see the child count how many times it appears in the string. String s Input Output Each line contains a corresponding length from low to high frequency of occurrence together with its. Data to ensure […]

[Java] Read recorded in the Java Object – Read Write Object in Java

To read recorded in the Java Object in the Object class in which we need to interface java.io.Serializable A simple example of reading record 1 Object MyStudent as follows: Result: My name is Nguyen Van Quan. I am 21 years old Note: When you open a file student.dat will see this kind of data: A more specific example of how to read and write, in such […]

[C #] For example, the socket on C #

Dạo này đang học C# trên trường nên tiện thể viết mấy bài ghi nhớ 😉 Chương trình 1: Enter creation 1 server and 1 customer. Client sends the information gethostname, gethosttime, gethostdate to server, server receives and returns the corresponding value of the name, hour, day. We create 2 individual project named MyServer and MyClient. When you run the Ctrl Me + F5 (bỏ chế độ debug […]

[Algorithm] Games with tape number – Linegate

Link threads:vn.spoj.com/problems/LINEGAME/ Recommended Posts: There is a rectangular band is divided into n squares numbered from left to right starting from 1. On the ith square one who recorded a positive integer, i = 1,2,…,n. At each turn, Participants may select an arbitrary number of cells on ice. Suppose that in order from left to right, players selected […]

Genymotion virtual machine instruction programming Android

Here is the video instruction Genymotion VM supports programming Android. Nguyen Van Chung videos you do. Posts made in a series of collaborative programming Admin Society PTIT

[Android] TextView, EditText and connecting interfaces with Java code

In the article directory structure of an Android program also mentioned how the program that generates the id of the component in the xml file of Android.Trong this article will guide you and explain the connection between XML files and Java code in Android. Posts made in a series of collaborative programming Admin Society PTIT

[Android] Using Android LinearLayout interface design

Video below guide you to use LinearLayout to implement the design interface in Android. Specifically, the demo interface logging framework as shown below article of his series of cooperation and programming Admin Society PTIT

[Android] Getting event for Button in Android

In the previous post we showed you make a connection and use TextView and EditText. This article continues to strengthen them and add a Button View more events and catch it. Posts made in a series of collaborative programming Admin Society PTIT