java


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.

Related Links

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?

Categories

HOME
compiler-construction
amazon-ec2
heroku
kde
tinymce
homebrew
include
lodash
relay
octobercms
yarn
fsm
ckeditor
wamp
mapserver
postgres-xl
apache-metamodel
google-cloud-speech
jprofiler
tar
trading
emgucv
applozic
elasticsearch-net
buck
windows-server-2000
lightswitch-2013
twilio-api
ioio
karaf
calibre
commit
windows-dev-center
android-kernel
git-merge
libraries
dynamics-crm-2013
webix-treetable
elasticsearch-plugin
tasker
fedex
quadratic-programming
avconv
xml-documentation
theming
python-c-api
hendrix
knockout-components
dtexec
sonarlint-vs
specrun
spring-android
log4c
phishing
plottable.js
moveit
asp.net5
energy
spim
r-tree
browser-bugs
0xdbe
responsive-images
e10s
block-device
winddk
websocket4net
html-helper
php-5.4
terminfo
tld
gnu-smalltalk
dbconnection
mylyn
jelly
bitsharp
cascalog
postgresql-performance
punbb
deobfuscation
actionview
cxxtest
jquery-ui-droppable
routedevent
microsoft-virtualization
grid-system
rtml
ajax-forms
ntvdm.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App