简体   繁体   English

在蜂窝设备上开发Apps

[英]Developing Apps ON honeycomb devices

So here's what I was thinking. 所以这就是我的想法。 Android apps need to be developed on a computer before being installed to a mobile android device. 必须先在计算机上开发Android应用,然后才能将其安装到移动android设备上。 Which was the best solution up until now. 到目前为止,这是最好的解决方案。 Most android enabled devices where phones, and who would want to develop an application on their phone, to small, and wouldn't be convenient. 大多数启用了android的设备,这些设备中的电话以及想要在其电话上开发应用程序的设备都很小,而且不方便。

But since the release of these 10" tablets running android 3.x, wouldn't it be easier to have an app that lets you develop honeycomb specific applications directly on these device ? Is this something that is in development, and if not, why not ? I am fairly new to android, so there are surely some aspect that I am overlooking that make the matter slightly more complicated. 但是,既然这些运行Android 3.x的10英寸平板电脑发布了,那么拥有一个可以直接在这些设备上开发蜂窝特定应用程序的应用程序难道不是一件容易的事吗?这是否正在开发中?不是吗?我不是android的新手,所以肯定有某些方面我会忽略,这会使事情变得更加复杂。

There are multiple solutions now. 现在有多种解决方案。 I have checked out this app: 我已签出此应用程序:

AIDE - Java IDE for Android AIDE-适用于Android的Java IDE

... and was fairly impressed. ...并给人留下了深刻的印象。 I really think you need an external bluetooth keyboard and mouse to be more productive. 我真的认为您需要外接蓝牙键盘和鼠标才能提高工作效率。 If your device has HDMI out or an MHL capable USB output, you can hook it up to a monitor and turn it more into a "Desktop". 如果您的设备具有HDMI输出或支持MHL的USB输出,则可以将其连接到监视器,并将其更多地变成“台式机”。 See here: 看这里:

Using a Mobile Device as a Desktop Computer 将移动设备用作台式计算机

Part 2: Using an Android Device as a Desktop 第2部分:将Android设备用作桌面

There are some caveats to doing that. 有一些注意事项。 For example, my device mirrors the display contents with the internal display's resolution (upscaled). 例如,我的设备使用内部显示器的分辨率(放大)来镜像显示内容。 So it is beneficial if your device has the same resolution as your screen, or at least a high enough resolution. 因此,如果您的设备具有与屏幕相同的分辨率,或者至少具有足够高的分辨率,则将非常有益。 Also, a tablet might be more suited, since it runs apps in tablet layout mode, versus a phone layout with everything being too large on a bigger screen. 此外,平板电脑可能更适合,因为它以平板电脑布局模式运行应用程序,而不是手机布局,而在更大的屏幕上一切都太大了。 Also noteworthy are the back, home and multitasking buttons. 还值得注意的是后退,主页和多任务按钮。 The Galaxy Nexus is currently the only phone implementing these buttons as soft-keys, so they appear on the screen and you can click them with your bluetooth mouse. 目前,Galaxy Nexus是唯一将这些按钮用作软键的手机,因此它们会出现在屏幕上,您可以使用蓝牙鼠标单击它们。 With a tablet, I think those buttons are always soft-keys, but other phones probably require to reach for the phone and click those buttons. 对于平板电脑,我认为这些按钮始终是软键,但是其他电话可能需要伸手才能拿到电话并单击这些按钮。 Some of them have keys assigned to them on the keyboard, maybe all of them. 其中一些键盘上已分配有按键,也许所有按键都已分配。 Esc is back for example. 例如,Esc又回来了。

  1. Build compiler, aapt, aidl, and other dev tools for Android. 为Android构建编译器,aapt,aidl和其他开发工具。
  2. Get a standard Java VM running on Android. 获取在Android上运行的标准Java VM。
  3. Get Eclipse running on Android. 使Eclipse在Android上运行。

I suspect at this point you will find the experience of Eclipse on a current ARM CPU to be... not so fun. 我怀疑在这一点上,您会发现在当前ARM CPU上的Eclipse体验...还不那么有趣。 :) :)

And the general UX is probably not so appropriate right now. 而且一般的UX现在可能不太合适。 For example, imagine debugging your app in a self-hosted environment. 例如,想象一下在自托管环境中调试应用程序。 Without having multiple applications shown on the screen at the same time, this would be pretty painful. 如果没有同时在屏幕上显示多个应用程序,这将非常痛苦。

There are already some things allowing simple development on Android, using interpreted languages like Smalltalk, web-based development, etc. I think we are a bit off from a full traditional Android development environment being self-hosted, but certainly it is fairly safe to assume that at some point it will happen. 已经有一些事情允许使用诸如Smalltalk,基于Web的开发之类的解释语言在Android上进行简单开发。我认为我们与完全托管的完整传统Android开发环境有些脱节,但是对于假设它会在某个时候发生。

As far as I know there is nothing available for this or in development at this moment. 据我所知,目前尚无此功能或尚在开发中。

I could think that you can create a Android app like the 'App Inventor' from Google for Honeycomb. 我认为您可以从Google for Honeycomb创建像“ App Inventor”这样的Android应用。 With the App Inventor you can build a app with simple building blocks. 使用App Inventor,您可以使用简单的构建块构建应用程序。

But a full development environment like Eclipse with the Android SDK will probably never work on a Honeycomb tablet. 但是像Eclipse和Android SDK这样的完整开发环境可能永远无法在Honeycomb平板电脑上运行。 Development environment work best on large screens (something that you don't have on a tablet, because it's a mobile device) and you need to type a lot of code (something that is not really nice on a touchscreen). 开发环境在大屏幕(平板电脑上没有的东西,因为它是移动设备)上最好地工作,并且您需要键入很多代码(在触摸屏上不太好用)。

The idea is create and it's a good question, but I don't see it happening anytime soon. 这个想法是创造,这是一个很好的问题,但是我认为它不会很快发生。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM