Android的 - 如何开始创建一个启动的应用程序? [英] Android - How to start creating a launcher app?

查看:138
本文介绍了Android的 - 如何开始创建一个启动的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要开始我的新的应用程序,这将是一个家庭更换。 我已经通过谷歌提供的例子。但我还是有点困惑。

I am going to start my new app which is going to be a Home Replacement. I have been through the example provided by google. but i am still little bit confused.

像 我应该从哪里开始? 我应该通过扩展那么就设置背景图片(墙纸)的活动类创建一个普通的活动,并使用网格视图来显示所有的应用程序?

like Where should i start? Should i create a normal activity by extending an Activity class then just set the background image(wallpaper) and use a grid view to show all applications?

如何让Android对待我的应用程序作为一个启动的过程?

How to make Android to treat my app as a launcher process?

这么多在我的脑海里运行,请不要劝我去通过Android的启动,因为它几乎超过100类和我需要的只是一个简单的开始之后,我知道我从我的应用程序需要的问题。

so many question running in my mind and please don't advise me to go through Android Launcher because it has almost more than 100 classes and what i need is just a simple start after that i know what i want from my app.

推荐答案

我将开始通过查看源发射器附带的Andr​​oid得到了它是如何工作以及如何code是结构化的想法:

I would start by looking at the source for the launcher that ships with Android to get an idea of how it works and how the code is structured:

https://android.googlesource.com/platform/packages/apps/Launcher2

这篇关于Android的 - 如何开始创建一个启动的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆