Which program should I use? - Java for Android App Development

Hello XDA Devs. I am pretty new to the concept of people like me creating apps. I am very inexperienced and I am trying to make a game for my android phone. I knew that Google had an Android SDK but I learned that Adobe's Flash Professional can create apps for Android as well. So which program should I use to create a game?
Sent from my SGH-M919 using xda app-developers app

Indianssj said:
Hello XDA Devs. I am pretty new to the concept of people like me creating apps. I am very inexperienced and I am trying to make a game for my android phone. I knew that Google had an Android SDK but I learned that Adobe's Flash Professional can create apps for Android as well. So which program should I use to create a game?
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Uh, I wouldn't use the Adobe Flash thing. First of all, it should be slower and Adobe doesn't provide flash player support for Jelly Bean and later. So it runs on old phone only. (I know there are ways to get flash on newer versions. But they aren't optimal.)
So use the SDK. It offers much more functions.
You can use an engine like AndEngine though. I'd recommend that. However, you need to know Java and the Android part.

Although I agree with going down the Java route, as you will be able to do a LOT more with it, Adobe Air is a viable platform for a Flash developer. (It's not the same as the flash plugin for browsers.)
Have a look here for more info...
http://www.adobe.com/products/air.html

Archer said:
Although I agree with going down the Java route, as you will be able to do a LOT more with it, Adobe Air is a viable platform for a Flash developer. (It's not the same as the flash plugin for browsers.)
Have a look here for more info...
http://www.adobe.com/products/air.html
Click to expand...
Click to collapse
Thanks.
I just though of all apps in whose description you can find a sentence like "You need to have flash player installed.".
Did you try Adobe Air?

nikwen said:
Thanks.
I just though of all apps in whose description you can find a sentence like "You need to have flash player installed.".
Did you try Adobe Air?
Click to expand...
Click to collapse
I've not used it for a long time, no. I know it's compatible with my HTC One, and that's running Android 4.2, so it's been kept up-to-date. I did think it was the way to go for a long time, purely because of the fact that it's cross-platform, but I have less faith in it now. If I want cross-platform then I use Phonegap.
I'm curious now. Going to install it and have a play around

Archer said:
I've not used it for a long time, no. I know it's compatible with my HTC One, and that's running Android 4.2, so it's been kept up-to-date. I did think it was the way to go for a long time, purely because of the fact that it's cross-platform, but I have less faith in it now. If I want cross-platform then I use Phonegap.
I'm curious now. Going to install it and have a play around
Click to expand...
Click to collapse
I'm curious, too. Please keep us updated.

As mentioned above you could used engines like AndEngine. But if you are new to java as well then I suggest learning java and move on to creating simple apps. You can use websites like thenewboston or other various tutorials all over the net. Make use of youtube and google... they will help you.

Related

im a noob and i need help with themes and games

hi i just bought a htc touch from sprint not to long ago and i want the most out of my phone as possible. this is my first phone so im not familiar with all the vocabulary that is used in the forums. well anyways i saw some cool iphone themes that i thought were awesome. i want to know how you do that. i also want to download games and put them on my phone. i already downloaded some but i have no idea how to put them on the phone and make them work. if some one can show me that would be awesome. sorry for the long essay.
hi im jesus said:
hi i just bought a htc touch from sprint not to long ago and i want the most out of my phone as possible. this is my first phone so im not familiar with all the vocabulary that is used in the forums. well anyways i saw some cool iphone themes that i thought were awesome. i want to know how you do that. i also want to download games and put them on my phone. i already downloaded some but i have no idea how to put them on the phone and make them work. if some one can show me that would be awesome. sorry for the long essay.
Click to expand...
Click to collapse
Android has the best games
Google
When I first got my vogue I used google to search around and find programs and games. Search around on xda and maybe ppcgeeks using the search built into the sites. As for installing programs you can usually install .cab files from active sync or you can use active sync to copy over the cab file and install it manually. Eventually you'll most likely want to give android a try and possibly Windows Mobile 6.5. Read and research because there are a lot of forums and a lot of answers already out there.
derekwilkinson said:
Android has the best games
Click to expand...
Click to collapse
who is android?
hi im jesus said:
who is android?
Click to expand...
Click to collapse
He is referring to the Android OS for mobile phones.
android
android is google's operating system for smart phones. some very talented people here have ported it over to work with the htc touch (vogue).
hi im jesus said:
who is android?
Click to expand...
Click to collapse
hahahaha

[Q] Canabalt Opensourced

Since Canabalt went opensource, is anyone willing to develop a Bada version? (since I'm just a newbie developer )
You know what? i might just give this ago, the Bada 1.2.1 SDK makes implementing flash games as actually packable applications pretty painless so why the hell not. some one point me to the source??
sabianadmin said:
You know what? i might just give this ago, the Bada 1.2.1 SDK makes implementing flash games as actually packable applications pretty painless so why the hell not. some one point me to the source??
Click to expand...
Click to collapse
github.com/ericjohnson/canabalt-ios
Goodluck!
sabianadmin said:
You know what? i might just give this ago, the Bada 1.2.1 SDK makes implementing flash games as actually packable applications pretty painless so why the hell not. some one point me to the source??
Click to expand...
Click to collapse
If You need the Flash version, just go to canabalt . com and strip it from there...
its the version where commands include LMB so no further editing would be necessary.
I tried to play that as a swf, but I guess its a newer version of flash, cuz it didnt work.
Let us know about your progress
I wonder could i edit the SWF directly without breaking the terms of the license...
Ill give it a try, (took a look at the sources, might be able to compile it nativly... don't know if i really want to get that deep into it but ill give it a go) to the SDK!
We want canabalt to!

Windows 8 :D

Going to begin some work on an xda app for windows 8 , Any chance there is a way I can get the source code for the android xda app?
Try search in Google.com
I think they are using (or support) tapatalk's engine. maybe you can start from there.
netxph said:
I think they are using (or support) tapatalk's engine. maybe you can start from there.
Click to expand...
Click to collapse
Correct. Good luck getting any source though
good luck man!
wont be easy^^
Just set up a poxy server and and use the xda app so you can see how the app communicates with the api (if there is such a thing). I imagine there is one as I can't see it being a scraping app. That would just be horrible!
BTW, I do know it's proxy. I just like the word "poxy".
Thanks guys, the more I look into windows 8 the more it seems the our normal android apps should work on it with a bit of tweaking as long as they are built on java visual basic C++ or c#. Which would be amazingly nice, working on trying to figure out how to do it now. I have a small team working on this acctualy. We are making nice headway, just need to find a way to install them really. I hope I can figure it out and supply Windows 8 users with many an app. Wish me luck!

IPA to APK

can someone of the developers make a converter.
IPA to APK converter, something like the PSXperia tool.
Doesn't work, ipa is iPhone and apk is Android
Posts like this remind me of when Super Nintendo came out and all these parents were freaking out on the evening news that their kids would want it and it wasn't fair... and that they should make an "adapter" so that the old NES system could play the new games. LOL
This has got to be the stupidest question I have ever seen on XDA.
Agreed
Sent from my R800i using XDA Premium App
PaulForde said:
This has got to be the stupidest question I have ever seen on XDA.
Click to expand...
Click to collapse
More so than this one?
http://forum.xda-developers.com/showthread.php?t=1370549
I like IPA... But I also like APK.
But which one's better ?
.........
There's only one way to find out......
DeadlyDazza said:
I like IPA... But I also like APK.
But which one's better ?
.........
There's only one way to find out......
Click to expand...
Click to collapse
whats that? u have me wondering now...
Lmao
Swyped from my Xperia Play via Tapatalk
Wow...
You guys need to calm down. It's just a question. You don't need to make him look like an idiot, you look like an idiot when calling him one. Just sayin.
Anyway, sorry, its not that easy. I wish it was that easy and often wondered the same thing at times.
Excpet the guy who ask the question your all idiota since devlopers are working on this just havent said whsts going on for a while it can be done just takes so much work
lyricalchaos said:
Excpet the guy who ask the question your all idiota since devlopers are working on this just havent said whsts going on for a while it can be done just takes so much work
Click to expand...
Click to collapse
Developers are working on what? An .ipa to .apk converter? Lmfao Android uses java. Its not even the same language as the iPhone
Sent from my R800i using Tapatalk
Rofl the other one is funnier lol can my xplay be 3d
Sent from my SPH-D710 using XDA App
lyricalchaos said:
Excpet the guy who ask the question your all idiota since devlopers are working on this just havent said whsts going on for a while it can be done just takes so much work
Click to expand...
Click to collapse
Spoken by someone who has never written a program in his life.
The logistics of this requires human interaction. Android programs are written in a COMPLETELY different language than iOS programs. While both programming languages can produce the same results, and obviously use the same graphics data and stuff like that, a human programmer must make that conversion as how they get to that end result is completely different.
No developers are working on this. Its a waste of time.
Question: if I remember properly, Android uses a virtual machine, called Dalvik, to run Java code. Could Dalvik actually run Objective C (iOS language) code somehow?
Logseman said:
Question: if I remember properly, Android uses a virtual machine, called Dalvik, to run Java code. Could Dalvik actually run Objective C (iOS language) code somehow?
Click to expand...
Click to collapse
programs that are coded in C run natively they dont run in a VM like android apps. Thats why its possible to use android apps on other platforms (providing they have the dalvik VM) like the blackberry playbook but you couldn't do that the other way around.
Logseman said:
Question: if I remember properly, Android uses a virtual machine, called Dalvik, to run Java code. Could Dalvik actually run Objective C (iOS language) code somehow?
Click to expand...
Click to collapse
The Dalvik VM is just a Java VM right?
Sent from my R800i using Tapatalk
I remember reading somewhere that it doesn't actually run Java code by itself...
AndroHero said:
The Dalvik VM is just a Java VM right?
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Logseman said:
I remember reading somewhere that it doesn't actually run Java code by itself...
Click to expand...
Click to collapse
No its not just a Java VM and actually works quite differently than a normal Java VM. A regular Java VM works almost like an Emulator within the device running it. The Dalvik VM actually takes the program and uses its own class libraries, it converts some of the java files when its compiled into its own format. This saves space and memory usage, due to the programs obviously needing to be run on devices with limited memory.
The Android SDK also has an ungodly huge amount of libraries within it as well withe specific code design to do basically anything.
have an idea ask Google to try and create android to read IPA or other formats then android will be the best as developers will want to create games, apps and other things and make life easier for everyone as it will be like this in left hand iphone in right hand Samsung galaxy s2 really good android phone which will you pick me i would go for the Samsung as it's better as i have one but if it could run IPA. Iphone will probably unexistant just saying but it's best to ask google. for more easier methods to create games and apps just like ipa is really easy to create apps

Doing cool things with our ancient phone

Hi all,
Personally I still love my G1. It is the 1st Android phone so historically something that is interesting on its own.
I assume most of the G1 owners on this forum are having the same geekish interests as me and I was wondering what you are doing with the device that you concider 'cool' and can impress fellow geeks
Some things I think are impressive:
1. Having a rooted device with a custom very stable and fast Gingerbread firmware (ezgingerbread)
2. The droid2600 and Frodo C64 emulators that run great on the G1 with its keyboard.
3. Haven't done this myself yet, but seeing videos of debian run on the G1 was pretty impressive.
4. Eventhough it is probably not ready for daily use but having ICS on the G1 is amazing.
My G1 is running debian for a while now. But it mostly sits in drawer now, I just bring myself to sell it. No matter how much my wife nags at me.
Sirfearoth said:
My G1 is running debian for a while now. But it mostly sits in drawer now, I just bring myself to sell it. No matter how much my wife nags at me.
Click to expand...
Click to collapse
How well does it run? I guess you can't use it as a phone if you started debian?
I am using Frayo
And I use it mainly for forums and IRC and stuff
frankdrey said:
I am using Frayo
Click to expand...
Click to collapse
Running a customized rom you created yourself does belong in the 'wish I could say that' category.
Compiling programs from source does seem to be possible for the lesser educated with the scriptset smitna has created. http://forum.xda-developers.com/showthread.php?t=1444792
Not as cool as creating your own rom, but you have to start somewhere
I been using it mainly to try roms and stuff,
but every time a friend lost or have no phone, until they get a proper.
I give it to them to use it
and to try to convert them to android
so I use it for educational porposes
Im using frayo too (thanks )
tagm said:
Running a customized rom you created yourself does belong in the 'wish I could say that' category.
Compiling programs from source does seem to be possible for the lesser educated with the scriptset smitna has created. http://forum.xda-developers.com/showthread.php?t=1444792
Not as cool as creating your own rom, but you have to start somewhere
Click to expand...
Click to collapse
What do you mean?
I am really honestly using Frayo....
Froyobylaszlo is /the/ best G1 ROM and I use my mod for the (few) features it adds
Did I say I used that script?
Well...no, I didn't
And I can compile a ROM on my own from source thank you very much.
I just don't really see the need anymore since froyobylaszlo is as good as it gets
And instead of working my way up from aosp, learning along the way since I don't know a lot, I decided to just mod in features I like
And no I didn't use some scripts or rom kitchen
I tried using an apk compiler and a theme kitchen thing to fix certain problems, but then I decided against it...
Also, as of now I'm stopping working on my ROM and MOD and am gonna go for some pure PC development to work on my skills
I'm not too sure what you were trying to say but that's my response
If I misunderstood you, sorry
Edit: I think I did....now I'm debating wheter I should delete the above....
Sorry
Just ignore it all...I though you were saying that I shouldn't advertise here (I'm not btw I'm actually using it to post even)
And I thought you said I used that script and didn't do anything
Well, if you want to jumpstart into rom development with modding,, just open up the rom with winrar/7zip and start looking around
And at the google source website you can find how to compile a rom
The second option may require some programming skills
frankdrey said:
Well, if you want to jumpstart into rom development with modding,, just open up the rom with winrar/7zip and start looking around
And at the google source website you can find how to compile a rom
The second option may require some programming skills
Click to expand...
Click to collapse
Nice ideas. Might do some research, thx!
Was indeed giving you a compliment for your rom modding, maybe my indirect approach was not clear enough (I am not a native English speaker... that probably doesn't help as well)
tagm said:
Nice ideas. Might do some research, thx!
Was indeed giving you a compliment for your rom modding, maybe my indirect approach was not clear enough (I am not a native English speaker... that probably doesn't help as well)
Click to expand...
Click to collapse
Oh ok thanks
Sorry bout that...http://forums.androidcentral.com/hacking/6037-general-rom-faq.html
This is very useful
Go to "building a rom"
Idk if the link works, its been strange for me, so just scroll down to it
Whenever you edit a rom, you have to sign it...
That link has the files and directions
Also,
I've just had fun experimenting with my G1. I didn't root it myself, but I have learned a lot since I got it. I ran through about 10 or 15 different roms until I found one that I like personally (Ginger yoshi) and customized it the way I wanted. I think the coolest thing that I did on it running a SNES emulator (although I only did it once because of ridiculous lag). I started toying around with DOS box but that didn't go anywhere. I wasn't able to do much with it because it is my primary phone and it got extremely annoying to have to fix it every time I messed something up.
Anyway, it was tons of fun... then it broke :'( And now I'm getting my friend to give me his for free! and the fun will continue.

Categories

Resources