Java 安卓框架?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1470438/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-12 12:38:46  来源:igfitidea点击:

Android Framework?

javaandroidsdk

提问by Thizzer

Are there any frameworks out there which make it even more easy than it is to build Android applications and would you be interested in one?

是否有任何框架比构建 Android 应用程序更容易,您对其中一个感兴趣吗?

采纳答案by mrucci

I just found out about App Dev Wiki. As described on its website:

我刚刚发现了App Dev Wiki。如其网站所述:

This wiki is meant to collect links, tools, libraries, and anything that is useful for mobile development.

这个 wiki 旨在收集链接、工具、库和任何对移动开发有用的东西。

Currently listed android frameworks are:

目前列出的android框架有:

回答by Matthias

Soon there will be!

很快就会有!

I am working on DroidFu, an Android shared library which will give you:

我正在研究 DroidFu,这是一个 Android 共享库,它将为您提供:

  • tons of utility functions available directly in Activities (and Services), such as spawning list and error dialogs, checking for Intent availability, and other workarounds/replacements for cases where Android lacks desired functionality
  • easy handling of asynchronous tasks (takes care of resurrecting dialogs after orientation changes)
  • Easy XML parsing using a convention over configuration based XML pull parser
  • new adapters and widgets, such as as ListAdapterWithProgress (rendering a loading spinner as the last element when loading something) or a GalleryItem widget which will lazy load an image via a URL while rendering a spinner
  • an ImageLoader which can load images from the web asynchonously, backed by a FIFO cache, great for rendering avatars in lists and stuff
  • 大量可直接在活动(和服务)中使用的实用功能,例如生成列表和错误对话框、检查 Intent 可用性以及针对 Android 缺乏所需功能的情况的其他变通方法/替换
  • 轻松处理异步任务(负责在方向更改后恢复对话)
  • 使用约定优于基于配置的 XML 拉式解析器的简单 XML 解析
  • 新的适配器和小部件,例如 ListAdapterWithProgress(在加载某些内容时将加载微调器渲染为最后一个元素)或 GalleryItem 小部件,它将在渲染微调器时通过 URL 延迟加载图像
  • 一个 ImageLoader,它可以从网络异步加载图像,由 FIFO 缓存支持,非常适合在列表和其他内容中渲染头像

I plan to make this available on GitHub.

我计划在 GitHub 上提供它。

stay tuned.

敬请关注。

update (Feb 2013)Sorry to say that no one is working on this anymore. All people involved in the project have moved on, and since the lib was mostly used in the Qype app, no one feels like maintaining it anymore (Qype got acquired by Yelp btw, so I'm not even sure if we would be allowed to, since most of it was developed during my working hours at Qype.)

更新(2013 年 2 月)很抱歉,没有人再从事此工作。所有参与该项目的人都继续前进,并且由于该库主要用于 Qype 应用程序,因此没有人愿意再维护它了(顺便说一句,Qype 被 Yelp 收购了,所以我什至不确定我们是否会被允许,因为其中大部分是在我在 Qype 工作期间开发的。)

For anyone who feels like salvaging it, sources are here.

对于任何想要挽救它的人,来源在这里

回答by Mathias Conradt

Not really a 'software framework', but a tool to create simple apps easily (that's what Google says):

不是真正的“软件框架”,而是轻松创建简单应用程序的工具(这就是 Google 所说的):

http://appinventor.googlelabs.com/about/

http://appinventor.googlelabs.com/about/

I don't use this tool since I'm not a big fan of this approach, but you could give it a try.

我不使用此工具,因为我不是这种方法的忠实粉丝,但您可以尝试一下。

You can build many different types of apps with App Inventor. Often people begin by building games like MoleMash or games that let you draw funny pictures on your friend's faces. You can even make use of the phone's sensors to move a ball through a maze based on tilting the phone.

But app building is not limited to simple games. You can also build apps that inform and educate. You can create a quiz app to help you and your classmates study for a test. With Android's text-to-speech capabilities, you can even have the phone ask the questions aloud.

To use App Inventor, you do not need to be a developer. This is because instead of writing code, you visually design the way the app looks and use blocks to specify the app's behavior.

您可以使用 App Inventor 构建许多不同类型的应用程序。人们通常会从构建 MoleMash 之类的游戏或让您在朋友的脸上画有趣的图片的游戏开始。您甚至可以利用手机的传感器在倾斜手机的基础上将球移动到迷宫中。

但是应用程序构建不仅限于简单的游戏。您还可以构建提供信息和教育的应用程序。您可以创建一个测验应用程序来帮助您和您的同学学习考试。借助 Android 的文字转语音功能,您甚至可以让手机大声提问。

要使用 App Inventor,您无需成为开发人员。这是因为您不是编写代码,而是直观地设计应用程序的外观并使用块来指定应用程序的行为。

回答by aprock

There's also phonegap, which you can use to write android apps using html+javascript.

还有phonegap,您可以使用它来使用 html+javascript 编写 android 应用程序。

回答by Lior Iluz

One of the best right now IMHO is Appcelerator

恕我直言,目前最好的之一是Appcelerator

Free and open-sourced, develop one app for all major platforms (cross-platform), compiles the app to native code, has a rich API...

免费且开源,为所有主要平台(跨平台)开发一款应用程序,将应用程序编译为原生代码,拥有丰富的 API...

I enjoyed playing with it.. very easy to learn :)

我喜欢玩它..很容易学习:)

Hope this help!

希望这有帮助!

P.S.: even though it sounds like I work there, I don't... unfortunately for me :(

PS:尽管听起来我在那里工作,但我不......对我来说不幸的是:(

回答by Habbie

http://www.motherapp.com/apparently converts 'HTML' to 'applications'.

http://www.motherapp.com/显然将“HTML”转换为“应用程序”。

回答by codelark

There are several frameworks of different scope and purpose to make mobile application development faster, or cross-platform, or code-free.

有几种不同范围和目的的框架可以使移动应用程序开发更快、跨平台或无代码。

Technology thrives on competition and new ideas, so please don't take the presence of several other solutions as a deterrent from making your own if you think you can build a rounder wheel.

技术在竞争和新想法中蓬勃发展,因此,如果您认为自己可以构建一个更圆的轮子,请不要将其他几种解决方案的存在视为阻碍您制作自己的解决方案。

回答by ng.

The Simpleframework is fully compatible with Android. Its an annotated approach for XML serialization and data binding, and is fully bi-directional. So you can read or write XML on the Android platform. Whats more is its really lightweight and has no external dependencies. In essence its like a JAXB substitute for the Android platform. For more information check out the Tutorial.

简单的框架与Android完全兼容。它是一种用于 XML 序列化和数据绑定的带注释的方法,并且是完全双向的。因此您可以在 Android 平台上读取或写入 XML。更重要的是它真的很轻量级,没有外部依赖。从本质上讲,它就像是 Android 平台的 JAXB 替代品。有关更多信息,请查看教程

回答by gorefest

To continue the list :

继续列表:

I am working on the BARACUS framework, which focus is to ease the pain of Android component development.

我正在研究BARACUS 框架,其重点是减轻 Android 组件开发的痛苦。

Current features:

目前的特点:

  • Bean Container with Dependency Injection (type based on Interfaces or Implementations)
  • pure Java Configuration
  • Bean lifecycle management
  • Tiny OR-Mapper solution to have basic ORM w. lazy loading and automatic Row Mapping
  • Declarative form validation
  • Database hot backup and recovery
  • Automated database version management + automated migration
  • 具有依赖注入的 Bean 容器(基于接口或实现的类型)
  • 纯Java配置
  • Bean 生命周期管理
  • 具有基本 ORM w 的微型 OR-Mapper 解决方案。延迟加载和自动行映射
  • 声明式表单验证
  • 数据库热备份和恢复
  • 自动化数据库版本管理+自动化迁移

The library is available through maven central repository(including a maven archetype).

该库可通过maven 中央存储库(包括 maven 原型)获得。

Also, a set of tutorials is available on blogstpot

此外,blogstpot 上提供了一组教程

The library is Apache2 licensed, open source (on github) and free usable in any projects (commercial+non-commercial).

该库是 Apache2 许可的,开源(在 github 上)并且可以在任何项目(商业+非商业)中免费使用。

回答by Sad?k Alt?ntoprak

I have completed developing an Android Framework for everyone to be able to use easily and quickly. I already developed several applications with that and it is called appFrameworkand as you can see, you will be using almost every feature and latest libraries in seconds with just extending or implementing the classes i have already created in the library. Setup process is already included, rest of using roadmap is up to you!

我已经完成了一个 Android 框架的开发,供大家轻松快速地使用。我已经用它开发了几个应用程序,它被称为appFramework,正如您所看到的,您将在几秒钟内使用几乎所有功能和最新库,只需扩展或实现我已经在库中创建的类。设置过程已经包括在内,其余的使用路线图由您决定!

Already Created Classes of Features:

已经创建的功能类:

  • Google Map
  • Recycler View
  • Retrofit
  • Firebase Auth
  • RunTime Permission
  • CircleImageView
  • BottomBar
  • Tag Styled Picker
  • Right or Left Swipe Actioned Layout (FlingCard)
  • Material SearchView
  • AppCompatActivity
  • Drawer
  • Tag Activites of Fragments
  • ConfirmationDialog
  • 谷歌地图
  • 回收者视图
  • 改造
  • Firebase 身份验证
  • 运行时权限
  • 圆形图像视图
  • 底部栏
  • 标签样式选择器
  • 向右或向左滑动操作布局 (FlingCard)
  • 材料搜索视图
  • 应用兼容活动
  • 抽屉
  • 标记片段的活动
  • 确认对话框

Have a nice coding!

有一个很好的编码!