how to integrate mixare ar sdk into our own apps ,my apps using google places api and getting nearby places according to location type abd how to pass google places api web service to mixare sdk ..
is there any another way getting nearby places by using mixare ar sdk
thanks
You also can try an other framework for the augmented reality, like BeyondAR. This one is Apache v2 license :)
Mixare supports the integration of your own data, as explained on this webpage: Display Your Own Data
The supported format is JSON. the Google Places API also supports JSON but don't use exactly the same syntax for search results (e.g. nearby POI) as for Mixare.
So what you can do:
Solution 1: retrieve independently your POI with the Google API using your existing code, reformat the JSON Google Places result to be compatible with the JSON Mixare format and add the content as described here via some i.setDataAndType(Uri.parse("content:// ") function call.
Solution 2: extend Mixare with a derived Data Processor class handling request from Google Places API. See the source code here on how Mixare can retrieve Twitter or Wikipedia JSON formatted data using specialized Data Processor classes.
Related
I am working on an android application. I want to scan a receipt and read the characters, basically do optical character recognition. I read that google drive provides this functionality with their drive APIs & I wish to use Google drive API for this but I am not able to find any tutorial to understand how to achieve this. Can anyone help me with how to start with this.
Thanks
P
There is no tutorial. Images (png, jpg) that you upload to Google Drive (from any app, Android, Web ....) are processed by OCR and indexed by Google. You can test it yourself, just upload a few images that contain text, wait for a while and try to search for words contained in it. Your Android app can use the same facility, but you have to stay with the RESTful API, namely fulltext search. AFAIK, this type of search is not yet available in the new GDAA API.
I have develop an application that need nearest place.It uses google api for place search.
my question is how to develop a wrapper that abstarct our application and underlying webservice.
It uses features from library (google-http-client,google-http-client-android)
For Example :AndroidJsonParsor can use only android 3.0 version and above.We can use JsonHttpParser for compatibilty.
thanks in advace for your advice
What you want actually, because google developers says Json support is added in API level 1. Means any Android Version will support Json.
Here is the link http://developer.android.com/reference/org/json/package-summary.html
I'm currently developing an application for IOS, Android and Windows Phone with google map based on Open Data. The Open Data is available on WMS or WFS format but I want extract the coordinates from this services to obtain JSON (because I want put informations contains in it on the Google Map with personnal informations).
I tried to get the flux with geoserver and expose it as JSON for the interesting layer but it doesn't work.
How I can do that ? Is it possible to get it directly on Android, Windows Phone and Iphone and add it to the google map ?
Thanks
WMS is known as Web Map Service and does not usually provide data (although you can use getFeatureInfo, but not all geoserver implementations support json output), instead you can use WFS requests (get or post) to obtain data you need.
WFS does support json (using parameter OUTPUT=application/json ) and allows filters (both spatial and based on attributes) and limit features. You should check the official documentation for detailed query specification; I suggest to use version 1.1.0
I am thinking of capturing some text from documents using my android phone and was looking for an ideal OCR app on android. I just happened to read today that Google introduced OCR for scanning documents that can be edited in Google Docs. I was wondering if I could use the OCR for things other than converting the documents to Google Docs - say, like taking a picture of a certificate and capturing the names and dates of birth of the candidates or taking a photo of a license plate and be able to get the info as text that can be stored.
If anyone has an idea of how to achieve this on Android using Google's OCR, that would be great to know. I did read about Tesseract/Tesjeract but it seems very difficult to implement what I want using it - maybe I didnt fully understand how to use it through Java. Here's the link to the new app that uses OCR to scan documents - Google Docs on Android
We have tried Google Docs API a wile ago, but it is very weak in terms of accuracy. Looks like it is based on some outdated version of tesseract. I suppose you would get more accuracy if you try tesseract. However, you will need to manage special preprocessing of images taken by camera since they introduce additional challenges. Google Docs API does not have that.
On running Tesseract on Android look here:
Using tesseract on android
Commertial alternative to tesseract for OCR on mobile phone:
http://www.abbyy.com/mobileocr/
However, if you are looking not into just capturing text, but also exptracting data, then you may need additional technology to parse text output. That means writing even more code. Or there is alternative to license existing commertial Data Capture API from ABBYY. That was already discussed here:
Recognise text in certain position using the Iphone camera
Disclaimer: I work for ABBYY
You can use Google Docs (now called Google Drive) to OCR an image by uploading the image to Google Drive. Later you can pull this Google Document back as a text/rtf/doc/html file. This data now - you may use however you like in your app. This can be achieved directly without user intervention using Google Drive APIs. Here are some Google App API references:
To upload with OCR: see
Fail to upload a image file into Google Doc via java api with ?convert=true
To download a file from Google Drive:
https://developers.google.com/google-apps/documents-list/#downloading_documents_and_files
https://docs.google.com/feeds/download/documents/Export?docID=__INSERT-ID__&exportFormat=txt&format=txt
Beware there should be a quota in place to use the OCR service.
I want to develop a LBS app for Android,but I do not know how to begin the project.
I want to use the Google Map API to use the map data of Google.The user can also add information on map,and the information can show on the map.
(For example,an user find one street is not safe,then the street will be red on the map.)
And I use the MSSQL SERVER or Oracle to store the information,but I don`t know how to get and use the data when I need it,should I use a GIS Engine(like ArcGIS)?
How can I show the information on Google Map?And Which GIS Engine I should use?
I also have another idea to use the Google Maps Data API.
Anybody can give me some suggestions?Thank you very much:)
One of the solutions could be following:
You can use MSSQL Server 2008 or Oracle to store data. PostGIS is even better because it's free and has a solid spatial capabilities.
As GIS engine you could use Geoserver. It works with all databases mentioned above. From my own experience it works really good with PostGIS.
If you want a native Android app you can go ahead and use native Google Maps APIs and manually construct WFS requests in order to communicate with Geoserver when storing data in the database.
Another option is to built it as a webpage and use coming OpenLayers 2.11 javascript library which has great support for mobile devices. It's also great at constructing WFS requests so you won't need to handle this stuff manually. If you still want an Android map, you can use Phonegap to wrap you OpenLayers webpage into an app.