android


how to structure the UI components of a 3d app for android


I have an app that performs some complex numerical analysis and presents information about this in 3d. there are additional 2d screens that show information about the result of this analysis.
the way the app is currently implemented is through a single activity that has several fragments that it rotates through. each fragment is full-screen, and never really meant to be used in the modal way that the guides talk about.
is this an acceptable/standard way to handle the situation, or should i have separate activities for these separate screens?
I believe in terms of efficiency having a single activity to your application is the most efficient way to go.
Big warnings here:
Having said that, having only 1 activity is extremely easy to overlook one tiny thing and the app go "down" since your activity will live longer.eg .memory leak, passing an activity argument to a widget so on so on. Free memory, recycle destroy objects you don't need anymore
http://android-developers.blogspot.com/2011/03/memory-analysis-for-android.html
http://android-developers.blogspot.co.uk/2009/01/avoiding-memory-leaks.html
The other warning is that your code will be really messy if you don't structure it really careful. Things can go really bad there.
I've been down that road, came across the challenges and i can say for sure that one activity is at least performance-wise really great.

Related Links

ActionBar is not accessible in eclipse
Notification Bar does cut my views
Redirect to Mobile app from facebook and twitter app
Send a putExtra to an activity
download multiple images from server
crop free hand selected part of image
save the picture from the internet (android image loader)
Offline and Online indoor map with open street map.
Integrating facebook and google in same app and allow user to signin both simultaneously
How can I modify a button's background for state pressed?
Parsing JSON From URL In Android
Stop the flow to a particular task. ExecutorService
Force android screen Orientation depending on screen size
How to use Existing Java Web Project in Android App?
Start activity from Service through notification and get result back in service
How do I pass List <PackageInfo> between activities in Android?

Categories

HOME
forms
android-studio-2.2
nunit
can
rendering
pdfbox
nsbundle
aws-cli
tail
echo
vert.x
pkcs#11
character
teechart
categorical-data
watson-conversation
plist
resultset
naivebayes
selenium-ide
bitnami
capistrano3
azure-iot-hub
scsi
searchview
symfony-2.8
vuejs
xmonad
shortest-path
visual-studio-extensions
php-mysqlidb
object-storage
beta
tiki-wiki
onload
definitelytyped
jquery-multiselect
intersystems-cache
paperjs
finagle
calculation
cart
playstation-portable
nested-lists
imx6
watchman
kill
plaintext
parser-generator
subclipse
plr
dynamic-linq
linter
identification
posixct
remedy
er-diagram
monkey
gameplay-kit
ampps
reachability
donations
docpad
mapxtreme
latin
preprocessor
greatest-n-per-group
nikeplus-api
x-tag
i386
dup
kango-framework
boost-serialization
fuzzywuzzy
httpruntime.cache
vhosts
pypiserver
ess
rpart
evolus-pencil
iced-coffeescript
dronekit-android
mirror
teamcity-9.1
ms-access-2000
fits
delayed-execution
variadic-templates
android-cookiemanager
post-commit-hook
mdichild
create.js
ss7
authlogic
menubar
mt4j
modular
printdialog
kogrid
scringo
stacky
azman
predicatebuilder
jquery-tools
xcelsius
quotation-marks
instantiationexception
lxr
software-lifecycle
int64
entitykey

Resources

Encrypt Message