w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Read 1mb size of .bin file from Assests folder in android eclipse in linux environment

Its a very easy to read bin file from Asset folder.

Hope this will help someone.

    InputStream input =
    // myData.txt can't be more than 2 gigs.
    int size = input.available();
    byte[] buffer = new byte[size];

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.