ruminating on apk manager osx

So… I’ve spent a fair amount of time the past ten days or so working on APK Manager OS X again. And the irony is that I don’t really do any android application modding anymore. Yet I feel obligated to keep the script alive, since mac users so often go overlooked by the android community at large.

So some thoughts and questions where the project should go next…

  • I would very much like to include an automatic update function, to do away with the horribly messy process of always having to backup projects, manually copy over a new apk_manager directory, re-run setup, and then restore projects, etc.
  • I have basically no idea how to do this. Well, that’s not entirely true, I’ve been digging through the oh-my-zsh update scripts, and think I understand how they handle updates, but I’m very hesitant to just copy their code for a few reasons.
    1. They use git & github for their auto-updates, and I don’t want to force users of APK Manager to install git.
    2. Assuming I have no choice but to use git & github, how do I go about generating a release repo that isn’t littered with all my development files?
    3. And then how do I maintain it?
  • Is there any benefit to modularizing the entire script into multiple scripts for each main function?
  • How do I add comprehensive debugging options to the project? I’d love to implement something like this http://stackoverflow.com/questions/64786/error-handling-in-bash but then I’m forced to modularize, right?
  • Assuming I figure all of that out, how do I handle binary updates for optipng, pngcrush, sox, 7za, etc.? Can I use git submodules for them?

So ugh. I’m just totally at an impasse right now with APK Manager OS X. And of course, those questions don’t even answer the biggest of them all,

Should I even continue to maintain this with the overwhelming lack of interest? (there have been barely 1000 total downloads (1003 at the time of posting) over the ~7 months I’ve been working on it.)

APK Manager OS X v2.2.1!







Yeah… so I know I skipped posting a ton of updates (and yes, the screenshots are already outdated.)

So yeah… a lot of changes, first, I re-packaged the entire thing into a mac disk image (DMG) file since some users were reporting errors with extracting the zip file. I’ve also added the option to view java source for most apk or jar files, re-worked the ‘debug’ menu yet again, added another text/log viewing app for selection (Chocolat.) I also fixed a handful of bugs, re-worked the default apktool.jar symlink routine, and built-in the color choice selection into one script, to avoid potential version mismatches, etc. from continually shipping two script files simply for different text colors.

I’ve also updated a lot of the included binaries (optipng, pngcrush, sox, adb, etc.)

While I was at it (For v2.1), I moved all user settings, private keys/keystores, etc., to $HOME/.apkmanager directory, and created a migration script for users to preserver their settings and keys prior to upgrading to v2.1+

Anyway, onto the links!

EDIT: yeah, outdated already, please see APK Manager on:
xda-developers
rootzwiki
github

APK Manager v1.0 (finally)

Well, there won’t really be much substance to this post, just the pictures above, a quick note that v1.0 grew from ~300 lines to 1986 lines, plus a really small subscript to generate the adblog.txt.

Well, new download links below!

Cheers everyone 🙂

Just a quick update, this is now mostly being released on XDA and Rootzwiki, I’ll try and update the download links here accordingly, but well, I’ll probably forget quite often.

Anyway, newest download link, version 1.2, added below.

EDIT: yeah, outdated already, please see APK Manager on:
xda-developers
rootzwiki
github

APKManager OSX, part 2




So I feel like I’m closing in on a 1.0 release for APKManager for mac. Well, really only because I’m running out of ideas for new features to add, lol.

Anyway, in the meantime, its now 32-bit & 64-bit compatible (auto-detects correct binaries for your architecture) and comes with an applescript setup applet, and a new font, Bitstream Vera Sans Mono!

Hands down that’s my new favorite fixed-width font, that I can readily differentiate between lower-case “l” and 1 is nothing short of amazing. Plus it has clear rules governing redistribution.

Anyway, new version (0.9.8/RC2) and download link (I decided to switch to mediafire since cl.ly had issues for several hours a few nights ago) follow.

I’ve also gone ahead and released this on Rootzwiki with a fairly updated and accurate changelog, ongoing list of notes/todo, etc.

So anyway, for the maybe one or two people on this planet that use this, enjoy. Oh, and hopefully I’ll upload a newer/faster/better version of my smali syntax modes for SubEthaEdit and Coda sometime tonight, or this weekend.

Cheers everyone 🙂

EDIT: yeah, outdated already, please see APK Manager on:
xda-developers
rootzwiki
github