Profile

Cover photo
Anthony Restaino
Works at Ask Partner Network, LLC
Attended Rensselaer Polytechnic Institute
Lives in Brooklyn, NY
313 followers|394,653 views
AboutPostsPhotosYouTube

Stream

Anthony Restaino

Shared publicly  - 
 
Foggy night in New York.
6
Add a comment...

Anthony Restaino

Shared publicly  - 
 
The best view in Brooklyn. Nexus 5X has a heck of a camera.
4
Add a comment...

Anthony Restaino

Shared publicly  - 
 
#pixelpushing  

And then as I'm working on adding LeakCanary to [REDACTED] in order to detect [alleged] memory leaks, and I finally get it integrated correctly, and as I begin to use the app like I normally do, LeakCanary starts inspecting the memory and it's all like...
3
Add a comment...

Anthony Restaino

Shared publicly  - 
 
Lightning Browser v4.2.3 - rolling out to all users over the next few hours ⚡

The story of this update:
This update has been a long time coming. The last big update to the free version was in April, so this is a culmination of all the changes since then. Paid version was updated later than that but still it hasn't seen these changes yet.

Summer went by fast... basically, as you might know, I got a job as a software engineer working on Android apps at Ask Partner Network in New York City a couple blocks from the Google building. It's been a big adjustment as I moved out of my parents' house in upstate NY where I lived most of my life (and throughout college) down to NYC. It's been challenging juggling work and personal life and trying keep going on Lightning and trying to survive in a big city by myself. It took a long time to get this update ready.

I should have released versions sooner, but my project management skills are nowhere what they need to be as I don't have a roadmap for features, don't really make any plans on what I'm adding, and so I don't ever feel that the browser is ready for a release. It all compounds, and eventually a lot of time has elapsed since I last published an update. There's lots of activity in the code, I'm just bad at releasing.

Hopefully the project management skills I'm learning on the job will help me in the future to be more prepared about what I'm releasing instead of just working on the code for a couple months and then tagging and throwing it up on the store.

Anyway, hope you guys enjoy 😎

Mostly Complete Changelog:
* Tablet UI (can turn on for phones as well)
* Support for Marshmallow
* Improved Reading Mode
* Added bookmark folder support!
* Settings revamp (community effort!)
* Updated icons + UI cleanup
* Improved full-screen mode
* Fixed some memory leaks
* Added animations between screens
* Added actions to the bookmarks drawer
* More translations
* Performance and stability fixes

https://github.com/anthonycr/Lightning-Browser/releases/tag/v4.2.3
7
1
Hound Dude's profile photoCasey Labatt-Simon's profile photo
 
thanks for this, looking forward to having tablet ui again
Add a comment...

Anthony Restaino

Shared publicly  - 
 
The most New York gif ever.

https://www.youtube.com/watch?v=UPXUG8q4jKU
4
Add a comment...

Anthony Restaino

Shared publicly  - 
 
Living in 2015 means that's it takes less time to download a 130 MB zip file to my laptops HDD than it does to unzip it.
4
Chris Lacy's profile photoAnthony Restaino's profile photo
2 comments
 
+Chris Lacy I recently upgraded from dialup level speeds so I feel your pain.
Add a comment...
Have him in circles
313 people
Prezelin Eric's profile photo
Ashish Tripathi's profile photo
sabuha dnr (sabuha_dnr)'s profile photo
‫هاله سليمان‬‎'s profile photo
Arun Goyal's profile photo
Android ATC's profile photo
Serge Che's profile photo
ANN JOEL's profile photo
Noel Hwande's profile photo

Anthony Restaino

Shared publicly  - 
 
Finally. The application context bug has been fixed in WebView... Now all the floating browsers won't crash when the WebView tries to create a dialog window.

I wonder if this actually allows the dialogs to work if you pass in an application context or if it just doesn't show the dialog.
4
Anthony Restaino's profile photo
 
I take it back, I just tested and the dialogs still crash the WebView when using application context. From the logs, looks like they are trying to check if the Context used is an Activity or not... so when it stops crashing, I think it will cause the html <option> tag to not work.
Add a comment...

Anthony Restaino

Shared publicly  - 
 
If you want to use this, now you can do it by just including it as a dependency in your gradle build file:

compile 'com.anthonycr.grant:permissions:1.0'

The AAR is currently hosted on jcenter.
 
Grant - A Library For Simplifying Android Permissions

Hey Android people,

As I was updating Lightning for 6.0 I was annoyed that I would have to move my code around and disrupt my application logic to deal with the new Android permissions. Also, doing all the checks and requests for permissions everywhere was getting out of hand. As a result, I built a small library that allows you to wrap some code that needs a permission to run in a simple abstract class and then send that to a PermissionsManager along with the permissions required for it to run, and it will execute your code when the permissions are granted, or will notify you when one of the permissions is denied.

I called it Grant. Check it out, feedback appreciated. Also, the README is a bit messy right now, so forgive me until I can fix typos and confusing sentences and flesh it out a bit more.

The README has some information on how to use it. Currently I haven't published it to jcenter or maven central, so if you want to use it you'll either have to copy the files into your project, or add clone the repo and add the library module as an external dependency. I'm hoping after I clean it up some more to be able to publish it to jcenter/maven for simpler use via gradle. I've also included a sample app in the repo that demos the use of the library.

Library is licensed using Apache 2.0 so there shouldn't be any problem whether your app is open/closed source.

Enjoy!
Grant - Simplifying Android Permissions
View original post
2
Add a comment...

Anthony Restaino

Shared publicly  - 
 
Grant - A Library For Simplifying Android Permissions

Hey Android people,

As I was updating Lightning for 6.0 I was annoyed that I would have to move my code around and disrupt my application logic to deal with the new Android permissions. Also, doing all the checks and requests for permissions everywhere was getting out of hand. As a result, I built a small library that allows you to wrap some code that needs a permission to run in a simple abstract class and then send that to a PermissionsManager along with the permissions required for it to run, and it will execute your code when the permissions are granted, or will notify you when one of the permissions is denied.

I called it Grant. Check it out, feedback appreciated. Also, the README is a bit messy right now, so forgive me until I can fix typos and confusing sentences and flesh it out a bit more.

The README has some information on how to use it. Currently I haven't published it to jcenter or maven central, so if you want to use it you'll either have to copy the files into your project, or add clone the repo and add the library module as an external dependency. I'm hoping after I clean it up some more to be able to publish it to jcenter/maven for simpler use via gradle. I've also included a sample app in the repo that demos the use of the library.

Library is licensed using Apache 2.0 so there shouldn't be any problem whether your app is open/closed source.

Enjoy!
Grant - Simplifying Android Permissions
3
1
Anthony Restaino's profile photo
Add a comment...

Anthony Restaino

Shared publicly  - 
 
Security update for my Nexus 4 just took 40 minutes to install... a bit tad excessive IMO. I feel like normal users will probably stop updating their devices if they are faced with update times taking this long.

On a related note, there are some problems with Lightning Browser on Marshmallow and I promise to fix them when I get my Nexus 5X in a couple weeks. Emulator just wasn't good enough to prep Lightning for Marshmallow I guess.
1
Warren Myers's profile photoAnthony Restaino's profile photoJoakim Waern's profile photo
3 comments
 
I've noticed the issues with Lightning: Problems downloading, no Bookmarks import... But as always you see it and fix it! 😀
Add a comment...

Anthony Restaino

Shared publicly  - 
 
In NASA HQ today
6
Add a comment...

Anthony Restaino

Shared publicly  - 
 
#pixelpushing  

When we have this solution in place to handle URL redirects that generally works but is really gross, and I have an idea to fix it and start working on this ticket, and I come up with a beautifully elegant solution that's like 97% perfect in theory, but when then as I start testing the code it turns out that the remaining 3% was pretty critical and then it's all like...
6
Add a comment...
People
Have him in circles
313 people
Prezelin Eric's profile photo
Ashish Tripathi's profile photo
sabuha dnr (sabuha_dnr)'s profile photo
‫هاله سليمان‬‎'s profile photo
Arun Goyal's profile photo
Android ATC's profile photo
Serge Che's profile photo
ANN JOEL's profile photo
Noel Hwande's profile photo
Education
  • Rensselaer Polytechnic Institute
    Electrical Engineering, 2013 - 2015
  • Hudson Valley Community College
    Engineering, 2011 - 2013
Basic Information
Gender
Male
Story
Tagline
Android Developer
Introduction
I'm an engineer. Went to school for electrical engineering, currently working in the software engineering field. I built the open source Android app Lightning Browser.

My non-nerd interests include piano, freeskiing, and photography.
Work
Occupation
Software Engineer
Skills
Java, Android, C, C++, Electrical Engineering
Employment
  • Ask Partner Network, LLC
    Software Engineer, 2015 - present
    I work with a fantastic team building Android apps for OEMs around the world.
  • Independent Android Developer
    2012 - present
    I've spent a lot of time building Lightning Browser
  • Premier Utility Services
    Corrosion Technician (Contractor), 2014 - 2015
    Worked at National Grid as a contractor building an Android app and REST API that handled data collection for their corrosion control department.
  • Ask Partner Network, LLC
    Software Developer (Contractor), 2015
    Built Android apps (Browser and Launcher) for OEMs
  • National Grid
    Corrosion Engineering Intern, 2014
    Worked as an intern in the corrosion control department, built an Android data collection app and rebuilt a PHP website *shudders*
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Brooklyn, NY
Previously
East Schodack, NY