SlideShare uma empresa Scribd logo
1 de 22
Location API and programming
                                                      practices




Introduction to
programming using Location API

                         Amrit Sanjeev
                  Bangalore Android User Group
What’s on the agenda today ?


Introduction   Challenges              Best
   to LBS                            practices




                Let go and find where our users are 
Introduction to LBS



Things to keep in mind before you create your world changing LBS
What is a location based service ?



        ―A location-based service (LBS) is an
    information or entertainment service, which is
     accessible with mobile devices through the
   mobile network and which uses information on
   the geographical position of the mobile device.‖
Is it the hot tech of today ??

• Not really !!! But there is a lot of potential




• Gartner (2009) identifies the LBS will be the #2 mobile
  application for 2012 because of its perceived high user
  value and its influence on user loyalty.
Some interesting stats

        • people where
 63%      aware of LBS

        • report having
 52%      used LBS         • 32% use it every month

                           • 10% use it every day

        • thought it was
 94%      valuable
                           • 18% tell others their location



                           • Expose location without consent 84%

                           • Identity theft 84%
        • expressed
 52%      concerns         • Loss of privacy 84%
Why is LBS so important

                               Need for
                               services
                                on the
                                move .



           Better                               Availability
            data                                    of
          networks                              hardware
                                LBS
                             popularity


                                             GPS
                  Better                  hardware
                 batteries                 in more
                                           devices
LBS Growth Factors



                                Success of new
             Growth of mobile
                                digital business
               advertising.
                                    models.



                                                Increasing
    Increased                                  speeds and
   smartphone                                     broader
     adoption.                                 coverage of
                        Growth               mobile networks.

                        of LBS
Challenges in deploying
LBS



          Things that are slowing it down
LBS : Aspects to work on

                     Control
                     (Legal)




          Security                Trust
         (Technolo
           gical)
                     LBS         (Social)




                     Privacy
                     (Ethical)
Obstacles in LBS adoption


    Privacy concerns.


       Security concerns


         Two-thirds of advertising companies aren’t using LBS (2011 data).


       General awareness is only around 30%.


    Device user experience
Technical Challenges


•   Maintaining battery performance
•   Varying accuracy
•   Multiple providers ( GPS , WIFI etc)
•   Continuous change
•   Responsiveness
Best Practices



Things that you might wanna try in your application
Decide on your app location requirements upfront



     How often do you need updates?

       What happens when GPS and WIFI are disabled ?

        How accurate do u need to be ?

       What is the impact on battery life ?

     What happens when location jumps ?
Best practices



• Specify a minimum update frequency.
• Specify a minimum update distance.

int freq = 10 * 60 * 1000 ; // 10 minutes
int distance = 500 ; // 500 meters
locationManager.requestLocationUpdates(provider, freq, distance, 1)
Best practices

• Use criteria to select a location provider
• Specify the criteria
   – Allowable power drain
   – Required accuracy
   – Need for additional parameters like altitude, bearing , speed etc
• Find the best location provider based on your criteria
• Relax requirement till you find a provider
• Can limit to only active providers
• Can use all matching providers
Best practices


Criteria criteria = new Criteria() ;
criteria.setAccuracy(Criteria.ACCURACY_FINE);
criteria.setAltitudeRequired(false);
criteria.setBearingRequired(false);
criteria.setCostAllowed(true);
criteria.setPowerRequirement(Criteria.POWER_LOW);
String provider = locationManager.getBestProvider(criteria, true);
Some best practices

• Reduce the latency for getting your first
  location fix by retrieving the last known
  location from the Location Manager each
  time the app is resumed.

• If there is one or more locations available
  from within the allowed latency, return the
  most accurate one. If not, we simply return
  the most recent result.
Best practices

• Implement a back off pattern
  – Use multiple location providers
     • Fine and course
     • High and low frequency /distance

• Remove listeners as accuracy improves
• Monitor battery and reduce functionality to
  save power .
  – Change frequency of updates
  – Disable location change receivers
Best practices

• Network location provider — tend to return results
  faster than the more accurate options

• Requesting location updates (particularly using the
  GPS) while your app isn’t in the foreground is poor
  practice, as it can significantly impact battery life.

• Register Passive Location Changed Receiver that
  allows you to receive background updates even
  when the application has been killed by the
  system to free resources.
Q&A
Location Based Services - An Overview

Mais conteúdo relacionado

Mais procurados

gps tracking techniques
gps tracking techniquesgps tracking techniques
gps tracking techniquespolsaurabh
 
Remote sensing with drones: The challenges of obtaining truly quantitative da...
Remote sensing with drones: The challenges of obtaining truly quantitative da...Remote sensing with drones: The challenges of obtaining truly quantitative da...
Remote sensing with drones: The challenges of obtaining truly quantitative da...ARDC
 
Over-the-air (OTA) updates and the Connected car
Over-the-air (OTA) updates and the Connected carOver-the-air (OTA) updates and the Connected car
Over-the-air (OTA) updates and the Connected carPratik Desai, PhD
 
Vehicle tracking system using gps and google map
Vehicle tracking system using gps and google mapVehicle tracking system using gps and google map
Vehicle tracking system using gps and google mapsanchit bhargava
 
Future of wearable devices 2016
Future of wearable devices 2016Future of wearable devices 2016
Future of wearable devices 2016Bim Akinfenwa
 
Internet of Space - Communication Systems for Future Space-bases Internet Ser...
Internet of Space - Communication Systems for Future Space-bases Internet Ser...Internet of Space - Communication Systems for Future Space-bases Internet Ser...
Internet of Space - Communication Systems for Future Space-bases Internet Ser...Paulo Milheiro Mendes
 
Internet of Things (IoT) and Big Data
Internet of Things (IoT) and Big DataInternet of Things (IoT) and Big Data
Internet of Things (IoT) and Big DataGuido Schmutz
 
Internet of Things(IoT) & Applications
Internet of Things(IoT) & ApplicationsInternet of Things(IoT) & Applications
Internet of Things(IoT) & ApplicationsGunjan Panara
 
Android and android versions
Android and android versionsAndroid and android versions
Android and android versionsMegha Jain
 
Location based services (LBS)
Location based services (LBS)Location based services (LBS)
Location based services (LBS)Prem Singhaniya
 
5G - Tech to business case
5G - Tech to business case5G - Tech to business case
5G - Tech to business case3G4G
 
Steal this iBeacon presentation
Steal this iBeacon presentationSteal this iBeacon presentation
Steal this iBeacon presentationRed Fox Insights
 

Mais procurados (20)

Lidar
LidarLidar
Lidar
 
gps tracking techniques
gps tracking techniquesgps tracking techniques
gps tracking techniques
 
Vehicle tracking by gps gsm
Vehicle tracking by gps   gsm Vehicle tracking by gps   gsm
Vehicle tracking by gps gsm
 
6G Technology
6G Technology6G Technology
6G Technology
 
Remote sensing with drones: The challenges of obtaining truly quantitative da...
Remote sensing with drones: The challenges of obtaining truly quantitative da...Remote sensing with drones: The challenges of obtaining truly quantitative da...
Remote sensing with drones: The challenges of obtaining truly quantitative da...
 
Over-the-air (OTA) updates and the Connected car
Over-the-air (OTA) updates and the Connected carOver-the-air (OTA) updates and the Connected car
Over-the-air (OTA) updates and the Connected car
 
Vehicle tracking system using gps and google map
Vehicle tracking system using gps and google mapVehicle tracking system using gps and google map
Vehicle tracking system using gps and google map
 
Future of wearable devices 2016
Future of wearable devices 2016Future of wearable devices 2016
Future of wearable devices 2016
 
Internet of Space - Communication Systems for Future Space-bases Internet Ser...
Internet of Space - Communication Systems for Future Space-bases Internet Ser...Internet of Space - Communication Systems for Future Space-bases Internet Ser...
Internet of Space - Communication Systems for Future Space-bases Internet Ser...
 
Internet of Things (IoT) and Big Data
Internet of Things (IoT) and Big DataInternet of Things (IoT) and Big Data
Internet of Things (IoT) and Big Data
 
Internet of Things(IoT) & Applications
Internet of Things(IoT) & ApplicationsInternet of Things(IoT) & Applications
Internet of Things(IoT) & Applications
 
IoT for Healthcare
IoT for HealthcareIoT for Healthcare
IoT for Healthcare
 
Android and android versions
Android and android versionsAndroid and android versions
Android and android versions
 
GPS & Geo-Fencing
GPS & Geo-FencingGPS & Geo-Fencing
GPS & Geo-Fencing
 
Location based services (LBS)
Location based services (LBS)Location based services (LBS)
Location based services (LBS)
 
5G - Tech to business case
5G - Tech to business case5G - Tech to business case
5G - Tech to business case
 
IoT & Smart City
IoT & Smart CityIoT & Smart City
IoT & Smart City
 
Steal this iBeacon presentation
Steal this iBeacon presentationSteal this iBeacon presentation
Steal this iBeacon presentation
 
IRNSS (NAVIC)
IRNSS (NAVIC)IRNSS (NAVIC)
IRNSS (NAVIC)
 
Introduction to global position system
Introduction to global position systemIntroduction to global position system
Introduction to global position system
 

Semelhante a Location Based Services - An Overview

OMI whitepaper On LBS - Nov 2008
OMI whitepaper On LBS -  Nov 2008OMI whitepaper On LBS -  Nov 2008
OMI whitepaper On LBS - Nov 2008Paul Brackel
 
Presentation: Cell ID & AGPS: Right Location, Smarter Service
Presentation: Cell ID & AGPS: Right Location, Smarter ServicePresentation: Cell ID & AGPS: Right Location, Smarter Service
Presentation: Cell ID & AGPS: Right Location, Smarter ServiceHitReach
 
Angel Beat, San Francisco 3.14.01
Angel Beat, San Francisco 3.14.01Angel Beat, San Francisco 3.14.01
Angel Beat, San Francisco 3.14.01Trobough
 
Deep Indoors Location 1st August 2012
Deep Indoors Location 1st August 2012Deep Indoors Location 1st August 2012
Deep Indoors Location 1st August 2012CSR
 
Location Based Technology
Location Based TechnologyLocation Based Technology
Location Based TechnologySnehal Takawale
 
Location Based Services: Global Market Overview, Deployment Trends and Potent...
Location Based Services: Global Market Overview, Deployment Trends and Potent...Location Based Services: Global Market Overview, Deployment Trends and Potent...
Location Based Services: Global Market Overview, Deployment Trends and Potent...Convergence Catalyst
 
Zytrix labs corporate_profile_e_india
Zytrix labs corporate_profile_e_indiaZytrix labs corporate_profile_e_india
Zytrix labs corporate_profile_e_indiaDiwakar Singh
 
GIS framework for developing countries
GIS framework for developing countriesGIS framework for developing countries
GIS framework for developing countriesAchini Samuditha
 
10 Location Tracking Apps for Pinpoint Accuracy
10 Location Tracking Apps for Pinpoint Accuracy10 Location Tracking Apps for Pinpoint Accuracy
10 Location Tracking Apps for Pinpoint AccuracyInexture Solutions
 
Location-based Technologies Explained
Location-based Technologies ExplainedLocation-based Technologies Explained
Location-based Technologies ExplainedTechAhead
 
Sis mon 0900 michael liard
Sis mon 0900 michael liardSis mon 0900 michael liard
Sis mon 0900 michael liardMediaPost
 
Harnessing the Power of the Mobile Cloud
Harnessing the Power of the Mobile CloudHarnessing the Power of the Mobile Cloud
Harnessing the Power of the Mobile CloudAntenna Software
 
Mma location-terminology guide final
Mma location-terminology guide finalMma location-terminology guide final
Mma location-terminology guide finalThierry Pires
 
Webinar - Challenges of Deploying Beacons in the Real World
Webinar - Challenges of Deploying Beacons in the Real WorldWebinar - Challenges of Deploying Beacons in the Real World
Webinar - Challenges of Deploying Beacons in the Real WorldBeaconstac
 
Effective Data Collection and Management through Mobile Phone Applications
Effective Data Collection and Management through Mobile Phone ApplicationsEffective Data Collection and Management through Mobile Phone Applications
Effective Data Collection and Management through Mobile Phone ApplicationsMichael Baker Jr., Inc.
 
Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...
Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...
Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...Remodista
 
Mobile applications chapter 6
Mobile applications chapter 6Mobile applications chapter 6
Mobile applications chapter 6Akib B. Momin
 
DAS Verve Pitch-a-Kucha
DAS Verve Pitch-a-Kucha DAS Verve Pitch-a-Kucha
DAS Verve Pitch-a-Kucha Digiday
 
Location-Based Services on Mobile and Market Insight
Location-Based Services on Mobile and Market InsightLocation-Based Services on Mobile and Market Insight
Location-Based Services on Mobile and Market InsightSoftweb Solutions
 

Semelhante a Location Based Services - An Overview (20)

OMI whitepaper On LBS - Nov 2008
OMI whitepaper On LBS -  Nov 2008OMI whitepaper On LBS -  Nov 2008
OMI whitepaper On LBS - Nov 2008
 
Presentation: Cell ID & AGPS: Right Location, Smarter Service
Presentation: Cell ID & AGPS: Right Location, Smarter ServicePresentation: Cell ID & AGPS: Right Location, Smarter Service
Presentation: Cell ID & AGPS: Right Location, Smarter Service
 
Angel Beat, San Francisco 3.14.01
Angel Beat, San Francisco 3.14.01Angel Beat, San Francisco 3.14.01
Angel Beat, San Francisco 3.14.01
 
Deep Indoors Location 1st August 2012
Deep Indoors Location 1st August 2012Deep Indoors Location 1st August 2012
Deep Indoors Location 1st August 2012
 
Location Based Technology
Location Based TechnologyLocation Based Technology
Location Based Technology
 
Location Based Services: Global Market Overview, Deployment Trends and Potent...
Location Based Services: Global Market Overview, Deployment Trends and Potent...Location Based Services: Global Market Overview, Deployment Trends and Potent...
Location Based Services: Global Market Overview, Deployment Trends and Potent...
 
Zytrix labs corporate_profile_e_india
Zytrix labs corporate_profile_e_indiaZytrix labs corporate_profile_e_india
Zytrix labs corporate_profile_e_india
 
GIS framework for developing countries
GIS framework for developing countriesGIS framework for developing countries
GIS framework for developing countries
 
10 Location Tracking Apps for Pinpoint Accuracy
10 Location Tracking Apps for Pinpoint Accuracy10 Location Tracking Apps for Pinpoint Accuracy
10 Location Tracking Apps for Pinpoint Accuracy
 
Location-based Technologies Explained
Location-based Technologies ExplainedLocation-based Technologies Explained
Location-based Technologies Explained
 
Sis mon 0900 michael liard
Sis mon 0900 michael liardSis mon 0900 michael liard
Sis mon 0900 michael liard
 
Harnessing the Power of the Mobile Cloud
Harnessing the Power of the Mobile CloudHarnessing the Power of the Mobile Cloud
Harnessing the Power of the Mobile Cloud
 
Mma location-terminology guide final
Mma location-terminology guide finalMma location-terminology guide final
Mma location-terminology guide final
 
Webinar - Challenges of Deploying Beacons in the Real World
Webinar - Challenges of Deploying Beacons in the Real WorldWebinar - Challenges of Deploying Beacons in the Real World
Webinar - Challenges of Deploying Beacons in the Real World
 
Effective Data Collection and Management through Mobile Phone Applications
Effective Data Collection and Management through Mobile Phone ApplicationsEffective Data Collection and Management through Mobile Phone Applications
Effective Data Collection and Management through Mobile Phone Applications
 
Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...
Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...
Bricks + Mobile 2011 - mCommerce - Why User Experience Matter More With Onlin...
 
Mobile applications chapter 6
Mobile applications chapter 6Mobile applications chapter 6
Mobile applications chapter 6
 
DAS Verve Pitch-a-Kucha
DAS Verve Pitch-a-Kucha DAS Verve Pitch-a-Kucha
DAS Verve Pitch-a-Kucha
 
Beacons
Beacons Beacons
Beacons
 
Location-Based Services on Mobile and Market Insight
Location-Based Services on Mobile and Market InsightLocation-Based Services on Mobile and Market Insight
Location-Based Services on Mobile and Market Insight
 

Mais de amsanjeev

No sql databases blrdroid devfest 2016
No sql databases   blrdroid devfest 2016No sql databases   blrdroid devfest 2016
No sql databases blrdroid devfest 2016amsanjeev
 
Introduction to Firebase on Android
Introduction to Firebase on AndroidIntroduction to Firebase on Android
Introduction to Firebase on Androidamsanjeev
 
Introduction to Android M
Introduction to Android MIntroduction to Android M
Introduction to Android Mamsanjeev
 
Io13 deep dive location api
Io13 deep dive   location api Io13 deep dive   location api
Io13 deep dive location api amsanjeev
 
Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1amsanjeev
 
NFC - quick primer
NFC - quick primerNFC - quick primer
NFC - quick primeramsanjeev
 
Introduction to ICS
Introduction to ICSIntroduction to ICS
Introduction to ICSamsanjeev
 

Mais de amsanjeev (8)

No sql databases blrdroid devfest 2016
No sql databases   blrdroid devfest 2016No sql databases   blrdroid devfest 2016
No sql databases blrdroid devfest 2016
 
Introduction to Firebase on Android
Introduction to Firebase on AndroidIntroduction to Firebase on Android
Introduction to Firebase on Android
 
Introduction to Android M
Introduction to Android MIntroduction to Android M
Introduction to Android M
 
Io13 deep dive location api
Io13 deep dive   location api Io13 deep dive   location api
Io13 deep dive location api
 
Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1Jelly bean aka Andorid 4.1
Jelly bean aka Andorid 4.1
 
Mobile UX
Mobile UXMobile UX
Mobile UX
 
NFC - quick primer
NFC - quick primerNFC - quick primer
NFC - quick primer
 
Introduction to ICS
Introduction to ICSIntroduction to ICS
Introduction to ICS
 

Último

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Último (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Location Based Services - An Overview

  • 1. Location API and programming practices Introduction to programming using Location API Amrit Sanjeev Bangalore Android User Group
  • 2. What’s on the agenda today ? Introduction Challenges Best to LBS practices Let go and find where our users are 
  • 3. Introduction to LBS Things to keep in mind before you create your world changing LBS
  • 4. What is a location based service ? ―A location-based service (LBS) is an information or entertainment service, which is accessible with mobile devices through the mobile network and which uses information on the geographical position of the mobile device.‖
  • 5. Is it the hot tech of today ?? • Not really !!! But there is a lot of potential • Gartner (2009) identifies the LBS will be the #2 mobile application for 2012 because of its perceived high user value and its influence on user loyalty.
  • 6. Some interesting stats • people where 63% aware of LBS • report having 52% used LBS • 32% use it every month • 10% use it every day • thought it was 94% valuable • 18% tell others their location • Expose location without consent 84% • Identity theft 84% • expressed 52% concerns • Loss of privacy 84%
  • 7. Why is LBS so important Need for services on the move . Better Availability data of networks hardware LBS popularity GPS Better hardware batteries in more devices
  • 8. LBS Growth Factors Success of new Growth of mobile digital business advertising. models. Increasing Increased speeds and smartphone broader adoption. coverage of Growth mobile networks. of LBS
  • 9. Challenges in deploying LBS Things that are slowing it down
  • 10. LBS : Aspects to work on Control (Legal) Security Trust (Technolo gical) LBS (Social) Privacy (Ethical)
  • 11. Obstacles in LBS adoption Privacy concerns. Security concerns Two-thirds of advertising companies aren’t using LBS (2011 data). General awareness is only around 30%. Device user experience
  • 12. Technical Challenges • Maintaining battery performance • Varying accuracy • Multiple providers ( GPS , WIFI etc) • Continuous change • Responsiveness
  • 13. Best Practices Things that you might wanna try in your application
  • 14. Decide on your app location requirements upfront How often do you need updates? What happens when GPS and WIFI are disabled ? How accurate do u need to be ? What is the impact on battery life ? What happens when location jumps ?
  • 15. Best practices • Specify a minimum update frequency. • Specify a minimum update distance. int freq = 10 * 60 * 1000 ; // 10 minutes int distance = 500 ; // 500 meters locationManager.requestLocationUpdates(provider, freq, distance, 1)
  • 16. Best practices • Use criteria to select a location provider • Specify the criteria – Allowable power drain – Required accuracy – Need for additional parameters like altitude, bearing , speed etc • Find the best location provider based on your criteria • Relax requirement till you find a provider • Can limit to only active providers • Can use all matching providers
  • 17. Best practices Criteria criteria = new Criteria() ; criteria.setAccuracy(Criteria.ACCURACY_FINE); criteria.setAltitudeRequired(false); criteria.setBearingRequired(false); criteria.setCostAllowed(true); criteria.setPowerRequirement(Criteria.POWER_LOW); String provider = locationManager.getBestProvider(criteria, true);
  • 18. Some best practices • Reduce the latency for getting your first location fix by retrieving the last known location from the Location Manager each time the app is resumed. • If there is one or more locations available from within the allowed latency, return the most accurate one. If not, we simply return the most recent result.
  • 19. Best practices • Implement a back off pattern – Use multiple location providers • Fine and course • High and low frequency /distance • Remove listeners as accuracy improves • Monitor battery and reduce functionality to save power . – Change frequency of updates – Disable location change receivers
  • 20. Best practices • Network location provider — tend to return results faster than the more accurate options • Requesting location updates (particularly using the GPS) while your app isn’t in the foreground is poor practice, as it can significantly impact battery life. • Register Passive Location Changed Receiver that allows you to receive background updates even when the application has been killed by the system to free resources.
  • 21. Q&A

Notas do Editor

  1. .
  2. It’s estimated that by 2015, 58% of mobile users will own smartphones. That’s a significant percentage of consumers who can potentially be reached by marketers via LBS.As consumers spend more time on their mobile phones—especially smartphone users—mobile advertisers are capitalizing. We’re a group that wants to be engaged and because most of us smartphone users are permanently glued to our phones, we’re a rather captive audience.More companies are gaining positive results from being active in the mobile space. The success surrounding digital business models is attracting other companies to the space.Basic supply and demand: With more and more mobile and smartphone users, broader mobile coverage is a necessity. The “Can you hear me now?” campaign is pretty close to being a thing of the past.
  3. Control (Legal) – Commonly GPS and other LBS devices are used to control and offer various types of services to the user. Personally it controls one’s own direction of moving in guiding the right way. In case of child tracking, parents have exclusive right to look after their children, as it is not possible for the young ones to make their own decision. So it is their legal right to monitor their children thereby reflecting a sense of caring. In case of law enforcement, special laws provide legal rights to police or security departments to keep an eye on criminals or suspects.Trust (Social) – In social life trust is the most essential part in human relationship. However, the use of LBS is being practiced in low trust conditions. Monitoring someone with the help of tracking system really affects personal relationship but as far as tracking criminals by cops or tracking children by parents are concerned, it is for the welfare of the individual & society.Privacy (Ethical) – As a human being, everyone has the right to privacy or being free from intrusion or disturbances in one’s personal life. But in case of LBS or any other telecommunication technologies dealing with transformation of various kinds of information, it becomes essential to provide adequate security to these kinds of data for not being misused by any unauthorized person. Tracking and monitoring someone without his/her consent is purely unethical so needs high level of security. But again as in case of law and order where tracking devices are used to monitor criminals becomes essential for the sake of society as a whole. Here, social security is counted higher than Individual safety and security.Security (Technological) – Again for maintaining privacy, security system should be strong. Every technology has both positive and negative impact on human life and LBS also has shortcomings by locating accurate information data or even easily given access to unauthorized person. On one hand LBS enhances both national and personal security but create another problem for the privacy of individual by not providing a foolproof security system to that highly sensitive information stored in its database. For obtaining security, one needs to do a little compromise on his/her privacy but to what extent is a question.