[Q] Create Platform Library Android AOSP - Android Q&A, Help & Troubleshooting

Hello,
I am building AOSP(Lollipop) on ubuntu 14.04 for Nexus 7 (aosp_deb-userdebug). I want to create plateform library using steps provided in samples on Android Source official site . I put my code inside vendor folder. I am not able to generate jar file from my code. can anyone guide me how to do it.
Please tell me the steps to create plateform library.

rajb865 said:
Hello,
I am building AOSP(Lollipop) on ubuntu 14.04 for Nexus 7 (aosp_deb-userdebug). I want to create plateform library using steps provided in samples on Android Source official site . I put my code inside vendor folder. I am not able to generate jar file from my code. can anyone guide me how to do it.
Please tell me the steps to create plateform library.
Click to expand...
Click to collapse
See [GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS] by lokeshsaini94
[UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_- by GuneetAtwal
This thread will be moved to Android Q&A, Help & Troubleshooting

Related

Eclipse setup for a single AOSP-CM java application

Preamble: I am a Java Android developer. I know the standard Android development flow.
I want to start developing for AOSP-CM. I follow the guide for import the whole Java source code in Eclipse, using the .classpath file provided with the source code. So I have a Java Project with all the source code, and I can browse and edit everything.
The next step is try to setup a single Android Project, for example the Phone Application, in order to use the ADT plugin feature like GUI graphical editor.
I want to edit Phone sources, build within Eclipse and above all use Eclipse Debugger.
It is possible? Where I can find a guide or tutorial ?
Sorry but I don't believe that nobody has addressed this problem.
How a CyanongenMod developer develop and build a single application? (please...don't reply with "vim" , "nano" or similar....not in the 21th century )

[Q] Newbie help porting firefox os to galaxy ace s5830

Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
Click to expand...
Click to collapse
Hi there,
im very interested in your project.
Did you getting through in the meantime?
To creating a manifest, you should use one from other device and edit it.
The best is Galaxy S II.
After this, you should open the manifest with gedit or any other editors.
Replace Galaxy S II device trees with yours and save the file as "default.xml" in directory that contains "build.sh".
Make an exact copy from your manifest and rename it to "<device_codename>.xml" for example "maguro.xml" for Galaxy Nexus Intl. or "i9082.xml" for Galaxy Grand Duos.
Now, open config.sh.
Copy one of the options in "case $1" section and use it as your template and add your device to it, like this:
Code:
"i9082")
echo DEVICE=i9082 >> .tmp-config &&
repo_sync $1
;;
Device variable is your device codename and name of your copied manifest file.
Note: this is for i9082 galaxy grand duos, you should edit it to yours.
Now, you can get the source using
Code:
ANDROIDFS_DIR=my_device_backup ./config.sh <device_codename> default.xml
Reference: "developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Porting"
interesting..!!
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830
Click to expand...
Click to collapse
Would definitely like to see this project being developed.
gonna keep an eye on this...
Good Luck
Good luck bro
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
Click to expand...
Click to collapse
It's 2014 . Any news about Firefox os on galaxy ace. This phone needs it. Firefox os is build for low end devices
dantheman1977 said:
Hi guys, i'm a newb at this but i wanna port and test firefox os to my galaxy ace 5830.....i'm stuck at :
Create the manifest file for the new device
Now you need to add the required repos to the manifest file for the new device; this manifest file is called default.xml. Refer to the b2g-manifest file on github for a template. Each device has its own branch; you can use the galaxy-s2 branch as a reference.
My question is do i git clone the fork i have of the b2g/manifest and edit the galaxy-s2.xml file to reflect the ace or what? I don't have the default.xml in my B2G folder......
Click to expand...
Click to collapse
This is inspiring. Imma start porting to some devices tomorrow

[Q] Compile Real APK Leecher v3.6

I was downloaded a source code of Real APK Leecher v3.6 from this board, can anyone expert in Java, show me the tutorial step by step to recompile the source code. I was new in Java Programming but i like to use this tool but i prefer to recompile the source code rather than the already compile JAR. Thanks in advance..

[ VM ]~[ COMPILER ] Architekt - Compile Android ROMs with Windows/Mac!

--- copied with permission from nathanpfry.com ---​
Architekt is a custom Virtual Machine that can be used with Mac OSX, Windows, and Linux. It includes everything you need to sync with the repo of your choice (Cyanogenmod, AOKP, AOSP, etc) and start compiling Android ROMs. This version includes Java 6 for compiling Gingerbread thru Kitkat. To compile Android L, switch to OpenJDK7.
Features:
- Latest Arch system
- XFCE Desktop Environment
- All necessary packages for compiling
- No junk (games, etc)
- Geany for editing code
All you have to do is download the source!
The only requirement is that your host machine supports a 64 bit OS. 32 bit systems will not work!
Instructions:
1. Download and install VirtualBox for your host system from here.
2. Download the latest architekt zip archive and extract architekt.ova to your hard drive.
3. Start VB, click File > Import Appliance. Select "Open Appliance" and choose architekt.ova, then click Next to import the virtual machine.
4. Highlight architekt in VirtualBox Manager and open Settings. Under "System" you will want to give it more RAM and Processor Cores. The higher these values are, the faster you will compile ROMs.
5. Start the machine, pull up a terminal and initialize a git repo. Once the source is finished downloading, you're ready to go!
Download:
Click here for download mirrors
Username/Password: android/android
Feel free to buy me a Zico coconut water (donate) if you like my work. It would be greatly appreciated!
Please hit the "Thanks" button if this post helps you out!​
please can you help me how to change java version jdk6 to jdk7 using command?I've tried command that used in ubuntu but Those command are not working in this virtual machine. Also there is no app to extract file and can't edit xml file
Røbin said:
please can you help me how to change java version jdk6 to jdk7 using command?I've tried command that used in ubuntu but Those command are not working in this virtual machine. Also there is no app to extract file and can't edit xml file
Click to expand...
Click to collapse
You might want to try BuilduntuVM instead.
Architekt is getting pretty dated, and I don't have any time or plans to update it. BuilduntuVM received a lot more attention and is up to date with the latest versions of OpenJDK etc. for compiling Android M.
sylentprofet said:
You might want to try BuilduntuVM instead.
Architekt is getting pretty dated, and I don't have any time or plans to update it. BuilduntuVM received a lot more attention and is up to date with the latest versions of OpenJDK etc. for compiling Android M.
Click to expand...
Click to collapse
Thank you

dot42 open source Xamarin alternative

dot42 is open source Xamarin alternative. You can create Android app using c#. You can grab latest stable version from official repository https://github.com/dot42/dot42. But developer Olaf Pettersen created many fixes and improvements on it own repository https://github.com/ninjasync/dot42. So I forked it, made some fixes, compiled and generated setup from Olaf repository. You can download it from my gdrive https://goo.gl/jxAHgF
Olaf ported some libraries to work with dot42: MVVM Cross, JSON .NET, OxyPlot etc. Check his repository.
If you have any question about how to compile your own version you can ask here.
Currently android 5.0 is not supported. Apk files not working.
Hi, I have already a game build in C so I can covert it in an apk file with this software? Is it possible? E.g. In one of game's folder there are file like
File ACT
File AIR
File CNS, DEF e SFF
Sent from my LG-D802 using Tapatalk 4 Beta

Categories

Resources