Things to know before admitting your kids to school

Here are few things that you must know or take care of before admitting your kids to school. If you are not taking care of these things, you might be putting you children to wrong school, risking life. Only irresponsible parents do this mistake who all do not love their children or one who are not serious about their children or one who are uneducated. So, let me guide you to few thins that you need to take care of before admitting your children to school. 1. See if school is registered to local registerer (respective government). 2. Check the classroom, bathroom, playground, kitchen, it needs to be clean. 3. Sit in the classroom for 5 to 10 min., see how they lecture children. 4. Check the school fee, other fee, transportation fee, see if you can afford. 5. Check the food they fed to children, how many times, they give food to children. 6. Check the school duration, start and end time, usually for children 4 to 8 hours, see for how long your student can sit in class. 7. Ask for holida...

how to fix java.lang.OutOfMemoryError at android.graphics.Bitmap.createBitmap

how to fix java.lang.OutOfMemoryError at android.graphics.Bitmap.createBitmap

java.lang.OutOfMemoryError:
  at dalvik.system.VMRuntime.newNonMovableArray (Native Method)
  at android.graphics.Bitmap.nativeCreate (Native Method)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:975)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:946)
  at android.graphics.Bitmap.createBitmap (Bitmap.java:877)
  at android.graphics.Bitmap.createScaledBitmap (Bitmap.java:753)
  at com.google.appinventor.components.runtime.util.MediaUtil$2.run (MediaUtil.java:501)
  at java.lang.Thread.run (Thread.java:818)

This is very common error that you will be getting in your android application, and because of these error application might not work on some devices.

Application gives error message like unfortunately application has stopped. when you try to run application it crashes time to time.

Note: There are several reason behind error; there are different types of solution for it; below some of the solution you can go with; i hop it fix your issue.

1. image(pixel)

you know the size of android device; there are different types of android smartphone and tablets; they have different screen sizes.

You might be having lots of images in your app; do not use image if it is not that necessary; when you use the image decrease the image pixel; as you upload it should not exceed the size of screen, as far as possible decrease the image size to fit smallest screen size or use even smaller if you can.


2. image(dpi)

when you put the image in your android devices; try to decrease the dpi of the image.
currently you might be using certain dpi; and you are getting error crashes for some of the devices; now you can decrease the dpi of your image; re-upload to your android app and test it; these above two guide should fix your issue;  java.lang.OutOfMemoryError at android.graphics.Bitmap.createBitmap

Popular posts from this blog

Top international payment gateway transaction fee comparison (2024)

How to Manage Boot Configuration of Windows using CMD

What is Python Syntax and how to use?