![]() |
Re: Android: Package Manager ?!
Application/package manager is built-in feature in Android.
You can install .apk event without internet connection established. It's similar to "dpkg -i whatever.deb" ("adb install whatever.apk" in Android). But Android doesn't download/store huge indexes. May be Market is some sort of frontend... nevermind... it's better than load tons of (almost) useless data. |
Re: Android: Package Manager ?!
Quote:
Debian is actually using this feature and an apt-get update only fetches a few kb. |
Re: Android: Package Manager ?!
Quote:
|
Re: Android: Package Manager ?!
Quote:
Android is not capable of doing: aptitude search <whatever> aptitude install <whatever> If someone were to include that particular ability in Android you'd end up with the same amount of overhead as every other real package manager out there. "adb install whatever.apk" is roughly analogous to C:\setup.exe in a command box on Windows. Prior to being able to do your "adb install whatever" you will have spent probably more time searching for the application through obscure websites, and then saving it to your device than if you just used a package manager to do the hard work for you. |
Re: Android: Package Manager ?!
Quote:
The difference between the Android Market and a package manager is that Android Market isn't DOING very much more than downloading an "apk" file and placing it into a specific install location and then tracking that that download had been made no that device. The apk isn't unzipped, processed or anything. The apk is loaded and run the same way any zipped up "jar" file in Java is loaded and run. A Debian package manager has to download, decompress, examine and process a package in addition to placing the decompressed files into their appropriate locations relative to the root. Processing the package includes running any dependency checks, pre-deploy scripts, post-deploy scripts and so on. There's clearly far more to a package manager than downloading and dropping a file. The advantage of the Android Market is that it generally "just works" in a sandbox riddled virtual machine environment like Android. The advantage of Debian package management is that it can work "outside the box" and perform operations ANYWHERE in the OS as root and even intelligently process OS config files and do ANY useful things that a package needs to do. The disadvantage to the Market is that it can only really do things to applications--never really touching the OS in other paths in the system (although there are tricks to get around that, mind you--but it's still difficult, generally). The disadvantage to Debian is that it requires a strict discipline to be followed and makes it more complicated and would make it less secure if a repository snuck in. |
Re: Android: Package Manager ?!
Quote:
.apk files are very similar to zip files. They do get decompressed. This aspect is very similar to your regular .deb file, though like you say, a .deb file can be as simplistic as file extraction to a single directory or intricately complex, it's a choice. Choice is good. Agree entirely on your last paragraph good sir. |
Re: Android: Package Manager ?!
Quote:
RTFM: http://en.wikipedia.org/wiki/Debian (look what's package manager. it's dpkg, it can't help you to search for smth). What you really use for searching - is not _package_manager_ itself. |
Re: Android: Package Manager ?!
Quote:
You're being myopic and therefore technically erring in your attempt to correct his definition. You're effectively focusing on the core of the package management system (http://en.wikipedia.org/wiki/Dpkg) but excluding the front-end of said package management system (http://en.wikipedia.org/wiki/Aptitude_%28software%29). Please begone with you and join another discussion to which you might hopefully participate more constructively. :) |
Re: Android: Package Manager ?!
Market is front-end too. It can't search in offline, but who cares... Android is reach for applications, indexes should be too huge.
Yea. I make deb-packages (and get paid for it; it's part of my work). Do you know there're some deb-based Linux distros with only dpkg installed (embedded systems)? What's your point - they do have package management or not? >Please begone with you and join another discussion to which you might hopefully participate more constructively. And I'm working with Android a lot too. It's better (for me) discuss with someone who know _both_ systems, not just his own swamp. |
Re: Android: Package Manager ?!
Quote:
Quote:
|
All times are GMT. The time now is 23:16. |
vBulletin® Version 3.8.8