Tips for Android app development: the result of my experiences

Today, Android is available not only on mobile phones, but also on the wrist, bedroom, car and almost anywhere in the world. Due to the increasing progress in the field of Android, developers should always keep themselves up to date. 

Here are some tips to help you program and create a successful Android app.

Lesson 1: Learning from failure

Remember that success does not come overnight. You may make plans, but you will not succeed in attracting the audience, do not despair and learn from your failure. Try to consider human needs in your ideas for planning. Be creative and create attractive, challenging and fun programs.

Lesson 2: Knowing the Android Market

Android has a bigger market than iOS, but iOS audiences spend more. Messenger apps are very popular, but at the top of the list of downloaded apps are free games. China, India, Brazil and Russia are the top customers of Android apps. However, we want to talk about a background image app (app) that has sold very well and outline the points needed to create it. The first point is that live wallpapers are very popular. The second point is that your app has low Android (like 2.1) so you can expand your target community.

You should note that most of the live wallpapers offered are weather-related. That’s why you have to look for something different, something that makes the audience laugh. Creating customization can increase the popularity of your background. What we built was very successful,

It has the following features:

  • 12 different osh to choose from
  • Free and purchasable content
  • Update weather conditions
  • Data synchronization
  • Seasonal characteristics
  • Lots of surprises
  • Ninja Cat

What programming language should we use to create and develop Android applications?

Lesson 3: Practice

Oshi is an interesting idea for Android. Draw a background, draw some clouds and stars and a bear inside the balloon at the top. Although this seems easy, it is very difficult to run on Android. Here are some problems you may encounter:

  1. Hardware Acceleration: Using a GPU for better design is better than using a CPU, but this reduces hardware acceleration.
  2. OpenGL: If you are looking for hardware acceleration, you should use OpenGL ES.
  3. Loading bitmap: This is a matter of memory space. You must allocate 1 byte of memory for each #ARGB channel to display one pixel.
  4. Battery charge: If you are not doing well, live widgets and wallpapers will drain the battery quickly. To have an animated background image, you must use a tool called parallax effect.

See how a frame of the program is drawn:

canvas.drawBitmap (background, 0 – offsetX / 4, 0, null);

canvas.drawBitmap (weatherOverlay, 0 – offsetX / 2, 0, null);

if (! validDoubleTap) {

canvas.drawBitmap (ooshieNormal, positionX – offsetX, positionY, null);


else {

canvas.drawBitmap (ooshieTapped, positionX – offsetX, positionY, null);


Here offset is the percentage of distance that the user scrolls, and is actually a callback generated by the wallpaper engine:


public void onOffsetsChanged (float xOffset, float yOffset, float xOffsetStep, float yOffsetStep,

int xPixelOffset, int yPixelOffset) {

super.onOffsetsChanged (xOffset, yOffset, xOffsetStep, yOffsetStep, xPixelOffset, yPixelOffset);

// athe current offset should be a fraction of the screen offset to achieve parallax

if (! isPreview ()) {

float newXOffset = xOffset * 0.15f;

wallpaperDrawHelper.setOffsetX (newXOffset);

if (isVisible () && hasActiveSurface) {

wallpaperDrawHelper.drawFrame (false);




Lesson 4: Work with what you have

Controlling the bits will have a huge impact on our end result. Instead of designing three bits, parallax effect can be achieved by designing two bits:

  • Oshi Cover: Accurate correction and scaling of Oshi bitumen
  • Combined Coverage: A combination of background and weather bitumps that travel at a fraction of the Oshi speed.
  • This saves memory space and speeds up your design.
  • Note the following points for bitcoin pumping and memory optimization:
  • Combine the bitcoins once
  • Design fewer bits
  • Redesign only if necessary
  • Provide the consumer with several control options

Tips for improving the coding of Android applications

Lesson 5: Trying, trying

It is very, very important that you do not publish your application before testing your application. You are the author of the code and by examining it you can understand how to improve it. It is best to do an alpha and beta test before releasing your app.

Alpha Test: Give your program to some teammates or knowledgeable people and ask them to check for weaknesses and bugs.

Beta test: At this stage, make your program available to a wider range and examine the feedback of these people.

Lesson 6: Let the data speak

Building a good app is great because you need to be able to get positive feedback from your audience. The program may be ideal for one person but another person may have a different opinion. That’s why you need to upgrade your program regularly. For this purpose, you can use the following options:

  • voices
  • Seasonal backgrounds
  • Privatization (background color, weather packages, Oshi shell)
  • Regional special items
  • Lots of objects and specify how to open them

At this stage, you should put your program in beta and check the feedback of your users. You can also use some Google features like Mixpanel, Acra, Flurry and more.

Leave a Reply

Your email address will not be published. Required fields are marked *