Profile cover photo
Profile photo
Andy Crowther
3,492 followers -
Retail Manager in Central London with a love of the NFL, biking, Android and PC online gaming.
Retail Manager in Central London with a love of the NFL, biking, Android and PC online gaming.

3,492 followers
About
Posts

Post has attachment
Some photos from our fifth trip to Comic Con London at the ExCeL.
Add a comment...

What was your first version of Android? What are your fond memories?

http://androidandy.uk/index.php#collapse15

Post has attachment
My new #SleepingDuck mattress is here! #excited
PhotoPhotoPhotoVideo
Photo
02/10/2017
6 Photos - View album
Add a comment...

Post has attachment
It was a fun day at the NEC yesterday for EGX. Lots to see and play (if you don't mind queuing for an hour or so)
Add a comment...

Post has attachment
Add a comment...

I have a method to backup my SQLite Database -

private void exportDB(){
File sd = Environment.getExternalStorageDirectory();
File data = Environment.getDataDirectory();
FileChannel source=null;
FileChannel destination=null;
String currentDBPath = "/data/"+ "com.androidandyuk.regularreminders" +"/databases/Reminders";
String backupDBPath = "Reminders.db";
File currentDB = new File(data, currentDBPath);
File backupDB = new File(sd, backupDBPath);
try {
source = new FileInputStream(currentDB).getChannel();
destination = new FileOutputStream(backupDB).getChannel();
destination.transferFrom(source, 0, source.size());
source.close();
destination.close();
Toast.makeText(this, "DB Exported!", Toast.LENGTH_LONG).show();
} catch(IOException e) {
e.printStackTrace();
Toast.makeText(this, "Exported Failed!", Toast.LENGTH_LONG).show();
}
}

Can anyone tell me how I can then import this again from the SD Card? Thanks :-)

Post has attachment
I thought I should go and find some nice open areas to really try out my DJI Mavic Pro. I did this. Then found a real small area with lots of trees to crash it... (Video coming soon)
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded