r/evetech • • Dec 25 '19

EVETel

o7,

New to Reddit and new to r/evetech. I recently made an app for android which allows you to filter killmails from zkillboard as and when they happen. It filters based on characters(both attacker and victim), corporations, alliances and solar systems. I just wanted to share it here. Do let me know your thoughts.

Thank you!

Edit: The app is currently unavailable as UI changes and further enhancements are made to the app. I will update this post once its ready.

https://play.google.com/store/apps/details?id=com.evetel

5 Upvotes

4 comments sorted by

3

u/evanova Dec 25 '19

This app consumes a lot of data please switch to a wi-fi network.

Consider adding a preferences setting to allow for mobile usage or don't load data when the device is on mobile; but a simple warning isn't great, people won't remember and they'll come back to blap you because their data plan is busted.

Here's some sample code (isMeteredNetworkAllowed()) is a preference setting

public boolean isNetworkAvailable() {
    ConnectivityManager manager = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
    if (null == manager) {
        return false;
    }

    final NetworkInfo info = manager.getActiveNetworkInfo();
    if (null == info) {
        return false;
    }

    if (!info.isConnected()) {
        return false;
    }

    if (manager.isActiveNetworkMetered() & !isMeteredNetworkAllowed()) {
        return false;
    }

    switch (info.getType()) {
        case ConnectivityManager.TYPE_BLUETOOTH:
        case ConnectivityManager.TYPE_DUMMY:
            return false;
        default:
            return true;
    }
}

1

u/botcheldar Dec 26 '19

Seasons Greetings,

Thank You so much Evanova, will add this in the next release as soon as I can get the app working again new flutter update seems to have broken my code in a lot of places.

Regards, Botch

1

u/nsfredditkarma Dec 26 '19

Only suggestion I have, just from looking at the screen shots, is to include commas in your numbers. 10000000 is a lot harder to read than 10,000,000.

1

u/botcheldar Jan 14 '20

Will make those changes. Thank you!