How do I write code for apps
Programming your own app - the entry-level guide
So you want to program an app and then publish it in an AppStore of your choice. Of course you want to do this asap, right? Who has had the time to look at long tutorials and then grapple with problems that were not described in the tutorial? In this article you will learn everything you need to take the next step towards your first own app. What do you have to learn? Which platforms do you have to consider? Can you simplify your work and if so, how? It doesn't matter whether you already have programming experience or not. Are you in a hurry? Then take a look directly at this article about Apache Cordova.
What are apps?
Apps are actually perfectly normal computer programs, but they are run on a mobile device. These have the special feature of being able to access the sensors and hardware of the device. The manufacturers provide so-called programming libraries for this purpose. This allows you to use the hardware in your own app relatively easily (relatively, because you have to build up a technical understanding). A feature that particularly stands out in apps is the touchscreen. Programmers have to design their apps so that they can be used on a small or large screen. Websites and app have to adapt to the size of the screen. If this is met, an app or website is responsive. Nowadays, this requirement is actually more or less standard. The creation of apps can be done by anyone who has learned to code and has adopted the technologies for app development. However, there are also a few differences here, because depending on the manufacturer and operating system, you actually have to write your own app.
For which platforms can apps be developed? What is to be considered?
Writing an app and then making it available for all devices is unfortunately not as easy as you might imagine. Because the manufacturers program different operating systems that are not compatible with each other, each manufacturer has to learn their own programming language and programming environment. A bitter pill for a beginner, because you want to cover as many areas as possible with your first app. There is another way, as you will learn later in this article. Let's get to the individual manufacturers:
Google's Android is one of the most widely used operating systems for mobile devices. Many manufacturers such as Samsung, HTC, etc. produce their devices with Android. There is the so-called Play Store directly from Google in which you can find the apps and install them on your own device. There are other stores where you can get apps. Each manufacturer usually has its own store and large companies such as Amazon also have their own stores for apps. In order to publish an app in such a store, you have to register as a developer. With Google this costs a one-time fee and then you can offer your apps there for download or for sale. If you sell your app, the store operator usually withholds a small commission. To develop for the Android platform you need Java skills and the Android SDK. Once you've installed that, you can basically get started.
Apple's iOS is the operating system for iPhones, iPads and iPods (and whatever else is mobile with i ... from Apple). There is no manufacturer who uses this operating system, except Apple itself. The apps are available from the so-called AppStore or iTunes. In order to place apps in this store you also have to register as a developer (Apple Developer Program) and pay an annual fee for it. Commissions are also incurred when selling apps to Apple. To develop the apps you need an Apple computer with Mac OSX, because the programming environment XCode only runs on it. You can program the whole thing now either with Objective-C or the new Apple programming language Swift. Unfortunately, you can't avoid your own Mac if you want to develop with these languages. There are options to run the operating system without a Mac, but a lot of technical know-how is required. So getting started at this point is quite expensive if you have never immersed yourself in the Apple environment.
But there are also other players in this market. There are different operating systems from Blackberry to Windows Phone. All of them have their own programming environment, use a different programming language and also have their own stores in which the apps are offered.
What do I have to learn for this?
So many different manufacturers, programming languages, operating systems, even the professional will quickly get dizzy. Every language and library is structured differently and in principle you have to pay attention to special features everywhere. Apart from the fact that you should have the devices on site for testing. If you want to get into development now, but are still a total beginner, when it comes to programming in general, you will not get around familiarizing yourself with a programming language. We'll get to that in a moment. First of all, you should get to know the differences between the apps yourself.
Native apps are written with the manufacturer's programming language, see the section on the platforms. You first have to learn programming, preferably in the language for which you want to program an app. The respective language and environment for each platform. Whether this work is worth anything to you is another question. It must be pretty worth it.
Construction kit apps
There is now a huge range of so-called app construction kits. You basically click the app together instead of programming. Something similar is also available for websites. Most construction kits cost a monthly fee. However, the functionality of such apps is limited. As soon as you want to do more specific things, you either have to commission the special development from the provider (which can be very expensive) or you start again at 0 and have to program the whole thing again yourself. It works for very small standard things, but can quickly end up in double the effort.
Web Apps (or HTML5 Apps)
Can I also offer my app on the computer / notebook?
In the native area there is actually a clear no. Maybe it is possible to run an iOS app on a Mac, but I don't know anyone who has tried this before. In other words, if you want to code an app that, in case of doubt, should also be used on the "big" computer, you should also look for a programming environment next to which you can also write your apps. Right, a programming language / programming environment and everything that goes with it.
Wouldn't it be ideal if you could create all programs in just one language? This is a great thing to get started, although you have to say that as soon as it becomes special or the performance requirements increase, you should muster enough manpower and develop it natively.
That means I have to write everything twice? Do I have to choose a platform?
Soundboard as an Android app
Soundboard in the browser as a web app
With a strong development team, it is certainly not a problem to write certain things twice for the respective platforms. But a beginner doesn't have a 5-person crew. So the choice is yours. Your apps should run on all platforms, so to speak
Study and write 3 times. Or you just make the app for one platform. Or you can learn Apache Cordova and get a whole lot to start with
given. The best part: You develop your web app on the computer as normal and can test all functions without the need for a mobile device. Only when you have made the adjustments for the mobile version do you use the emulator or download your app to the smartphone. And when you're done, you'll have an app for mobile devices and an application for the computer. I have prepared an example, here you can see a soundboard that I developed for my club and the Android version.
Can I make money and get rich with my first programmed app?
Even if I think the motivation is great and I know myself that one has at the beginning. But unfortunately you have to say at the beginning that the first programs will not convince. My advice: don't start right away with your fat idea, because it will quickly be slain and paralyzed. Start with small mini projects, such as in our tutorials. Only then take a tiny little functionality from your idea that you actually want to program and implement this mini-function in your own program. This is the only way to increase the chance of getting some money for your app at all. The whole thing with marketing etc. not included.
You need this for your start and this is how you get started:
- Why are the southern states Republicans?
- Are Numbers files compatible with Excel
- Are gun owners proud of themselves
- In which countries is TikTok prohibited?
- What surprises you about Indians
- Do you like affiliate marketing
- Who can help poor people
- Why did you lose faith in humanity
- How are internal combustion engines used for harvesting
- Which tile brand is suitable for the home
- How can I appease a Scottish woman
- Which country has the oldest ruins
- What advice would you give to others?
- What is Langkawi famous for?
- Which Muslim country has the strongest military?
- How reliable is the handwriting analysis
- How are Gurkhas trained
- What are amusing scientific facts
- What is the best social science major
- How often do you ask questions
- What are the benefits of biofuels 1
- Cellfood is harmful to the body
- What is sigma algebra on sets
- Which Disney films have racist scenes?