[Q] learn developing road map - LG Optimus Black

Hi
I am a java programmer and need to learn how to develop software and android ROMs for the my phone.
so my question is what to learn and in what order and where to get it?
thank you for your time

first step: learn linux file system and linux commands
after steps: I dont know.

Related

**UPDATE**SuperG1-Computer 9/8/09 4:03am

Here is basic program for your windows computer that just does basic stuff.
It can reboot your phone to wherever you want like recovery, bootloader.
It will wipe your ext2/3 from recovery if you choose and it will repair your ext2/3.
This is still beta, so far everything that is on the app works. But when I say beta I mean I still to implement alot more features so just use it and then tell me what you guys want. I am working on implementing switchrom into it.
This is just about 3 hours of work so you will see alot more in the future.
Screenshots Below!
*(For those of you wondering it is writen in a mix of C++,vb.net,python,and MS-DOS)*
Twitter: http://twitter.com/kickfliprock13
** Oh I forgot to mention you need to have adb set up for this to work if you don't have it set up than it wont work. So if you want to set up just go here: http://punk-in.com/driver_vista.html
Continued
Changelog:
9/8/09: Added a link to tell you how to install usb drivers for your phone
Added links to our twitter's and plurk's
Fixed a few small bugs
Continued Again
This is for problems and things I am changing!
Problems:
Can't get it to put arguments into adb commands, for example adb shell sh /system/sd/switchrom -s (then the name they want to name it)
I suck with ShellExecute commands so I need to get better at those
Need to learn how to add .exe's and other files into a C++ file and then run it.
Changing:
I will probably be changing the layout in the next update
I will be learning ShellExecute commands hopefully. So then it can set up adb for you and do a switchrom.sh for you
looks good dling now btw how many programming languages do you know lol
Languages
I know a couple. This program is written in C++. I have only done C++ for about a week so I am still kind of a noob. But other than that I know: html, MS-DOS,Python, I am learning java, I know some C and C#.
I am taking some visual stuff right now, like blender and game development.
After that I want to learn CSS, and learn the reset of java and C++
do you think you can make it that the program can flash the new spl and radio so the phone won't brick. Anyway awesome program
It looks like it's just issuing the non-response ADB commands. Do you have anything there to capture the commandline output from ADB? I'm trying to get the push and pull confirmations for mine. It seems the stream is immedately written as blank and then changed to the confirmation but the change is not rewritten to the stream.
Also ADB does not have to be in a specific directory in order to work. Just change the working direcory of your process to the folder where you have them stored. I bundled the files with mine so I didn't have to worry about if someone didn't have them in the right place.
M..N said:
do you think you can make it that the program can flash the new spl and radio so the phone won't brick. Anyway awesome program
Click to expand...
Click to collapse
Yes, we are working on making that happen very soon. It is difficult but yeah, we already figured out a way to apply new radio,spl and get to hero in about a minute now we just need to implement that into the app but I just can't figure out exactly how to include multiple files in my C++ project but once I figure that out I will tell you.
Excellent thanks very much
Hi so how is this program coming along
Very well I almost have rooting figured out
Cool would this work on uk phones and when is the estimated release time

Running Multiple roms on Android SDK

Hello Everyone,
I just downloaded the new 2.0 sdk thing from google and they put this small manager which shows which devices you created, which roms are on it and everything. How can I put roms these developers are making onto that so I can run it in the emulator? I want to be able to choose and run the rom of my choice. If so, can someone give me step by step instructions? Please let me know.
Thank You

[Q] HELP ASAP!!!!!!!!About to Wipe Laptop...Help Setting Up for Development!

So far this is what I plan to do:
- Backup all Win7 Files to Linux Mint Parition
- Reboot and Re-Install Win7 on its partition
- Boot into Win7 and setup an user account
- Reboot into Linux Mint
- Move backed up files to Win7
- Reboot into Win7
- Go into Computer Management and Wipe Linux Mint Partition
- Resize the partitions
- Reboot into Ubuntu 10.04 DVD
- Install Ubuntu on free space
- Boot into Ubuntu for first time
- Set grub2 for windows 7 default OS
- Boot into Win7 and begin setup for android development:
Windows 7:
- Install android sdk by placing the extracted folder on the root of my C: drive
- then i'm going to launch the sdk.exe and install all the available packages (may take 30 minutes or so on my 6mb wifi connection)
- then after that i'm going to install java jdk 1.6
- then i'm going to create a new user variable in the enviroment variables that will have the path to C:\androidsdk\platform-tools;C:\Program Files\java\jdk1.6xx\bin and name it android
- then after that i'm going to install eclipse and set it up by changing the path to the location of androidsdk on my c drive
- i'm also going to download ppcgeeks apk signer.exe and install that for easy signatures
- then i'm going to download some other tools (HxD, notepad++, apk manager v4.8, etc.)
- once i upzip them to a directory probably C:\users\kifno\heroc\tools or install the .exe file i'm going to launch apk manager
- after that i'm going to try and decompile/compile apk files (which i should be able to after a fresh wipe)
so the whole point of this is to be able to decompile/compile apk files without errors
Ubuntu:
- download java jdk and install it through terminal
- then i'm going to download apk tool
- after wards i'm going to try and decompile apk files and recompile them
So my main question is, is anything i'm doing in the set up process going to prevent me from being able to use apktool via apktool itself or apk manager, for decompiling/compiling apk files? I want to make sure I'm not doing something wrong before I get back into setting my system up for developing and scripting and theming again (for themes all it takes is smali, photoshop, and androidsdk for me ...okay maybe a few other programs too along with my imagination )
Hopefully my setup for being able to use apktool isn't screwing anything up
Also I'll be using windows 7 64x ultimate and 32 bit java/eclipse ide for java developers/and all other things related to android development so that i won't run into any problmes hopefully
i just wanted to get your opinion on if my setup process (even though i barely wrote it all as to what i do) was correct
also if you have any suggestions on other android development tools i should use please do tell. you never know that may just help me do something great because of that small suggestion (for example i switched from notepadd to notepad++ because of someone and i haven't stopped using it since...this was back in my noob days XD)
I'm confused
If you're using Win7 for development (eclipse, theming, etc.) what are you using a linux partition for? What I mean by that is, why are you using it for apk tools, when you already have it on Win7. If you're only using linux for de/compiling apks, kinda seems like an inconvenience. But maybe I'm misunderstanding what you posted.
As for what you plan on doing, looks like it should be fine. You have the right idea about installing Win7 first and then ubuntu since the opposite would write over the MBR. And I'm assuming you know how to edit GRUB2 since you wrote you are going to change it, so that shouldn't be a problem either.
Edit2: Dont forget to do this after you change grub2 (assuming you have the sudo package installed and have run visudo to add users to the list - if you are logged in as root, you dont need to type sudo)
Code:
sudo update-grub
Most tool recommendations I can think of you already put down (HxD, np++, smali, apk manager 4.9)
Only others you might want are: AVABoxV2 and 7zip. along with using Monkey when you test applications (if you're developing)
Personally... I would dev on linux, but to each his own haha.
Edit: just noticed this. I was wondering which partitions specifically are you changing?
Sent from my Android using Tapatalk
kyouko said:
I'm confused
If you're using Win7 for development (eclipse, theming, etc.) what are you using a linux partition for? What I mean by that is, why are you using it for apk tools, when you already have it on Win7. If you're only using linux for de/compiling apks, kinda seems like an inconvenience. But maybe I'm misunderstanding what you posted.
As for what you plan on doing, looks like it should be fine. You have the right idea about installing Win7 first and then ubuntu since the opposite would write over the MBR. And I'm assuming you know how to edit GRUB2 since you wrote you are going to change it, so that shouldn't be a problem either.
Edit2: Dont forget to do this after you change grub2 (assuming you have the sudo package installed and have run visudo to add users to the list - if you are logged in as root, you dont need to type sudo)
Code:
sudo update-grub
Most tool recommendations I can think of you already put down (HxD, np++, smali, apk manager 4.9)
Only others you might want are: AVABoxV2 and 7zip. along with using Monkey when you test applications (if you're developing)
Personally... I would dev on linux, but to each his own haha.
Edit: just noticed this. I was wondering which partitions specifically are you changing?
Sent from my Android using Tapatalk
Click to expand...
Click to collapse
I have those I just didn't list them but thanks for the re assurance And yeah I do dev on linux just I use windows 7 for themeing and linux for developing apps (which i'm learning how to do ) and for developing my roms. I'm on linux right now (YAY FOR UBUNTU )
Ahh gotcha
I agree theming on windows is the way to go.
If only I could get cs4 photoshop to work on Arch, or any linux for that matter
last time I tried it didn't work out too well haha
Sent from my Android using Tapatalk
same which is the only reason i theme on windows
wow..so deep man...

[Linux]How to install Android Studio (without pulling hair out)[Q]

Howdy folks,
Usually fairly computer-literate. Thought I'd do the "native" thing and develop for android using Linux. Windows 7-10 daily driver but i thought why not do the nerdy thing and use linux. that's the guts of android after all.
Anyhoo. If anyone's downloaded the linux version of android studio you'd notice it puts you right away into the android sdk manager to complete the installation and you have to choose to install platform-tools and the api. ok. done.
How now do I start this program?? There is not a corresponding .android bash script to run for the sdk itself, it's just the manager!! How do you start the IDE??
Please, many sorries that i am retarded. ... but it's baffling how there's no instructions from google... they just point you to the sdk manager and explain nothing else. They didn't even sign their ssl certs so you can't use sdk manager unless you dive into its settings to force http. wtf?? is google dropping the ball on this? how do you deploy something so terribly? and what's with the unsigned certs? did the intern fall asleep at his job??
bananapeal said:
How now do I start this program?? There is not a corresponding .android bash script to run for the sdk itself, it's just the manager!! How do you start the IDE??
Click to expand...
Click to collapse
So, I guess you have downloaded the studio from
Code:
developer.android.com/sdk/installing/index.html?pkg=studio
After extracting you can launch IDE by going to android-studio/bin/ and writing ./studio.sh
And this information is straight from their page.
thanks... i ... i saw later...
when you click on first link on thier page it takes you to download ide package manager... it implies you already have ide, so the actual program isnt available to dl.
but if you scroll that same silly page, you find true complete ide download.
please pardon my extreme ignorance. hope you got some lulz.
Deleted

Need Help fixing many errors in Android Studio

Hi
So I want to learn how to make Android apps in Android Atudio with Udacity's Android Fundamentals course. I have no knowledge or experience in app-development and very very veeeeerry basic programming knowledge. The problem is though that there are many error messages everywhere and I already searched on the internet a few times but have newer gotten a working answer to the problems I'm having. So I thought i could ask the people at the xda-forum for help
I am going to post the problems one after another (posting the next problem after the one before is fixed), because maybe with one answer multiple problems get fixed.
Also I completely reinstalled Android Studio just to be sure I didn't create any more problems myself.
The first problem is that there is an error message saying:
failed to find Build Tools revision and then the Version specified in the build.gradle
I know that I need to change the SDK versions in the build.gradle file but I cant find where you can look up the Build Tools Version currently installed. By the way I want to compile for android Marshmallow hoping that it also works for Android Lollipop if that helps in any way
I am thanking in advance to everyone trying to help me
Hey!
I'm also a new learner to android app development
Just wanted to know if the udacity tutorial videos are helpful?
Do they explain well?
ChahatGupta said:
Hey!
I'm also a new learner to android app development
Just wanted to know if the udacity tutorial videos are helpful?
Do they explain well?
Click to expand...
Click to collapse
I did't really come that Far in the Tutorial (because of obvios reasons) but I Can say they are really good. Easy to understand and straight forward.
DasMaennel said:
I did't really come that Far in the Tutorial (because of obvios reasons) but I Can say they are really good. Easy to understand and straight forward.
Click to expand...
Click to collapse
Thanks
I followed a lot tutorials but none of them worked out
Will try this one
Did you check on the Sdk manager whether you have the needed build tools installed?
I don't comprehend what the correct name is for s highlight this way, yet I will simply depict it.
I am utilizing android studio and I included some java classes from an alternate venture. Presently it says
"missing bundle articulation: whatever". Be that as it may, there is not alternative in the mistake popup to simply naturally include the missing bundle articulation. I know it appears to be lethargic to not sort it, but rather I get a kick out of the chance to do things rapidly.
At the point when there is a mistake this way, is there a route for android studio to naturally included the required lines of code like obscuration would?
For Windows/Linux, you can go to File -> Settings -> Editor -> General -> Auto Import -> Java and make the following changes:
change "Insert imports on paste" dropdown value to "All"
check "Add unambiguous imports on the fly" option
On a Mac, do the same thing in Android Studio -> Preferences
That way, as you type, or when you copy and paste, many imports will be added automatically. Those that aren't are ambiguous; put the cursor on the class, press alt+enter and select which version of the class you meant.

Categories

Resources