如何找到某些手机的内存大小?
我将创建一个消耗内存的 j2me 移动应用程序。问题是我不知道普通手机的平均内存大小以及我可以使用多少内存?
你知道如何找到某些特定手机型号的内存大小(请注意,我手中没有所有这些型号)?或者您对我应该搜索的关键字有什么想法吗?
例如,搜索Sony Ericsson T700 Ram size没有得到任何结果。
I'm going to create a memory consuming j2me mobile application. The problem is that I don't know average ram size of usual mobile phones and how much memory I can use?
Do you know how can I find ram size of some specific phone model (note that I don't have all of these models in my hand)? Or do you have any idea about keywords I should search for?
As an example searching for Sony Ericsson T700 Ram size didn't result to anything.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
使用 Runtime 类。使用此代码:
Use Runtime class. Use this code:
JBenchmark 是查找有关设备功能的信息的绝佳场所。只需搜索设备并在 JVM 下查找“总内存”即可。或者注册一个帐户并下载完整数据库的 JBenchmark_data_export.xml 文件。
JBenchmark is an excellent place to find information about device capabilities. Just search for the device and look under JVM for "total memory". Or register an account and download the JBenchmark_data_export.xml file for the complete database.
那么,您想知道什么设备有多少总内存?
不知道有没有在线服务可以查询。
然而,如果你愿意做一些处理,足够的软件(J2MEPolish的创建者)有开源设备包含总内存信息的数据库。
只需访问 http://devices.enough.de/interactivedb/searchdevices.faces 并下载当前稳定的 devices.xml 文件。您会发现 3 个文件。查看
devices.xml
,您会发现类似以下内容:还有名为 WURFL。但是,我没有时间检查他们的数据库是否包含
TotalMemory
信息。希望有帮助。
So, you want to know what device have how much total memory?
I don't know if there's online service that allow you to query it.
However, if you are willing to do some processing, Enough Software (creator of J2MEPolish) have open source device database that contains total memory information.
Just go to http://devices.enough.de/interactivedb/searchdevices.faces and download current stable devices.xml file. You'll find 3 files. Look at
devices.xml
and you'll find something like this:There's also devices database called WURFL. However, I don't have time to check if their database contain
TotalMemory
information.Hope that helped.
感谢另一个论坛的朋友(http://www.coderanch.com/t/549476/JME/Mobile/much-ram)我有一些这方面的信息。
此外,一些公司提供了更详细的型号规格供开发人员使用: nokia , < a href="http://developer.sonyericsson.com/wp/" rel="nofollow">索尼爱立信等。
Thanks to a friend in another forum (http://www.coderanch.com/t/549476/JME/Mobile/much-ram) I have some information on this.
Furthermore some companies provide more detailed specifications on their models which can be used by developers: nokia , SonyEricsson etc.