TAILIEUCHUNG - Xây dựng ứng dụng cho Android với HTML, CSS và javascript - part 4

Tham khảo tài liệu 'xây dựng ứng dụng cho android với html, css và javascript - part 4', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | CHAPTER 2 Basic Styling Ultimately we are going to build a native Android app using HTML CSS and JavaScript. The first step on this journey is to get comfortable styling HTML to look like a mobile app. In this chapter I ll show you how to apply CSS styles to a bunch of existing HTML pages so that they are easily navigable on an Android phone. So in addition to moving closer to building a native app you ll be learning a practical and valuable skill that you can use immediately. Don t Have a Website If you ve been testing all your web pages locally on your personal computer you won t be able to view them on your Android phone without setting up a server. You have a couple choices Host your web pages on a web server and connect to that server from your Android phone. Chances are good that your Internet Service Provider ISP offers complimentary web hosting but this usually only supports basic features such as HTML. By the time we get to Chapter 6 we re going to need to use PHP a scripting language that runs on the web server so you should look into an inexpensive hosting service. Many companies such as Laughing Squid offer entry-level hosting with PHP for under 10 a month. Host them on a web server running on your computer and connect to the web server running on your computer from your Android phone. This only works when your Android phone and computer are on the same WiFi network. This chapter is set up so you can try the examples as you go through it. So no matter which option you choose for viewing the web pages try reloading them in a browser preferably the Android browser each time you add something new to one of the samples. However be sure to save your file in your text editor before you reload it in the browser or you won t see your changes. 13 Download from Running a Web Server Locally All current mainstream operating systems Linux Windows Mac OS X include some sort of web server. On Mac OS X open System Preferences choose Sharing and enable .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.