need help coding app - Android Software Development

Ok so I've never coded in java before its all new to me and i am trying to make an app that would do the same as this (check it out here) old Motorola razr mod, the led's and screens would flash in a pattern when music was played or any vibration into the microphone. I thought this idea could make a cool app for android, so i have begun coding it, and i have pretty much got the interface setup, but when it comes to making the slider i added actually do anything i have no idea and i have no idea how to make buttons actually preform an action, also i have no idea how to go about controlling hardware on the phone like the microphone and various lights to flash. Is there any way anyone can help or give some tips i appreciate any input. Thus far my layout consist of a spinner to chose the different patterns for the lights to flash, then the start button, then a slider to choose how sensitive the microphone is to incoming vibrations. They do nothing yet cause i am not quite sure where to go from here. If you feel you can contribute any knowledge my way i will be grateful, the only coding i have done is minor html stuff although not much different than the xml code involved i have no idea what to do for the java part. Please Help.
Thank you much!

You'll need to use the required APIs detailed here: http://developer.android.com/reference/android/media/AudioRecord.html , I'm not sure you can actually control the sensitivity in Android as I haven't written any apps using the hardware as you want to. And this should help you out with the the backlight: http://developer.android.com/reference/android/os/PowerManager.html
So basically what you would need to do is set up an intent reciever that is listening to the mic, and when theres any input activate the brightness of the display.
For more detailed help I'd have to actually start coding to be of more help. Hope this helps.
Regards,
Akshay

Related

coding help

i have searched the internet for tutorials or anything that would help and could not find much at all so i figured what better place to ask than here...
i have a little experience in VB and would like to start doing some applications for my PPC. i have done a few small math programs that do simple conversions...as simple as taking input from an input box hitting a button and displaying the output in a label. i would like to learn how to manipulate files, do such things as creating a launcher and doing input functions like the moving of an image like in slide to unlock or scrolling with finger etc. so if anyone could point me in the right direction that would be great whether it be a tutorial or source code or what ever.
thanks in advance and thanks to all the people that provide awesome software and help on this forum...maybe one day i can share something i make
Google is your friend:
http://msdn2.microsoft.com/en-us/library/ms838273.aspx

[APP] Pandemonium VGA - Themeable Sound Board

Hi, Well I have finally got round to finishing enough of this application to give you a version. Unfortunately all the features I wanted to release are not there but its close enough. Future versions will incorporate these.
This application is basically a sound board with the ability to add user created content.
As before, requires .Net 3.5 CF.
The sample sound themes included in the application are a little weak and could do with some extra ones being created. Post your creations in the thread please
There are two types of themes available, a button theme and an image theme.
The button theme uses positionable windows image buttons to play the sounds.
The image theme uses an image to play the sounds. So for example you would have 2 images one for the background on the application for the user to see and one for the application to use. The overlay image will contain a single block of colour where you want to place a button, this colour is then indexed in the themes XML file. So when you press down on the background the colours are matched and the matching sound played.
The best way to get to grips with the themes is to look at two of the themes I have provided. The XML files are fully commented and quite simple to understand.
Example of ButtonTheme, \content\Roy Walker\RoyWalker.xml
Example of Imagetheme, \content\Mr T\MRT.xml
I am sure there will be bugs, but I wanted to get a release out as soon as possible to get some user created content. Please post any creations on this thread and I will include them in the .cab file with the next version.
Any feedback or suggestions please post on this thread also.
Future features:
Volume Control
More audio support, e.g. mp3 etc
Options to save last theme and other stuff
visual feedback on an Imagetheme button press, perhaps a greying of an area (Simple but havent had the time)
Any way have fun!!
http://www.barkered.com/?download=Pandemonium%20V0.1
Attached are a few screenshots of my bad attempts at themes.
The "wrong" button sound effect is not from catchphrase, but from Family Fortunes. As far as I remember, they didn't have a sound for that. Roy Walker simply said "It's a good guess but it's not right", which for me beeged the question, how is it a good guess then? Anyway, I'm not fussy. It's a great, useless, fun little program. We need more of these!!
Thanks.
Yeah you are right, I was just being lazy! But ah well, hopefully myself or someone else will create a family fortunes theme for it.
I also need to get some more Roy Walker sounds added in, a few people on the forum have given me links though.
Work seems to steal all of my time these days. Stupid work!
Cant wait to try it. Thanks for your hard work.
I can't play any sound when I'm on the phone. Neither I, or the one I'm on the phone with can hear anything.. What am I doing wrongd?
To be honest I never even thought about someone trying to use it during a phone call!
Interesting idea though...
I am slowing working on a few more themes, when I get time during work of course. Unfortunately my artistic skills are a little weak.
But I have created piano theme also, much like the one for the IPhone. Need to create some others also.
I was kinda hoping other people would create some content. It is easy enough
i am up for this....let me know how i can make some themes!
woooohooo
i have made a new theme! (well based on the mr t one supplied)
BETTER SOUNDS AND IMAGE!
i would like to know if someone can tell the screen size the program displays as it is not 480*800 as in the specs (it looses some from header and footer)
if anyone would like the theme i have made please Private message me i will mail it to you (as i do not know how to link)
i am currently working on another FAR TSUPERIOR theme just need the right images and screen size before i mail it out.
about time i found an app that i can have fun with! (like those iphone apps!)
cheers original poster for this!
I there, a have been searching for a while for an application that a could use to make something like the iphone idrummer (because of the daft punk kits) since i dont know how to make one, just modify them.
So here are my versions of Daft Punk "Harder, Better, Faster, Stronger" and "Aerodynamic". Just ad the files to the content file of the application and select them on the application and you are ready to go.
The thing is, they were made for QVGA version (240x320), so for other screen dimensions just modify the size of the background images and buttons, and coordinates also.
Hope you enjoy them (sorry for my possible bad english)
Anyway thanks to the creator of the application, and if anyone could make a new application more suited for a possible version of idrummer for those that dont have a iphone its always welcome
Haha i was just about to come here and ask if someone could port this http://www.noblefart.com/ across from the andrioid but since this sound board is very similar then maybe it could be intergrated into this!!
Is it possible to make it so that someone on the phone can hear the sounds?
This would be then great for prank calls. It would then also be useful to let you set your voicemail message as an mp3 - just dial your vm, choose record greeting and hit the soundboard button...
is there any way u can make a soundboard for family feud?

[dev] "fake call" freeware [coding]

Attention:
The Release is Here
I do alot of skinning but finally decided to jump in and try and actually create my own program, and i need a little help
Some of you may be familiar with trinket softwares "fake call." If not you can do a quick read up with this link.....
http://www.trinketsoftware.com/FakeCall/
I am in the middle of developing something similar but a freeware version (if you didn't know the software isn't freeware any longer) I had put a very basic but working program together in basic4ppc, i then found out i had to buy the software to compile the program. Since i already own visual studio 2008 i decided i would go ahead and try to rewrite my program in vs.
I have completed my design, but i need help with the code....
i need a help with-
"sound" - i obviously need to be able to play sound, i have looked in ms help in vs and they provide some keywords but i am getting errors when i debug.....
-how to load images from an xml file- (in need code for the call)
These will all get me rolling and allow me to release a beta......
I'm getting closer and closer
Because everyone has a different dialer or "incoming call screen," i have decided the best way to go about your fake call is to allow people to select a screen shot and a sound of their choice, creating a very customized realistic experience for every phone (as it would look just like the dialer on your phone) without having to input an obsessive amount of information. (caller name, picture, ect..)
thanks for your help in advanced
THANKS TO-
MRABIE
Attention:
The Release is Here
Wow, this is great. Ya, since fake call is no longer free this is a very amazing idea. I know a lot of people here will help you. We just have to wait. =)
Great idea, I downloaded that app a while ago when it was posted and was rather disappointed to find out it was fake freeware. A couple of suggestions, the aforementioned app would use the default ringer. The suggestion seems pretty simple from a logistics point of view but may be more difficult to program than I would imagine, when selecting a person with a ringer other than default associated use that one. Maybe have a call timer that will stay up and count until the end button is tapped. Hope this helps.
I didn't realize that the other software had gone commercial. Thanks for stepping up!!
bump............
What programming language are you using, considering Visual Studio supports several.
In vb.net your Wait method could be replaced by Sleep(milliseconds). Documentation. I am not sure, however, it this method is included in the compact framework, assuming that's the one you are using. Hope this helps somehow.
Full .Net documentation can be found here.
I am using .net but may consider rewriting again later after getting a release to rid the program of dependacy on the .net framework.
I Have updated the list, as i have gotten some stuff already figured out thanks to different people on the forums, THANK YOU
If you guys can help me out with this other stuff it would be greatly appreciated
Whoa!
Trinket Software is practically giving away their apps!
http://www.trinketsoftware.com/xdadevoffer.aspx
selfdestrct said:
Trinket Software is practically giving away their apps!
http://www.trinketsoftware.com/xdadevoffer.aspx
Click to expand...
Click to collapse
thanks for posting.
just as a reference, there's something called DOWNCALL which is free and simple.
edit: my bad, this calls someone at a scheduled time.. doesn't fake a call.
this is nice of trinket but will only last until the 24, and is really only supposed to be for our webpage.
UPDATE:
i'm working on xml now
still need help with sound
did this die out or is it still in development?
jhw549 said:
did this die out or is it still in development?
Click to expand...
Click to collapse
Yeah, I'm curious to know as well. Thanks.
Heres an app I use called PhoneyCall
http://www.aimproductions.be/titleview_comingsoon.php?title=PhoneyCall

Compleate noob development help with cool idea for an app.

Ok so i have a cool idea for an app but have no clue how to impliment it into code. I have started to work on the ui part of the code, not that hard. I am now at the point where i need to know how to controll hardware like the LED's, the screen,and the microphone. I have no idea how to conrol these various parts of the phone. The app i am try to make in theory would be like the old motorola razr v3 mod (Check it out here) where the phone's screens' would flash along with the keypad and leds to the beat of any vibrations to hit the microphone, there were several different patterns that would give different effects, it was pretty cool. So i would like to do the same with the screen, track ball, keys, and the led at the top of the phone. With multiply styles of flash patterns some with color coordinated and some just plane white lights. If i can get some help with this that would be great, i am new to code all around ik very basic html witch is not verry helpful, though it is similar to the xml. If you think this app is a good idea and even remotly cool please help if you can. By the way the app would be call Club Droid.
Thanks Much
this isn't the right forum to be posting this in. reported
Make a new thread in the development section buddy

[Q] Finding right place to mod an app

I hope this is the right place to post a question about modifying an existing app. In the long run, I want to create a Xposed module to do the modification, but to get started I work with modding the decompiled app. The app in question is de.zeit.diezeit.epaper.android, which is a German newspaper reader app (I am not expecting anyone to know it). What I want to do is to get rid of the scrolling animation when reading an article, because I am using this app on an eInk device (Icarus Illumina).
Now my problem is, I don't find a starting point. I have to say I don't have much (read: almost none) experience with writing Android apps (although I have a lot of programming experience otherwise). Thus I have no idea how such an animation would be implemented. I searched for references to the Scroller class and replaced the duration argument of the startScrolling method by 5ms, but this didn't change anything.
Is there any way to run the app in some kind of debug mode to see which methods are called at which time? Another idea how to find the right spot might be the trigger of the scroll: I am using the hardware page turn buttons of the device to scroll down exactly one page. How would this be implemented, what should I search for to find the code that reacts on these buttons? (Also: how can I press these buttons in the emulator?)
I am sorry if I am asking too many noob questions. If there is relevant documentation I have obviously missed, please point me to it. Thank you very much for any help!
Try looking under res/anim*
mhier said:
I hope this is the right place to post a question about modifying an existing app. In the long run, I want to create a Xposed module to do the modification, but to get started I work with modding the decompiled app. The app in question is de.zeit.diezeit.epaper.android, which is a German newspaper reader app (I am not expecting anyone to know it). What I want to do is to get rid of the scrolling animation when reading an article, because I am using this app on an eInk device (Icarus Illumina).
Now my problem is, I don't find a starting point. I have to say I don't have much (read: almost none) experience with writing Android apps (although I have a lot of programming experience otherwise). Thus I have no idea how such an animation would be implemented. I searched for references to the Scroller class and replaced the duration argument of the startScrolling method by 5ms, but this didn't change anything.
Is there any way to run the app in some kind of debug mode to see which methods are called at which time? Another idea how to find the right spot might be the trigger of the scroll: I am using the hardware page turn buttons of the device to scroll down exactly one page. How would this be implemented, what should I search for to find the code that reacts on these buttons? (Also: how can I press these buttons in the emulator?)
I am sorry if I am asking too many noob questions. If there is relevant documentation I have obviously missed, please point me to it. Thank you very much for any help!
Click to expand...
Click to collapse
Hi, very late after the question, but I am considering buying an Illumina XL HD e-reader in order to have e-ink to read newspapers. What has been your experience with your device (which model in particular is it?)? Also, I would like to root it. Do you know if that is possible? Finally, did you manage to modify the app? If so, was it difficult?
Hi, hope you found the solution

Categories

Resources