How to create Maps.Me .mwm file extension? - android

I want to know what is .mwm file extension, how can create this file type for using in Maps.Me android application?
I want to use Maps. Me API and create map application that will work offline, I saw in storage that application download maps to directory as .mwm file, and this file little, compact file that whole map comes from this file. I want create this file type but dont know the structure of this file. How can I reach this? Thank you for patience. All suggests are acceptable

.mwm file is nothing but the downloaded map file of an particular area from the maps.me also you can get the map using this link http://direct.mapswithme.com/direct/latest/

Related

Where to put arcgis map after installing the app on devices

I have create an app , it is location based app. The map is created by us and we want to protect it , so I want to put the map somewhere that no one can get it , I thought about the
assets folder , but I can not get the file read from there,
I can read the map file like this
ArcGISLocalTiledLayer localTiledLayer = new ArcGISLocalTiledLayer("the map.tk");
which this way does not work for assets folder even with absolute path.
So is there any other options? or even assets folder (which is read only)?
because I couldn't get anything anywhere

Distributing content with app

I am creating an AR app which uses various markers using vuforia and unity.How can i bundle my markers allowing users to download them? I have no idea how to approach this problem.
The way I think it´s better:
1- Create a .doc file with the markers, upload to dropbox and mark the file as public.
2- Paste the link to the file into de description of your app at Play Store and put the link into the app too.
3- Don´t forget to teach the user about using your app (as you said, download/print/use)

Using raw folder in android

I am trying to access a file placed in raw folder. I am able to read the contents of a text file but I need to access a word(.docx) file with all the text formatting applied to it.
How can I achieve it? Please someone help me!
There is one way to display the docs file in Android using 3rd party libraries.
However, JasonPluText has created a demo showing AndroidDocxToHTML
See this question for more details: how to Show or Read docx file

Android application folder in google drive

I have an android app that reads spreadsheets from google drive and shows it to the user as a contact list. It is design to be a phone list you can send to your team members.
https://play.google.com/store/apps/details?id=com.ctw.cloudpeepsfree
Anyway, to get to work, all of the Google drive file names need to begin with prefix "peep:". I have heard rumors that with the latest versions of Google Drive API, I should be able to instead put all of my app files into a special folder that only my application can read. I was looking for some sample code or article on this subject. Thanks...
found this blog:
http://googleappsdeveloper.blogspot.com/2013/04/more-ways-for-apps-to-write-to-drive.html
You can use application data folder in your case, but use won't be able to list the file you put it on appdata folder: https://developers.google.com/drive/appdata
In order to put a file in the appdata folder, just set its parent to "appdata":
File body = new File();
body.setTitle(title);
body.setDescription(description);
body.setMimeType(mimeType);
body.setParents(Arrays.asList(new ParentReference().setId("appdata"));
service.files().insert(body).execute();

How to prepare KML file for Android Emulator Control?

I am trying to test my application with location information.
You know the Emulator Control has an ability to load from KML file. (Eclipse -> DDMS -> Emulator Control -> Location Controls -> KML -> Load KML...)
I've prepared KML file using Google earth application with its "Add path". Then saved it by .kml extension and load it on the Eclipse. Eclipse didn't load this KML file.
How to prepare KML file for Android Emulator Control?
I've found solution :
KML format is :
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.x">
<Placemark>
<name>1</name>
<Point><coordinates>-109.0450005395891,33.39487928579279,0</coordinates></Point>
</Placemark>
</kml>
The KML format that's accepted by ADT (0.8.x) differs from the Google Earth (or even Google Tracks) format.
Convert the original KML file at http://ge2adt.appspot.com/, use your Google account to login.
You can now try to open the file in the emulator control. I still couldn't open the KML file in the emulator. Open the KML file and remove the 'Document' element, don't delete the 'Placemark' elements. Also check if there multiple KML definitions ('kml' element). I had two definitions with only one placemark, and one correct definition with multiple placemarks. Delete the definitions with only one placemark.
Just tested this, and found actually the only thing you need to change to get the ADT to accept your KML file is to change the namespace to http://earth.google.com/kml/2.x.
You'd think someone at Google would have sorted this out by now...
The KML file must be a 3D file - some GIS tools (e.g. QGIS) don't put the Z value in the output if it is not present in your input data. A simple search and replace to add ,0 before each closing </coordinate> tag will solve this problem.

Categories

Resources