[Q] how to make a apk for my atrix - Atrix 4G Q&A, Help & Troubleshooting

hello i am i college student who is just getting into developing. I want to someday be a developer but for now i am just trying to access the camera on my atrix through a apk that i have made. i do not know that much about java but i do know a little and i know a little bit about eclipse as well. I have searched and found some stuff bout nothing that just completely helps me.
i need to know what to put in each folder (res,src,xml etc.) of my project.
i am not really trying to do anything new basically just open the camera through something i made.

Since Android is opensource, your best bet is to find source from an existing project and "port" that into your work.
Just moving stuff around in the APK's structure isnt going to work(I may have read your post wrong, you may actually be working in Eclipse). Eitherway, let me help ya out...
http://goo.gl/JtoaP
more specifically -
http://www.tomgibara.com/android/camera-source
or...
http://stackoverflow.com/questions/1105196/android-application-source-code
or even...
http://p2p.wrox.com/book-profession...471-2/72528-article-using-android-camera.html

Related

[Q] I want to get into Atrix Dev...where do I look?

With the onset of the unlocked bootloader, I'd like to start looking into deving for Atrix and Android in general.
I do know how to program and can pick up another language rather easily, I know my way inside and out of a Linux box, and I see this as a great opportunity.
So, what sort of things should I start reading/looking into?
I would check out
http://code.google.com/edu/android/index.html
I am not a dev so there could be better places to start, but have a look
Sent from my MB860 using XDA Premium App
Learn Java. You're going to need it.
You may want to speak to some of the atrix devs or xda devs in general in irc and ask them specifically.
http://webchat.freenode.net/ #moto-atrix and #xda-devs
Alright, thanks for the responses. I'm actually learning Java from the ground up via AP Computer Science A online. I'll lurk IRC for a while as well.
Same here
I'm also looking into Atrix/Android development, although the coolest thing I've ever done with Java (one of two languages I know anything about) is make Snake, which wasn't that good of a game haha.
I've done some tutorials on Android development, so I know my way around a bit of it, but that's the most of it. Is there is a good book or online resource that can help teach Android development for basically beginners?
i would go to this site: http://blogs.sonyericsson.com/wp/2011/05/06/how-to-build-a-linux-kernel/#more-2256
yes, the competition shows you how it is done. You need to learn first how to compile a kernel for the phone.
You can try downloading the motorola kernel and use the steps in the blog to help you do the same.

[Q]How to port cyanogenmod to new devices?

Hi guys, I was thinking about trying to port CyanogenMod to Lg Optimus Chic E720. I'd like to know if there's any tutorial about this, or at least a few tips for start the development. How to start? Supposing i've already downloaded the sources. Is CWM required? Because at the moment I've only got AmonRa style recovery by drellisdee
up please help me
This should help you
How could it help me building CyanogenMod?
I used that kitchen to cook the official 2.2 and 2.2.1 from LG, i don't think it is useful for porting CM, isn't it?
ripa1993 said:
Hi guys, I was thinking about trying to port CyanogenMod to Lg Optimus Chic E720. I'd like to know if there's any tutorial about this, or at least a few tips for start the development. How to start? Supposing i've already downloaded the sources. Is CWM required? Because at the moment I've only got AmonRa style recovery by drellisdee
Click to expand...
Click to collapse
This is a hard question
Hmmm...
Hmmm... Porting ROMs is a bit hard but I think you can manage it. You'd have to find a device with the same resolution and the same CPU Type and download the CyanogenMod for it and then try porting it.
I think this might help you...
http://forum.xda-developers.com/showthread.php?t=1941239
U mst ignr dis
If people are looking to move into development, dont be a ****, you know who you are!
First off, any question of this nature will get you slammed by "pure" devs, because, it is not easy and takes hard work, "pure" devs will take the time to slam you for not doing as they have done, watch Hackers from the 90's, joey gets slammed all the time. Asking questions without taking the time to look first, or asking questions which look this way, makes you a target!
The key is to read, search, read, investigate, search, read, learn! then do it all again. There is a massive repository of knowledge out there, if you come and say something like "I have been looking to port a CM build, I have looked into it there is alot, anyone know a good place to start?" Your less likely to get slammed.
The CM Wiki or the CM Forum is your best bet. Plus you could join the community, start small I would, if you spend alot of time on it you could rip through some small branches with support, then move onto what you want quite quickly. If that doesnt make sense, head over to the froum and community and read, read ,read. It will eventually.
I know this post is old but people still look at it from searches. Be kind you never use'd to know either.
Thanks

[Q] steps for android development

hello every one!!!!
i am proud owner of SGS from last one year.
no of times i flashed custom ROM and researched for info on internet
got almost all the information from this forum but still got some question.
i got the tutorial for setting up the development environment.
but still not got the satisfactory ans/tutorial/guide for android development.
i am not from programming background but still i am very much interested in android development and i know that with interest i can learn any thing.
i am very much interested in ROM development.i know it involves very much knowledge/patience/coding etc.
could anybody tell me what are the steps involved to develop for android platform so i can research and learn to do it.
help will be appreciated!!
hey,
other than searching on google for code sample/example, i refer to the following to answer some basic information: http://developer.android.com/index.html just one thing to note is...the code they provide on their website may have bugs ( i have run into a few myself as i was starting to code on android platform)...
You probably know this one, but maybe not
http://forum.xda-developers.com/showthread.php?p=17254660 via http://forum.xda-developers.com/showthread.php?t=816994
Hi swapk007,
Setting up an android development environment is a little complicated, so instead of trying to list the steps here, I'm going to give you some advice. This is coming from someone who also started android development about a month and a half ago, so the following advice is something I'll stand by.
If you don't have a programming background, try and tinker around with some basic Java. I've gone to school for Computer Science, so I got enough Java experience that I could jump right into Android, but it is something I would recommend to others who don't have that exposure.
Next, check out Commonsware. It is a site/service/set of online books run by a guy named Mark. I purchased the books back when I started and they have been HUGELY helpful. He explains in detail how you should set up your development environment, and then walks you through the different parts of the development process. Furthermore, he does "office hour" chats once or twice a week, so if there is something extra complicated that you can't figure out you can talk with him. He is really friendly and helpful.
Once you get a handle on developing some apps, be they basic or advanced, then you'll be able to get into Rom development.
If you have any more questions, feel free to ask.
fastindy said:
hey,
other than searching on google for code sample/example, i refer to the following to answer some basic information: http://developer.android.com/index.html just one thing to note is...the code they provide on their website may have bugs ( i have run into a few myself as i was starting to code on android platform)...
Click to expand...
Click to collapse
Janzomaster said:
You probably know this one, but maybe not
http://forum.xda-developers.com/showthread.php?p=17254660 via http://forum.xda-developers.com/showthread.php?t=816994
Click to expand...
Click to collapse
bkensey said:
Hi swapk007,
Setting up an android development environment is a little complicated, so instead of trying to list the steps here, I'm going to give you some advice. This is coming from someone who also started android development about a month and a half ago, so the following advice is something I'll stand by.
If you don't have a programming background, try and tinker around with some basic Java. I've gone to school for Computer Science, so I got enough Java experience that I could jump right into Android, but it is something I would recommend to others who don't have that exposure.
Next, check out Commonsware. It is a site/service/set of online books run by a guy named Mark. I purchased the books back when I started and they have been HUGELY helpful. He explains in detail how you should set up your development environment, and then walks you through the different parts of the development process. Furthermore, he does "office hour" chats once or twice a week, so if there is something extra complicated that you can't figure out you can talk with him. He is really friendly and helpful.
Once you get a handle on developing some apps, be they basic or advanced, then you'll be able to get into Rom development.
If you have any more questions, feel free to ask.
Click to expand...
Click to collapse
thank you all...will definitely go through all this n reply..
I´m not a android developer, sometimes i do some OOP in C#, and I would suggest you should start coding some apps (games, toys etc.), maybe just for PC´s, before even start thinking about developing custom rom´s - just start reading JDE stuff and if you finaly know what your doing, you will not have to ask for thinks like "how to code ROM´s", but just start coding...
...would you start building a house, if you even didn´t know how to do a wall?
will definately do it tomrof!!!

[Q] Help with development- Specfic

Hey all! I'm really sorry, I usually only lurk/look around this site, so I don't know if this is the right way to ask for stuff-
To be specific, i'm starting a company project (I run a non-profit organization) that helps people out around the world. I'm trying to change android OS to only do specific things (starting a specific app when you turn it on, etc). I want it to basically be stripped down to only do specific things. If someone wants to help out, can you point me to a place to understand how the OS structure is set up? I saw the programming page, but if it's no trouble, i'd like a little direction. If someone could PM me, that'd be cool, or respond here. I know most of you do this as a hobby, but a small payment for some direction wouldn't be out of the question.
I'm really sorry for the weird request, but i'm just starting this and thought i'd ask here first.
Thanks!

[Q] I want to decompile a game to add new content to it

Now ive been having thoughts with my team mates and we were thinking of Big Wave Advantage for PVZ2*Plants vs zombies 2*...this is so far on android and may move to iOS but for now we're working with android.
This mod should be safe since the mod and game is free. the problem is that we need to figure out how to add the textures to the game ...and bytes because due to the game having a = to byte number limit *cant be more than or less than the number* so we need some help from people that have been around modding.
We have the tools APKtool,JD-GUI,dex2jar,if theres more tools we need please tell...but we really need the help...if you can. thank you.
the attachment below is a prototype icon of the mod.
Now if you dont know who i am,i came from the PVZwiki i am known as ADVENT there... i am a Zombie Expertise and i have teamed up with most of the wiki and we just need some help with some things.
i didnt really know where to post this...it was confusing since there was no "Modding Q&A"
Please? as said we got everything but we just need help.
The issue is that without access to their source code you are not gonna be able to do much at all.

Categories

Resources