Android :: How To Learn Droid Build System
Feb 4, 2010Could anybody give me some suggestion about android build system? It is too difficult for read to me.
View 2 RepliesCould anybody give me some suggestion about android build system? It is too difficult for read to me.
View 2 RepliesI have the android resource.
. build/envsetup.
sh make
Above two steps I have finish the source build, and the out directory has some useful file. but I can't understand how to make a zip file like update.zip. I want to flash my phone.
The Eclipse build for my 1.6 application project is succeeding and the Ant build is failing. I'm looking for help on why they aren't behaving the same way.
We are developing on Mac OSX 10.5.8 with Eclipse 3.5 against SDK 1.6 + Google APIs. There are no setting changes in Eclipse, either at workspace or project level. Similarly, our ant is also a vanilla-flavored unmodified installation of 1.7.1. JDK is 1.5.0_22. The CLASSPATH environment variable is not set. JAVA_HOME is /Library/Java/Home
The application was initially created by a team member using the Eclipse plugins. The application references two jar files, one of which has a dependency on javax.xml.bind.annotation.XmlSeeAlso, which is not defined anywhere in our code or in android.jar. The other jar file has an explicit dependency on android.jar. I generated the Ant build file using android update.
The Eclipse project builds an apk and runs the application in the emulator. I think this is incorrect behavior.
The Android ant project fails to build. I think this is correct behavior. MyClass.java:98: cannot access javax.xml.bind.annotation.XmlSeeAlso [javac] file javax/xml/bind/annotation/XmlSeeAlso.class not found
Why the two build methods are behaving differently? I would expect them both to fail.
I am giving product build in Android 1.6 in Ubuntu using make. First time it is fine. But next time onwards if I try to build it again without cleaning it, the system hangs after some time. Even if I try remove the out folder to clean, the system hangs. So every time a fresh build takes too much time. Did anyone face this issue? I am using 1 GB RAM, 1 GB swap space and 40 GB linux space(65% space is free).
View 5 Replies View Relatedis it possible to Build System apps like Contacts on Windows?
If i download for example the source of Contacts.apk it shows errors like "ACTION_CALL_PRIVILEGED cannot be resolved or is not a field".
Is there a Possiblity to make it work on Windows?
Should I learn Java before learning Android or I can do both things in parallel? What is the best approach?
View 5 Replies View RelatedHow to increase the system volume by editing build.prop?? (system volume like key press sound,camera sound..etc) or any third party software can increase the system volume?
I check the system volume by using audio manager app..and it show my system volume already maximum... I using huawei u8950d....
I consider myself an Android developer, after having created four apps and learned a lot by creating them. Now I've begun my venture into the iPhone app development world, and I don't remember the Android learning curve being this extreme. It doesn't help, though, that I was very familiar with Java and Eclipse whereas I hardly even know how to use OS X. I learn fast and I know exactly what I want to make, I just need the means to get there. I'm really floundering with Xcode and the new project templates (of which there are several, and I hardly know what they mean). I know there are many books and things out there for starting from scratch but I feel like my Android knowledge should count for something. Is there a good resource for learning the basics of iPhone development, given that I am quite familiar with the Android platform? I'm looking for anything that converts Android knowledge to iPhone knowledge; a table of UI element names in each platform, or of concept equivalents, or a compare/contrast of the frameworks involved, or anything that will increase the rate of learning given that I know the Android platform already.
View 2 Replies View RelatedI started to work with the latest Android version for OMAP3430 (Zoom1) platform by getting sources via "repo sync".
The u-boot and kernel images were built successfully but file system build encountered the issue for
CODE:..............
Which Android version to use and how to get it via repo?
Duplicate: Question 167179: Java Tutorial
I want to learn Java because I want to program for the Android but don't know the best place to look. Where did you go.
I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.
1. Why the error occured?
2. Changes which I did is correct or not?
I want to buy a book about android, not just some demo samples, I want to learn real android app from the book, which book should I buy?
View 6 Replies View RelatedCan anyone recommend a good Beginner Android programming book? When I was in college about 20 years ago I used to program a lot (Basic, Pascal, COBOL, Fortran). I dabbled a little bit in VisualBASIC about five years go, but it was really a hack. Now, I really have a burning desire to write some applications for my Android phone, but I really don't know anything about all the new programming technologies (OOP etc). I'm looking for a good book that will teach me modern programming using Java and the Android platform.
I've seen good books on learning Java 6 and some good books on programming Android (but they all seem to assume you know Java or C), but nothing that seems to combine the two. I'd really like to learn Java right on the Android platform to begin with if possible. I know there are a lot of resources available online but unfortunately much of the time that I will spend on this endeavor is when I won't have internet access so a good book would go a long way.
Why is support for OpenGL lagging so far behind with Android? I have ebooks that date OpenGL 1.0 ES back to 1997 or so. I don't understand why ~13 year old technology is what's being offered in the Android API. Could someone enlighten me? What's the best path for someone wanting to learn OpenGL ES 1.0? The ebooks I have are of course not oriented for Java/Android and most everything in them doesn't work when I try it. I can post some specific examples later but at this point I'm just wondering if I'm wasting time or if I should keep going and struggle through it. I have a tiny amount of OpenGL experience but it's with 2.0 and apparently things were very different back in the ES 1.0 world. I guess my question boils down to, is OpenGL ES 2.0 support coming to Android anytime soon? And what OpenGL ES 1.0 + Android learning resources already exist?
View 10 Replies View RelatedI have some knowledge about Human computer interaction and some basic knowledge programming scripts (Python) that run from start to finish and automate some tasks I want to do or calculations. In the past I built interfaces in HTML with PHP behind it. I would like my python scripts to evolve from the command line and build some applications with GUIs that would allow the user to drag files and push buttons to initiate operations and check progress graphically. Since I write my scripts in Python I looked at some of the options (Tkinter, wxPython, PyQt) but I can't make a decision between them to invest my time learn one and not the other. My criteria: Has a introduction for programmers for GUI (what are the differences from a script, examples of some simple interfaces). A framework that would allow me to run my programs on the platforms I use most (Windows) but that can also run on Mac and maybe Linux, without too much modification. If not the same, similar to how you program GUI for Android and/or Nokia smartphones. I'm planning to write some programs for these platforms in the near future so I would like to carry over some of the lessons here onto those platforms, if possible. I did find this previous question but none of the answers are satisfactory. Does any of the frameworks fit these requirements better than the others or are they essentially similar and I would be happy with any of them?
View 2 Replies View RelatedI want to learn mobile programming, specifically Android or iPhone programming, but not sure if it is necessary to learn J2ME before working with Android or iPhone. I know only core Java (and OOP concepts very well).
View 7 Replies View RelatedI'm beginning to learn mobile programming on the Android platform. I'm up for working with any particular base SDK. I just want to hear some suggestions from the community about what types of applications I should start with to help learn more advanced interactions with the platform.There are of course the Standard Hello World, calculator, etc. But by now I am bored with all of those.What do you all make when learning a new language?
View 10 Replies View RelatedI've noticed that no apps are running according to Task Killer. I do NOTHING on my phone and look at Task Killer again and see that several applications are NOW running in the background. Is there anyway of learning what is triggering them to launch ?
View 2 Replies View RelatedI am interested in getting my feet wet in PDA/mobile development.The only two drivers for me are the drive to learn cool (or at least, new) stuff, and may be to code some app that I felt I really needed but lacked. As such, I would like to know what the comparative benefits/downsides would be for me as a developer in choosing one of the three platforms (iPhone vs Palm Pre vs. Android.I will have access to any of the 3 but not to Windows mobile).This is not a duplicate of this question, since I do not care at all about that question's data points (cost of the handheld, popularity of the platform). Also, just to be clear, my goal is not financial at all - I don't plan to make money off of such development nor directly use the skills in the area I might obtain in my career (e.g. I work on stuff that has zilch mobile exposure and will remain so). So concerns such as "installed user base" are pretty irrelevant. All I care about are tangible (learning) and intangible (sheer joy of it) benefits to me as a developer.Also, please be positive and don't put down other platforms or otherwise use this as a holy platform war excuse. I have edit privileges and will mercilessly edit any un-backed-up-by-facts attacks on any platform that aren't downvoted.
View 8 Replies View RelatedI am a newbie to Android and the Eclipse development environment and would like some advice on best practices for debugging my apps when they throw a Force Close.I have researched ADB, however, I can not get this to interact with my phone even though I have explicitly turned debug mode to true on my test handset.Obviously Android comes with a LOG method which I have seen utilized in many example apps, can someone please explain how to review these logs quickly and how to setup logging appropriately to determine the cause of a Force Close (always occurs when I push the Home button).Any advice on debugging effectively in Eclipse would be much appreciated!
View 2 Replies View RelatedAs part of the college mini-project, I am developing a micro-blogging platform for Android. I am planning to use Django framework in python to handle the communication between Android and remote server so as to make database API independent. I heard its best practice to use HTTP methods for the communication. Which is the best site/book to learn using HTTP methods for Android?
View 1 Replies View RelatedI have a phone with a MT6577. The vendor (Wiko) published the kernel source code. So, i'm trying to build it. I can get the zImage. I converted it to boot.img but i can't boot with it on my phone.build a good zImage? (if you want to try) : URL...
cp mediatek-configs .config
TARGET_PRODUCT=s9081 MTK_ROOT_CUSTOM=../mediatek/custom make
# sudo mtk-tools/repack-MT65xx.pl -boot zImage boot.img-ramdisk boot.img
MTK-Tools by Bruno MartinsMT65xx repack script (last update: 27-01-2013)
Repacking boot image...
Ramdisk size: 2046 blocs
Repacked boot image into 'boot.img'.
Here are the Warnings I got when compiling
mediatek/platform/mt6577/kernel/drivers/video/tvc_drv.c:61:5: warning: "FIXED_WVGA_PARAMS" is not defined
net/ipv4/tcp.c: In function 'tcp_nuke_addr':
include/net/ipv6.h:338: warning: 'in6' may be used uninitialized in this function
net/ipv4/tcp.c:3367: note: 'in6' was declared here
In file included from net/ipv4/netfilter/ipt_LOG.c:27:
include/net/netfilter/xt_log.h: In function 'sb_close':
[code]....
I try to learn java for android devices. i have to create the update function. But still have one question: How?
in class root
public void update(){maindebug("update"); // This is my debug function}
public void run(){ while(isRunning){ // isRunning is a boolean variable
SystemClock.sleep(100);
update();}}
and inside onCreate run(); but it doesnt work.
I am considering rooting my phone because I like to tinker with things and learn new things, just for fun.Aside from learning new things, I would like to also install apps that require root permission like greenify... I'd also like to learn enough to remove crapware from my wife's gs3, but not until I learn how to do it with a level of confidence on my own phone.
I have a Nexus 4 right now, and a 5 on the way. I also have a 2012 nexus 7.Generally, how easy is to learn about rooting on a nexus? Good phone or tablet to start with? Easy to recover from mistakes?
I am getting out of time for the android app. I am not a lazy guy but I got indulged in some urgent problems. I am a recent computer science student and have intermediate knowledge of java. However I am good at PHP. Way to learn Android and start developing apps immediately.
View 5 Replies View RelatedI am trying to build android source code (specifically the applications such as the alarm clock, calendar) and when I do this using eclipse, there are 1000+ errrors being thrown possibly due to mismatch of class path and other environmental settings. Can somebody please help in terms of any said steps to follow for building the application projects under android using eclipse? This is important since I need to debug certain issues and due to failure of compiling I am unable to debug via Eclipse as debug requires an open project compiled successfully to be present. FYI- I have installed the DDMS plugin and ADT successfully and am able to communicate with the target successfully using eclipse, but unfortunately not able to debug due to the above said reasons.
View 4 Replies View RelatedI've been trying for days to build the android source in Ubuntu. I followed all the steps outlined in "http://source.android.com/ download", but the actual make of the source fails. I captured the terminal output and saved it to Google Docs in the hopes that someone a lot smarter than me can figure out what I'm doing wrong :)
http://docs.google.com/Doc?docid=0Ad3KKVAuyg0zZGQ1cTN6ejVfMGdzd3ByM2M...
If your not on it with the twitter follows, Team Black Hat released a new leak this morning, Android 2.2.1 & Build # 2.3.320. Just passing info along give all thanks to Team Black Hat!
Article about it: Droid X gets NEW leaked 2.2.1 Froyo build 2.3.320 courtesy of Team Black Hat. | Gizmo Ninja
Link directly to leak and TBH/Mydroidworld.com. TBH & MyDroidWorld Strikes Back: 2.3.320 update **Must be rooted**
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to look at LogCat and examine the stack trace associated with your error.
- Hide quoted text -
I'm trying to get android running on a gumstix overo system.
since i'm not planning to use the final "product" as a phone, i asked my self if it is possible to exclude applications like the phone/dialer-app from the kernel build-process (any config parameter probably?)=