>
> Hey Justin, let me tell you one thing, I do ask questions here after
> googling a lot.
>

If that is true, then good for you.  However, your question does not come
across as one that has spent much time doing so.  You give no information
about what you have tried or that you even looked for an answer elsewhere.


> I actually ask questions here to get response which can help me to proceed
> further in my task, not to get suggestions for googling it.
>

You would be surprised how many people that post a question like yours have
not, in fact, taken the time to do a Google search and figure out the
answer on their own.


> Tell if you know about this problem, I am facing, otherwise, no need to
> spend your precious time.
>

Why are you not using AssetManager to access your asset file?  The lmgtfy
link I posted gives many examples of using AssetManager to access
resources.  It also provides a list() method that will return an array of
assets in your app... If you used that you could iterate over the array of
assets and find out why the one you are trying to access isn't working.  Or
you could try using AssetManager to open your asset.

As for wasting my precious time, I don't consider it a waste of my time to
inform people that they should try to look for the answer to their
questions on their own first because that prevents them from asking other
questions that can be found by a Google search in the future and wasting
more of my time later...  Now, since you say you've already done that, this
doesn't apply to you, but I hope that you can see from my perspective how
your question looks like it could have come from a person just looking for
a freebie, not wanting to take the time to figure it out on their own...


> Thanks buddy.
>

Buddy is a bit of a stretch, but you're very welcome... :-)

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Aug 7, 2012 at 1:57 AM, skink <[email protected]> wrote:

>
>
> Narendra Singh Rathore wrote:
> > On Tue, Aug 7, 2012 at 12:43 PM, skink <[email protected]> wrote:
> >
> > >
> > >
> > >
> > > what statement throws FileNotFoundException?
> > >
> > >
> > >
> >
> > try {
> >                     fis = new FileInputStream(mUris[0].toString());
> >                 } catch (FileNotFoundException e) {
> >
> >                     e.printStackTrace();
> >                 }
> >
> >
> > This is giving me FileNotFoundException, when I am using asset path.
>
> have you seen FileInputStream(String name) javadocs? if so are you
> aware of the fact it can be used only with normal files stored in the
> local file system?
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to