android - Why does one app launch faster than the other? -


i'm curious this. have app called gosms pro , app called contacts+ installed in phone. both popup alert notification when text message received. however, gosms pro beats contacts+'s popup. wondering how happening in programming perspective? there way give app more preference other.

from security , permission side every app google play has similar privilege, if not signed certificate of device manufacturer. means none of app preference.

some time app many type of checking/initialization/loading before showing ui , when type of things happens apps take longer period load or display ui.

most common things people do

  • creating , initializing database
  • reading database.
  • user validation (reading file)
  • device state scanning(network)

most common case database access. wonder if app reading content provider before showing ui might take long time depending on device hardware , number of contacts.

key strategy showing ui right way , load data in background. android has lots of asynchronous api, avoid type of scenario.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -