Stories
Slash Boxes
Comments

SoylentNews is people

posted by n1 on Monday November 09 2015, @01:56AM   Printer-friendly
from the acts-of-digital-gods dept.

Back in 2012, during the early days of KeepSafe, we sought to implement an encryption scheme for our Android App. Through many iterations and prototypes, we found a sweet spot of sorts by leveraging the power of the JNI (Java Native Interface.) We decided to write our interface into the encryption library we utilized in Java, calling into the library via the JNI solely for the purpose of encryption and decryption. We opted for an on-the-fly solution, minimizing the impact on user experience as much as possible. Once we were happy with our solution, we decided to deploy it into our production app. We rigorously tested our code and were confident that everything would go smoothly; that is, until things beyond our control broke.

As we anxiously refreshed our crash reports following our release, we started to notice a recurring error. Users were running into an “UnsatisfiedLinkError”, which means that either A) the native library we were calling into did not exist or B) the native method we were calling did not exist. Since B) would almost always be caught via compiling and basic testing, we were immediately perplexed at the fact that users’ installations did not have the native libraries we shipped within the APK.

That's the agony and ecstasy of software development right there, pal.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Insightful) by Anonymous Coward on Monday November 09 2015, @05:42AM

    by Anonymous Coward on Monday November 09 2015, @05:42AM (#260660)

    I wish Windows phones were popular instead of Android. At least MS has programmers who know a thing or two about programming and backward compatibility and creating an IDE that actually works and code samples that compile and run.

    Android is a failed system that was promoted by a corporation with an agenda. Now that the OS that was supposed to be freedom-loving and faster than anything else (running on GNU/Linux, supposedly) is slow as hell and takes away the user's rights and freedom.

    This is a mobile OS done badly and deserves to die. The IDE is worse than anything I've ever used. Cannot even run on 4GB RAM!!! And don't get me started about Java, the hate-fucked abortion that should have died before it was born.

    Starting Score:    0  points
    Moderation   +1  
       Flamebait=1, Insightful=2, Interesting=1, Overrated=1, Total=5
    Extra 'Insightful' Modifier   0  

    Total Score:   1  
  • (Score: 2) by frojack on Monday November 09 2015, @07:24AM

    by frojack (1554) on Monday November 09 2015, @07:24AM (#260674) Journal

    Android is a failed system

    For some rather unusual values of "failed".

    You might argue that it is a flawed system, but it is far from failed.

    Just because some programmers don't know what they doing doesn't mean the system has failed.
    There is no "do what I meant" instruction.

    --
    No, you are mistaken. I've always had this sig.
    • (Score: 0) by Anonymous Coward on Monday November 09 2015, @09:22AM

      by Anonymous Coward on Monday November 09 2015, @09:22AM (#260708)

      When a programmer declares a project "failed", then it has failed. It does not matter that a marketer for Android calls it the greatest system ever.

      Android isn't a flawed system, it is a flaw.

      Imagine this: If Android did not have the backing of the Google empire, would it still succeed and make a profit? Of course not. If an independent maker had introduced Android, you wouldn't have heard about it and it would have died a silent death.

      Just because some programmers don't know what they doing doesn't mean the system has failed

      That means the platform allowed bad programmers in instead of keeping them out. Which means the system failed to protect its integrity and self-respect.

      • (Score: 3, Insightful) by TheLink on Monday November 09 2015, @11:16AM

        by TheLink (332) on Monday November 09 2015, @11:16AM (#260720) Journal

        When a programmer declares a project "failed", then it has failed.

        That's as stupid as someone saying that when a commenter says a forum has failed then it has failed.

        That means the platform allowed bad programmers in instead of keeping them out. Which means the system failed to protect its integrity and self-respect.

        Huh? If your public platform is popular enough there will always be bad programmers. How would you keep bad programmers out from a popular public platform?

        Just like if a public discussion form gets popular enough there will always be ignorant/stupid/trollish people posting crap.

        So you want a private platform where only people who are "good enough" are allowed to develop for?

        • (Score: 0) by Anonymous Coward on Monday November 09 2015, @01:05PM

          by Anonymous Coward on Monday November 09 2015, @01:05PM (#260741)

          someone saying that when a commenter says a forum has failed then it has failed.

          Technical opinions are impersonal and objective. It hasn't got to do with politics or "my IDE is better than yours" nonsense.

          How would you keep bad programmers out from a popular public platform

          We have to have a minimum level for developers, otherwise Javascript Experts and Gurus will invade the thing and they will be the ones making judgements and setting the future direction of the platform.

          Ever used VB 6? Or worked with VB 6 Gurus?

          • (Score: 1, Insightful) by Anonymous Coward on Tuesday November 10 2015, @09:22AM

            by Anonymous Coward on Tuesday November 10 2015, @09:22AM (#261164)

            I didn't see any technical opinions from the AC proving that "Android isn't a flawed system, it is a flaw." Android is a flawed system like many real world systems in use, but I see zero evidence that it is a failed project whether commercially or technically.

            In your reply you have provided zero viable or plausible methods for keeping out bad programmers from a popular public platform.

            All I've seen so far is worse than:

            "my IDE is better than yours" nonsense.

            Because in some of those there are usually a few decent points and arguments (though most of us have probably heard them more than 100 times). Not that I care so much about those points.