Hello,
I want to develop an app for the Android OS but I am a total newbie and need some advice to get started.
What I want to do is study and add some extra features to the existing Android Open Source Project Contacts Manager (found in github: github.com/android/platform_packages_apps_contacts/tree/jb-release). I figured that reinventing the wheel is a bit stupid. I tried downloading the source code and creating a new android project from existing code in Eclipse. Unfortunately the code is full of references to classes that aren't there. I don't understand how this is possible when everything seems to be in order, the Google APIs are there including Android.jar.
Obviously I am doing something wrong or I have missed something, or maybe I am doing this totally wrong. Thanks in advance.
Related
Okay, 1st i am willing to learn
2nd i have experience regarding programming... Though i am not expertise since i learn myself (waiting for result b4 college)
What i know is some php html java some c# too
So thinking of linux/unix system, i am not good with that
So hoping some "high level" user can help me out like some setup procedure etc
Drivers that need to be pump in b4 source code work for x10 hardware etc...
Thanks,
johnlth93
hi guys,in the past i made a rom for my wm 6.5 device ,now i want to develop custom ROM's for my Mini,what are the sites/topics that i must see? what are the fundamental things that i must know?how hard it is?is there a Kitchen like in WM?there are REPOS like in WM for specific phone DPI?who is the rom structure?
I had already talked about this in another post so im just going to copy paste it out of laziness:
Some links
Start by going through source.android.com for the general basics if you havent already.
Also, even though Google removed the PDK (Platform Developer's Kit) from the site, it has been mirrored on kandroid here: http://www.kandroid.org/online-pdk/guide/index.html
The stuff in the the PDK, although inadequate, is still very important and explains how to create the necessary makefiles to add to the build, configuring for a new market, etc. etc.
Also,
watch these two videos over here. These were very helpful in my ROM development:
http://www.youtube.com/watch?v=1_H4AlQaNa0
http://www.youtube.com/watch?v=rFqELLB1Kk8
Learn to use github. It is helpful for you to keep track of your changes as well as incorporate others works into your own.
http://help.github.com/
Finally, Cyanogenmod repos are your BEST friend. Almost all major AOSP ROM devs owe some sort of thanks to those guys who have done so much. If you want to check out some of the code changes and patches that you want to incorporate look here on their gerrit:
review.cyanogenmod.com
If you want to look at the other changes that are actually in the cyanogenmod builds, best to look at their git repos here:
https://github.com/CyanogenMod
I am still learning right now while I create my ROM but your welcome to PM me if you have any questions
Click to expand...
Click to collapse
As for kitchens, there are a bunch of them.
For theming, there is UOT: http://uot.dakra.lt/
For HTC based phones (+ some others), there is dsxida: http://forum.xda-developers.com/showthread.php?t=633246
For others, just search the chef threads.
If you want to learn true ROM development, dont use kitchens. Study, study, study from the links above and the source code. Learn to make custom modifications in code. This will give you a much deeper understanding of how everything works.
If you want to just edit, add apps, and repackage them, then kitchen will be easy and clean.
As to how hard is it? If you're gonna work with source and do significant changes, then it will be difficult (as documentation is slim to none) but very satisfying. Like cyanogen said in the other sticky, learn how regular android apps interact with the system. Create a few test apps and go from there.
Hope I helped
To all the wise self taught know how to get it done programmers out there, if you had to tell someone how to start with no base knowledge or computer science classes how to learn to build roms and apps for android where would you direct them..is there a list of books or what can i study to help me. Ive unrooted a few phones and done a few things with the help of well written guides and great forums, but im done not understanding how these process work , please point me in whatever direction i need to start for building my base understanding so i can build for android in the future....help me obi-wan...
http://forum.xda-developers.com/showthread.php?t=1415284
If you want to develop apps you must learn programming, object oriented concepts and software design/architecture. The general concepts can be learned with every language but for Android is Java a good start.
For the technical stuff you should know general Linux stuff at first, development of drivers, how compilers work...
My ToDo list would look like this:
1. Learn general programming in Java: address book app,
2. Use the Eclipse IDE, SVN usage, code styles, design patterns
3. Understand the architecture of Android and the Android SDK: App Lifecycle?
4. Play with the Android Samples; write simple apps
5. Look into the Android source and try to tweak/modify some OS related parts
6. There are also open source custom roms you can take as reference
1. Learn some Linux stuff; shell commands;
2. Hardware related topics...(not my world either
All in all it's just a lot of experimenting and learning by doing, but always do small steps in your development process and don't expect miracles.
Okay so im trying to port over Firefox OS but im stuck at
Create a manifest for the new device
Now you need to add a manifest file for the new device. Refer to one of the existing manifests for a template. You can use the hamachi manifest a reference. Once done, you should add and commit your new manifest to your local b2g-manifest repository:
hamchi manifest -> https://github.com/mozilla-b2g/b2g-m...er/hamachi.xml
im not exactly sure what needs to be changed and what needs to be put in the areas that i do change the only other device ive did anything relative to this is ZTE Open C i also have a manifest for it several actually so im entirely ignorant but i am at a point of being dumbfounded on how to change this up so it can ./config.sh correctly
so my question is ... will someone help me create a proper manifest from the refrence manifest/point me to a manifest thats already created ive looked on google and havent found one so im asking you guys
thanks for all help its appreciated
Bump for Firefox goodness
Do you have android source for your device?
My understanding is that Firefox OS is basically built on top of an Android kernel with some of its libs and such so that device makers don't need to write new driver stacks. If you look at the hamachi manifest that you reference, it looks just like an android manifest and in fact refers to android's source repo as well as what looks like qualcomms android kernel source(codeaurora).
So start with a Android source tree for the LG G2 (that's your device right?).
Hi!
I want to make an Android APP completely undeletable from my custom Android OS, and I need help.
I'm very new to AOSP development and I know that doing an app undeletable is not hard but I don't know how!
Another thing that I need is to change functionality of physical home button to open my app with "double tap".
Is there any body that have a special knowledge or experience in AOSP development that can help me in this project?
I would be glad to here from you.
hamidreza94 said:
Hi!
I want to make an Android APP completely undeletable from my custom Android OS, and I need help.
I'm very new to AOSP development and I know that doing an app undeletable is not hard but I don't know how!
Another thing that I need is to change functionality of physical home button to open my app with "double tap".
Is there any body that have a special knowledge or experience in AOSP development that can help me in this project?
I would be glad to here from you.
Click to expand...
Click to collapse
Nothing?????
Well, make your application a priv-app (privileged app) and have it output to /system or /system_ext.
.bp example:
hardware_oneplus/Android.bp at 38bfa7eb9f9d80d49e4bcb064bdc0325a511b427 · Evolution-X-Devices/hardware_oneplus
Common OnePlus hals, interfaces, & packages. Contribute to Evolution-X-Devices/hardware_oneplus development by creating an account on GitHub.
github.com
.mk example:
android_device_oneplus_sdm845-common/Android.mk at 5d98dffe88bb024bae66e3a77afda5a1c446f519 · LineageOS/android_device_oneplus_sdm845-common
Contribute to LineageOS/android_device_oneplus_sdm845-common development by creating an account on GitHub.
github.com