移动应用开发代写 | PRACTICE FOR MOBILE APPLICATION DEVELOPMENT

本次新西兰代写是移动应用开发相关的一个限时测试

Question 1

a) What does the following mean in and Android manifest file:
minSdkVersion=16 [2 marks]

b) What is a Hardware Abstraction Library (HAL). [2 marks]

c) What is a Broadcast Receiver? [2 marks]

d) What does the following do? [2 marks]

startActivity(new
Intent(Intent.ACTION_CALL).setData(
Uri.parse(“tel:111”));

e) What does setContentView() do? [2 marks]

f) How does an app load a native library? [2 marks]

Question 2

a) Given the following layout containing a TextView, an ImageView and a Button:

i) Draw a tree to illustrate a possible View Heirarchy for this
layout.

ii) Give the xml for this layout (omit the “android:” part of an
attribute name for brevity).

b) What is the purpose of android:id=”@+id/mybutton” attribute for a ButtonView in an
xml layout file. [2 marks]

c) What is the “gravity” property of a ViewGroup used for. [2 marks]

d) Give a situation where you might use a FrameLayout. [2 marks]

e) What is a Bundle? [1 mark]

Question 3

a) After onPause(), what are the three possible activity lifecycle methods than can be called
for an activity. [3 marks]

b) Which is the only method that that all activities will implement. [1 mark]

c) onCreate() may be passed a Bundle, what does this Bundle contain? [2 marks]

d) When do onSaveInstanceState() and onRestoreInstanceState() get called. [2 marks]

e) What should an app do in onDestroy()? [2 marks]

f) What does the findViewById() method do? [2 marks]


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


blank

本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: itcsdx@outlook.com  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论