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

Why my maven get so many red wave lines below their dependencies?
java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil
Automating the Trading Web Application using Selenium
Remove decimal ending zeros from BigDecimal
LibGdx collision detection between sprites?
Kafka one consumer one partition
null pointer exception on X509Certificate.getSubjectDN()' when reading SSL certificate [duplicate]
Object sorting using java comparator but with fixed value should be in last value in a sorted list
Download video with bytes approach
Giving a Text File for Variable Generation in Apache Velocity
Spring boot custom annotation .. Find out where it is used
Why aren't Java fields polymorphic?
General structure of a step-based Android tab application [closed]
KieScanner not working in Drools 6.1
Recieve constant updates from Google Drive API Android AppDataFolder?
SQL Query Java Net Beans

Categories

HOME
hook
pypi
reserved
angular-material
office365api
programming-languages
ezpublish
datastax-java-driver
elasticsearch-hadoop
dacpac
google-cloud-spanner
quickfix
designer
serverless-framework
uitypeeditor
worldwind
ghc
graphlab
pc
pugjs
sms-gateway
plunker
immutable.js
jasonette
jquery-ajaxq
rundeck
emgucv
semantic-analysis
replaceall
saas
webkitspeechrecognition
flink-streaming
media-queries
oracle-fusion-middleware
http-get
azure-sql-database
y86
revolution-slider
code-search-engine
az-application-insights
graphenedb
spring-security-kerberos
arena-simulation
auto-update
google-datalayer
avconv
appcompat
prolog-setof
rails-routing
pnotify
carrot
windows-mobile-6.5
webdriverjs
migradoc
nested-sets
slicknav
plottable.js
flash-cs5
moveit
ubuntu-10.04
testng-dataprovider
captivenetwork
ios4
system.management
phpcas
xna-4.0
computer-algebra-systems
sframe
sankey-diagram
sortedlist
pick
gui-test-framework
htmlcleaner
braille
centos5
batterylevel
eventual-consistency
jquery-mobile-dialog
clipper
pysimplesoap
dsn
spring-portlet-mvc
eclipse-templates
boost-filesystem
nsobject
horizontal-accordion
iphone-web-app
lpeg
web-application-design
mirah
photoshop-cs4
uimenucontroller
xetex
w3wp

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App