Build GAPPS for CM10 from Source - Verizon Samsung Galaxy S III

Are there any tutorials out there for building GAPPS from source? I am a programmer by profession and Java/Android aren't my strong points but I want to learn. I would like to make an improved version of the AOSP messaging app. More specifically, I plan on adding proper group messaging support.
Any advice is appreciated!

I would looove to see AOSP add group messaging. I'm actually surprised CM isn't doing this already. I just assumed the default messaging app was an apk buried in the system folder. Is it really in the gapps package? I'm a bit of a java dev but the inner workings of android are a mystery to me
Sent from my SCH-I535 using xda app-developers app

Related

Programming Java in Android

In my college courses i'm assigned to build a program to decode caeser cipher. I just finished and was thinking after I get done with other types of ciphers , that it would be cool to have an app that could do it for me. Easy way to send and receive text messages securely then copy and paste into my decoder. Not even ciq could uderstand your messages nor could anyone else unless they knew the shift pattern.(caeser) other various forms of ciphers could be available too.
I can program java fairly well( not expert) but i'm unsure on how to build Android programs. Anyone know any good websites that teach step by step on installing tools to compiling and decompiling and building libraries and all that jazz? Or anyone have any write ups that they have made and are willing to share?
Thanks guys.
Tim
Sent from my SAMSUNG-SGH-I727 using xda premium
Now I know there are cipher apps out there but my idea was to be able to long press on a text message and send to cipher app. And vice versa...after encoding a message send to text message instead of copy and paste. Not sure if that type of functionality needed to be baked into system files. Seems like it would.
Sent from my SAMSUNG-SGH-I727 using xda premium
developer.android.com/ (i dont have enough posts to link anywhere) has tutorials on basic building of apps. i believe the easiest way you would be able to do this would be by just using the interface builder. im not sure if you can have permission to add things to the context menu... i know you can set your app to receive SMSs or to read them by default. probably can send too. if you add a flag somewhere in the messages it sends to be interpreted by your app and use the SMS reading permission, you would be able to do it. those are my thoughts on it at least.
mrtim8383 said:
In my college courses i'm assigned to build a program to decode caeser cipher. I just finished and was thinking after I get done with other types of ciphers , that it would be cool to have an app that could do it for me. Easy way to send and receive text messages securely then copy and paste into my decoder. Not even ciq could uderstand your messages nor could anyone else unless they knew the shift pattern.(caeser) other various forms of ciphers could be available too.
I can program java fairly well( not expert) but i'm unsure on how to build Android programs. Anyone know any good websites that teach step by step on installing tools to compiling and decompiling and building libraries and all that jazz? Or anyone have any write ups that they have made and are willing to share?
Thanks guys.
Tim
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Check here:
http://mitmobilelearning.org/
and here:
http://appinventoredu.mit.edu/blog
Hope these help.

[HELP]AOSP

Hello,
Here I have a small question since AOSP ROMs are most popular with Nexus phones.
I have worked around with custom ROMs..now if I want to try AOSP...
Can anyone just give me a brief explanation on how I can compile AOSP from source.. Lets take nexus s as an example...
Also is C++ or any other programming language necessary?
Thnks in advance for helping!
Sent from my GT-I9003 using XDA App
I am also interested in learning to compile AOSP from source. If there is a dev out there willing to help us out that would be awesome!
I have done work with Custom ROMs .. Just wanna learn aosp..
Sent from my GT-I9003 using XDA App
You'll want to know java.
And you'll want to read thru the stuff on source.android.com
As for setting up from source, start here: Initializing a Build Environment
As for guides, there's literally hundreds of them - excluding the one off of the Official google source site. Search xda, google, etc.
Here's just one example: [TUTORIAL] Setting up and Compiling ICS from AOSP (for the galaxy nexus) which follows the guide found on -> How to Compile ICS (Ubuntu)
Catch my drift the information is all out there. You just have to take the time to search and read.
One last thing, for setting up for dev environment. A lot of people seem to go for ubuntu (my recommendation so it might be the most user friendly.
Personally I use arch linux so the w/e flavor you choose shouldn't hinder you.
kyouko said:
You'll want to know java.
And you'll want to read thru the stuff on source.android.com
As for setting up from source, start here: Initializing a Build Environment
As for guides, there's literally hundreds of them - excluding the one off of the Official google source site. Search xda, google, etc.
Here's just one example: [TUTORIAL] Setting up and Compiling ICS from AOSP (for the galaxy nexus) which follows the guide found on -> How to Compile ICS (Ubuntu)
Catch my drift the information is all out there. You just have to take the time to search and read.
One last thing, for setting up for dev environment. A lot of people seem to go for ubuntu (my recommendation so it might be the most user friendly.
Personally I use arch linux so the w/e flavor you choose shouldn't hinder you.
Click to expand...
Click to collapse
Thanks man! I have my computer set up so it dual boots Windows and Ubuntu, so I'm going to try my hand at this!
Thanks man ! Will give it a try ..
Still learning Java Though
Sent from my GT-I9003 using XDA App

[Concept] APK MODDER

Hello guys its been along time since i've developed anything.My stock project rom was suspended because i started my second degree in economics and i just didnt have time.
I am brainstorming trying to think of clever ideas of injecting changes into an apk.My goal is to create a program with a database,the database will contain the code changes and original code of smalis inside an apk.What i want to achieve is being able to very quickly decompile and replace the .smali file that needs modding and then compiling it back again.By doing so i think it will save developers ALOT of time.
I few questions i would like to ask..
First of do you think it would be better to have an online database rather than an offline one?Where everyone can contribute and add mods to the database(when i say mods i dont mean the actual apk).
Second of all i will be developing the program in C++ and since its been a while i would really like to see if anyone is willing to contribute to this by helping out a bit when needed.
And Last,Can you tell me your opinion on my current idea?
I've already started designing the program and i will start uploading beta versions for you to test next week :]
I'm not too sure but doesn't lucky patcher do this ?
Sent from my GT-N7100 using Tapatalk 2
Have a peek at Xposed. Game changing and accomplishes what I think you are looking for.
myn said:
Have a peek at Xposed. Game changing and accomplishes what I think you are looking for.
Click to expand...
Click to collapse
Ya, morph zips essentially do the same thing, except you have to add the files the zip injects into the apk.
Virtuous Ten Studio can decompile apps to let you make changes, and then recompile and push/install through ADB, so if you are working with already-compiled APKs you might look into it. Another handy feature is its ability to convert to Java sources - it doesn't let you edit them, but it makes it a little easier to follow the code paths by comparing the Smali with the java source.
myn said:
Have a peek at Xposed. Game changing and accomplishes what I think you are looking for.
Click to expand...
Click to collapse
What he said
Sent from my SAMSUNG-SGH-I317 using xda premium

[Q] App building software no coding

Hi,
Looking for software to develop an app (preferably offline) which will help someone with no coding experience. I am proficient with photoshop & after effects but I don't know any coding.
I am sure at some point I'll require a pro to write some custom script for me but I want to get as far into the project on my own as possible.
I don't want to be bound by some websites hosting terms, with monthly fees and all this other stuff. Preferably, I'd build my app offline and go from there...I don't honestly trust these websites with little app builders then your app is stuck on their site and you're forced to use their hosting and things like that....if it's my app, it's my app!!! I shouldn't be bound to some website or whatever.
So, preferably offline app builder which someone with no coding experience can use?
carlitobriganteffs said:
Hi,
Looking for software to develop an app (preferably offline) which will help someone with no coding experience. I am proficient with photoshop & after effects but I don't know any coding.
I am sure at some point I'll require a pro to write some custom script for me but I want to get as far into the project on my own as possible.
I don't want to be bound by some websites hosting terms, with monthly fees and all this other stuff. Preferably, I'd build my app offline and go from there...I don't honestly trust these websites with little app builders then your app is stuck on their site and you're forced to use their hosting and things like that....if it's my app, it's my app!!! I shouldn't be bound to some website or whatever.
So, preferably offline app builder which someone with no coding experience can use?
Click to expand...
Click to collapse
http://www.appsgeyser.com/
Simple search would've showed this. The search button is very powerful and so is google.
What kind of application would you like to create? I could help you build or get you the tools for your app and teach you how to code.
Sent from ALCATEL One Touch Fierce
TagEHeuer said:
Simple search would've showed this. The search button is very powerful and so is google.
Click to expand...
Click to collapse
I promise you I've searched extensively and yet to find what I'm looking for. AppsGeyser lifts content from the net and turns it into an app...it remains on the appsgeyser site so doesn't really fit with what I'm looking for...I just want simple app creation software without having to learn code because what I'm looking to do isn't super-unique, it's just for an add-on to my existing business.
Has anyone ever used Wix for website creation for example?? Fantastic user interface, couldn't be simpler yet the possibilities are pretty much endless especially since you can add custom coding if you wish but I've built a few sites with Wix, all function great, all look fantastic...just a shame they don't have the same service for app creation.
Scripts said:
What kind of application would you like to create? I could help you build or get you the tools for your app and teach you how to code.
Sent from ALCATEL One Touch Fierce
Click to expand...
Click to collapse
It's pretty much just a local directory type app mate....that's why I mentioned above that I am really not trying to do anything unique so I'd imagine there's some nice editing software out there somewhere I could utilise and have my app designed and created pretty quick....like the above example of the Wix website,...you could have a fantastic looking website up and running in a couple of hours.
Anything guys?
Still looking for nice easy app production software.
Buy the Java reference book. Helped me a lot when k was starting out. Its some 1400 pages.
Books helped me the most especially with SQL. Consult me any time if you can't find your answer on Google cause frequently ur gonna be typing code bit have no idea what it does and how it works.
Also use Eclipse. Its like ms word for programmers with auto correct and hints and things that are very useful
Sent from my HTC first using xda app-developers app
---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------
russian392 said:
Buy the Java reference book. Helped me a lot when k was starting out. Its some 1400 pages.
Books helped me the most especially with SQL. Consult me any time if you can't find your answer on Google cause frequently ur gonna be typing code bit have no idea what it does and how it works.
Also use Eclipse. Its like ms word for programmers with auto correct and hints and things that are very useful
Sent from my HTC first using xda app-developers app
Click to expand...
Click to collapse
Just pm me and ill tell you everything u need to know
Sent from my HTC first using xda app-developers app
russian392 said:
Buy the Java reference book. Helped me a lot when k was starting out. Its some 1400 pages.
Books helped me the most especially with SQL. Consult me any time if you can't find your answer on Google cause frequently ur gonna be typing code bit have no idea what it does and how it works.
Also use Eclipse. Its like ms word for programmers with auto correct and hints and things that are very useful
Sent from my HTC first using xda app-developers app
---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------
Just pm me and ill tell you everything u need to know
Sent from my HTC first using xda app-developers app
Click to expand...
Click to collapse
Just sounds like thats way more advanced than I'm looking for dude.
I want build an app to ad onto my local directory business and it really isn't doing anything advanced or unique...it's the content that separates it's from other apps, not it's functionality....an app containing a load of menus with click through links (are these called hyperlinks?) to that section of the directory then linked again to open specific entries within that section of the directory....
Surely, there's a nice easy, almost drag and drop, design software out there I can use?
I'm really put off by these app builders I see that are $50 per month or whatever but if I have to go that way, ok. Thoughts? (Appreciate everyone's input and I know it can be frustrating talking to newbies that really don't have a clue so appreciate the input and patience folks!)
carlitobriganteffs said:
Just sounds like thats way more advanced than I'm looking for dude.
I want build an app to ad onto my local directory business and it really isn't doing anything advanced or unique...it's the content that separates it's from other apps, not it's functionality....an app containing a load of menus with click through links (are these called hyperlinks?) to that section of the directory then linked again to open specific entries within that section of the directory....
Surely, there's a nice easy, almost drag and drop, design software out there I can use?
I'm really put off by these app builders I see that are $50 per month or whatever but if I have to go that way, ok. Thoughts? (Appreciate everyone's input and I know it can be frustrating talking to newbies that really don't have a clue so appreciate the input and patience folks!)
Click to expand...
Click to collapse
U want a app=u code. No code=No app
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
Irwenzhao said:
U want a app=u code. No code=No app
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
Click to expand...
Click to collapse
I know enough to know that's simply not true...the reason for the post is that there's loads of drag and drop simple app builders out there that require no coding whatsoever....the point in the question is what is the best one and also the embedded question of why are there monthly charges that have such a huge range?
So, no...no code does not = no app.
carlitobriganteffs said:
Just sounds like thats way more advanced than I'm looking for dude.
I want build an app to ad onto my local directory business and it really isn't doing anything advanced or unique...it's the content that separates it's from other apps, not it's functionality....an app containing a load of menus with click through links (are these called hyperlinks?) to that section of the directory then linked again to open specific entries within that section of the directory....
Surely, there's a nice easy, almost drag and drop, design software out there I can use?
I'm really put off by these app builders I see that are $50 per month or whatever but if I have to go that way, ok. Thoughts? (Appreciate everyone's input and I know it can be frustrating talking to newbies that really don't have a clue so appreciate the input and patience folks!)
Click to expand...
Click to collapse
Eclipse allows drag and drop bit you're dreaming man. There is no way you can make anything work on android when making an app without knowing some basics of code.
So get that book I told you about, get eclipse, and get the book "hello android" which helped me start out.
Android apps are way more complicated than they seem bro
Monthly charges is because to make app building software is so damn hard. Trust me. Try your hand at old school app development. You will learn to appreciate app makers cause no joke its hard as hell
Sent from my HTC first using XDA Premium 4 mobile app
carlitobriganteffs said:
Hi,
Looking for software to develop an app (preferably offline) which will help someone with no coding experience. I am proficient with photoshop & after effects but I don't know any coding.
I am sure at some point I'll require a pro to write some custom script for me but I want to get as far into the project on my own as possible.
I don't want to be bound by some websites hosting terms, with monthly fees and all this other stuff. Preferably, I'd build my app offline and go from there...I don't honestly trust these websites with little app builders then your app is stuck on their site and you're forced to use their hosting and things like that....if it's my app, it's my app!!! I shouldn't be bound to some website or whatever.
So, preferably offline app builder which someone with no coding experience can use?
Click to expand...
Click to collapse
But question is that why any company offer you free tool that helps you to create app without coding knowledge. So only two option is here May be company offer paid tool for that and i think so no as such paid tool available in the market.
2nd option is company offer you online tool where you can create app without the knowledge of tool, in return companies want you to buy their subscription etc... to use that code.
I used some tools for testing person and some of them give you .apk and .ipa file to test your app on device but do not give you source code of app. You can read more about 4 best app building softwares, but as i mentioned that they do not give you source code.
I hope so above mentioned information helps you.
Please don't forget to thumb up button if it is helpful. Thanks
Not long ago, people / businesses in the UK would have to pay at least £12,000 for the development of a simple website, without administration / hosting / commerce functions, etc.
Now, you can produce professional websites yourself with a little cost and effort. Downloading free templates, Adobe Muse, WebPlus X8, etc.
Adobe have now launched DPS (Digital Publishing Solutions) which will eventually become a standalone, offline solution for people that want the ability to create apps on an offline basis, with a one-off cost (no monthly subscriptions).
Without a doubt, such offline app dev software is in development now, and I cannot wait until it arrives.
For now, I use HTML5 based WYSIWYG solutions which work well in good wifi / 4g connection, but with no App Store listing and no ability to push notify, but I can create these without subscription / cloud based resources.
It suits clients that have a user base that would generally be within good connection areas and require their services in such a place.

[MOD] Spotify Dogfood 8.4.39.612 - The Open-Source Ad-Free Spotify mod for Android

Spotify Dogfood​​The open-source ad-free version of Spotify for Android
​
Hello all,
First of all, I'd like to address about the reason behind making this thread, and the project that is behind it.
I thought to myself, why people are free to publish YouTube mods to avoid ads, but not Spotify? So there's why the project started.
Spotify Dogfood is a mod of the Spotify Android App, coming directly from the Google Play Store and in both it's Beta and probably Stable releases, and modded in the cleanest way possible. This mod is "open-source". The Spotify app itself of course isn't, but the alterations/modifications done to the app in order to avoid ads are clear and concise, well-documented, and are getting uploaded as patchsets, so that they are perceptible and crystal clear at plain sight. This is because people, starting by myself, don't easily trust modded applications out there, so this makes it easier for you all to "audit" the modifications, and even contribute to the project by forking it, making your changes and then pushing it back to me.
This project has been running for several months now, and it's been now that I decided to move a step forward and make it public.
Restrictions and limitations:
This application replaces your current Spotify installation. You need to uninstall any previous installations of it first.
If the app came bundled with your device, like most Samsung devices, you can't use this mod out of the box, since you need to change the package name to a different one.
This application has been signed with a different key than the one used by Spotify. This means that Facebook login won't work unless you don't have Facebook's app installed, or you uninstall and/or deactivate it, if it came bundled with your device. Once done, log-in to your account using Facebook and, once logged-in, re-download and/or re-activate your Facebook app, if you want to.
This application won't work with Android Auto, since it hasn't been installed by the Google Play Store's agent. Fortunately, there's a fix found by XDA's News Writer @MishaalRahman, which you can read here.
As commented by Senior Moderator @matt4321, please, refrain from asking for other premium features to be unlocked.
What is different from *others'* mods:
Like I said previously, I didn't feel comfortable trusting code I had never seen, then I started investigating on how to disable Ads and such on my own and with help of awesome pages like this one that helped me clear my mind on how to properly modify the liborbit-jni so file. Once I had finally understood how it worked, I've made it public so that anyone can revise it on it's own.
How to contribute:
You can have a bit more information in the README uploaded in the repo. But basically, feel free to fork any branch you want, modify or investigate the patchsets as you want and recreate them in a different package.
Cool story bro, where's the download??!1:
Whoa there, cowboy!
All downloads, both precompiled APKs and Source code can be found in the GitHub Releases section.
Please, also kindly note the following - Do NOT re-upload them.
GitHub Releases - GitHub Main page - Project's webpage - Telegram Group
Disclaimer / Final words:
This thread, as well as the provided patchsets and precompiled APKs are just for demonstrative & educational purposes. They should not be used for illegal actions, and/or any action that can imply a violation in the ToS of the software used in the thread.
XDA-Developers.com takes no responsibility either, as this thread is hosted only and exclusively as for information purposes and doesn't attach any content that is copyrighted, but a link to it, just as it could have been found at Google.
It is yours, the final user, the one who takes the responsibility of using it wisely, as a functional PoC, and not for piracy or any other illegal actions.
XDA:DevDB Information
Spotify Dogfood, App for all devices (see above for details)
Contributors
linuxct
Version Information
Status: Stable
Current Stable Version: 8.4.39.612-dogfood
Stable Release Date: 2018-01-28
Created 2017-07-06
Last Updated 2018-03-01
How to apply the PatchSets
To apply the patchsets manually, you need the following tools:
Git, and preferably GitHub's app for Windows.
Java JDK and it's environment variables properly set-up
APKtool
An Android Keystore to sign your APKs
The version you wish to apply the patchset to, from APKmirror.
Android Debugging Bridge installed (perferably system-wide), as well as it's drivers if you're on Windows.
Once you meet all of the above, it's as easy as it follows:
Code:
#unpack the apk
java -jar apktool_WhateverVersion.jar d NameOfTheApk.apk && cd NameOfTheApk
#now copy the patch file to the dir you're on
git apply --stat NameOfThePatch.path #checks the stats
git apply --check NameOfThePatch.path #sees if it's compatible with the environment
git apply NameOfThePatch.path #applies the patch
#compile the result
java -jar apktool_WhateverVersion.jar b NameOfTheDirectory
#sign with your key
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /path/to/your/keystore NameOfTheDirectory/dist/NameOfTheResultingFile.apk YOURALIAS
#install the final apk
adb install -r NameOfTheDirectory/dist/NameOfTheResultingFile.apk
If you want to review the patch itself, you can use git-am.
You have more info in GitHub's README file.
In order to comply with XDA's Rules and CoC, Spotify Dogfood has taken a new direction, and now offers *exclusively* Ad-free music playback. Any other features won't be included anymore in this mod. But, that doesn't mean anything if you're a true, a core user of this app, because there will still be regular updates to it, as there has been up until now.
However, all patchsets, branches and everything that has been posted up until now will be deleted progressively, in order to comply with the above mentioned.
Still have doubts? Read this:
preference said:
FOR ALL THE PEOPLE WHO WON'T READ THE FIRST POST:
1. Dogfood only supports shuffle mode at normal quality with No ADVERTISEMENTS.
2. The mod had to be changed due to xda rules
3. This thread is not the place to complain. If you have an issue with the changes go to the telegram chat and talk with other dogfood users
4. There is nothing you can do to change the situation - be happy with what you get. No advertisements is still a really good perk
5. Support the developer if you can, monetarily or through teaching noobs about how to read the OP.
6. Look outside of xda if you can't handle the changes, but do not post any information on this board. Keep it related to dogfood
Click to expand...
Click to collapse
Thanks for this.
I can finally ditch the warezwebsite mods for something more trustworthy.
thank for this, awesome
Worth a try!
Sent from my A0001 using Tapatalk
Only 3 replies? Seriously?
paed808 said:
Only 3 replies? Seriously?
Click to expand...
Click to collapse
¯\_(ツ)_/¯
I pretty much think all of my new threads are damned at this point... Sigh.
linuxct said:
¯\_(ツ)_/¯
I pretty much think all of my new threads are damned at this point... Sigh.
Click to expand...
Click to collapse
Anyways, thanks again for making this.
Let's hope it continues to work and Spotify doesn't get buttmad.
I tried it and no ads so far. Good job =)!
Thanks !!!
great job !
After a day of usage, Spotify now tells me to buy premium to play my songs.
Sent from my A0001 using Tapatalk
dnle71 said:
After a day of usage, Spotify now tells me to buy premium to play my songs.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
How many songs/hours worth of music have you played non stop? Have you tried basic stuff like rebooting your device or clearing the app data? Can you try running Spotify in your desktop pc and let it run for a few songs to see how it reacts?
I've been using latest version at my workplace for 8+ hours, and I've a small group of early adopters that have been trying it out too, and none of us have ever seen that kind of message in our devices.
linuxct said:
How many songs/hours worth of music have you played non stop? Have you tried basic stuff like rebooting your device or clearing the app data? Can you try running Spotify in your desktop pc and let it run for a few songs to see how it reacts?
I've been using latest version at my workplace for 8+ hours, and I've a small group of early adopters that have been trying it out too, and none of us have ever seen that kind of message in our devices.
Click to expand...
Click to collapse
I haven't done any of that, sorry. I jist tried playing around 30 minutes last night then tried the morning and then it started giving me the message.
Let me try to do the following later.
Sent from my A0001 using Tapatalk
Thank you very much! This is awesome, you are awesome!
I’ll try! Thanks!
Oh yeah!!!!!! Great work and great dev to make this open source app... Congrats
Enviado do meu ONEPLUS A3003 através de Tapatalk
Nice, I'm currently using a modded one anyway but an open source version on XDA is always preferred. Can you add a changelog at all? The one I'm currently used to using shows all changes and features that it enables but I haven't seen a list like that here.
Awesome job I need this
This is amazing. Works like a charm. Thank you very much!

Categories

Resources