My App integration with Android Source - Android

Hi friends,
Good Morning. As I have stuck up with some problem in " Integrating my application with Android source and compiling", I hope you Guys can help me in this.
"I have developed one Launcher app and a Tuner App. Tuner App is developed in c++ and Launcher App in java. Now I want to make these two apps as part of the android source(I have downloaded 2.3.4 source) compilation. In other words, I will compile the downloaded android source and I will get the image from that. After installing I need my Launcher app to be displayed in home screen, and my tuner app should be available in "My Applications" menu.
I need help step by step in
1> how to integrate my apps with the android source.
2> how to compile the source after 1st step.
3> how to flash this image.
Awaiting your help.
regards
Rajendra

Related

[Q] help me making an android app.

hello,
I am a student currently studying java programming
i have a java code that implements a program that i made using eclipse, and what i want to know is how to turn it into an android app. ?
the program takes a string input and returns another string using one main methods and many other methods they all process strings.
i have the android sdk and eclipse plugins but i have no idea where to put the code and how to sit the UI.
thanks.
i am sorry if my question is in the wrong place please tell me where should i post my question.
peace
You'll need basic knowledge about Android Development, search for tutorials, there are many of them, like this (I think that tutorial is all you need).
To can compile the code shown, basically you need:
Android SDK and ADT Plugin for Eclipse.
Open SDK Manager, located where you installed Android SDK. Download the packets of the platform which you desire as target (Android 2.2 or 2.3 is recomended, in order to achieve a high compatibility. Remember: Android is retrocompatible).
Now, you can start an Android project from Eclipse and compile that code. The Java methods that you already developed, should works fine on Android, don't worry about that
If you need more help, feel free to send me a MP, or post your question here. I'm not a developer, but I can understand the necessary things to achieve a basic Android app

[Q] No Android Project option in Eclipse with ADT Plugin.

Hi there XDA! I'm an experienced programmer and android user. I'm following a guide for creating the android project in eclipse from the android developer site, and I've followed every step up to creating the project, and the ADT plugin has been correctly installed and configured. The problem: Under the android tab in the new project wizard there is no option for android project. There are various other android options like Android Activity, Android Application Project, Android Icon Set, etc. Does anybody know how I can enable the option for Android Project? I attached a picture of the problem. Thank you!
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
You say it is correctly installed and configured, but that does not seem like the case.
Try starting fresh by going to the eclipse site and downloading the latest version of eclipse(Juno) classic. Then head to the android developers site and install the adt plugin from that guide. Point it to your sdk install; and you should the option to create an Android Application Project under Android in the New Project wizzard.
L0rdWaffles said:
You say it is correctly installed and configured, but that does not seem like the case.
Try starting fresh by going to the eclipse site and downloading the latest version of eclipse(Juno) classic. Then head to the android developers site and install the adt plugin from that guide. Point it to your sdk install; and you should the option to create an Android Application Project under Android in the New Project wizzard.
Click to expand...
Click to collapse
Thanks, but I already have completely uninstalled and reinstalled eclipse and the plugin from the site. It is also pointing to my SDK folder correctly. I've followed all of the advice for every thread I found related to this issue, but nothing seems to help.
I have also tried manually downloading and installing the plugin, and I still had the same problem...
Okay, so the problem was that the tutorial was not up to date with the newest version of the plugin. Android Application Project is the equivilent of an Android Project. http://stackoverflow.com/questions/11302175/no-android-project-option-in-eclipse-with-adt-plugin
Me too
Ifnumkey - you're not alone!
I had exactly the same problem, no 'Android Project'. Eclipse Juno coupled with the latest SDK/ADT has 'Android Application Project'. Hopefully the folks at StackOverFlow are right and they are one and the same thing. But its kind of unerving that the very first step isn't exactly as per the tutorial - I'm new to Android but not development and I kind of wonder if somewhere down the road I'l discover that there's some subtle but important difference between the two.
Google need to update their 'Creating an Android Project' tutorial or, in enterprise speak, modify the workflow so that they update the documentation BEFORE rolling out the changes!!
EDIT: Found this blog page which walks through the new screens in SDK Tools revision 20;
android-sdk-tools-revision-20-now.html (from android-er.blogspot.fr)
(Sorry can't post as proper link as I have under 10 posts
Resolve Problem
Hi. Because you copy eclipse to unpermitted place so it's unable to run ADT installation successfully. so you most copy it to your User Folder or other drives like D: then install ADT Plugin.
lfnunley said:
Hi there XDA! I'm an experienced programmer and android user. I'm following a guide for creating the android project in eclipse from the android developer site, and I've followed every step up to creating the project, and the ADT plugin has been correctly installed and configured. The problem: Under the android tab in the new project wizard there is no option for android project. There are various other android options like Android Activity, Android Application Project, Android Icon Set, etc. Does anybody know how I can enable the option for Android Project? I attached a picture of the problem. Thank you!
Click to expand...
Click to collapse
Go to File>New>Project
a window will open then select android

[Q]

how am I going to build some apps in the android?is there any tools like visual basic or what? help me plz....
-----------------------------------------
[COLOR="Red"[SIZE="5"]]SK17i Mango[/SIZE][/COLOR]
Real ICS 6.0
For the one gazillionth time !! Please use google search!!! There are more than a million guides out there explaining how to use IDE's to develope android apps using ADT plugin! Go to developer.android.com they have a very clearly documented procedure how to learn to develope android apps . As far as I know you can't use visual basic, you should use JDK because android apps are written in pure java api's and converted into dalvik executable using Google's dx tool and the process is automated via Google's ADT plugin in IDE's.
.:.pitchblack5691.:.

[Q] Build APKs from Source in need of Help

So I really like google dialer and have a Samsung s5. Now the new lollipop dialer or the google dialer 2.0/2.1 won't install on a tw ROM as it would appear. So I was thinking if I could make my own build from the source I could have the dialer I want without losing the tw features. So I have successfully clone the source to my PC and imported it into android studio as a project. Every time I try to build or try to produce an apk I have 31 errors stating ”no resource...” in the style.XML. I have tried to find a guide that would help me to build an apk from source with no avail. So I am curious to what I'm missing? Some direction would be greatly appreciated.
Do you have the Android sdk installed? Even then it wont install. You have to have it as a system APP and then you will lose the TW features of the dialer.
zelendel said:
Do you have the Android sdk installed? Even then it wont install. You have to have it as a system APP and then you will lose the TW features of the dialer.
Click to expand...
Click to collapse
Well I do have SDK installed.
Ok and it is updated? I would track down the errors and just fix what is missing by comparing it to a pre-built apk

Making my app undeletable on my CUSTOM android (AOSP)

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

Categories

Resources