Android application control flow?

2019-03-13 16:31发布

I am very new to Android application development. Just started Hello world android application yesterday.

I was wondering whether there will be any control flow in the android application, like the Struts MVC, Spring MVC etc. has in them.

I am working on enhancing the android application, so I thought that knowing the flow of control would be a good start.

2条回答
看我几分像从前
2楼-- · 2019-03-13 17:05

The below flow explain about android application execution flow.

  1. All resource files are combined together by AAP[Android Asset Packing Tool]. Resource files are like audio video images other asset related files. 2.Java files converted into .class files by JVM.So, the out of the jvm will be .class files, that are heavy weight to put into android. So, that one more level of process will be taken place.
  2. So, the .Class files are entered as input to DX tool. Basically, this is a tool which will convert .class files to .dex files. That mean Dalvik executable file. Those files are eligible to execute on DVM (Dalvik Virtual Machine)

  3. After getting .dex files, packed them APK builder. Which is basically, Application Packaging. So, this packed files kept into devices and that will be executed by DVM.

Android Application Workflow

查看更多
男人必须洒脱
3楼-- · 2019-03-13 17:18

The following three materials will be very good for you if you'd like to know the control flow of an Android application:

Application Fundamentals

http://developer.android.com/guide/topics/fundamentals.html

Activity

http://developer.android.com/guide/topics/fundamentals/activities.html

Task and Back Stack

http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html

查看更多
登录 后发表回答