What powers an app? Where are apps stored?
So you’ve scrolled through the app store and finally found an app that you want to download. You hit the download button and square with rounded corners appears on your phone’s homepage. You tap the app icon and your app loads. How does this happen? What allows the app to even load? Where is all of the information stored and how does it get updated? These are some of the questions we will try to answer in this blog article, but as always in a way that anyone will be able to understand!
Apps are more than a fancy icon.
If you go into your phone’s settings>storage> It should show you how much space each individual app requires or is using. For example check out this screenshot.
All of the megabytes on the right side of the image are how much storage those apps are using on your device.
You’re probably thinking wow that’s a lot. Actually, no it isn’t. Think about Facebook and consider the fact that there are nearly 3 Billion users. How many videos and pictures do you think there are with that many users? Your little app with 300-400MB of data being used has access to all of that info. But how?
Applications Use Servers to Communicate
Have you heard of AWS? The Cloud? These are tools that enable information to be stored without overloading devices. Let’s start with servers.
Servers are individual computers that can be connected to the internet all day every day.
The Cloud is multiple interconnected computers that talk to eachother remotely.
You’ve probably heard “it’s ran on AWS”. This is essentially Amazon’s Servers. It actually stands for Amazon Web Services. It’s a pay to use cloud computing service.
How Do Apps Talk to Servers?
The answer is API’s, or Application Programming Interfaces. Generally there are four different types of API’s.
- Public- available to anyone to use
- Partner- accessible only when given access by the developer most likely for a client to use
- Internal- a company will use this for their work processes for example a budgeting software the company built
- Composite- a combination of two or more of the above
Put simply API’s allow a computer to operate your app.
Where Do Apps Store All of the Data?
Take a guess as to what database this is.
If you guessed Facebook’s database you are correct! It turns out that all of these macines process 4 Petabytes of data per day (that’s 1,000,000 Gigabytes!)
We’re not going to say that every app out there uses a database like this. However, a lot of apps are powered by AWS. You can find some images of thier database through a Google Search and it is impressive!
Breaking It Down
We know this is a lot of information and it is all very complex. In a nutshell, Programmers (this si to mean developers, coders, app builders, etc.) develop an app and code it to speak to a server. That server then stores information in a database.
If you can learn API’s you will be well on your way to understanding how applications even work. As always we like to keep our information simple and easy to grasp. If you find yourself needing more information about how apps work, feel free to give us a call at 208 344 1115. We’d love to get you in touch with a developer that can explain how all of this works.
If you have more questions about apps be sure to check out our other blog posts where we answer other questions people like you have had about apps and application development!
If you clear your SIM card storage or remove your SIM card, will your app be removed as well? We provide the answer below.
When you activated your phone at your local authorized dealer you probably watched them place a SIM card into your phone. It looks a lot like a MicroSD card doesn’t it? So it’s no wonder people think that is the source of their phone’s storage.
Your phone’s storage is actually internal and is on the phone itself by default. Your downloaded apps and your favorite games are not stored on your SIM card.
There is an option to store your apps on an SD card but it has to be developer enabled. They may or may not want you to have their app on an external device.
Then why do you have one right? The SIM card provides a way for your cell provider to track your usage as well as store your user information for an easy transition when you upgrade or replace a cellular device.
You can rest assured that your SIM card will not remove your precious apps from your phone if it is taken out of your phone unless you transferred the developer enabled ones.
Most likely, however, you won’t be able to place a call (other than to 911) without it. In this case, your phone becomes much more like an iPod Touch as opposed to an actual phone. Although there third party apps such as WhatsApp that allow to call via mobile app.
So go ahead and remove your SIM card if you like. (Hint: It’s easiest with a paperclip)