How to buid Snap(cm13's camera app) - Android Studio

hey guys
i've download the Snap camera's source from github( https://github.com/CyanogenMod/android_packages_apps_Snap)
but when i open the project in AndroidStudio,it couldn't be built.(No build apk option there)
Also,i try "make" in Ubuntu,but it said "cannot find makefile"
What should i do?

Related

[Q] Camera libs

Hi i want to take camera libs from GDX and put them in CM7. like Blagus said:Camera: camera takes a lot of time. Sony promised to give binaries compiled for 2.3, but right now they're silent. It's unknown will it be fixed or not. You can take camera libs and apk from GDX if you really want full camera on official CM7.
can some one tell me how they are named?
Tnx
Camera Libs
I guess someone already tried it and it was not successful.
Maybe you can try it.
libcamera.so
libcamera_client.so
libcameraservice.so
Maybe you need to take the cam apk from GDX also to make it work.
Good luck!

[Q]Building From Source (Single Modules / Bare Minimum Version)

My Question to the Dev's is is there a Guide on How to Build Single APP Packages eg Calculator from Source Without building the entire android from Source is possible to build eg libjpeg from source as a single module.
i have tried the mmm command all it did was spit out errors you fix one get ten more and so on
I also tried using NDK by inserting the open source libs into a jni folder and modifying Android.mk to look similar to the sample jni resulted in errors this is the only Guide i can't find as there many on building entire android but sometime one only needs specific modules and not entire build.
If above not possible is there a bare minimum version where it only builds android core frameworks and like one lib /app ?
i did not try this .
u can download the package like if u want trebucket launcher then download full android_packages_apps_trebuckhet.
recompile it to get the trebucket apk
once againg i did not try this out
defcomg said:
My Question to the Dev's is is there a Guide on How to Build Single APP Packages eg Calculator from Source Without building the entire android from Source is possible to build eg libjpeg from source as a single module.
i have tried the mmm command all it did was spit out errors you fix one get ten more and so on
I also tried using NDK by inserting the open source libs into a jni folder and modifying Android.mk to look similar to the sample jni resulted in errors this is the only Guide i can't find as there many on building entire android but sometime one only needs specific modules and not entire build.
If above not possible is there a bare minimum version where it only builds android core frameworks and like one lib /app ?
Click to expand...
Click to collapse
Mmm won't help as it needs to link against other parts of the system. That's why you need to do a full build before you can mmm
In theory you can take the app and try to import it into eclipse, and regard it just as an app project.

[Q] who wants a liquidsmooth lp rom

i like liquidsmooth 4.4.4 rom. really butter smooth, battery friend... i tried to build one from bauner but i couldnt.
wiil someone think about boulding??
by the way this is link for liquidsmooth 3.2 i uploaded to dropbox.
https://www.dropbox.com/s/w12eoq4xhmu7w5e/LS-KK-v3.2-2014-10-30-n7000.zip?dl=0
and gapps
http://www.drdevs.com/devs/teamliquid/Gapps/Liquid_gapps.4.4.4.build.8.1.zip
I am running LiquidSmooth that I built. Just download the source tree, then add the files from CyanogenMod.
I can't give you my build, because I modified the partition from standard. Before I barely had any space to install apps, so it kept running out. But I deleted the extra partitions and made it 1 big partition, so now the apps share the full amount of the internal storage, which in mine is 13 GB. To do that I had to wipe everything, repartition, and make changes to Android.
noterio said:
I am running LiquidSmooth that I built. Just download the source tree, then add the files from CyanogenMod.
I can't give you my build, because I modified the partition from standard. Before I barely had any space to install apps, so it kept running out. But I deleted the extra partitions and made it 1 big partition, so now the apps share the full amount of the internal storage, which in mine is 13 GB. To do that I had to wipe everything, repartition, and make changes to Android.
Click to expand...
Click to collapse
i tried before unsuccessfully. i havent enough knowledge to merge it so i left. but i maybe try again next. i like liquidsmooth. usefull, batteryfriendly,light... and maybe you ll share your work next days
Follow the CyanogenMod instructions to build that... then copy over the Samsung related files into the LiquidSmooth directory.
Yes would love an ls lp rom. One big partition is also something I'm longing for. Tired of moving apps to SD card etc.
hi. i have a problem with repo sync
Fetching projects: 99% (466/470) Fetching project SlimRoms/hardware_qcom_media-caf
having this error and repo sync dont go. any ideo about this?
noterio said:
Follow the CyanogenMod instructions to build that... then copy over the Samsung related files into the LiquidSmooth directory.
Click to expand...
Click to collapse
where can i get them. on cyanogen.github? and
http://wiki.cyanogenmod.org/w/Build_for_n7000
rsCpuIntrinsics_neon_Blur.o
i have this issue when compiling,
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S: Assembler messages:
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S:1503: Error: unexpected end of file in irp or irpc
/tmp/rsCpuIntrinsics_neon_Blur-c2eb50.s: Error: local label `"1" (instance number 2 of a fb label)' is not defined
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
build/core/binary.mk:752: recipe for target '/home//liquid/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libRSSupport_intermediates/cpu_ref/rsCpuIntrinsics_neon_Blur.o' failed
make: ***
[/home//liquid/system/out/target/product/n7000/obj/SHARED_LIBRARIES/libRSSupport_intermediates/cpu_ref/rsCpuIntrinsics_neon_Blur.o] Error 1
make: *** Bitmemiş işler için bekliyor....
and i couldnt find anything on google.
finally
i have compile a liquidsmooth 4.1 (android 5.1.1) rom and it boots but i have two big errors.
first phone reboots when turn off the scrren and second wifi doesnt work.
anyone, any idea about errors?
at last problems was solved i compiled liquidsmooth 4.1 and i am testing...
ls-lp-4.1
i compiled a working zip.
front camera not working.another things working for me. i wana share the zip for who want to test it.
before flash i am not a developer and only doing as hobby.
installation
first raw 12.1 kernel
full wipe
then rom+gapps+su
then reboot
thats all.
link.
https://www.dropbox.com/s/y5zxsxu4re46vgh/LS-LP-v4.1-2015-06-02-liquid_n7000.zip?dl=0
freedmm said:
i compiled a working zip.
front camera not working.another things working for me. i wana share the zip for who want to test it.
before flash i am not a developer and only doing as hobby.
installation
first raw 12.1 kernel
full wipe
then rom+gapps+su
then reboot
thats all.
link.
https://www.dropbox.com/s/y5zxsxu4re46vgh/LS-LP-v4.1-2015-06-02-liquid_n7000.zip?dl=0
Click to expand...
Click to collapse
You can take help for other developers who are building LP for N7000, for the things which are not working in your build.
All the Best.
gaurav-11 said:
You can take help for other developers who are building LP for N7000, for the things which are not working in your build.
All the Best.
Click to expand...
Click to collapse
yes bauner helped lot. but i think i missed something. i compiled the rom with bauners new kernel. its working more and front cam now working. i wish to share after video problem.
new test build
now working front cam
but not working on some videos especially web videos
for who want to try link
https://www.dropbox.com/s/picm1uu5ddlsuzv/LS-LP-v4.1-2015-06-10-liquid_n7000.zip?dl=0
freedmm said:
now working front cam
but not working on some videos especially web videos
for who want to try link
https://www.dropbox.com/s/picm1uu5ddlsuzv/LS-LP-v4.1-2015-06-10-liquid_n7000.zip?dl=0
Click to expand...
Click to collapse
Have you read my answer in my thread?
http://forum.xda-developers.com/showpost.php?p=61307508&postcount=6811
Will make the use of awesomeplayer any difference?
Here is also a commit which will fix the playback of some videos with nuplayer
https://github.com/bauner/cm-androi...mmit/fdd5b725a1620722416d12e1488f346eb9af59d6
bauner said:
Have you read my answer in my thread?
http://forum.xda-developers.com/showpost.php?p=61307508&postcount=6811
Will make the use of awesomeplayer any difference?
Here is also a commit which will fix the playback of some videos with nuplayer
https://github.com/bauner/cm-androi...mmit/fdd5b725a1620722416d12e1488f346eb9af59d6
Click to expand...
Click to collapse
sorry. i was some busy yesterday about family things. yes i read your answer and compare your source and liquid source. liquid had more samsung colorformat.i deleted them. and compiled a zip but not test yet. today i will add codecs too. thx
freedmm said:
hi. i have a problem with repo sync
Fetching projects: 99% (466/470) Fetching project SlimRoms/hardware_qcom_media-caf
having this error and repo sync dont go. any ideo about this?
Click to expand...
Click to collapse
hi could you tell me how you solved this problem
gogoo88 said:
hi could you tell me how you solved this problem
Click to expand...
Click to collapse
i redownloaded full source again.that is solved my problem. and if you have a 5.1 repo on your computer you can speed up with
(--reference=~/your repo location)
for ex. repo init --reference=~/pa -u git://github.com/LiquidSmooth/android.git -b lp5.1

Error when trying to build APK from GitHub

Hello I´m trying to build an APP called zoomgesturetile from the authors GitHub. But when I want to build the APK, I get this Error:
Something wrong with the Maven Repository I guess. I never used Android Studio, so it would be nice if someone could help me out here, or may look into the code if he or she can compile it.
Thank you for your help

Install multiple versions of GCam on Redmi k20 pro

Hello guys, I just bought this phone and was blown away how the GCam clicks way better photos, but I saw that I loved both the san1ty and MGC ports. But cannot install both of them, can only install only one port. Do you know a method which I can install multiple versions of GCam on this phone without any interruption or problem. I tried the APK editor method but it's seemed too complex and with little help in Google it just throws parsing problem while installing.
Download Lucky-Patcher
Install one of your camera ports
Launch Lucky-Patcher > Search for your new camera app > Tools > Clone App > Modify Manifest, resources & classes
Uninstall the old App
Install Camera App #2
Done
You can install more than two cameras, simple clone your first installed app again and repeat the steps above
Working and up-to-date Cam Ports:
san1ty 6.2.0.30
celsoazevedo.com/files/android/google-camera/dev-san1ty/
Arnova8G2 6.2.0.30 / 6.3.0.17
celsoazevedo.com/files/android/google-camera/dev-arnova8G2/
celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/
Urnyx05 6.2.0.30
celsoazevedo.com/files/android/google-camera/dev-urnyx05/
xtrme 6.1.0.21
celsoazevedo.com/files/android/google-camera/dev-xtrme/
// If possible shoot in RAW and use Lightroom-App / Snapseed
Could someone download, verify and share these versions: ?
4pda.ru/forum/index.php?showtopic=774539&st=17400#entry86676803
4pda.ru/forum/index.php?showtopic=937006&st=5240#entry87626067

Categories

Resources