Using the Android NDK - G1 Android Development

Does anyone have a good guide to using and setting up the Android NDK? I have looked at all the official wikis, and they are not much help. I am trying to compile fennec to say the least it is frustrating.

Related

Building itsutils.dll from source

Hi everyone,
I'm trying to build the XDA utils tree and itsutils.dll from source in order to play around with it a bit, but have had no luck so far. I've searched through all the forums, but couldn't find anything about building the toolset, only how to develop for actual mobile devices.
I got the source tree for the xda utils project, but the instructions on how to build them (here) are not very clear. What software do I need to have installed? Which libraries? Do I need to install an embedded version of the STL? Where can I find the "preview editions" of Platform Builder 3.0 and 4.0 in order to get the header files?
I'm running Windows XP 32-bit (I also have a 64-bit machine, though I doubt that'll make it any easier), and have installed VS 2005, the Windows Mobile 6 SDK, and eMbedded VC 4.0.
I'd really appreciate any advice or help.
Thanks in advance,
Rob

General instruction on how to build firmware for Android devices?

Is there any source/ help/ instruction that I can check out to learn how to design/build Android OS for any supported devices? I would like to learn to see if I can build the firmware for my Eken M0001 using the latest Android version.
i think theunlockr.com has a guide of some sort. i would look there!
Code:
android-dls.com/wiki/index.php?title=Compiling_for_Android
This should get you up and running if you are somewhat familiar with the whole Linux thing. If not I would start out by learning how to compile the kernel and some standard libraries for a regular X86(_64) distro. The approach is pretty much the same, only compiling for android requires a lot more work with cross-compiling and getting a working set of standard libraries for arm.
Oh, and sorry about the link thingie. The administrators of this forum are obviously weak minded and have come up with some totally brain-dead limitations for new users. (A new user is not allowed post links , a good RP system would beat that hands down anytime)
Thanks for the info. I will check those links out.

[Q] Android SDK - How do I port ROMS???

Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
satopunch89 said:
Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
Click to expand...
Click to collapse
Do you know anything about programming? Do you know anything about Linux? Do you have any driver building experience?
I f you answer no to anyone of these, I would say it's extremely hard.
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
satopunch89 said:
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
Click to expand...
Click to collapse
hey why give up so easily? if you really wanted to learn there are so many threads to get you started. first get a linux distro, ubuntu recommended for most people.
there's dsixia's kitchen around somewhere. play with that a little. read the script's he uses in that kitchen. you'll learn a bit.
then onto building. cyanogen's wiki shows how to build from source and set up your machine to sync with it etc etc. get those sorted and try learn the above mentioned
Cool!
Are there any links to these (Or are we not allowed to post them?)
Does it have to be a linux distro? Can I use OSX?
Hacking is cool, but the problem is that it is very hard, and demands a lot of experience.
how do i delete android sdk from my vista computer
noeneel said:
Does it have to be a linux distro? Can I use OSX?
Click to expand...
Click to collapse
http://source.android.com/source/initializing.html
This is where i started... hope it helps
Sorry about bringing back this old thread, but I'm also interested in this. I have programming experience with C, C++, C# and Java. I've also developed apps for Android. I've been using Ubuntu as my main operating system for a while now, so I'm good with Linux too. The only thing I lack is the driver programming experience. I'd still like some info/tutorials about porting ROMs, if anyone knows any good ones.
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
wait4me2burn said:
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
Click to expand...
Click to collapse
Can't mess with 3.5 yet as they new files can't be decoded properly. For resizing you have to edit all the demention xmls on all the apks and m10 files. Lots of trial and error. Make sure you good with logcat
maybe this can help a little
http://www.freeyourandroid.com/guide/porting-android
heres your answer
cooltom1323 said:
how do i delete android sdk from my vista computer
Click to expand...
Click to collapse
by deleting the map where all the files are or, if you hae installed it using a setup,
use the uninstaller program.

[Q] Help?

So I have an old account on here, but I never used it for what it is intended to be. And quite honestly, I didn't like the account name. But what I'm really asking for here is help. I want to be a developer, but I dont know where to start. I want to learn how to make and/or port roms, how to theme other roms, and even make my own apps. If anybody would care to help a noob out, I would appreciate it greatly. Thank you in advance for your time, and any help that I recieve.
I would suggest learning java language which the source code is wrote in if you want to be a developer. But if you want the easy root look for the guides on cooking roms using kitchens then you can create roms with little programming knowledge.
anarchyuk said:
I would suggest learning java language which the source code is wrote in if you want to be a developer. But if you want the easy root look for the guides on cooking roms using kitchens then you can create roms with little programming knowledge.
Click to expand...
Click to collapse
Thanks for the tip on java language. And I know about the kitchens and such, its just that I don't have a mac or a linux based computer, and from what i read, you have to have one of those for a kitchen to work.
ubuntu is always free for download from their website (you can run it from a flash drive or dual boot it alongside windows)
ubuntu will install within the windows file system also and let you dual boot. might be a bit of a learning curve but its by far the best os to use when just getting started and even for more advanced usage..
once you are done with ubuntu as long as you installed it using the wubi installer you can remove it from add remove program etc...
First step on the journy to becoming a developer would be the most important one:
Learning to use search functions.
Your question has already been covered multiple times in this subforum.
anarchyuk said:
ubuntu will install within the windows file system also and let you dual boot. might be a bit of a learning curve but its by far the best os to use when just getting started and even for more advanced usage..
once you are done with ubuntu as long as you installed it using the wubi installer you can remove it from add remove program etc...
Click to expand...
Click to collapse
I did not know that, so thank you guys for all your help.

[Q] Becoming a Developer?

Id like to become a developer. How can one go about doing this? What should you start out with? Id love to develop apps and actually learn to hack into software. Any suggestions?
I am also interested in tinkering a bit, i have the currently little supported galaxy fame so thought i may be able help a bit.
but im a total noob
cheers
Spug
Well, best you both start to dig in Android Developer site [1], and get the Android SDK [2]. There are a lot of tutorials and samples to start developing for Android. Someday you can try Android NDK [3] for native development too.
But if you not know how to program at all, better to look at another place to learn how.
Good luck!
[1][2][3] I can't post links yet =/
At first, you need to select a programming code, java is the best to program in Android, but you can develop with html and phonegap (and other codes).
xTurtlex said:
Id like to become a developer. How can one go about doing this? What should you start out with? Id love to develop apps and actually learn to hack into software. Any suggestions?
Click to expand...
Click to collapse
It depends on what you want to do.
If you want to develop a ROM for your phone, it's easy if you have a base rom but if you want to start from scratch, you need much more experience.
This is a good guide for building/Creating a rom, Which can be found here.
If you want to develop an App follow this guide here.
xMDKx said:
Well, best you both start to dig in Android Developer site [1], and get the Android SDK [2]. There are a lot of tutorials and samples to start developing for Android. Someday you can try Android NDK [3] for native development too.
But if you not know how to program at all, better to look at another place to learn how.
Good luck!
[1][2][3] I can't post links yet =/
Click to expand...
Click to collapse
Are all Android SDK's the same or are there different versions? Is there a better one to use?
xTurtlex said:
Are all Android SDK's the same or are there different versions? Is there a better one to use?
Click to expand...
Click to collapse
The sdk is updated for every version of android. You don't need froyo or dounut
Sent from my iPhone using Tapatalk
---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------
1.6 0r 2.2
Sent from my iPhone using Tapatalk

Categories

Resources