دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Rick Boyer
سری:
ISBN (شابک) : 1788991214, 9781788991216
ناشر: Packt Publishing
سال نشر: 2018
تعداد صفحات: 458
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 16 مگابایت
در صورت تبدیل فایل کتاب Android 9 Development Cookbook: Over 100 recipes and solutions to solve the most common problems faced by Android developers, 3rd Edition به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب کتاب آشپزی توسعه اندروید 9: بیش از 100 دستور العمل و راه حل برای حل رایج ترین مشکلاتی که توسعه دهندگان اندروید با آن مواجه هستند، نسخه 3 نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
برنامههای Android Pie غنی و قابل اعتماد را با کمک بیش از 100 دستور العمل و استراتژی استاندارد صنعتی اثبات شده بسازید.
سیستمعامل Android بزرگترین پایگاه نصب را در بین هر سیستمعاملی در جهان دارد. هرگز زمان بهتری برای یادگیری توسعه اندروید برای نوشتن برنامه های خود یا مشارکت خود در جامعه منبع باز وجود نداشته است! با این کتاب آشپزی بهروزرسانی شده، راهحلهایی برای کار با رابطهای کاربری، حرکات چند لمسی، آگاهی از موقعیت مکانی، خدمات وب و ویژگیهای دستگاه مانند تلفن، دوربین و شتابسنج پیدا خواهید کرد. همچنین مراحل مفیدی برای بسته بندی برنامه خود برای Android Market دریافت می کنید. هر دستور یک راه حل واضح و کد نمونه ارائه می دهد که می توانید از همان ابتدا در پروژه خود استفاده کنید. چه در حال نوشتن اولین برنامه یا صدمین برنامه خود باشید، این کتابی است که بارها و بارها با نکات و ترفندهای فراوان در مورد ویژگی های غنی Android Pie به آن باز خواهید گشت.
اگر در توسعه Android تازه کار هستید و می خواهید رویکردی عملی برای یادگیری داشته باشید فریمورک، یا اگر یک توسعه دهنده با تجربه هستید که نیاز به کد کاری واضح برای حل چالش های متعدد در توسعه اندروید دارید، از این کتاب بهره مند خواهید شد. در هر صورت، این منبعی است که میخواهید بهعنوان یک مرجع سریع روی میز خود نگه دارید تا به شما در حل مشکلات جدید در هنگام مقابله با پروژههای چالش برانگیزتر کمک کند.
Build feature-rich, reliable Android Pie apps with the help of more than 100 proven industry standard recipes and strategies.
The Android OS has the largest installation base of any operating system in the world. There has never been a better time to learn Android development to write your own applications, or to make your own contributions to the open source community! With this extensively updated cookbook, you'll find solutions for working with the user interfaces, multitouch gestures, location awareness, web services, and device features such as the phone, camera, and accelerometer. You also get useful steps on packaging your app for the Android Market. Each recipe provides a clear solution and sample code you can use in your project from the outset. Whether you are writing your first app or your hundredth, this is a book that you will come back to time and time again, with its many tips and tricks on the rich features of Android Pie.
If you are new to Android development and want to take a hands-on approach to learning the framework, or if you are an experienced developer in need of clear working code to solve the many challenges in Android development, you will benefit from this book. Either way, this is a resource you'll want to keep on your desk as a quick reference to help you solve new problems as you tackle more challenging projects.
Cover Title Page Copyright and Credits Dedication About Packt Contributors Table of Contents Preface Chapter 1: Activities Introduction Declaring an activity Getting ready How to do it... How it works... Starting a new activity with an intent object Getting ready How to do it... How it works... There's more... See also Switching between activities Getting ready How to do it... How it works... See also Passing data to another activity Getting ready How to do it... How it works... There's more... Returning a result from an activity Getting ready How to do it... How it works... There's more... See also Saving an activity's state Getting ready How to do it... How it works... There's more... See also Storing persistent activity data Getting ready How to do it... How it works... There's more... Using more than one preference file See also Understanding the activity life cycle Getting ready How to do it... How it works... There's more... Chapter 2: Layouts Introduction Defining and inflating a layout Getting ready How to do it... How it works... There's more... See also Using RelativeLayout Getting ready How to do it... How it works... There's more... See also Using LinearLayout Getting ready How to do it... How it works... There's more... See also Creating tables – TableLayout and GridLayout Getting ready How to do it... How it works... There's more... RecyclerView replaces ListView Getting ready How to do it... How it works… There’s more… Changing layout properties during runtime Getting ready How to do it... How it works... Chapter 3: Views, Widgets, and Styles Introduction Inserting a widget into a layout Getting ready How to do it... How it works... There's more... See also Using graphics to show button state Getting ready How to do it... How it works... There's more... Using designated folders for screen-specific resources See also Creating a widget at runtime Getting ready How to do it... How it works... There's more... Creating a custom component Getting ready How to do it... How it works... There's more... See also Applying a style to a View Getting ready How to do it... How it works... There's more... See also Turning a style into a theme Getting ready How to do it... How it works... There's more... Selecting a theme based on the Android version Getting ready How to do it... How it works... There's more... Chapter 4: Menus and Action Mode Introduction Creating an options menu Getting ready How to do it... How it works... There's more... Using a menu item to launch an activity Creating submenus Grouping menu items See also Modifying menus and menu items during runtime Getting ready How to do it... How it works... There's more... Enabling Contextual Action Mode for a view Creating a floating context menu Getting ready How to do it... How it works... There's more... See also Using Contextual Batch Mode with RecyclerView Getting ready How to do it... How it works... There's more... See also Creating a pop-up menu Getting ready How to do it... How it works... Chapter 5: Fragments Introduction Creating and using a Fragment Getting ready How to do it... How it works... There's more... See also Adding and removing Fragments during runtime Getting ready How to do it... How it works... There's more... See also Passing data between Fragments Getting ready How to do it... How it works... There's more... See also Handling the Fragment back stack Getting ready How to do it... How it works... There's more... Chapter 6: Home Screen Widgets, Search, and the System UI Introduction Creating a shortcut on the Home screen Getting ready How to do it... How it works... There's more... Creating a Home screen widget Getting ready How to do it... How it works... There's more... See also Adding Search to the Action Bar Getting ready How to do it... How it works... See also Showing your app full-screen Getting ready How to do it... How it works... There's more... Sticky Immersion Dimming the System UI Setting the Action Bar as an overlay Translucent system bars See also Chapter 7: Data Storage Introduction Storing simple data Getting ready How to do it... How it works... There's more... Read and write a text file to internal storage Getting ready How to do it... How it works... There's more... Caching files See also Read and write a text file to external storage Getting ready How to do it... How it works... There's more... Getting public folders Checking available space Deleting a file Working with directories Preventing files from being included in galleries See also Including resource files in your project Getting ready How to do it... How it works... There's more... See also Creating and using an SQLite database Getting ready How to do it... How it works... There's more... Upgrading a database See also Accessing data in the background using a Loader Getting ready How to do it... How it works... There's more... See also Accessing external storage with scoped directories in Android N Getting ready How to do it... How it works... There's more... See also Chapter 8: Alerts and Notifications Introduction Lights, Action, and Sound – getting the user's attention! Getting ready How to do it... How it works... There's more... See also Creating a Toast with a custom layout Getting ready How to do it... How it works... See also Displaying a message box with AlertDialog Getting ready How to do it... How it works... There's more... Add an icon Using a list Custom layout Displaying a progress dialog Getting ready How to do it... How it works... There's more... Lights, Action, and Sound Redux using Notifications Getting ready How to do it... How it works... There's more... Adding a button to the notification using addAction() Expanded notifications Lock screen notifications See also Creating a Media Player Notification Getting ready How to do it... How it works... There's more... See also Making a Flashlight with a Heads-Up Notification Getting ready How to do it... How it works... There's more... See also Notifications with Direct Reply Getting ready How to do it... How it works... See also Chapter 9: Using the Touchscreen and Sensors Introduction Listening for click and long-press events Getting ready How to do it... How it works... There's more... Recognizing tap and other common gestures Getting ready How to do it... How it works... There's more... See also Pinch-to-zoom with multi-touch gestures Getting ready How to do it... How it works... Swipe-to-Refresh Getting ready How to do it... How it works... There's more... Listing available sensors – an introduction to the Android Sensor Framework Getting ready How to do it... How it works... There's more... See also Reading sensor data – using Android Sensor Framework events Getting ready How to do it... How it works... There's more... Environment sensors Position sensors Motion sensors See also Reading device orientation Getting ready How to do it... How it works... There's more... Getting current device rotation See also Chapter 10: Graphics and Animation Introduction Scaling down large images to avoid Out of Memory exceptions Getting ready How to do it... How it works... There's more... See also A transition animation – defining scenes and applying a transition Getting ready How to do it... How it works... There's more... See also Creating a Compass using sensor data and RotateAnimation Getting ready How to do it... How it works... There's more... See also Creating a slideshow with ViewPager Getting ready How to do it... How it works... There's more... Creating a Setup Wizard See also Creating a Card Flip Animation with Fragments Getting ready How to do it... How it works... See also Creating a Zoom Animation with a Custom Transition Getting ready How to do it... How it works... There's more... Getting the default animation duration See also Displaying animated image (GIF/WebP) with the new ImageDecoder library Getting ready How to do it... How it works... See also Creating a circle image with the new ImageDecoder Getting ready How to do it... How it works... There's more... See also Chapter 11: A First Look at OpenGL ES Introduction Setting up the OpenGL ES environment Getting ready How to do it... How it works... Declaring OpenGL in the Android Manifest Extending the GLSurfaceView class Creating an OpenGL rendered class There's more... Drawing shapes on GLSurfaceView Getting ready How to do it... How it works... There's more... See also Applying the projection and camera view while drawing Getting ready How to do it... How it works... There's more... Moving the triangle with rotation Getting ready How to do it... How it works... There's more... The render mode Rotating the triangle with user input Getting ready How to do it... How it works... There's more... See also Chapter 12: Multimedia Introduction Playing sound effects with SoundPool Getting ready How to do it... How it works... There's more... See also Playing audio with MediaPlayer Getting ready How to do it... How it works... There's more... Playing music in the background Using hardware volume keys to control your app's audio volume See also Responding to hardware media controls in your app Getting ready How to do it... How it works... There's more... Checking the hardware type See also Taking a photo with the default camera app Getting ready How to do it... How it works... There's more... Calling the default video app See also Taking a picture using the Camera2 API Getting ready How to do it... How it works... Setting up the camera preview Capturing the image There's more... See also Chapter 13: Telephony, Networks, and the Web Introduction How to make a phone call Getting ready How to do it... How it works... See also Monitoring phone call events Getting ready How to do it... How it works... There's more... See also How to send SMS (text) messages Getting ready How to do it... How it works... There's more... Multipart messages Delivery status notification See also Receiving SMS messages Getting ready How to do it... How it works... There's more... Reading existing SMS messages See also Displaying a web page in your application Getting ready How to do it... How it works... There's more... Controlling page navigation How to enable JavaScript Enable built-in zoom See also Checking online status and connection type Getting ready How to do it... How it works... There's more... Monitoring network state changes See also Phone number blocking API Getting ready How to do it... How it works... There's more... See also Chapter 14: Location and Using Geofencing Introduction How to get the device location Getting ready How to do it... How it works... There's more... Mock locations See also Resolving problems reported with the GoogleApiClient OnConnectionFailedListener Getting ready How to do it... How it works... There's more... See also Creating and monitoring a Geofence Getting ready How to do it... How it works... There's more... See also Chapter 15: Getting Your App Ready for the Play Store Introduction The Android 6.0 Runtime Permission Model Getting ready How to do it... How it works... There's more... See also How to schedule an alarm Getting ready How to do it... How it works... There's more... Cancel the alarm Repeating alarm See also Receiving notification of device boot Getting ready How to do it... How it works... There's more... See also Using the AsyncTask for background work Getting ready How to do it... How it works... There's more... Parameter types Canceling the task See also Adding speech recognition to your app Getting ready How to do it... How it works... There's more... See also How to add Google sign-in to your app Getting ready How to do it... How it works... There's more... See also Chapter 16: Getting Started with Kotlin Introduction How to create an Android project with Kotlin Getting ready How to do it... How it works... There's more... See also Creating a Toast in Kotlin Getting ready How to do it... How it works... See also Runtime permission in Kotlin Getting ready How to do it... How it works... See also Other Books You May Enjoy Index