开发移动应用程序

发布于 2024-08-27 15:57:52 字数 184 浏览 4 评论 0原文

我的问题很简单,但我只是知道答案。

我使用 java 为我的诺基亚开发了一个小型移动应用程序。 问题是,当安装在我的三星上时,应用程序崩溃了。 然后我尝试了我的其他诺基亚但不同的型号,但我没有得到正常的行为。

所以我的问题是,有谁知道开发移动应用程序/游戏的公司如何测试他们的软件。 他们是否必须拥有所有手机的所有型号?

I have very easy question, but I simply have any idea of the answer.

I have developed a small mobile-application using java, for my nokia.
The problem is that when installed on my samsung the application simply crashed.
Then I tried on my other nokia but different model, and I didn't got the normal behavior.

So my question is, does anyone have any idea how companies that develop mobiles applications/games test their software.
Does they have to have all models for all mobiles phones??

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

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

发布评论

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

评论(4

会发光的星星闪亮亮i 2024-09-03 15:57:52

针对许多国家/地区的许多手机的公司通常仅在下载 .jad 或 .jar 文件的请求的 HTTP 标头中识别出您的手机用户代理时才允许您在手机上安装应用程序。

对于许多移动网络运营商来说,有多种方法可以在许多手机上测试应用程序。

从简单地购买手机,到与手机制造商和移动网络运营商建立商业合作伙伴关系,再到拥有 Device Anywhere 帐户。

Companies that target many phones in many countries usually only let you install the application on your phone if they recognise your handset User Agent in the HTTP headers of the request to download the .jad or .jar file.

There are multiple ways to test an application on many handsets for many mobile network operators.

From simply buying the phones, to establishing commercial parternships with handset manufacturers and mobile network operators, to having a Device Anywhere account.

沦落红尘 2024-09-03 15:57:52

我不知道你是否需要所有手机的所有型号。但您肯定需要针对不同的手机进行单独的测试(可能还需要不同的版本):

  1. MIDP 版本
  2. 屏幕尺寸
  3. 输入设备
  4. 速度和性能内存

Java,在本例中是WOTA(Write Once Test Anywhere)而不是WORA(Write Once Run Anywhere)。 :-)

I don't know if you need all models of all phones. But you will definitely need separate test (and probably different builds) for different phones regarding:

  1. MIDP version
  2. Screen Size
  3. Input Devices
  4. Speed & Memory

Java, in this case is, WOTA (Write Once Test Anywhere) instead of WORA (Write Once Run Anywhere). :-)

旧梦荧光笔 2024-09-03 15:57:52

手机规格和 Java 实现差异很大,但在每个制造商范围内都会有一组共享相同规格和实现的手机。

我曾经在一家制作 J2ME 游戏的公司工作,我们在那里所做的就是在我们发布游戏的每部手机上进行测试,但我们有两种类型的测试 - 完整和兼容性。

我们会针对特定手机(例如 Sony Erricson K800i)调整游戏版本,并根据完整测试规范对其进行彻底测试。
一旦通过,我们就使用已知具有相似规格且与其他游戏具有良好先前兼容性的手机(我们保留了规格和兼容性记录的数据库)(例如 Sony Erricson W910i),并将其提交进行兼容性测试,有点不太彻底,也有点快。

一旦您已经这样做了一段时间,您就会了解手机的功能以及您可以在哪些手机上使用相同的版本,但通常会涉及一些猜测:)有时您会得到意想不到的匹配,并且有时,您期望的匹配结果却不起作用。

编辑:我本来打算将此作为评论发布,但我不能(因为我是一个菜鸟:),出于兴趣,您的诺基亚和三星是什么手机?

我不记得很多具体的手机名称,但这里是各个制造商兼容性的快速概述:

索尼爱立信通常都非常出色 - 如果它适用于其中一款手机,那么它很可能适用于具有相同分辨率的所有 SE 手机。
诺基亚的产品通常在某个较小的群体中表现良好,例如,N95 在大多数诺基亚手机上运行良好,其分辨率与 N95 之后发布的相同,但某些手机有点麻烦。
三星相当糟糕 - 大多数的 J2ME 实现都有缺陷(未调用隐藏/显示通知方法就是一个例子),并且内存和速度通常有点糟糕。
摩托罗拉手机虽然不是很好,但通常彼此之间非常兼容。 LG 也是如此,尽管他们最新的型号要好得多。

Phone specs and Java implementations vary a lot, but within each manufacturers range there will be groups of phones that share the same specs and implementation.

I used to work at a company making J2ME games, what we did there was test on every handset we released the game on, but we had 2 types of test - Complete and Compatability.

We would adapt a version of the game for a specific phone, eg Sony Erricson K800i, and have it thoroughly tested according to the Complete Test spec.
Once that had passed, we then used that build on phone known to have similar specs and good previous compatability with other games (we kept a database of specs and compatability records), eg Sony Erricson W910i, and submit it for a compatability test, which was a bit less thorough and a bit quicker.

Once you've been doing it a while you get to know the capabilities of phones and which phones you could use the same build on, but there is often a bit of guesswork involved :) Sometimes you get matches you wouldn't expect, and sometimes a match you would expect to work doesn't.

Edit: I was going to post this as a comment, but I can't (because i'm an SO noob :), out of interest, what phones are your Nokia's and Samsung?

I can't remember many specific handset names, but here is a quick rundown of compatability across manufacturers:

Sony Erricsons are generally excellent - if it works on one, it will likely work on all SE handsets with the same resolution.
Nokia's are generally good within a certain smaller group eg N95 builds work well on most nokias with the same res that were released after the N95, but some handsets are a bit of a pain.
Samsungs are pretty bad - the J2ME implementation on most is flawed (Hide/Show Notify methods not being called is an example), and the memory and speed are typicly a bit crap.
Motorola phones are not great, but are generally quite compatable with oneanother. Same goes for LG, although their more recent models are much better.

世界等同你 2024-09-03 15:57:52

测试是手机开发中劳动力最密集的部分之一。通常,公司可能只是购买许多不同的手机进行实际测试,或者只针对特定的子集,例如诺基亚 40 系列手机。

但还有其他替代方案,您可以将应用程序远程部署到手机,例如 诺基亚的远程设备访问服务

可能限制问题的一种方法是针对兼容 J2ME MSA(移动服务架构)的手机,其中 MSA 尝试减少 J2ME 供应商实现的变化。

Testing is one of the most labour intensive part of mobile phone development. Typically a company might simply buy a lot of different phones to test on for real, or target a particular subset such only as Series 40 Nokia phones.

But alternatives exist out there where you can remotely deploy your app to phones, such as Nokia's Remote Device Access Services.

One way that might limit the problems is to target J2ME MSA (Mobile Service Architecture) compliant phones, where MSA attempts to reduce variations in vendor implementations of J2ME.

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