Download operation is an async task in android. So our download function must extends AsyncTask class. My download example will be with a progress bar because i want to follow download operation. For see progress bar i used a Dialog.
Bootstrap is a back-end framework which is developed by Twitter. It has a grid system for make responsive web design. This system divides 12 part to page. In this way we can design web pages with mobile first principle. There are classes for every screen size:
We create a test database and create a table (for example: user). Then We add some data to it.
Queue is a data structures. That’s principle is FIFO (first in first out). This aspect similar to stack data structures. We will use 3 class and 1 interface. Firstly we are creating our interface.
Android provides audio play in our application to us. For this we must write some code and copy an audio file on our project. Firstly we create a directory in project resources (res) directory. This name can be “raw”. Then we are copying audio file to this folder. I assuming audio file’s name “test.mp3”.
Linked list is a useful data structure. In fact sometimes it is compulsory. So i will share an example for linked list with you. Firstly we create a c# project. Then we need three class. These Node.cs, LinkedList.cs and LinkedListADT.cs. (ADT’s mean is Abstract Data Type.)
Hi everybody. If we want to grabbing any data on a web site source, we can use preg_match or preg_match_all function on PHP. Preg_match function is grab a data that can find first data and as preg_match_all function grab all data that can find datas. For example: Our HTML page’s(for example http://websiteaddress.com/test.html) source code:
Merhaba arkadaşlar. Eğer php’de bir web sitesinin kaynağından veri çekmek istersek preg_match ve preg_match_all fonksiyonlarını kullanabiliriz. Preg_match fonksiyonu bulduğu ilk veriyi, preg_match_all ise bulduğu tüm verileri verir. Örnek olarak: Html sayfamızın(örnek http://websiteaddress.com/test.html) kaynak kodu:
Hi everybody. This is my personel blog. I will write my works for sharing with you on this site. for turkish visitors: Herkese merhaba. Burası benim kişisel bloğum. Bu sitede sizinle paylaşmak için çalışmalarımı yayınlayacağım.