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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:17:49+00:00 2026-06-17T22:17:49+00:00

Hi I am writing the application to open HTML file.so for initial activity I

  • 0

Hi I am writing the application to open HTML file.so for initial activity I am mentioning in AndroidManifest file as

 <data android:mimeType="text/html" />

In the activity I am getting the URI of HTML file by using following code.

 Uri mDataUri = = getIntent().getData();

and then by using following code I am reading the data of HTML file by using the following code

        ContentResolver cr = getContentResolver();
        InputStream input = cr.openInputStream(mDataUri);

from InputStream I am parsing the data and getting the content.

But now client want the Splash screen in the middle ,so if I read the data in SplashScrren I am unable to send to the SecondScreen because that file Content is more(after converting to string length is:3,00,000).

Now Same HTML How can I read in Second Screen ?

  • 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-17T22:17:51+00:00Added an answer on June 17, 2026 at 10:17 pm

    When we are putting the MimeTypes as text/html for an activity,you can read the data in That activity only,you cannot read from Another activity,so you can store locally and access in Second Activity.

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

Sidebar

Related Questions

I am writing an application to open HTML files so i am mentioning the
I'm writing a C# app to read a file that another application holds open.
Possible Duplicate: Open file ReadOnly In my application I am writing some information to
I am writing a simple Word Interop application which open a .doc file in
I'm writing a custom camera application which follow this tutorial: http://marakana.com/forums/android/examples/39.html Now I'm able
I am writing the application to open HTML files. In some devices (like Galaxy
I am writing application on ActionScript for Android using Adobe AIR with native extentions.
I am writing an application that will allow an android phone and java application
I'm writing a little application that will open my status reports that are in
I am writing a wxPython application that remains open after closing all of its

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.