how can I find ram size of some mobile phones?
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.
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: <capability name="totalmemory" value="3550208" /> There's also devices database called WURFL. However, I don't have time to check if their database contain TotalMemory information. Hope that helped.
Use Runtime class. Use this code: Runtime runtime = Runtime.getRuntime() ; System.out.println("freeMemory:> "+runtime.freeMemory()); System.out.println("totalMemory:> "+runtime.totalMemory()); System.out.println("usedMemory:> "+(runtime.totalMemory() - runtime.freeMemory()));
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.
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.
Where is the entry count for an object stored in Java
Cannot get method annotation from JDK dynamic proxy
Why does Java robot pressing Enter not work?
Display image on button click from InternalFrame
Enable/Disable Log4jLogger programmatically?
How to resolve unable to find valid certification path to requested target exception?
how to display records from database using jsp table
How to keep the program running if the user entered Y?
Dataset.map() throws ClassCastException while running in yarn-client mode from eclipse, but pass in local mode
Android pressed button, accelerate count
Convert Java Comparator to Scala Ordering
Java 8 flatmap unwrap multiple objects from collection
Sonar failed with an API incompatibility for Absent Code attribute
Trying to connect to a SQLite database, keep getting no Suitable Driver Found
Creating multiple Scenes with CLASS and calling them(classes)
SurvivorRatio flag of JVM does not work?