On Sep 2, 2:33 pm, Daniel Drozdzewski <daniel.drozdzew...@gmail.com> wrote: > On 2 September 2011 13:09, skink <psk...@gmail.com> wrote: > > > > > > > > > On Sep 2, 1:59 pm, NaveenShrivastva <kumarnaveen.si...@gmail.com> > > wrote: > >> RandomAccessFile raf = new RandomAccessFile(file, "r"); > > >> long networkByte=raf.length()-12; > >> System.out.print("networkByte"+networkByte) ; > >> raf.seek(networkByte); > > >> System.out.print(raf.getFilePointer()); > > >> Here how to print last 12 bytes .Please help me coding stubs > > >> On Fri, Sep 2, 2011 at 5:20 PM, Nikolay Elenkov > > >> <nikolay.elen...@gmail.com> wrote: > >> > On Fri, Sep 2, 2011 at 8:46 PM, Naveen <kumarnaveen.si...@gmail.com> > >> > wrote: > >> >> i have large mp4 file i want to read last 12 bytes of this file, > > >> >> long position=filesize.length-12; > > >> >> plz help me now what to do for read 12 bytes from position > > >> > Use capital letters and punctuation, it helps. > > >> > Have a look at RandomAccessFile, it lets you read/write > >> > from/to an arbitrary position. > > >> >http://download.oracle.com/javase/1.5.0/docs/api/java/io/RandomAccess... > > >> > -- > >> > 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 > > > My intuition tells me that for reading you should use read() method > > OMG, > > You didn't specify which read method Naveen should use. > > There are 16 of them!!
Well, Daniel, you know, my intuition - and I think yours also - is fuzyy, so thats why my inner voice cannot precisely choose one of them... > > please help him coding stubs or with perfect url! :-) > > -- > Daniel Drozdzewski -- 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