Archive | Programming

[Android] Split folder layout

Are your layout folder was too big and hard to control, difficult search? Now with Android Studio you can split it up so easily managed as shown below…

[Android] CardView in Android

CardView allow you to display content in a more prominent, shadow effect, bo beautiful corner. And especially when combined with RecyclerView. If you have used android 4.0 or more often see the app has…

[Android] RecyclerView in Android

RecyclerView is a new View in android ListView but powerful like a lot.
RecyclerView allows us to load more data ListView, claw smoother, better effects and…

[Java] Export files and exe jar

After building software with java, we need to export or exe file run jar format that can run directly like any other software that is not in eclipse or NetBean to shaking it. This article will guide you to do the job so. Initially I had 1 Dijkstra project like this and we will do iện create jar from eclipse […]

[C / C ]The function strtok cut strings – function strtok in string

The function strtok(s1, s2) returns after the first string s1 cut by the characters in the string s2. President s1 = “nguyen, of quan” and we use: char *p = strtok(s1,”, “) (surgical marks and spaces) p is the string: nguyen. If you want to cut to the string, we use strtok(NULL,s2) While it will cut the original string starting position that was previously stopped. I used to […]

[C / C ] Simulation Strategy Coordination exclusive SJF

Regarding his strategy will not prompt coordination here, just introduce yourself and share your simulation program that is on the graphics do in Dev-C ++. Updated on 13/05/2015: Fixed some bugs and allows you to import data from key This is the image results when running the program with INPUT.TXT file first line is the process followed by the name lines […]

[Android] Java.lang.NoClassDefFoundError bug fixes after the update Android

Android has updated the previous day up 5.1.1, very stable, New project to create run ok. So on to the countryside, not bother to check whether the old project was okay. Now open up the run, some old project java.lang.NoClassDefFoundError. If you also failed as above, it is because the new library in the android was updated and the old one does not fit anymore. The easiest way to fix that […]

[Java] Using the interface

There are many issues raised, such as user interface to do, why use interface, How to use interface,... In this article I hope to be able to answer somewhat comprehensible way possible, as often…

Installing wordpress on localhost in ubuntu

You are looking to install wordpress on localhost Ubuntu, even multiple blogs at once?
You can make install wordpress through BitNami but that's just how the current set is 1 wordpress blog only. This article I will guide you to install multiple wordpress blog.

Install XAMPP on Ubuntu

You are looking to install XAMPP on Ubuntu (Linux) to either web or php. This article will guide you to do that and it's good that it integrates Apache, PHP, MySQL, FTP Server, Mail Server and phpMyAdmin,…