APK(game) development? - Android Q&A, Help & Troubleshooting

First I'm sorry for my English's mistakes,I'm brazilian.There are a long time ago that I already knew about xda site but I just joined in it now because I need a lot help into apk development.I develop games in Construct 2(paid) for Android but when I finish my game in the program I get a HTML version of it and sent to Adobe Phonegap because like this I can get a apk without the boring problems of make it in ConcoonJS.My problem is when it get back the apk because the apk comes just like a ''raw'' project.What I want to mean is that the apk by the way doesn't come with a icon/logo(I think that like this it must come without the name of the company for instance too-n other words just a apk with a log ''build app'' and the game).In Unity we can put icon,name of company,compatibity and another things but I prefer to make in Construct my game because Unity is more complex than.SO what I want is a program that can give these informations for my developeds apks.
Thanks A LOT to everybody that answers my question!

Instead of using PhoneGap, try to use Intel XDK and use Crosswalk as the wrapper for the game. Much less issues and you have better control over versions and plugins. Plus, it's free for unlimited apps, unlike phonegap.

Related

[Q] learning how to develop apps

i want to start making apps for android but dont know where to stat i have the sdk on my desktop but thats about it. If someone could please help me or push me in the next step please do so.
Just go to the dev guide on the Android website to start making your first Hello World app. As for language, Android (I could be wrong) uses Java. Again, I could be wrong.
Sent from my GT-I9000M using XDA App
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Same here. Thx for the advice.
elindemann said:
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Click to expand...
Click to collapse
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
DaoMingJin said:
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
Click to expand...
Click to collapse
Wow, I'm very interested. I might check it out.
sent from my pimp hero running Froyo CM6 and the XDA app
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
MoSyncTony said:
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
Click to expand...
Click to collapse
It really depends on how much control and you really need. If you're going to write games, then you do need speed that C++ and the Native Application Development API on android can give you. If you're writing a social networking app, the speed of C++ would really be an overkill.
As far as i've read, PhoneGap still has a lot of issues. And the build process is a bit more complicated than on Titanium Mobile.
If you're just using the regular Android API to write apps, i don't notice a lot of difference in speed execution between writing it in pure Java, or using Titanium mobile (using native code and UI elements - i don't mean putting everything into a WebView).
The current app that i'm writing now i don't think can be written using Titanium Mobile or PhoneGap (unless i added some native functions and did my own fork of PhoneGap).
More or less, i'm writing an App for Android and JRE/Linux systems that will allow me to enumerate, and access USB status bits, and USB data frames of a given USB device, and then allowing that USB device to be accessed through a TCP or UDP connection.
I might be able to do this with Titanium Mobile, but i don't think i can. As the only files you're allowed to access are on the SD card, application data directory, and temp directory.... i think there's one other place you're allowed to access too, but i never used it. However later today i might just try to see if i can access the /Dev/DSP01 (aka sound card) on an android device. If i can, i think i could write it using titanium mobile. I'm already halfway done with this app in pure java, so i wouldn't actually rewrite it in Titanium Mobile now.
DaoMingJin said:
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go.
Click to expand...
Click to collapse
Thanx mate!
If you looking a book or something to teach you the basics Beginning Java Programming for Dummies and Android Application Development in 24 Hours are good reads.
I'd rather not fill the forum with more threads so I'm just going to ask my question here. What is the best way to read the android dev guide on the device itself? Just going to the site directly? Ideally I'd like a pdf or something designed to be read on a small screen. The site can have formatting issues when read on a small screen.
Sent from my SPH-D700 using XDA App
I've been developing for a long time (nearly 30 years), and whenever I need to learn a new language I start with the Sams range, "Teach yourself whatever language in X days/hours". They're pretty good and this is available for Kindle, which is great if you use the Amazon Kindle app...
http://www.amazon.co.uk/Teach-Yours...1_fkmr2_2?ie=UTF8&qid=1287485537&sr=8-2-fkmr2
It obviously costs, but I really do rate those books as brilliant starting points. The rest is google and friends on here.
Hope this helps - good luck mate.
Personally, I've been coding in Java for what... four years now? I'm feeling dwarfed here by johncmolyneux but honestly, the best way to learn is to not use an IDE like Eclipse, but to use something that you have to hand-code everything yourself, such as Geany! You learn fairly quickly after writing a few applications.
If you are thinking "titanium", "mosync" or "phone gap" it is worth doing a bit of background research. There are several extremely powerful tools out there that can help you build cross platform apps - these are among the top ones.
bit more discussion about this here: http://forum.xda-developers.com/showthread.php?p=16703287#post16703287
There are a few useful reports comparing them - check out ours by googling "triballabs cross platform"
The Google App Inventor makes it pretty easy to create your own Android apps. Best part is you don't need to learn any programming languages. You won't be creating anything too complicated like a video game for example, but it's a good start nonetheless.
http://appinventor.googlelabs.com/about/
If you want to learn the basics of Java, then please check out a book called as "Head First Java". They really explain the basics with the help of real life examples to make things much simpler so that people understand.
Beginner app projects
I'm also just getting started with app development. Something I've been looking for is a beginner app project. Wish I could find a walkthrough of a simple app like a game of Hangman or something like that. I've been through the android developer training web site and got some good info but some things I'm still a little stuck on. Id Love to see an actual app (rather than just a mock up of some fields and buttons) and then a slightly dumbed down explanation of the code. Might be a lot to ask but man it would be great!

building your own apps?

I want to create my own app are there any free or cheap tools to build own. I want it to be able to be able to stream videos, listen and read rss feeds and send credit card info. Any advice or points in the right direction would be very helpful. Thanks
Eclipse, and you need to know java language. Otherwise you can't just have a tool create everything for you.
Sent from my PG86100 using xda premium
I'm also interested in trying my hand at apps and games. Is Eclipse and Java the only route or are there other methods? I've heard of using Flash designer, but I don't know. price is not an issue for me, quality of the app/game is, so if there is a "better" way than eclipse I would like to know. Not saying Eclipse is bad(because I have NO clue). just would like to know all the options, free or paid, on how to create for both phones and tablets.
g0t0 said:
I'm also interested in trying my hand at apps and games. Is Eclipse and Java the only route or are there other methods? I've heard of using Flash designer, but I don't know. price is not an issue for me, quality of the app/game is, so if there is a "better" way than eclipse I would like to know. Not saying Eclipse is bad(because I have NO clue). just would like to know all the options, free or paid, on how to create for both phones and tablets.
Click to expand...
Click to collapse
Check out corona sdk.
Sent from my PG86100 using xda premium
You can develop your own application if you know java language with the help of Eclipse and ADT Plugin along with android SDK and any platform that you want to develop for in the SDK (Thats lots of tools there but once you setup you can develop unlimited amount of apps or games) You can download android sdk from developer.android.com/sdk/index.html and eclipse from eclipse.org (google download eclipse)...
For resources and tutorials (i.e to begin developing your own first app) setup android sdk and eclipse and visit to developer.android.com/resources/index.html (there are lots of tutorials and code to help you get along)
All the best with software development.......
---------- Post added at 03:25 PM ---------- Previous post was at 03:21 PM ----------
g0t0 said:
I'm also interested in trying my hand at apps and games. Is Eclipse and Java the only route or are there other methods? I've heard of using Flash designer, but I don't know. price is not an issue for me, quality of the app/game is, so if there is a "better" way than eclipse I would like to know. Not saying Eclipse is bad(because I have NO clue). just would like to know all the options, free or paid, on how to create for both phones and tablets.
Click to expand...
Click to collapse
Also everything you get to setup a environment for developing is free of cost and for developing in phone or tablets choose the os platform in android sdk and download the os that the device is running on...
Also Ecplise is the best for the job. (I think you can also use netbeans or othere java editors to edit souce code but not so sure)
For more detailed info on setting environment for developing your own applicaitons and games at your own personal computer please see this http://yagyagaire.blogspot.com/2011/09/how-to-develop-your-own-applications.html article.
Please Hit Thanks Button If my post was useful!!
There's also intellij IDEA, which has a free (opensource IDE) that comes with all their android development tools. It lacks the GUI building that eclipse has, but it makes up for it with other things. I bought their paid version when it was 50% off sometime ago for the extra features it had like python and php editing.
http://www.jetbrains.com/idea/
zuma for android
Hi, is there an app to change a cab file to a apk file? I use to have an HTC HD2 and there was a cab file with an awesome zuma app on there. Is it possible that anyone can show me how to convert a cab file please????
adbookeronline said:
Hi, is there an app to change a cab file to a apk file? I use to have an HTC HD2 and there was a cab file with an awesome zuma app on there. Is it possible that anyone can show me how to convert a cab file please????
Click to expand...
Click to collapse
lol...no. that's like asking if you can convert from a windows execute to something you can run on linux (without wine).

[Q] New to development!

Hey im a programming student in my second year and ive been wanting to play around with some android development (mostly because my school doesnt teach java or php. Im pretty experienced with visual basic and C#. But my questions is can someone help me out with a link to or something where I can take a look at some open source code for some android apps? It can be as simple as tic tac toe I dont car. Im just basically doing some research myself. Also is eclipse the best compiler for android development? Thanks
You can find quite a number of examples under 'Resources' on developer.android.com.
You may be interested to know that Eclipse is not a compiler, it is an Integrated Development Environment (IDE). What is better or not is largely a personal preference, but starting out you are likely to find more tutorials assuming you use Eclipse than anything else.
Source of pre-installed Android Appliaction is open. And you can program with eclips for Android App.
Sent from my LG-SU760 using XDA
Android is open-source, but not the apps.
You can run Eclipse, and create a new project from existing samples. You will be able to choose from a list (this samples come from the sdk, if you downloaded them).
There are some games (snake, ...) and demo apps like API demos.
And Eclipse is very good for Android development, especially if you use the plugin ADT tools.
I am more than happy to have all the eyes I can on my code. I would post a link, but (no rant here)...
AWOL: ArchWiki Offline
by
Tetractys Productions
Search for this on the Google App Store with search term "archwiki".
The code isn't great as I am a novice with both Java and Android, but you will find use of Activities, WebViews, Menus, using external Jars and perhaps a little more. If your scholarly background leads you to make a suggestion or two... please do.
Also... don't buy most of the books. They suck. The "cookbooks" seem pretty good and the Android Developer Documentation and Stackoverflow are your friends. I wasted enough money on Android books I will never read. Hope you don't fall for that too.
Rant:
10 post requirements encourages low quality posts. Perhaps its a good trade-off, but from where I'm sitting I'm drinking HaterAde.

Beginning making games/app

Hello,
i am new to android, but i have now a HTC One X.
My question is i want to learn how to make apps and games for android.
For now i want only beginning tutorials steps to follow.
I am going to Employee management ICT school, but next-year I get lessons in application development.
So if you start now, i can only grow for later.
So i want to know, what must i need to start, what kind of applications/dev kits etc. (price doesent mather)
and some steps in the good way.
Thanks in advance,
I suggest you to learn java very good. after you understand the OOP and other java principles, learn the Android SDK(if you understand the principles, its will not be difficult).
for java download Eclipse and java SDK.
find a good tutorial in your language about java. (becausse that you have Google)
good luck!
What kind of games are you interested in?
Are they 3d games or simple 2d games?
Which programming language do you know? c++ or java, maybe both?
Hmm, i dont have knowledge about java or something like that.
I prefer 3d games, i tought to use Unity3D ? is that good.
But if i learn some java it will be come good ??
When it comes to android, java is really helpful in overall.
If you want to make game 2D, you may make it only in java. Read about andengine framework. I think it's best free 2d framework.
For 3D games, it's good to use existing engines, also Unity3D (as i remeber, you should know c#), but there are many other engines (like j3Monkey). Some needs java some C.
Knowing only C/C++/C# will be really troublesome to create game for android.
android games need to know java, such as this for it makes the application
i agree, but...
you don't need to know java to make android game. It's undeniably helpful and makes life easier, but it's not strict requirement.
There are engines (i.e proton, but i wouldn't recommend it to use ) fully wokring in ndk and giving you - at the beginning of project - whole set of activities and methods required for proper working app.
aagames said:
i agree, but...
you don't need to know java to make android game. It's undeniably helpful and makes life easier, but it's not strict requirement.
There are engines (i.e proton, but i wouldn't recommend it to use ) fully wokring in ndk and giving you - at the beginning of project - whole set of activities and methods required for proper working app.
Click to expand...
Click to collapse
I am also interested in making games. Did you make a great one? Let me know :highfive:
wow... what an old post you dig out
but, yes. i did few:
A&A Games Google play games

Modding - Game APK

So I've been currently stumbling across old games I've been playing on my android mobile devices as a kid. Since nostalgia overwhelmed me, I went to the GooglePlaystore to Install a certain Game again, I couldn't find it at first, so I used an external link to the Game in the Playstore, installed it then, just to see a Notification in the Home Screen, that the game has shut down and is "no longer playable". Yeah screw that. I found an APK of it, after hours of seraching, that is working, however the Game is completely offline...which is totally fine, except for the fact that I would like to increase the Ingame Currency. Now the question is, is it possible to mod those? I can't use a free in app pirchase mod, sincs, as i said, game is offline so I can't even click on the offers.
I will be forever grateful to everyone who can help my with that, since I am unfortunately still at the beginning of my road in modding. Thanks and have a good day!
I'd be happy if someone could suggest a solution because I also have a nostalgia for a few games. However, I think this case needs a hack and without the right skills it's impossible.
@VoidLinny
to get an idea what's the effort to mod an APK look inside here:
Decompile an APK, modify it and then recompile it
I need to modify an existing APK, modify the sources and then recompile it. I can decompile it using dex2jar or apktool, it's working great From the jar file I can obtain the java sources (using ...
stackoverflow.com

Categories

Resources