[Q] Managing resources - General Questions and Answers

Hi all,
I am an Android developer currently and am working on quite a large 2D game.
I however would like the game on other platforms too so:
I just installed the Microsoft visual studio express 2010 for windows phone development which I surprisingly did and got working very quick, it seems a very easy install compared to Android.
I noticed that there is a place to load resources on starting the app and dispose them of ending the app.
However my game has levels that are large enough and numerous enough that I am going to need to be able to load and dispose of images between levels or the memory of just about any portable phone will likely run out. On my android dev I can do this. How is this done using the windows phone development? I am using C# Windows phone game template to start with.
Also if I develop in windows phone 7 C# is that likely to be much compatible with windows phone 8 C# ?

Related

Job writing apps for iphone or windows mobile??

I'm looking for answers to this question because I'm at a cross-road with my career path. I'm attending college to get a computer science degree with the intent on writing software programs for mobile devices. I thought I would go with Windows Mobile platform, but now I'm wondering if I should go with the iphone. I know there are a lot of developers, etc on this forum that do this kind of work and would like anyone with any opinions, comments or hard earned experience to let me know what they would do if they were me.
with iphone or ipod touch you have to own a back to make offical apps
you have to pay app store some money to be able to summit apps for review
if they are suited for app store
the apps have to be written in objectC which is an alternativ to c++ as in
a ext to old ansi c to add object support so it's more pleasing then structs with function pointers
with wm you got 2 realistic paths
using .net compact framework this is the fast way to get something to show for
but is generaly much slower then
native win32 sdk apps where you have to write everything and have less gui IDE do make it
more user friendly for you
but native win32 which is in c++ is much faster
you could get a mac and use bootcamp to install windows then windows would run as native not emulated so it would not be slow
then you could do both asuming you had the time to get into both platforms
allso the sdk of objectC and cocoa for iphones i believe is free and got an IDE too
and with winmobile you have dl the sdk for wm and if you want an IDE you have to pay for visual studio as i dont believe that the free express version of visual studio works with mobile
but i could be wrong
but i believe that the compiler itself is free so if you got the sdk for wm you can compile using an console compiler which is free
I'm not a developer but I started computer science back when I was in school (C/O 07) and I would say that if your lookin for the money iphone apps and blackberry apps are the way to go. If you check out a thread in development and hacking it's about why there isn't a facebook app for windows mobile like there is for blackberry and iphone and a user made a good point iphone apps and blackberry apps are the bread an butter right now. But there is still some possiblities with Andriod recently coming out and also Windows releasing an App store when Windows Mobile 7 is released.
The good thing though is that with developing apps like for Apple you can pretty much do that as a side project and help you generate extra money and be like this guy http://www.cnn.com/2008/TECH/11/18/iphone.game.developer/index.html?iref=mpstoryview
So it's still a possiblity you could still branch out. I would say to develop for both. Look at the company Beejive. They developed a great messanger app for the blackberry and then for the iphone and now for windows mobile is still in the beta and probably soon one for andriod. But final words I would say don't limit yourself. If you really like and want to program and you think you have a good app that would be useful on all platforms then go for it.
Sorry to talk your head off.
Rudegar said:
with iphone or ipod touch you have to own a back to make offical apps
you have to pay app store some money to be able to summit apps for review
if they are suited for app store
the apps have to be written in objectC which is an alternativ to c++ as in
a ext to old ansi c to add object support so it's more pleasing then structs with function pointers
with wm you got 2 realistic paths
using .net compact framework this is the fast way to get something to show for
but is generaly much slower then
native win32 sdk apps where you have to write everything and have less gui IDE do make it
more user friendly for you
but native win32 which is in c++ is much faster
you could get a mac and use bootcamp to install windows then windows would run as native not emulated so it would not be slow
then you could do both asuming you had the time to get into both platforms
allso the sdk of objectC and cocoa for iphones i believe is free and got an IDE too
and with winmobile you have dl the sdk for wm and if you want an IDE you have to pay for visual studio as i dont believe that the free express version of visual studio works with mobile
but i could be wrong
but i believe that the compiler itself is free so if you got the sdk for wm you can compile using an console compiler which is free
Click to expand...
Click to collapse
Good point

Upcoming developer: which platform to concentrate on?

Hi there,
it seems to me most people here develop for WinMo devices, but maybe you can help me out nonetheless.
Currently, I'm a web developer in PHP (+ usual stuff). I studied computer science, so I'm not a newbie when it comes to coding I learned a lot of C and (unfortunately only) basics in Java and C++. I never got my hands on C# or VB and stuff - the only experience in developing applications for Windows Mobile was a small Texas Hold'em Clock (basically a simple countdown and some additional stuff) I did a few months back. I pretty much google'd everything I needed and copy'n pasted the code into Visual Studio - not really developing, but those where my first steps
I consider getting started in development for mobile devices like BlackBerry, Windows Mobile devices, iPhone, Symbian and/or Android. The problem is: I don't know which one of these might turn out useful on when I might be applying for a job later (which is basically my whole point doing this, I don't want to do web development for the rest of my life). Any thoughts?
What type of job do you want to do? first find out what the sort of jobs you want to do require, many software houses use c# so you could develop for windows mobile, if they require java then try android. Iphone uses objective c which isn't used outside of the mac world so unless you want to work for a company which creates mac programs maybe you should try something else.
Then again if you just want to make some cool apps and actually make money from them I would say iphone is the easiest to get you product to market then android with wm coming last.
also if you learn java then you can quickly pick up c# and vice versa so I don't think it really matters either way.
there are of course many other options, if you happen to want a job that requires python you could get the excellent upcoming n900 from nokia
Cant offer advise on that, but what you can do is write a better app for Facebook, the MS one SUCKS compared to the iphones (eeek i said the dirty word............)
ms's also sucks compared to the x1 panel facebook which again is not as good as iphones :S

How to develop an App for multiple mobile-OSys?

Hey there folks,
after reading these forums for quite a while and having several smartphones during the last years, I reached the point where I want to start creating my own apps. I tried to google around a bit and found some interesting tutorials on how to start creating apps. I also found several SDKs for different operating systems. But exactly that is the point leading to my question.
Before starting to code: is it possible to choose a platform from where my app can be delivered to each winmo, iphone, blackberry or android?
Or is that just plain impossible? I mean, those are all touch based devices Should'nt be that much of a difference? Originally I wanted to start developing an iphone app, but that would leave out all the android users and so on. I don't want to rewirte everything from scratch for an android device after having finished the iphone variant. And that did not even consider the advent of windows 7.
So, is there any way of coding for all the operating systems, keeping the effort of switching between operating systems low?
greetings and thanks in advance for your help,
your unexperienced coder-in-spe,
joker
While all four of the devices mentioned all use ARM processors of various flavours to do the work, they are four completely different operating systems, each with their own IDE and programming models.
Even considering Windows Mobile, you have to decide whether you are programming for a SmartPhone/Classic or a Pocket PC/Professional device. In this case it is possible to write code that will run on both WM platforms, but you will have to make that decision at design time, before you even think of writing a single line of code. Your application will then have to act accordingly, depending on the machine on which it runs.
java apps for symbian often works ok on wm using a midlet manager
not sure about android and blackbarry but being java not too much code would be required to port it I suppose
mind you java on wm work pretty poorly
and iphone got rules that you can only make apps using objective-C/c/c++ and their SDK
which is only available if you own a mac computer
Thank you for your answers. Looks like starting to code is not that simple as expected. So I will try developing for iPhone only :/

Android 3.0: Alternative for Windows on PC?

Since Google was known as a corporation, which makes successful global projects and "do not do anything evil", plenty of people started ask them selves, will be Google THAT Windows killer, which legends are talking about long time ago.
Hope became even stronger everyday. Google said at first time, that it won't make a web browser, then made Google Chrome, said that it is related only to internet, then made Android, said that the corporation is related to software only and made the Nexus One.
So, Everybody's waiting, waiting but no one paid attention that Windows Killer... Is released,
I'm talking about Android 3.0 (HoneyComb). What is this? It's an operating system for Tablet PC's. What is the difference between a Tablet and a normal PC? Yeah... No difference at all. Yes, Tablet have a touchscreen, but you can connect a mouse and keyboard. It can be not a tablet, a notebook PC. Tablets usually has a powerful VGA card, big display, powerful processor and RAM. There is no difference at all, except the form-factor.
Today, many developers are writing software, and games for Android tablets. There is software and games nowadays for android 2.x, and it can be ported to Android 3.x easily, it don't need nothing at all. This is a complete operating system with complete software, with it's own development environment, with it's developers communities, with it's tools and a programming language (Java script), own libraries for all basic functions... With everything. And, it seems, writing a complete, powerful program for Android is even EASIER, than the same program for Windows. And unlike the "clean" Java, programs and games under Android do not lag!
Windows Killer already exists. But it's unevenly distributed.
A few things you got totally wrong there, buddy.
1. Google didn't and do not make the Nexus devices. They're made first by HTC, then by Samsung.
2. Honeycomb isn't even CLOSE to being a Windows killer, not by a long long way, and never ever will be. I have a HC based tablet, and quite frankly, it's not even on the same planet as Windows when it comes to functionality, and never will be.
3. Serious development for Android happens at the C++ level, not Android's Java implementation. Java is nowhere near fast enough for things like Need for Speed. That makes it no better than any other platform for development, and if PopCap are telling the truth, actually much MUCH more complicated.
Did you take your meds today? Sorry that was a bad comment...
Sent from my I897 using XDA App

Looking to Develope

Hey Guys (and Gals),
I've been in the tech scene for a while, rooting and unlocking android/softmodding psps and xboxs for fun. However recently I wanted to contribute to the scene, and I'm kind of in a dilemma. I want to make a few apps, nothing crazy ambitious just learn how to. Though I'm not sure what platform to do it on. I am kind of torn about doing it on Android or doing it on the Windows marketplace. I want the simplest setup, (i have 2 windows 7 computers, and a htc rezound and toshiba thrive and tf300). I took a college course on C++ but it didn't even touch on guis or go that far in depth. So basically I am starting from scratch either way.
I like android and have a few pieces from them, but I feel as windows is just getting a start it would be a good chance to start also. Furthermore what language is best for each platform? I have heard java for android, but heard a c type program is overtaking, and html and javascript for windows. Any input is greatly appreciated
adamsaur said:
Hey Guys (and Gals),
I've been in the tech scene for a while, rooting and unlocking android/softmodding psps and xboxs for fun. However recently I wanted to contribute to the scene, and I'm kind of in a dilemma. I want to make a few apps, nothing crazy ambitious just learn how to. Though I'm not sure what platform to do it on. I am kind of torn about doing it on Android or doing it on the Windows marketplace. I want the simplest setup, (i have 2 windows 7 computers, and a htc rezound and toshiba thrive and tf300). I took a college course on C++ but it didn't even touch on guis or go that far in depth. So basically I am starting from scratch either way.
I like android and have a few pieces from them, but I feel as windows is just getting a start it would be a good chance to start also. Furthermore what language is best for each platform? I have heard java for android, but heard a c type program is overtaking, and html and javascript for windows. Any input is greatly appreciated
Click to expand...
Click to collapse
Woo! Somewhere I can be helpful.
I'd recommend researching a few game engines / frameworks. For example, check out Marmalade SDK (google madewithmarmalade), it's a cross-platform game engine that will abstract your game from the hardware it's running on.
I'd also suggest sticking with c/c++, it's probably the most versatile, and you'll be able to use it with Android, and iOS (and I believe the new Windows 8 mobile platform).
Hope that helps!
Jamie W said:
Woo! Somewhere I can be helpful.
I'd recommend researching a few game engines / frameworks. For example, check out Marmalade SDK (google madewithmarmalade), it's a cross-platform game engine that will abstract your game from the hardware it's running on.
I'd also suggest sticking with c/c++, it's probably the most versatile, and you'll be able to use it with Android, and iOS (and I believe the new Windows 8 mobile platform).
Hope that helps!
Click to expand...
Click to collapse
thanks, ill definitely look that up, any suggestions for tutorials on using c++ with android/windows?

Categories

Resources