[android-developers] Re: Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread skink


On Sep 2, 8:58 am, NaveenShrivastva kumarnaveen.si...@gmail.com
wrote:
 Yes i understanding this issue large byte array size overflow how
 handle here.give me way please or perfect url




You *cannot* allocate one gigabyte of memory in small mobile devices.
Period.

pskink

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


Re: [android-developers] Re: Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread Miguel Morales
I don't know what a perfect url is, just look up examples on streaming
a file using java.
There's hundreds of examples.

On Fri, Sep 2, 2011 at 12:17 AM, skink psk...@gmail.com wrote:


 On Sep 2, 8:58 am, NaveenShrivastva kumarnaveen.si...@gmail.com
 wrote:
 Yes i understanding this issue large byte array size overflow how
 handle here.give me way please or perfect url




 You *cannot* allocate one gigabyte of memory in small mobile devices.
 Period.

 pskink

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



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx

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


Re: [android-developers] Re: Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread NaveenShrivastva
Please help me..

On Fri, Sep 2, 2011 at 12:49 PM, Miguel Morales therevolti...@gmail.com wrote:
 I don't know what a perfect url is, just look up examples on streaming
 a file using java.
 There's hundreds of examples.

 On Fri, Sep 2, 2011 at 12:17 AM, skink psk...@gmail.com wrote:


 On Sep 2, 8:58 am, NaveenShrivastva kumarnaveen.si...@gmail.com
 wrote:
 Yes i understanding this issue large byte array size overflow how
 handle here.give me way please or perfect url




 You *cannot* allocate one gigabyte of memory in small mobile devices.
 Period.

 pskink

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



 --
 ~ Jeremiah:9:23-24
 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread Appaholics
Read the file in small chunks of, say, an MB or two.

On Fri, Sep 2, 2011 at 9:38 PM, NaveenShrivastva 
kumarnaveen.si...@gmail.com wrote:

 Please help me..

 On Fri, Sep 2, 2011 at 12:49 PM, Miguel Morales therevolti...@gmail.com
 wrote:
  I don't know what a perfect url is, just look up examples on streaming
  a file using java.
  There's hundreds of examples.
 
  On Fri, Sep 2, 2011 at 12:17 AM, skink psk...@gmail.com wrote:
 
 
  On Sep 2, 8:58 am, NaveenShrivastva kumarnaveen.si...@gmail.com
  wrote:
  Yes i understanding this issue large byte array size overflow how
  handle here.give me way please or perfect url
 
 
 
 
  You *cannot* allocate one gigabyte of memory in small mobile devices.
  Period.
 
  pskink
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
 
 
  --
  ~ Jeremiah:9:23-24
  Android 2D MMORPG: http://solrpg.com/,
 http://www.youtube.com/user/revoltingx
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
--
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

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

[android-developers] Re: Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread Drezden
This is never going to work, you can't allocate that much memory.
Push it server-side.

On Sep 2, 11:08 am, NaveenShrivastva kumarnaveen.si...@gmail.com
wrote:
 Please help me..







 On Fri, Sep 2, 2011 at 12:49 PM, Miguel Morales therevolti...@gmail.com 
 wrote:
  I don't know what a perfect url is, just look up examples on streaming
  a file using java.
  There's hundreds of examples.

  On Fri, Sep 2, 2011 at 12:17 AM, skink psk...@gmail.com wrote:

  On Sep 2, 8:58 am, NaveenShrivastva kumarnaveen.si...@gmail.com
  wrote:
  Yes i understanding this issue large byte array size overflow how
  handle here.give me way please or perfect url

  You *cannot* allocate one gigabyte of memory in small mobile devices.
  Period.

  pskink

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

  --
  ~ Jeremiah:9:23-24
  Android 2D MMORPG:http://solrpg.com/, http://www.youtube.com/user/revoltingx

  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en