[Q] How Would I Go About Doing This In An App - Java for Android App Development

So I want to make an app that when enabled it will monitor the noise around you and adjust the volume of the music or video or podcast to suit your environment. I have some basic Java knowledge but not that much but I would be willing to learn more. Any help on some direction to get me started would be great!

cpoole32 said:
So I want to make an app that when enabled it will monitor the noise around you and adjust the volume of the music or video or podcast to suit your environment. I have some basic Java knowledge but not that much but I would be willing to learn more. Any help on some direction to get me started would be great!
Click to expand...
Click to collapse
Try to go through the android fundamentals first then trying to do something like this. If you want to learn android development try looking for PDF files and YouTube videos. There is a course for java and android development from Google themselves on udacity.com for beginners in android.
Sent from my One using XDA Premium 4 mobile app

Related

Adobe Air on Android sample application - here!

Found this apk while scouring the Adobe Blogs:
http://coenraets.org/blog/2010/05/sample-application-using-flex-and-air-for-android/
Looks very cool. Can't wait to see what comes out of this after the announcement of public prerelease of the air for developers.
Please correct me if I'm wrong, air allows devs to write software in air's code and its then capable of use on various platforms...Is this the main use of adobe air? So devs don't have to write programs separately for each platform....
Yes I think so.
DMaverick50 said:
Please correct me if I'm wrong, air allows devs to write software in air's code and its then capable of use on various platforms...Is this the main use of adobe air? So devs don't have to write programs separately for each platform....
Click to expand...
Click to collapse
Pretty much it in a nutshell. If you look at the AIR applications available for desktops then potentially these may be able to be ported to Android without much effort.
The applications for Android should rocket and the diversity of what can be run on the system increased too.
Flash based games are probably going to be high up the list for most devs I suspect. Did you try the sample?
It's pretty interesting. The videos of the possibilities are inspiring too.
+1 for all the possibilities that AIR now brings to the Android dev scene
<off topic>
+100 to Christophe for using The Office as his test database.
Good to see Kelly Kapoor, Michael Scott and Angela on there
</off topic>
karthikjr said:
+1 for all the possibilities that AIR now brings to the Android dev scene
<off topic>
+100 to Christophe for using The Office as his test database.
Good to see Kelly Kapoor, Michael Scott and Angela on there
</off topic>
Click to expand...
Click to collapse
Yeah , really cool little app. Pretty funny seeing The Office characters in it.
I got a game I made called Spate running using AIR, the performance is better than I expected from a phone but the game is unplayable as the boxes become like 4mm wide when shrunk down to a mobile screen size
eedok said:
I got a game I made called Spate running using AIR, the performance is better than I expected from a phone but the game is unplayable as the boxes become like 4mm wide when shrunk down to a mobile screen size
Click to expand...
Click to collapse
Post the apk so we can have a play. How much work do you need to do to modify it to work on the smaller screen?
Here's the web version:
hxxp://geekswhoshower.com/webgame/8
and here's the apk (requires the AIR runtime from the link in the OP):
hxxp://dl.dropbox.com/u/168938/Spate.apk
The biggest issue with resizing the game is I contracted out the artwork for the game, and it was a one time contract so I'd have to contract out the art again, and the high scores were a third party library that doesn't work with AIR, so I'd have to code one of those too. Plus I have a bunch of other projects going so this was more of a see if I can do it more than anything, and it's exciting how easily the game ported over, and how well it runs.
EDIT: not mod approved so I can't post links, change the xx's to tt's
Quite a good little game. It runs fairly well until the pot fills up and there are a lot of objects on screen.
It would be nice if it could run in portrait too.
I suppose it depends how much effort and cost is involved from your consultants to see what you could launch on Android Market.
Stick it out there for 59p and see what happens.
markouk said:
Pretty much it in a nutshell. If you look at the AIR applications available for desktops then potentially these may be able to be ported to Android without much effort.
The applications for Android should rocket and the diversity of what can be run on the system increased too.
Flash based games are probably going to be high up the list for most devs I suspect. Did you try the sample?
It's pretty interesting. The videos of the possibilities are inspiring too.
Click to expand...
Click to collapse
Just to be explicit, so people can create Android applications without writing even a single line of Android code?
I've tried dabbling with Android coding, but the framework-specific stuff frustrates me.
Paul22000 said:
Just to be explicit, so people can create Android applications without writing even a single line of Android code?
I've tried dabbling with Android coding, but the framework-specific stuff frustrates me.
Click to expand...
Click to collapse
This is true, that version of Spate was made without adding any new code, so if you know how to make flash applications it's pretty easy to turn them into android apps with this

Project idea I want to try - small audio tracker

I'm somewhat familiar with java (been a while) and I recently got an android phone. I've been wanting to do more than a little note app so I've decided to try to make a small music maker in the classic tracker style. I know audio latency in the android for now is a big issue. But never the less I want to go this way.
So I ask the XDA members for help. Anything at all you can give to help would be amazing.

Anyone know how to join m4v files?

After 73 views and no answer in the Q and A thread I thought I would give the same post a try in here.
I'm using CM7 right now but I think all roms save videos recorded with Epic as m4v. I need to combine a bunch of recordings and then upload them to youtube. I can't find a good PC based program that joins m4v's well. I just want to combine them not re-encode.
Any suggestions?
I've to together some with Adobe Premiere Pro CS5 video editing software and then exported as one video. I think most high end video editing platforms will also do it but I don't know. I doubt you would want to purchase this though just to do that. You may have to do some research of different products to find a cheaper solution.
Kafluke said:
After 73 views and no answer in the Q and A thread I thought I would give the same post a try in here.
I'm using CM7 right now but I think all roms save videos recorded with Epic as m4v. I need to combine a bunch of recordings and then upload them to youtube. I can't find a good PC based program that joins m4v's well. I just want to combine them not re-encode.
Any suggestions?
Click to expand...
Click to collapse
Have you tried mediacoder?
YouTube has a built in video editor I think...
Sent from my SPH-D700 using Tapatalk
Thanks for all the replies everyone.
@toadlife Mediacoder may work (even though that program is NOT very noob friendly) and I have other video apps that will allow me to re-encode into other formats but I don't want to have to re-encode. I just want to join. I'm going to be recording a lot of video using my phone and I will need to join a lot of these files. I don't really need to do much editing, just joining.
@marcusant If you know of a way using Youtube to join videos together, please tell me how. I can't seem to figure out how.
Kafluke said:
Thanks for all the replies everyone.
@toadlife Mediacoder may work (even though that program is NOT very noob friendly) and I have other video apps that will allow me to re-encode into other formats but I don't want to have to re-encode. I just want to join. I'm going to be recording a lot of video using my phone and I will need to join a lot of these files. I don't really need to do much editing, just joining.
Click to expand...
Click to collapse
Media coder has the ability to copy the streams without re-encoding them. I've used it to take the raw audio tracks out of video files, but you're right, it's definitely NOT noob friendly. I've had to spend quite a bit of time getting configured correctly at times.
Avidemux?
Sent from my SPH-D700 using Tapatalk
Take a video of the videos playing back to back
Sent from my SPH-D710 using xda premium
squshy 7 said:
Take a video of the videos playing back to back
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
nice Made me laugh today thanks.
@schnowdapowda I'll give avidemux a try although given the name of the program I sense that I might be re-encoding using that but thanks for the suggestion. I'll report back after trying.
@toadlife I'm up for the challenge if you could point me in the right area of the settings to use mediacoder.
Okay so I tried avidemux. I figured out how to append the video files and then I save the file (I'm not sure which container to choose so I chose mp4). It seems to save the file fast enough but when I jump ahead to the appended sections I get slow motion. The audio is playing fine but the video is slow motion.
Hey I never said I used it much. Lol jk. On a more serious note check out their forums.
Sent from my SPH-D700 using Tapatalk
Premiere Pro is a great bet, but there aren't too many people who drop $1,800 to edit cell phone videos.
Truth is you may have trouble finding and editor that will be happy to take these files. M4V is an acquisition and delivery format. The long GOP (group-of-pictures) structure it uses is not friendly with editing programs. In order to draw a single frame the computer may have to draw 30 other frames, sometimes both ahead and behind the playhead. Long GOP codecs take a lot of computational horsepower to work with, so transcoding to an editing format such as DVCPRO HD may be beneficial.
That said I'd try Lightworks. It's an open source NLE that's Oscar and Emmy award winning. Windows only for now. It's codec, rate, and size agnostic, so you should be good to go. I haven't used it at all, but it looks pretty good. Someday when I invest in another PC or when it comes over to the Apple side I'll check it out.
http://www.lightworksbeta.com/
Here's their list of Hollywood features that it was used in the making of; I'm sure you've watched a few of them.
http://www.lightworksbeta.com/index.php?option=com_content&view=article&id=107&Itemid=260

whats ur atrix capable of?

share what all things you can do with your atrix. let others know how you are using your device. guide them to unleash the beast inside their atrix.
i connect my atrix to usb hub, tv, pendrive, ext hdd, mouse and keyboard......
Atrix - Neutrino Rom 2.6, Faux 1.45GHz Kernel. CM7 2.3.7
I'm kind of strange.........I use my Atrix as a phone!
I use it as a game console. connect it to my HDTV and use a wiimote classic to play snes. I also use it for Netflix and movies. Most recently I've been using it at work to save information quickly.
I use it to do my marketing homework cuz I'm cool like that.
Nice topic...
Sent from my ATRIX
It collects dust until cm9 is 100% complete for it.
I only used hdmi mirroring a few times like in hotels to watch Netflix. Now I just use my ipad2. Only played stupid games on it, nothing like gta3. That's what my ps3 is for.
I use mine for games and all the usual stuff but mostly as my mobile office
Sent from my MB860 using xda premium
I use it for a mobile office, games, mp3 player and Webtop sometimes sms etc
I am now up to 7 months of using nothing but my atrix/lapdock when not in home/office.
This includes some long trips when I needed to be able to connect back to the office and do real work.
When out of touch I can do some dev locally on it (most of my work is just C code, fairly light weight). But in general I can just VPN home and all works fairly well.
Worst case is when I have to RDE into a Windoze VM back on my office system. Slow, but works.
Sometimes I even use it for phone calls
CaelanT said:
I'm kind of strange.........I use my Atrix as a phone!
Click to expand...
Click to collapse
+ 1 and for web surfing and video watching
Sent from my MB860 using xda premium
I use my atrix for mostly the communication part of the phone for school and work. Like email, messaging, calls, and Lapdock. The phone calendar is the thing the keeps me on task. I use the atrix almost like a business tool.
.......the you have all those fun apps you have to try......
That's a whole other story.
Sent from my ATRIX using the Premium XDA App
anybody tried full ubuntu inside atrix and connect to an HDTV?
I use my atrix for...
Well this is my first "power-phone" I've had. I don't consider my iPhone 3gs a power-phone. So tonight I will attempt to install backtrack Linux on it (Debian variant) for pen-testing remotely. Should be interesting. The hardware can BY FAR support it, and there are multiple ported arm versions available. Wish me luck. If anyone else has done it, regardless of distro please pm me you're experience!
I always use my Atrix to watch Despicable Me all over again!!
I use my Atrix as a pocket notebook (springpad), music player and mobile browser.
I also have offline navigation map installed, but never used it.
deface31337 said:
Well this is my first "power-phone" I've had. I don't consider my iPhone 3gs a power-phone. So tonight I will attempt to install backtrack Linux on it (Debian variant) for pen-testing remotely. Should be interesting. The hardware can BY FAR support it, and there are multiple ported arm versions available. Wish me luck. If anyone else has done it, regardless of distro please pm me you're experience!
Click to expand...
Click to collapse
I run a debian made from scratch via debootsrap and it works fine and was fairly easy to do.
If you are just running this as command line (no X), it is fairly easy to do. Just follow any standard ubuntu chrooting guide (or look up "ubuntu on android"). From a 'droid terminal chroot over and you are there.
One catch, if you run as a non-root user you must be in grouup 3003 (it's in the 'droid kernel) to use IP sockets. 3004 to use raw sockes, and 3001 if you care about bluetooth (took me an entire day to find that comically stupid issue).
If you need an X interface, there are 2 ways to go. Either use the Moto webtop ubuntu to get X up, then chrrot over to your stuff over. Or run a VNC server in your 'nux and use the android VNC viewer.
As I presume you know what you are doing on the linux side, this will not be difficult.
There are a few threads over in the dev section that go into a lot more detail.
Design icons in inkscape? Build websites? Contact anyone any time? Considering its 960 landscape it also allows you to easily browse almost any webpage. Its a damn awesome phone.
I just wish they'd done webtop right as opposed to than weird virtual thing its doing. Ubuntu screams on a 1ghz processor with 1gb ram. Webtop however sort of whimpers =/
Needs room to grow I guess.
Sent from my MB860 using XDA
Thanks for the advice your setup looks like exactly what i need. Command prompt and a root user, the rest is trivial and ill play with it for giggles. Thanks again for the reply.
Sent from my MB860 using the XDA mobile application powered by Tapatalk
Design icons in inkscape? Build websites? Contact anyone any time? Considering its 960 landscape it also allows you to easily browse almost any webpage. Its a damn awesome phone.
I just wish they'd done webtop right as opposed to than weird virtual thing its doing. Ubuntu screams on a 1ghz processor with 1gb ram. Webtop however sort of whimpers =/
Needs room to grow I guess.
Sent from my MB860 using XDA
Click to expand...
Click to collapse
Hrm.. webtop seems to run nice for me. Streaming movies or youtube is lag free. My vnc sessions seem fine. Not sure. I am writing some more advanced html5 web apps to test with webtop to see how well it utilizes the newer functions. But then again it is firefox, i expect it to pass with flying colors.
Sent from my MB860 using the XDA mobile application powered by Tapatalk

What are some unique/useful stuff to do on Linux on DeX? That cannot be done without.

It honestly is pretty impressive and interesting that we are able to use a full "desktop OS" on our phones on the go.
But I was reflecting on the state of things, and could not think up many reasons to really use it.
I WANT to use it, it looks like a lot of potential. But I want to use it to do some useful / interesting things with it. Not for the gimmick.
Important point 1:
I know that probably there are a lot of coding/hacking/network stuff you can do with it but I am NOT interested in that, not even outside Linux, DeX, or anywhere. I am a game designer/planner (and player of course) and also enjoy 3D modeling, and general audio and visual media / games / art stuff.
Important point 2:
Please refrain from suggesting stuff that can be done on regular Android mode DeX, like for instance Word/Excel/Office documents editing, or web browsing etc.
I could only think about using GIMP, and Audacity?
Anything really nice for productivity and/or fun, that requires Linux mode?
Please share your opinions!
gamekill said:
It honestly is pretty impressive and interesting that we are able to use a full "desktop OS" on our phones on the go.
But I was reflecting on the state of things, and could not think up many reasons to really use it.
I WANT to use it, it looks like a lot of potential. But I want to use it to do some useful / interesting things with it. Not for the gimmick.
Important point 1:
I know that probably there are a lot of coding/hacking/network stuff you can do with it but I am NOT interested in that, not even outside Linux, DeX, or anywhere. I am a game designer/planner (and player of course) and also enjoy 3D modeling, and general audio and visual media / games / art stuff.
Important point 2:
Please refrain from suggesting stuff that can be done on regular Android mode DeX, like for instance Word/Excel/Office documents editing, or web browsing etc.
I could only think about using GIMP, and Audacity?
Anything really nice for productivity and/or fun, that requires Linux mode?
Please share your opinions!
Click to expand...
Click to collapse
Someone in another thread on xda mentioned they got Blender up and running. Don't know if that helps. Plus of course as you mentioned, Gimp, Audacity etc.
Imo, the Office difference is not trivial. The android apps (at least MS) are still limited on features. LOD browser allows use of Office online, which is not possible on the android browser.
If you need even more, can use Libre Office on Linux which is a full fledged office suite largely compatible with MSO except for some complex formats and vba.
Most other stuff works fine on plain DeX. Suppose that's why Samsung seems to be aiming this mostly at developers.
Sent from my SM-N960F using Tapatalk
arbit12 said:
Someone in another thread on xda mentioned they got Blender up and running. Don't know if that helps. Plus of course as you mentioned, Gimp, Audacity etc.
Imo, the Office difference is not trivial. The android apps (at least MS) are still limited on features. LOD browser allows use of Office online, which is not possible on the android browser.
If you need even more, can use Libre Office (...)
Click to expand...
Click to collapse
Thanks!
Gonna try and find out if Blender runs decent enough.
Office programs, I barely use any features, very basic usage only, so I guess that is why for me it seems like the same.

Categories

Resources