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
Related
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
Hi guys,
I need help. Really I have search on google again again and again but I couldn't find anything about this topic..
My government gave us galaxy (10.1) tablets instead of books. But unfortunately this tablets's OS is not a normal android 3.2; It has been customized and we can't access many applications or other thinks. So I've decided to make a new custom rom for this tablets to offer in a competition of project. I have 2,5 months for this competition and I should make this rom so I need help. I've downloaded the android source (I want to work on 4.1jb) It is 4.2gb on my ubuntu 12.04 and I don't understand anything till see your answer on stackoverflow. I read and have some knowledge about system but It is not enough.. I know c# lang and I know general coding for 4 years.
I should edit the launcher (I said desktop but I don't know how calls It..). It has programs and widgets tabs and I want to put a new tab here. And anyone cannot see programs and widgets tab without any permission. This permission will give students's tablets by teacher ('s tablet). So, students can't play anything in the lesson but when it is over, stundents can play anything what they want.. Teacher will give the permission before leaving class..
This is what I want to do.. Briefly, I want to make a custom rom but directly using android source codes.Because I think I can't make this rom with using kitchen or just editing .apk files..
Thank you for your help..
Go to chef central in XDA forums it's very interesting (read all stickies), build a good kitchen and start building. Take some CM things to build a great ROM.
Sent from my RK29 tab...
I have thought It cannot work, haven't it?
Because I want to make a custom rom with using details. Not just editing .apk packages etc.. I looked for kitchen when I begin to make costum rom but kitchens don't satiate me.
Do you think again I should look kitchens ?
dmrc1143 said:
I have thought It cannot work, haven't it?
Because I want to make a custom rom with using details. Not just editing .apk packages etc.. I looked for kitchen when I begin to make costum rom but kitchens don't satiate me.
Do you think again I should look kitchens ?
Click to expand...
Click to collapse
If you are editing the source code you are doing more than modding apks. What I recommend to you is start building a Android with main features for example low requirements. Then you start deleting all those stuff you don't need building a very small Android. Then you modify system ui like appearance and themes and you start adding those great developer community apps. Those steps are easy for start then you'll modify those great things. And if you have time you should create a project web page in Google developers and start getting support and testers. Also if you post here your Roms you'll gain experienced developer support.
Remember you are building a Android Room not a new OS. Start modding and removing not useful stuff.
If it helps give thanks ! :thumbup:
Edit: I also recommend you if it's possible to don't work with Honeycomb... If you wanna get good results use Jelly Bean or Ice Cream Sandwich.
Sent from my RK29 tab...
SferaDev said:
...Remember you are building a Android Room not a new OS. Start modding and removing not useful stuff.
If it helps give thanks ! :thumbup:
Edit: I also recommend you if it's possible to don't work with Honeycomb... If you wanna get good results use Jelly Bean or Ice Cream Sandwich.
Sent from my RK29 tab...
Click to expand...
Click to collapse
Yes, I'm just editing an android rom not making a new OS. And I'm not working on Honeycomb. I got the source of JB.
Okey, I'll start doing your thinks. But I've an idea and if you know, please help..
Yes, I don't have to edit source code and it seems very hard to do. But I thought making a new tab panel like this panels top of JB. Check it.
http://androidplus.in/wp-content/uploads/2012/08/Jelly-Bean-Apex-theme.jpg
There are apps, downloaded, widgets tab panels on top. If I can add a new panel just with coding a new app. (not editing the source), It would be a solution for me. The panel that I'll add (let's call it education panel) have to open and close with my command (the command that comes from teacher in realty). If the command doesn't let the user of tablet to switch other panels, user can't switch. The education panel is like apps panel and contains some essential tools (like e-book, notepad, some videos about education etc.). Do you have an idea how can I do? or can I do this with just an application?
Please give me knowledge.. (Again I don't have to edit source code (like you've said) if I find this quests answer.)
Ok let's remember how Android it's divided...
I think you must modify for this launcher and systemui, if I'm not wrong. You must deodex the files inside the app package to build the eclipse project.
Good to know you aren't working with Honeycomb
Sent from my RK29 tab...
I was reading out in Android Dev forums and those links are useful to you:
http://forum.xda-developers.com/showthread.php?t=1732635
http://forum.xda-developers.com/showthread.php?t=1814441
Click to expand...
Click to collapse
Sent from my RK29 tab...
Got it. Thank you.
I was (am) busy for this job so I can answer now
dmrc1143 said:
Got it. Thank you.
I was (am) busy for this job so I can answer now
Click to expand...
Click to collapse
For anything you need !
Sent from my RK29 tab...
Hi.
I'm a java developer who wants to start to develop and learn cyanongenMod and AOSP. Start by saying that I have a good knowledge of Java and Android development but little knowledge of programming and debugging in C / C ++
I have readed all the documents from AOSP sites and following the guide found on source.android.com.I was able to setup Eclipse for all the Java applications
Pros: I can study the whole Java nature of Android and Cyanogenmod, using eclipse as a "code browser"
Cons; unable to edit the layout.xml (for example) and unable to use the Android feature of an eclipse project
It could be nice for Java developing, but for the others projects and OS parts there isn't a "IDE setup guide". I am a little bit confused about how the general development workflow goes. The build procedures for every device found at CM wiki are great but...after that?
How to develop, modify and debug a single Java Application on a real device?
How to develop, modify and debug a c/c++ driver or patch for a real device?
If I want to work only on a single Java application, I can't import it in Eclipse. If I want to debug on a real device (for example, the photosphere feature in Samsung Galaxy Tab 10.1 does not work), I can't setup a debug environment.
Where I can find a good guide-site-tutorial ?
I use this link whenever I get a new computer etc. This not only explains what to do but has all the download links and more. Good luck!
http://www.makeuseof.com/tag/write-google-android-application/
Sent from my Nexus 4 using xda premium
mellowdev said:
I use this link whenever I get a new computer etc. This not only explains what to do but has all the download links and more. Good luck!
Click to expand...
Click to collapse
My question is not about developing android application, but about developing android operating system. I find a lot of articles on makeuseof.org about installing cyanogenmod, for example. But no articles about developing cyanogenmod
sarbyn said:
My question is not about developing android application, but about developing android operating system. I find a lot of articles on makeuseof.org about installing cyanogenmod, for example. But no articles about developing cyanogenmod
Click to expand...
Click to collapse
Sorry but I think that is impossible that no CyanogenMod dev reads XDA forum.
If a noob want to find guide and tutorial and start develop for AOSP o CyanogenMod, where he can ask for help?
Ask from a dev in free xperia project. They develop cyanogenmod
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.
Hello.
We are looking for Android ROM Developers to customize our requirements on CyanogenMod or Lineage OS.
It'll be based on removing modular parts like SMS, File Management, Bluetooth and integrating of a few applications to it.
We need experienced people, interested people can reply with contact details via this topic or private message.