J2ME和Android中哪一种作为移动编程语言或框架更有用、可用和流行?

发布于 2024-08-04 07:06:39 字数 86 浏览 6 评论 0 原文

我对移动应用程序开发非常感兴趣。但哪种语言或框架更流行、更有用、更可用呢?

我很了解 Java。如果您有任何想法和/或经验,请帮助我做出决定。

I am very interested in mobile application development. But which language or framework is more popular, useful and usable?

I know Java well. If you have any idea and/or experience, please help me to take my decision.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(12

夢归不見 2024-08-11 07:06:39

J2ME 比 Android 更受欢迎 - 许多供应商(诺基亚、索尼爱立信、摩托罗拉、LG、三星等)的许多手机都有它,您可以向它们部署应用程序。代价是功能有限且没有统一的分销渠道(目前,Sun 正在谈论 Java 商店)。

另一方面,Andriod的功能要多得多,它的API更接近Java API,而且功能也更多,但手机数量有限。此外,您还有 Android 市场 作为分发渠道。

如果您能描述您的想法,我可以详细说明。

补充信息

J2ME 市场相当大,但 Android 正在快速崛起 - 它是真正的智能手机,近年来越来越受欢迎。根据就业趋势,两者现在的需求大致相同:

J2ME is much more popular than Android - many phones of many vendors (Nokia, Sony Ericson, Motorola, LG, Samsung and more) have it, and you can deploy application to them. The price is limited capabilities and no consolidated distribution channel (for the moment, Sun is talking about the Java Store).

On the other hand, Andriod has much more capabilities, its API is closer to the Java API, and it has more capabilities, but there is a limited number of phones. Also, you have the Android market as a distribution channel.

If you can describe what you have in mind, I can elaborate more.

Added Information

The J2ME market is quite large, but Android is rising fast - it is a true smartphone, a segment which has become more and more popular in the recent years. According to job trends, both are have roughly the same demand now: "java me" or javame or j2me, Android Job Trends graph

晌融 2024-08-11 07:06:39

我已经涉足过一些 J2ME 编程,但现在我已经编写了大约 4 个 Android 应用程序。

我的观察:

  1. Android API 用起来很有趣。 J2ME 已显老态龙钟。例如,内置了 JSON 解析器。并且您可以访问 SQLite。 Android 的 SQLite 访问代码就像从 Ruby on Rails、REST 和普通 SQL 汲取的经验教训的混合体。
  2. 从部署数量来看,J2ME 应用程序多于 Android 应用程序。然而,如果你想进入智能手机市场,Android 的市场份额仅次于 iPhone(黑莓正在重塑自己,但它的 API 看起来仍然像 J2ME++)。阅读此文章
  3. 整个平台是开源的。所以学习它并掌握它很容易。

I've dabbled in some J2ME programming, but right now I've written about 4 Android apps.

My observations:

  1. The Android API is a lot of fun to use. J2ME is showing its age. For example, a JSON parser is built in. And you have access to SQLite. Android's SQLite access code is like an amalgam of lessons learnt from Ruby on Rails, REST and plain-old SQL.
  2. In terms of deployment numbers, there are more J2ME apps than Android apps. However if you want to enter the smartphone market, Android is second in mindshare to iPhone (BlackBerry is reinventing itself, but its API is still looking like a J2ME++). Read this article.
  3. The whole platform is open source. So learning it and mastering it is easy.
我的黑色迷你裙 2024-08-11 07:06:39

我认为您忽略了一个重要的事实:Android 不仅是一个平台,而且还带来了一个成熟的应用程序框架,该框架不断发展并得到一些非常大的参与者(开放手机联盟)的支持。 J2ME 只是 Java 平台的精简版本。这是一个很大的区别。

使用 Android 已有一年多了,我可以肯定地说它已经发展成为一个非常强大的系统和良好的工具支持。

I think you're missing an important fact: Android is not only a platform, but also brings with it a fully fledged application framework which continues to grow and gets backing from some very big players (Open Handset Alliance). J2ME is just a stripped down version of the Java platform. That's a major difference.

Having worked with Android since over a year now, I can definitely say that is has grown into a very powerful system and decent tool support.

许一世地老天荒 2024-08-11 07:06:39

只有 Android 能赶上 iPhone

年底前将有大约 20 款 Android 手机问世。(*)

像 Verizon 这样只销售故意损坏手机的网络公司将很难赢得成熟的消费者。他们的客户大多会拨打语音电话并互相发短信,他们可能会运行 Song ID 或 VZ Navigator。

我认为问题是:哪些手机用户实际上使用了这些应用程序?与世隔绝的 Verizon 客户则不然。目前,这一行动主要发生在 iPhone 上,但我认为 Android 可能会迎头赶上。

(*) 这只是一个

Only Android Can Catch the iPhone

There are something like 20 Android phones coming out before the end of the year.(*)

Networks like Verizon that ship only deliberately-crippled handsets will be hard-pressed to win sophisticated consumers. Their customers mostly make voice calls and text each other, to get fancy they might run Song ID or VZ Navigator.

I think the issue is: which phone owners actually d/l and use the apps? The walled-off Verizon customers, not so much. Right now, the action is in the iPhone, but I think Android might catch up.

(*) Here is just one.

停滞 2024-08-11 07:06:39

我必须同意其他人关于回避 J2ME 开发的观点。我有一台摩托罗拉 RAZR V3xx,已经使用了几年了。它是您可能从大多数运营商处获得的支持 J2ME 的标准手机。我决定考虑为手机进行一些 J2ME 开发,以便为自己提供一些有用的实用程序。

长话短说,您几乎只在 J2ME 手机上看到游戏,这是有原因的。除非您愿意/能够花大钱来签署证书,否则您甚至无法访问手机上最有用的 API。文件 IO、PIM(联系人、日历)、蓝牙等内容都会被简单地阻止,除非您使用运营商(AT&T、T-Mobile、Sprint、Verizon 等)的特殊证书对您的应用程序进行签名。而这些证书的成本很容易超过数百或数千美元。这超出了普通爱好者的范围。

我可以继续说下去,但是有几个网站更详细地介绍了这个主题 此处这里

对我来说,这几乎意味着我将来的目标将是 Android。 iPhone 也是一个不错的目标市场。美国手机上 J2ME 的现状根本不值得我花时间去做自己喜欢的项目。这是令人失望的,因为大多数这些手机都能够做许多有用的事情。

I have to agree with others on shying away from J2ME development. I have a Motorola RAZR V3xx that I've used for a few years. It is as standard a J2ME-supporting phone as you're likely to get from most carriers. I decided to look into doing some J2ME development for the phone to give myself some helpful utilities.

Long story short, there is a reason you pretty much only see games on J2ME phones. Unless you are willing/able to shell out big bucks for signing certificates, you cannot even access the most useful APIs available on the phone. Things like File IO, PIM (contacts, calendar), Bluetooth, etc. are simply blocked unless you get your application signed using a carrier's (AT&T, T-Mobile, Sprint, Verizon, etc.) special certificate. And the cost of these certificates can easily exceed hundreds or thousands of dollars. Putting this simply out of the range of your average hobbyist.

I could go on, but a couple of sites have covered this topic in much greater detail Here and Here.

For me, this pretty much means I will be targeting the Android in the future. The iPhone is also a good place to be targeting. The current state of J2ME on handsets here in the U.S. is just not worth my time for pet projects. Which is disappointing, as most of these phones are capable of doing many useful things otherwise.

亽野灬性zι浪 2024-08-11 07:06:39

这取决于你所说的“流行”是什么意思。如果您以安装的手机数量来计算,那么 J2ME 毫无疑问会获胜。就目前安装的手机而言,Android 几乎没有手机公司,而且只有最新的手机(而 J2ME 已经存在了六年多了)。

然而,这并不意味着使用 J2ME 是一件好事。遗憾的是,每个制造商都以某种方式削弱了它,而且并非所有带有 J2ME 徽章的手机都是平等的;有些人比其他人更平等。 MIDP、MIDP2.0、CLDC、CDC……缩写词的列表不胜枚举。当你购买一部手机时,它会“启用 Java”,但实际上并没有说明它支持什么,所以即使是客户也不知道。

尽管 J2ME 拥有庞大的安装基础,但对于世界上当前一代的移动电话来说,J2ME 仍然基本上没有动力。升级路径通常不存在(不幸的是,这要归咎于制造商),您甚至无法以任何有用的方式执行诸如访问蓝牙或联系人之类的操作;尽管已经为 J2ME 提出了扩展,但它们从未真正达到一次写入、随处运行的期望。

Android 是否也会走这条路还有待观察——最大的担忧是制造商试图“做自己的事情”(例如摩托罗拉的 BLUR UI),这将进一步分割市场。

最后,不要忘记,每年(或两年)扔掉旧手机并购买新手机符合手机制造商的利益。支持、错误修复以及一般升级旧手机的软件虽然在技术上是可行的,但永远不会发生。我有一台 P990,尽管进行了几轮更新,但它仍然漏洞百出(这就是为什么当 iPhone 推出时我就把它抛弃了)。

所以,从编程的角度来看,Android比J2ME更好。对于覆盖许多手机而言,J2ME 比 Android 更好。对于一般用户界面和电源,请选择 iPhone。

It depends on what you mean by 'popular'. If you are counting in terms of installed handsets, then J2ME wins hands down. As far as current installed handsets, Android has few mobile phone companies and only recent mobile phones (whereas J2ME has been around for the last six odd years).

However, that doesn't make working with J2ME a nice-to-have. Sadly, each manufacturer cripples it in some way, and not all phones with the J2ME badge are equal; some are more equal than others. MIDP, MIDP2.0, CLDC, CDC ... the list of acronyms goes on. And when you buy a phone, it has 'Java enabled' without actually saying what it is that it supports, so even the customer doesn't have a clue.

Despite its large installed base, J2ME remains fundamentally unpowered for the world's current generation of mobile phones; the upgrade path is usually non-existent (though it's the manufacturers to blame for that, unfortunately) and you can't even do things like access Bluetooth or contacts in any useful way; though extensions have been proposed for J2ME, they've never really lived up to the expectation of write-once-run-anywhere.

Whether Android goes down this route as well remains to be seen - the biggest concern is manufacturers are trying to 'do their own thing' (e.g. Motorolla's BLUR UI) which will further fragment the market.

Lastly, don't forget that it's in the handset manufacturer's interests for you to throw away your old phone and buy a new one every year (or two). Support, bug-fixes, and generally upgrading your old phone's software, though technically feasible, never happens. I had a P990, and despite a few rounds of updates, it remained as buggy as hell (which is why I ditched it for the iPhone when it came out).

So, from a programming perspective, Android is better than J2ME. For reaching many handsets, J2ME is better than Android. For general user interface and power, choose an iPhone.

暖阳 2024-08-11 07:06:39

Android 和 J2ME 作为平台的范围并不完全相同,在某种程度上,这就像比较苹果和橘子。

当我们谈论 Android 时,我们谈论的是成熟的移动操作系统,具有比 J2ME 更多的扩展功能。它几乎可以用于您能想到的所有内容 - 系统实用程序、社交网络服务、基于位置的应用程序、游戏等。Android 还拥有更丰富的 UI 工具包和大量可供学习的源代码。

在 Android 中,您可以访问许多专为现代智能手机而设计的 API,并且这些 API 正在不断完善,而 J2ME 已经开始让人感觉过时了,并且主要集中在图形方面。

目前,J2ME 的渗透率比 Android 的渗透率要高,我所说的“更大”是指要大得多,但业务分析并不仅仅限于给定平台的手机数量。

如果您有一个很棒的应用程序的想法,您最好在 Android 和/或 iPhone 操作系统上实现它 - 这对您来说会更容易,并且您将接触到更有可能需要此类应用程序的用户,并且更多可能会为此支付合理的价格。

总的来说,我建议从较新的平台开始,即使只是因为它对您来说会更有趣并且有更好的学习体验。

Android and J2ME aren't exactly similar in their scope as platforms, in a way, it's like comparing apples and oranges.

When we talk about Android, we are talking about full-blown mobile OS, with much more extended capabilities than J2ME. It could be used for pretty much everything you can think about - system utilities, social network services, location-based apps, games, etc. Android has also richer UI kit and lots of available source code to learn from.

In Android you have access to many APIs, designed to be used in modern smartphones, and these APIs are being refined constantly, while J2ME has started to feel aged, and is concentrated mostly on graphics.

The penetration rate of J2ME is currently bigger than Android's, and by bigger I mean much, much bigger, but business analysis doesn't end just with number of handsets of the given platform.

If you have idea for a great app, you'd better do it for Android and/or iPhone OS - it will be easier for you and you'll be reaching to users that are more likely to need such app, and that are more likely to pay reasonable price for it.

Overall, I would recommend to start with the newer platform, even if only because it would be more interesting and a better learning experience for you.

日裸衫吸 2024-08-11 07:06:39

虽然不乏支持 j2me 的“功能手机”,但我怀疑第三方应用程序几乎没有市场“吸引力”,因为用户不希望在手机上安装新软件。

Android 的开发轻而易举。我想你应该尝试一下。
获取 SDK 并试验几个小时并没有什么坏处。

While there is no shortage of 'feature-phones' supporting j2me in the wild, I suspect third party applications get very little market 'traction' because the users aren't looking to install new software on the phone.

Android is a breeze to develop for. I think you should try it.
There is no harm in getting the SDK and experimenting for a few hours..

∞觅青森が 2024-08-11 07:06:39

J2ME 非常流行,因为几乎每部手机都可以运行这些应用程序。

另一方面,Android 仅支持少数手机和上网本,但 Android API/SDK 比 J2ME 更强大。 Android 手机配备了出色的硬件,您将有机会使用所有这些“酷”触摸屏、GPS、加速计等。它仍在开发中,但我认为它有未来。

J2ME is very popular because almost every phone can run these applications.

Android on the other side has just few phones and netbooks supported, but Android API/SDK is more powerful than J2ME. Android phones come with great hardware and you'll have the opportunity to work with all these "cool" touch screens, gps, accelerometers, etc. It's still in development, but I think it has a future.

阳光的暖冬 2024-08-11 07:06:39

从我的角度来看,Android 比 J2ME 越来越好
学习 Android 并享受...我们在开发 Android 应用程序时充满乐趣
J2ME 应用程序的外观和开发环境与 Android 相比效果不佳

From my point of view, Android is more and more better than the J2ME
Learn Android and enjoy... we have lot of fun while developing the Android apps
J2ME apps look and feel and development environment not effective compare with the Android

甜味超标? 2024-08-11 07:06:39

J2ME 是最流行的。因为很多手机都支持J2ME。 J2ME的主要优点是它属于Java家族,它是开源的并且受到各种设备的广泛支持。

由于 J2ME 简单、易于实现等优点,许多手机和其他设备都支持 J2ME。
J2ME是Blackberry、Android等的基础。因为其他(J2ME除外)都是在J2ME之后开发的。在消除了j2me中的棘手概念之后,使用一些j2me概念构建了他们的环境,例如android,blackberry等。

J2ME 已经很老了。它有很多缺点、限制等。

这些缺点在 Android、黑莓等最新技术中得到了克服。

J2ME is the most popular. Because many mobile phones have a support for J2ME. J2ME's main advantage is that it belongs to the Java family, it is open source and widely supported by various kinds of devices.

Many mobile phones and other devices support J2ME due to its simplicity, easy to implement, etc.
The J2ME is the base for Blackberry,Android,etc.Because the others (other than J2ME) are developed after the J2ME.After eliminating the tough concepts in j2me,using some j2me concepts they build their environment like android,blackberry,etc.

J2ME is very old .It have many drawbacks,limitations,etc.

These drawbacks are overcomed in the latest technology like android,blackberry,etc.

再可℃爱ぅ一点好了 2024-08-11 07:06:39

J2me很好。它很旧。它有很多缺点等等

Android 克服了这个缺点。Android 不断发展

一般的java特性“平台独立”有时会失败,在J2ME的某些场景中。

Android是新技术,它比J2ME有很多特性等。

为 Android 设备开发应用程序非常简单、容易等。

我们需要获得开发应用程序并将(应用程序)部署到设备中的付费许可证。

android SDK是通过免费版本获得的。

我的观点是Android比J2ME更好。

J2me is good .It is old.It have many disadvantages,etc

Android overcome that disadvantages.Android keep on growing

The general java feature "platform independent" is failed sometimes,some scenarios in J2ME.

Android is new technology.It have many features,etc than J2ME.

Developing an application for android devices is simple,easy,etc.

We need ot get the pay liscence for developing application and deploying (applications) into the device.

The android SDK is obtained by free versions.

My opinion is Android is better than J2ME.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文