Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7592779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:59:31+00:00 2026-05-30T20:59:31+00:00

if I have tile in .png.tile. Is it possible to include it with .apk.

  • 0

if I have tile in .png.tile. Is it possible to include it with .apk.
my purpose is after I download app from market, when I open the app it should show every tile and every zoom level of at lease 1 country (maybe not big one).
PS. I use OSM.
PS.2 sorry for my english grammar.

EDIT: one country maybe too large.
maybe just one province or one state and some of zoom level.

EDIT2:This is the function i used and what can i do about inputstream thank you very much.

    AssetManager assetManager = getAssets();

    try {
        files = assetManager.list("Map");
    } catch (IOException e) {
        Log.e("tag", e.getMessage());
    }
    try {
        firstField = (EditText) findViewById(R.id.firstId);
        firstField.setText(Integer.toString(files.length)
                + " file. File name is " + files[0]);

    } catch (Exception e) {
        e.printStackTrace();
    }

    try {
        inputStream = assetManager.open("Map/mapnik.zip");
        // String s = null;
        // s = readTextFile(inputStream);
        // secondField = (EditText) findViewById(R.id.secondId);
        // secondField.setText(s);
    } catch (IOException e) {
        Toast.makeText(this, "Error" + e.toString(), Toast.LENGTH_SHORT)
                .show();
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:59:32+00:00Added an answer on May 30, 2026 at 8:59 pm

    Yes, you can include it by placing it in the assets folder. See http://developer.android.com/reference/android/content/res/AssetManager.html for accessing assets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using WPF to generate tile images for my WinRT app. I have
So I have a tile image tile.png and I'm trying to create a tiled
I have a single PNG file that when referred from the XML bitmap file
OK, I have a HTML5 canvas... and it draws images from .png tiles (32x32).
I have Tile s which represent the tiles in a game's 2-dimensional world. The
I am working in Google Maps and have three+ tile overlays to create. An
I have a MapTile class which holds a tile sprite and the tile's attribute.
I have been following a tutorial on how to write a basic tile map
Hey guys I have a object sitting in my tile map for spawn point
imagine that I have a Form with 9 controls (TabbedStuffControl) in a 3x3 tile,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.