Coder Social home page Coder Social logo

muthhus / android-latitude-longitude-picker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wimagguc/android-latitude-longitude-picker

0.0 2.0 0.0 168 KB

Android code that opens a location picker Activity, and returns a Location object.

Home Page: http://www.wimagguc.com/

android-latitude-longitude-picker's Introduction

Android Latitude and Longitude Picker

Android code to display a location picker. The user can select a point on the map, and the code returns the latitude and longitude value, and the name of the place according to Google.

(For the time being this project works as a wrapper for the jQuery latitude and longitude picker project. Read about it more: github.com/wimagguc/jquery-latitude-longitude-picker-gmaps)

Future plans

This is a simple wrapper project just yet. It's fully usable (as seen in the Divespy Android app), but the plan is to add these modifications as soon as possible:

  • a standalone Activity which you can call with startActivityForResult on Android
  • use a native Google Maps object instead of the jQuery one

Install

Simply create and Android project and add the following files:

  • com/wimagguc/locationpicker/LocationPickerActivity.java
  • assets/locationPicker/*
  • res/layout/activity_location_picker.xml
  • res/values/strings.xml

Then modify the AndroidManifest.xml to include this activity:

<application …>
  <activity android:name=".LocationPickerActivity"/>
</application>

The app is should work on every API v8 and API v17 device.

License

Do with the code whatever you please.

This code uses the jQuery Javascript library and the Google Maps API. To read more about these, go to: jquery.com/ and developers.google.com/maps/

Used at

(If you are using this code for another project, please add it here - or just let me know and it will be featured here.)

About

Richard Dancsi
www.wimagguc.com

twitter: @wimagguc
linkedin: linkedin.com/in/richarddancsi
gplus: plus.google.com/u/0/115939246085616544919

android-latitude-longitude-picker's People

Contributors

wimagguc avatar

Watchers

Shanmuga avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.