This document provides information on using Google Maps, GPS, camera, and SD card functionality in Android applications. It discusses setting up a Maps API key, controlling map views, displaying the user's location, taking photos via intents and the camera API, permissions for hardware access, and reading/writing to the SD card. Tips are also provided such as using version control, testing on low-end devices, and using developer tools.
The document discusses different types of images in iOS including UIImage, CGImage, and CIImage. UIImage is used for displaying images, CGImage is a bitmap representation, and CIImage is not an actual image but a "recipe" used for image processing. Core Image filters are much faster than Core Graphics for operations like resizing since CIImage uses lazy evaluation. CGImage is sufficient for simple single modifications while CIImage works better for filters, infinite images, and GPU processing.
This presentation that we're going to talk about how to use CameraKit to implement high performance real-time camera app. We also will cover the tips that you should know when you implement customized camera feature in your app.
Yahoo Open Source - The Tour & Mystery of AppDevKit (MOPCON 2016)anistar sung
This session I explained about how to build shareable library and what we did for AppDeKit that is open source app developing tool for app development. If you're looking for a good mechanism for developing your own app, please read this deck to know AppDevKit more.
https://github.com/yahoo/AppDevKit
This document summarizes Jeff Haynie's presentation at iPhone/iPad Dev Con 2010. He discusses Appcelerator, which allows developers to build native iOS apps using JavaScript. Key points include that Appcelerator has over 72,000 developers and 4,750 apps in stores. It exposes native iOS capabilities while still requiring use of the iOS SDK. The Titanium platform provides APIs for common tasks like media, networking, and UI and allows both simple and complex animations. It also supports new iOS4 features like backgrounding and local notifications.
臉 - The Face Detection Functions on AndroidPRADA Hsiung
The document discusses various face detection options for Android, including the android.media.FaceDetector class, android.hardware.Camera.FaceDetectionListener interface, Google Mobile Vision SDK, and OpenCV library. It provides information on the memory footprint, camera integration capabilities, customizability, ease of use, minimum SDK version, and type of information returned for each option. Overall, it analyzes and compares the tradeoffs of different face detection approaches that can be implemented on Android.
The document provides an overview of a presentation about Google Cloud developer tools and an easier path to machine learning. It introduces the speaker and their background and experience. It then outlines the agenda which includes introductions to machine learning and Google Cloud, Google APIs, Cloud ML APIs, and other APIs to consider. It provides examples of using various Cloud ML APIs like Vision, Natural Language, and Speech for tasks like image labeling, text analysis, and speech recognition. The goal is to demonstrate how APIs powered by machine learning can help ease the burden of learning machine learning by allowing users to leverage pre-built models if they can call APIs.
The document discusses different types of images in iOS including UIImage, CGImage, and CIImage. UIImage is used for displaying images, CGImage is a bitmap representation, and CIImage is not an actual image but a "recipe" used for image processing. Core Image filters are much faster than Core Graphics for operations like resizing since CIImage uses lazy evaluation. CGImage is sufficient for simple single modifications while CIImage works better for filters, infinite images, and GPU processing.
This presentation that we're going to talk about how to use CameraKit to implement high performance real-time camera app. We also will cover the tips that you should know when you implement customized camera feature in your app.
Yahoo Open Source - The Tour & Mystery of AppDevKit (MOPCON 2016)anistar sung
This session I explained about how to build shareable library and what we did for AppDeKit that is open source app developing tool for app development. If you're looking for a good mechanism for developing your own app, please read this deck to know AppDevKit more.
https://github.com/yahoo/AppDevKit
This document summarizes Jeff Haynie's presentation at iPhone/iPad Dev Con 2010. He discusses Appcelerator, which allows developers to build native iOS apps using JavaScript. Key points include that Appcelerator has over 72,000 developers and 4,750 apps in stores. It exposes native iOS capabilities while still requiring use of the iOS SDK. The Titanium platform provides APIs for common tasks like media, networking, and UI and allows both simple and complex animations. It also supports new iOS4 features like backgrounding and local notifications.
臉 - The Face Detection Functions on AndroidPRADA Hsiung
The document discusses various face detection options for Android, including the android.media.FaceDetector class, android.hardware.Camera.FaceDetectionListener interface, Google Mobile Vision SDK, and OpenCV library. It provides information on the memory footprint, camera integration capabilities, customizability, ease of use, minimum SDK version, and type of information returned for each option. Overall, it analyzes and compares the tradeoffs of different face detection approaches that can be implemented on Android.
The document provides an overview of a presentation about Google Cloud developer tools and an easier path to machine learning. It introduces the speaker and their background and experience. It then outlines the agenda which includes introductions to machine learning and Google Cloud, Google APIs, Cloud ML APIs, and other APIs to consider. It provides examples of using various Cloud ML APIs like Vision, Natural Language, and Speech for tasks like image labeling, text analysis, and speech recognition. The goal is to demonstrate how APIs powered by machine learning can help ease the burden of learning machine learning by allowing users to leverage pre-built models if they can call APIs.
This document provides tips and tricks for developing Android applications including using version control for code, developing with the Android NDK for native code, using Eclipse IDE with the ADT plugin for development, interacting with emulators using ADB and telnet, working with databases using SQLite, internationalizing apps, integrating cameras and webviews, and several popular third party libraries and services. It also recommends always uploading dummy APKs early to reserve package names and extracting strings from the beginning for localization. The document concludes with contact information for the author.
Android Development w/ ArcGIS Server - Esri Dev Meetup - Charlotte, NCJim Tochterman
This document summarizes a presentation on developing Android applications with ArcGIS Server. It discusses what Android is, pros and cons of choosing Android over iPhone, how to get started with Android development, design considerations for mobile apps, and how to integrate ArcGIS Server data and services using REST APIs and the Google Maps API. Code examples are provided for creating map overlays with WMS tiles and collecting and posting field data to a feature service.
Porting and Maintaining your C++ Game on Android without losing your mindBeMyApp
Presentation from David Wingrove & Katie Merrill from Golden Hammer Software http://www.goldenhammersoftware.com/
From the Barcelona Android User Group meetup: http://www.meetup.com/Barcelona-Android-User-Group/events/166734982/
Developing AIR for Mobile with Flash Professional CS5.5Chris Griffith
This document provides guidance on developing mobile applications using Adobe AIR for mobile platforms. It discusses key considerations for touch interfaces like larger touch targets. It also covers platform-specific development setup and tools for Android and iOS. The document reviews AIR capabilities for mobile like gestures, location services and hardware integration. It provides optimization tips for performance like bitmap caching and GPU acceleration.
Android is an open source software stack that includes an operating system, middleware and key applications for mobile devices. It was developed by Google and the Open Handset Alliance. The document provides an overview of Android including its history, components, architecture, application development process, and resources for developers. It describes Android's goal of making the mobile platform more open and customizable for users and developers.
The document provides an overview of Android including:
1) Android is an open source software stack that includes an operating system, middleware and key apps for mobile devices.
2) It was developed by Google and the Open Handset Alliance and the first Android phone was the HTC Dream released in 2008.
3) Android applications are developed using Java and run on the Dalvik virtual machine. The Android SDK provides tools for application development.
Using Android Things to Detect & Exterminate ReptiliansNilhcem
Using Android Things and machine learning, this document proposes a project to detect and exterminate reptilians. It describes using TensorFlow on Android Things to create an image classifier trained to identify reptilians in photos. It then discusses using various Android Things peripherals like sensors, displays, motors and relays to detect approaching reptilians and trigger extermination devices like flamethrowers or chainsaws. The document argues Android Things is a good platform for such a project due to its access to local computation, Google services and a wide range of hardware. It concludes by encouraging people to try Android Things development.
Introduction to Cloud Computing with Google Cloudwesley chun
This is a 20-30 minute technical talk introducing developers to cloud computing including an overview of Google Cloud computing products. There is a special focus on serverless tools as a convenient way for developers to run code. The talk ends with several inspirational apps showcasing what is possible with Google Cloud tools meant to plant a seed as to consider what is possible.
Aviary's customizable SDK powers cross-platform photo editing for over 6,500 partners and over 70 million monthly active users across the globe. Some of our notable partners include Walgreens, Squarespace, Yahoo Mail, Flickr, Photobucket, and Wix. At Aviary, we use node.js for several mission-critical projects in production and have seen extremely positive results. In this talk, we will discuss how we approach some common situations that developers deploying node.js projects will likely need to tackle. We will walk you through our routing mechanism, our automated deployment system, some of our custom middleware, and our testing philosophy.
Ionic framework is one of the popular hybrid framework, which is AngularJS and Apache Cordova base. @ionic-native/google-maps plugin is for the plugin of the ionic framework, it enables to embed native GoogleMaps view in applications easily. This slide introduces the overview of @ionic-native/google-maps plugin.
Non Conventional Android Programming Enguest9bcef2f
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
Non Conventional Android Programming (English)Davide Cerbo
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
JavaScript news, February '17 edition: Image manipulating in pure JS, ES7 and ES8 Features, Gradient Animations made easy, NativeScript v.2.5 release, Electron, project of the Week: Beaker Browser, V8 Release 5.7, Twitter goes Node.js, JavaScript in 2017 – Beyond the Browser, Building cli applications (cli) with node.js, JS surprise from MicroSoft, WebAssembly API MVP is complete
Android Things, from mobile apps to physical world - Stefano Sanna - Giovanni...Codemotion
The large and vibrant community of Android developers can now leverage all the libraries, services and knowledge to move from mobile towards the IoT world. The key for success is that even the existing code could be shared in the same project to target mobile, wearables and now embedded boards. This talk will explain what Android Things is and many of its features, giving some practical example on how to integrate code for mobile platform.
Android Things, from mobile apps to physical world by Giovanni Di Gialluca an...Codemotion
#Codemotion Rome 2018 - The large and vibrant community of Android developers can now leverage all the libraries, services and knowledge to move from mobile towards the IoT world. The key for success is that even the existing code could be shared in the same project to target mobile, wearables and now embedded boards. This talk will explain what Android Things is and many of its features, giving some practical example on how to integrate code for mobile platform.
This document discusses the development of an Android app with native support for capturing photos, videos, and audio. It includes:
1) Installing software like Android SDK, NDK, Homebrew, and dependencies needed for development.
2) Developing the app which includes adding camera permissions, invoking intents to capture photos and videos, and storing media in shared external storage folders.
3) The app was created with minimum SDK 4.0 and includes layouts, drawables, and Java files for the camera functionality. Audio recording requires minimum SDK 10.0 and relevant permissions.
The document summarizes the agenda for a lecture on maps, speech recognition, and other Android topics. It includes:
1) An overview of using the Google Maps API to display maps and get the user's location in an Android app.
2) A discussion of using speech recognition through an intent to enable voice input in an Android app.
3) Brief mentions of other topics covered like Kotlin stats, non-native development options, monetization, sensors, and VR/AR.
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)eMan s.r.o.
Přednáška Martina Pelanta o vývoji mobilních aplikacích pro Google Glass se uskutečnila 19.8.2014 ve spolupráci s IDE Prague. Odkaz na FB událost: https://www.facebook.com/events/912995792048693/
Android Things, from mobile apps to physical worldStefano Sanna
Presented at CODEMOTION 2018 - Rome.
The large and vibrant community of Android developers can now leverage all the libraries, services and knowledge to move from mobile towards the IoT world. The key for success is that even the existing code could be shared in the same project to target mobile, wearables and now embedded boards. This talk will explain what Android Things is and many of its features, giving some practical example on how to integrate code for mobile platform.
More Related Content
Similar to Google maps and GPS, camera, SD card, tips & tricks
This document provides tips and tricks for developing Android applications including using version control for code, developing with the Android NDK for native code, using Eclipse IDE with the ADT plugin for development, interacting with emulators using ADB and telnet, working with databases using SQLite, internationalizing apps, integrating cameras and webviews, and several popular third party libraries and services. It also recommends always uploading dummy APKs early to reserve package names and extracting strings from the beginning for localization. The document concludes with contact information for the author.
Android Development w/ ArcGIS Server - Esri Dev Meetup - Charlotte, NCJim Tochterman
This document summarizes a presentation on developing Android applications with ArcGIS Server. It discusses what Android is, pros and cons of choosing Android over iPhone, how to get started with Android development, design considerations for mobile apps, and how to integrate ArcGIS Server data and services using REST APIs and the Google Maps API. Code examples are provided for creating map overlays with WMS tiles and collecting and posting field data to a feature service.
Porting and Maintaining your C++ Game on Android without losing your mindBeMyApp
Presentation from David Wingrove & Katie Merrill from Golden Hammer Software http://www.goldenhammersoftware.com/
From the Barcelona Android User Group meetup: http://www.meetup.com/Barcelona-Android-User-Group/events/166734982/
Developing AIR for Mobile with Flash Professional CS5.5Chris Griffith
This document provides guidance on developing mobile applications using Adobe AIR for mobile platforms. It discusses key considerations for touch interfaces like larger touch targets. It also covers platform-specific development setup and tools for Android and iOS. The document reviews AIR capabilities for mobile like gestures, location services and hardware integration. It provides optimization tips for performance like bitmap caching and GPU acceleration.
Android is an open source software stack that includes an operating system, middleware and key applications for mobile devices. It was developed by Google and the Open Handset Alliance. The document provides an overview of Android including its history, components, architecture, application development process, and resources for developers. It describes Android's goal of making the mobile platform more open and customizable for users and developers.
The document provides an overview of Android including:
1) Android is an open source software stack that includes an operating system, middleware and key apps for mobile devices.
2) It was developed by Google and the Open Handset Alliance and the first Android phone was the HTC Dream released in 2008.
3) Android applications are developed using Java and run on the Dalvik virtual machine. The Android SDK provides tools for application development.
Using Android Things to Detect & Exterminate ReptiliansNilhcem
Using Android Things and machine learning, this document proposes a project to detect and exterminate reptilians. It describes using TensorFlow on Android Things to create an image classifier trained to identify reptilians in photos. It then discusses using various Android Things peripherals like sensors, displays, motors and relays to detect approaching reptilians and trigger extermination devices like flamethrowers or chainsaws. The document argues Android Things is a good platform for such a project due to its access to local computation, Google services and a wide range of hardware. It concludes by encouraging people to try Android Things development.
Introduction to Cloud Computing with Google Cloudwesley chun
This is a 20-30 minute technical talk introducing developers to cloud computing including an overview of Google Cloud computing products. There is a special focus on serverless tools as a convenient way for developers to run code. The talk ends with several inspirational apps showcasing what is possible with Google Cloud tools meant to plant a seed as to consider what is possible.
Aviary's customizable SDK powers cross-platform photo editing for over 6,500 partners and over 70 million monthly active users across the globe. Some of our notable partners include Walgreens, Squarespace, Yahoo Mail, Flickr, Photobucket, and Wix. At Aviary, we use node.js for several mission-critical projects in production and have seen extremely positive results. In this talk, we will discuss how we approach some common situations that developers deploying node.js projects will likely need to tackle. We will walk you through our routing mechanism, our automated deployment system, some of our custom middleware, and our testing philosophy.
Ionic framework is one of the popular hybrid framework, which is AngularJS and Apache Cordova base. @ionic-native/google-maps plugin is for the plugin of the ionic framework, it enables to embed native GoogleMaps view in applications easily. This slide introduces the overview of @ionic-native/google-maps plugin.
Non Conventional Android Programming Enguest9bcef2f
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
Non Conventional Android Programming (English)Davide Cerbo
Learn as you can developing software for mobile devices using only html, css and javascript and how you can use Spring Framework in software for mobile devices
JavaScript news, February '17 edition: Image manipulating in pure JS, ES7 and ES8 Features, Gradient Animations made easy, NativeScript v.2.5 release, Electron, project of the Week: Beaker Browser, V8 Release 5.7, Twitter goes Node.js, JavaScript in 2017 – Beyond the Browser, Building cli applications (cli) with node.js, JS surprise from MicroSoft, WebAssembly API MVP is complete
Android Things, from mobile apps to physical world - Stefano Sanna - Giovanni...Codemotion
The large and vibrant community of Android developers can now leverage all the libraries, services and knowledge to move from mobile towards the IoT world. The key for success is that even the existing code could be shared in the same project to target mobile, wearables and now embedded boards. This talk will explain what Android Things is and many of its features, giving some practical example on how to integrate code for mobile platform.
Android Things, from mobile apps to physical world by Giovanni Di Gialluca an...Codemotion
#Codemotion Rome 2018 - The large and vibrant community of Android developers can now leverage all the libraries, services and knowledge to move from mobile towards the IoT world. The key for success is that even the existing code could be shared in the same project to target mobile, wearables and now embedded boards. This talk will explain what Android Things is and many of its features, giving some practical example on how to integrate code for mobile platform.
This document discusses the development of an Android app with native support for capturing photos, videos, and audio. It includes:
1) Installing software like Android SDK, NDK, Homebrew, and dependencies needed for development.
2) Developing the app which includes adding camera permissions, invoking intents to capture photos and videos, and storing media in shared external storage folders.
3) The app was created with minimum SDK 4.0 and includes layouts, drawables, and Java files for the camera functionality. Audio recording requires minimum SDK 10.0 and relevant permissions.
The document summarizes the agenda for a lecture on maps, speech recognition, and other Android topics. It includes:
1) An overview of using the Google Maps API to display maps and get the user's location in an Android app.
2) A discussion of using speech recognition through an intent to enable voice input in an Android app.
3) Brief mentions of other topics covered like Kotlin stats, non-native development options, monetization, sensors, and VR/AR.
Jak vyvinout úspěšnou aplikaci pro Google Glass (Martin Pelant, eMan)eMan s.r.o.
Přednáška Martina Pelanta o vývoji mobilních aplikacích pro Google Glass se uskutečnila 19.8.2014 ve spolupráci s IDE Prague. Odkaz na FB událost: https://www.facebook.com/events/912995792048693/
Android Things, from mobile apps to physical worldStefano Sanna
Presented at CODEMOTION 2018 - Rome.
The large and vibrant community of Android developers can now leverage all the libraries, services and knowledge to move from mobile towards the IoT world. The key for success is that even the existing code could be shared in the same project to target mobile, wearables and now embedded boards. This talk will explain what Android Things is and many of its features, giving some practical example on how to integrate code for mobile platform.
Similar to Google maps and GPS, camera, SD card, tips & tricks (20)
15. POIs on MapView
MyPOIOverlay extends ItemizedOverlay<OverlayItem>
similar to ArrayAdapter
override
protected OverlayItem createItem(int i)
public int size()
boundCenterBottom(Drawable)
keep local copy of data in overlay in case you need to show
some info for POI
18. Permissions
First you’ll need permissions
INTERNET
ACCESS_FINE_LOCATION
ACCESS_COARSE_LOCATION
Sometimes users complain about FINE_LOCATION.
Use only if you really need it.
25. Camera via Intent
Intent intent = new
Intent(MediaStore.ACTION_IMAGE_CAPTURE);
//extra to save full-image somewhere
intent.putExtra(MediaStore.EXTRA_OUTPUT,
Uri.fromFile(destination));
destination = new
File(Environment.getExternalFilesDir(null),"image.jpg");
26. Camera via SurfaceHolder
for creating camera applications etc...
in 99% cases you don’t need this
http://developer.android.com/reference/android/
hardware/Camera.html
31. SD card
Check for presence and availability before using SD
String state = Environment.getExternalStorageState();
MEDIA_MOUNTED
MEDIA_MOUNTED_READ_ONLY
32. External folders
File getExternalStoragePublicDirectory (String type)
DIRECTORY_MUSIC, DIRECTORY_PODCASTS,
DIRECTORY_RINGTONES, DIRECTORY_ALARMS,
DIRECTORY_NOTIFICATIONS, DIRECTORY_PICTURES, or
DIRECTORY_MOVIES
gets scanned by media scanner
files aren’t deletes on app uninstall
File getExternalFilesDir (String type)
doesn’t get scanned by media scanner
files are deleted on app uninstall