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 7845055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:06:02+00:00 2026-06-02T17:06:02+00:00

I am using concept of Android Expansion which helps us to remove obstacle of

  • 0

I am using concept of Android Expansion which helps us to remove obstacle of 50mb limitation of Apk.

Following all the steps http://developer.android.com/guide/market/expansion-files.html

I understood that you need to follow file format like this [main|patch].<expansion-version>.<package-name>.obb and did the same.

And also Expansion files may be in (ZIP, PDF, MP4, etc.) format.

I uploaded additional expansion files while publishing apk on Google play. At the time of download apk I get all the additional in my Local(Advanced latest Device), But through code I am not able to get the expansable files of my application.

In code looking at the sampleDownloader code I came to know that it requires three parameter (int type, int expansionCode, long fileSize)

here type: main/patch expansionCode: integer value but I am just wondering how to give FileSize in Long(exact)? and second thing its show message like Download failed because the resource could not be found

Any idea?

Update
Done, all steps are shown here

  • 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-06-02T17:06:04+00:00Added an answer on June 2, 2026 at 5:06 pm

    Did you go through Downloading the Expansion Files? It mentions that

    If the expansion files are not there with your Application downloaded from Android Market,
    You have to perform Application Licensing to get your app’s expansion file names, sizes, and URLs.

    1. Perform a request using Google Play’s Application Licensing to get your app’s expansion file names, sizes, and URLs.
    2. Use the URLs provided by Google Play to download the expansion files and save the expansion files.

    UPDATE:

    No, its not compulsory that Google Licensing only works with paid Application. There is a clear Note: defined in the Docs itself that any application may use licensing service to initiate the download of an APK expansion file. But, in that case your request will be only for expansion files and not for a check whether the user paid for the app or not.

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

Sidebar

Related Questions

I understand the IOC concept, which we can mix-and-match different classes using wiring. Every
I'm currently using OpenGL on Android to draw set width lines, which work great
In my android app i am using Latest Geoloqi API to implement Geofence concept.when
I am using multi threading concept to run some process. this process uses the
Is there any disadvantage of using URL expiring concept to protect online videos?
What do you think about the concept of using ORO instead of traditional Garbage
I am trying to wrap my head around the concept of using macros to
I understand the concept and reasons behind using the using statement, and I use
I'm doing a proof of concept app in SL4 using MEF and as part
I'm trying to do a proof of concept app for my work using ASP.NET

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.