Android Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingAndroid Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 23rd, 2010, 12:38 AM
bradg0620 bradg0620 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2008
Location: Michigan
Posts: 8 bradg0620 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 2 m 29 sec
Reputation Power: 0
Question Java Application on Desktop to Android Device

Hey all,

I've been thinking about starting up a project (game) to run on the PC using Java. And since Android apps use Java, I was wondering what the process would be to transfer it from the desktop application to a game that would run on the Android phone.

Thanks in advance!

Reply With Quote
  #2  
Old October 26th, 2010, 01:57 AM
Hugh of Borg's Avatar
Hugh of Borg Hugh of Borg is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Location: Switzerland
Posts: 1,152 Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level)Hugh of Borg User rank is General 14th Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 19 h 1 m 52 sec
Reputation Power: 1900
Android apps work quite a bit different from your ordinary java programs. You should probably be able to keep most of the game logic if you separated it well enough. The gui side however will require quite a bit of work as you'll have to adapt your program to support a variety of fixed screen sizes and a completely different set of gui controls.

You also have to consider other special circumstances in the android environment like:
* that you have no control over when you game is unloaded
* you are quite restricted in the ways you can persist data for your game.

All in all I expect you'll have to modify or even rewrite a significant portion of your application.
__________________
- Hugh of Borg

The first thing young borg are taught: Keep away from Microsoft software!

Reply With Quote
  #3  
Old October 26th, 2010, 09:38 PM
bradg0620 bradg0620 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2008
Location: Michigan
Posts: 8 bradg0620 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 2 m 29 sec
Reputation Power: 0
Thanks a bunch, Hugh of Borg! I'll keep that stuff in mind. I'm kind of just starting with making games in java, so it should be quite an experience!

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingAndroid Development > Java Application on Desktop to Android Device

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap