mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-03 08:40:23 +00:00
v2.7
This commit is contained in:
parent
38cfb38b3f
commit
28eea7d2c3
41 changed files with 2323 additions and 371 deletions
|
|
@ -178,9 +178,9 @@ public class SplashActivity extends AppCompatActivity implements Runnable {
|
|||
|
||||
int lenghtOfFile = conexion.getContentLength();
|
||||
Log.d(TAG, "Lenght of file: " + lenghtOfFile);
|
||||
String fileName = URLUtil.guessFileName(url.getFile(),null,null);
|
||||
String fileName = "roms.json";
|
||||
InputStream input = new BufferedInputStream(url.openStream());
|
||||
OutputStream output = new FileOutputStream(AppConfig.maindirpath+fileName);
|
||||
OutputStream output = new FileOutputStream(getExternalFilesDir("data")+fileName);
|
||||
|
||||
byte data[] = new byte[1024];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue