在蜂窝设备上开发应用程序
这就是我的想法。 Android 应用程序需要在计算机上开发,然后才能安装到移动 Android 设备上。这是迄今为止最好的解决方案。大多数支持 Android 的设备都带有手机,而且想要在手机上开发应用程序的人都很小,而且不方便。
但是,自从这些运行 Android 3.x 的 10 英寸平板电脑发布以来,拥有一个可以让您直接在这些设备上开发蜂窝特定应用程序的应用程序不是更容易吗?这是正在开发的东西吗?如果不是,为什么不是吗?我对android相当陌生,所以肯定有一些我忽略的方面使事情变得稍微复杂一些。
So here's what I was thinking. Android apps need to be developed on a computer before being installed to a mobile android device. 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.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
现在有多种解决方案。我已经检查过这个应用程序:
AIDE - 适用于 Android 的 Java IDE
...并且印象相当深刻。我真的认为您需要外部蓝牙键盘和鼠标才能提高工作效率。如果您的设备具有 HDMI 输出或支持 MHL 的 USB 输出,您可以将其连接到显示器并将其更多地变成“桌面”。请参阅此处:
将移动设备用作台式计算机
第 2 部分:使用 Android 设备作为桌面
执行此操作有一些注意事项。例如,我的设备使用内部显示器的分辨率(升级)来镜像显示内容。因此,如果您的设备具有与屏幕相同的分辨率,或者至少具有足够高的分辨率,那么这是有益的。此外,平板电脑可能更适合,因为它以平板电脑布局模式运行应用程序,而不是手机布局,在更大的屏幕上所有内容都太大。另外值得注意的是后退按钮、主页按钮和多任务按钮。 Galaxy Nexus 是目前唯一将这些按钮实现为软键的手机,因此它们出现在屏幕上,您可以使用蓝牙鼠标单击它们。对于平板电脑,我认为这些按钮始终是软键,但其他手机可能需要伸手拿手机并单击这些按钮。其中一些在键盘上分配有按键,也许是全部。例如,Esc 又回来了。
There are multiple solutions now. I have checked out this app:
AIDE - Java IDE for Android
... 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". See here:
Using a Mobile Device as a Desktop Computer
Part 2: Using an Android Device as a Desktop
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. 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.
我怀疑此时您会发现 Eclipse 在当前 ARM CPU 上的体验......不那么有趣。 :)
一般的用户体验现在可能不太合适。例如,想象一下在自托管环境中调试您的应用程序。如果屏幕上没有同时显示多个应用程序,这将是非常痛苦的。
已经有一些东西允许在 Android 上进行简单的开发,使用 Smalltalk 等解释语言、基于 Web 的开发等。我认为我们离完全自托管的传统 Android 开发环境还有点距离,但肯定是相当安全的假设在某个时候它会发生。
I suspect at this point you will find the experience of Eclipse on a current ARM CPU to be... not so fun. :)
And the general UX is probably not so appropriate right now. 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.
据我所知,目前还没有任何可用的东西或正在开发中。
我认为您可以创建一个 Android 应用程序,例如 Google for Honeycomb 的“App Inventor”。借助 App Inventor,您可以使用简单的构建块构建应用程序。
但像带有 Android SDK 的 Eclipse 这样的完整开发环境可能永远无法在 Honeycomb 平板电脑上运行。开发环境在大屏幕上效果最好(平板电脑上没有,因为它是移动设备),并且您需要键入大量代码(这在触摸屏上不太好)。
这个想法是创造出来的,这是一个很好的问题,但我认为它不会很快发生。
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. With the App Inventor you can build a app with simple building blocks.
But a full development environment like Eclipse with the Android SDK will probably never work on a Honeycomb tablet. 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.