There are a lot of things in Common between developers and novelists, a lot of efforts are put by a novelist when they are writing their novel however, and once it is published you will get to see that it is competing with various other books that are in the market. A lot of times, people may not even know that your book exists until you have a name in the market.
When you are trying to market yourself, you can use your creativity, for example the author of the novel 11/9 had come up with a Kickstarter campaign. At the end, The Billion Dollar Heist’s opening scene was used to drive the sales. In comparison to the big houses for publishing, it would be really impossible for a new person to sustain.
Similarly when it comes to developers, the same is applicable. Even though your app may be the best, however once it hits the market, it has a competition that can be really tough. Not everyone would have heard your name as developers, but now, in that front, things seem to have taken a turn as Apple has come up with the facility of allowing companies which are very successful to get more visibility in the App Store. This is done with the help of search result ads; this may be helpful in a way however it can be really tough for a developer who is new or still struggling to get his or her recognition.
Only a few manuscripts are accepted by agents considering the number of manuscripts they get every year. Another way to go ahead with the approach is by publishing it by yourself. This is very similar to publishing it on the App Store, however in places like Amazon or iBooks an approval is needed after which it can go on sales. You may also get the chance of getting 70% of the retail price, however unless you really go ahead and promote it, you will not be able to really sell your product.