App that can speak every 10 percent decrease in battery - Java for Android App Development

Good evening.
I want to develop an app that can speak every 10 or 20 percent decrease in my battery and that to in JARVIS type voice.
I want to know more about java programming for android.
I know that it requires background service but i haven't developed any app till now and i am a beginner.
please guide me if any one can and that to in detail.
Thanks in advance.

phone; samsung galaxy fit gts5670
rom: gingerbread ddkt3

Jasveen Singh said:
Good evening.
I want to develop an app that can speak every 10 or 20 percent decrease in my battery and that to in JARVIS type voice.
I want to know more about java programming for android.
I know that it requires background service but i haven't developed any app till now and i am a beginner.
please guide me if any one can and that to in detail.
Thanks in advance.
Click to expand...
Click to collapse
So to do that, you will need a Broadcast receiver listening for the ACTION_BATTERY_CHANGED broadcast. Read this article and this one as well for implementing these.
But I advice you to start with the basic tutorials before you begin something with broadcast receivers!

Related

[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

How can I catch an incoming SMS-event of a specified number.

Hello there,
at first: Please excuse my really english, but i will do my best - So here is my question:
How can I catch an incoming SMS-event of a specified number?
My idea: I bought a GPS/GSM system an build it up in my car. If the alarm of my car starts (by shaking, crash a window, what else) i recieve an SMS. No i want to write a litte application that catches that number and starts a loud sound that I will wake up immedeatly.
So, can you help me? I used the "search-button" but I didn't find a word about it... (maybe I used the wrong words for searching)
Best greetings from germany
Henning
PS: My system: XDA Orbit I, Visual Studio 2008, i wrote 2-3 little apps (Hello World, and so on... you know )!
I think rk-sms might be able to help you.
magicall
http://www.mobiion.com/magicall.html
thx, but the seconds isn't for free and the first one ... o_0..
I want to write it on my own, because i can extend the program how I need it.
So, is there a C guru who can help me?
Bierhumpen said:
thx, but the seconds isn't for free and the first one ... o_0..
I want to write it on my own, because i can extend the program how I need it.
So, is there a C guru who can help me?
Click to expand...
Click to collapse
The guru here is AC !!! He developes S2U2 and he is able to catch incoming sms events! I guess if you ask very politely via PM he might give you the code for it
http://forum.xda-developers.com/member.php?u=392886
that's his profile good luck buddy
check this out ...
http://blogs.msdn.com/dglover/archive/2005/07/26/443227.aspx

[Q] help need references to build app

Hello there, this might sound stupid bu i really need to build an app that blocks all texting and phone calls to certain numbers in a determined place after a determined time of the day (in my case after 2am near bairro alto or alcantra btw its in portugal)
the thing is that i never programed for android although i have some experience programing in java c php.. so i need some help to know where i can learn the basics to program such an app
There's probably free apps that will do that for you. Try searching here.
http://www.androidzoom.com/android_applications/call block filter
If you've never programmed on android, and want to try yourself, I suggest learning the basics first. This is a good place to start.
http://developer.android.com/resources/index.html
Work through the tutorials, look at the common tasks and sample apps section.
Also good starting tutorials;
http://www.vogella.de/articles/Android/article.html
________________________________
Unrevoked forever
SkyRaider Sense 3.5
Radio 2.15.00.09.01
thanks man
the apps that i have found do precisely the oposite of what i'm trying to achieve.. i want to block outgoing calls/texts not incoming..
What are you doing? Making calls to random numbers while you sleep? (sleep calling (-: )
Or maybe you're getting drunk and calling an old girl friend?
________________________________
Unrevoked forever
SkyRaider Sense 3.5
Radio 2.15.00.09.01
LOL, that's what I was thinking. Just lock the phone with a password. Just hard to understand HAVING a phone and WANTING to block a call???

Ready Made Andriod Apps

Hi Everyone,
Im new so go easy lol
Im wanting your help with regards to my thesis im doing at University. Im conducting an experiment with regards to people interacting with my andriod application. Its going to be the most simplistic application and probably only needs 1 button ie 'enter' and Im wanting to find out if there are any ready made andriod apps out there, fully sourced etc for editing and publishing... Or starter kits that input the code for you. I have no software dev experience and could use some help, as I say im just looking for a smal app with just one button that says "enter" really, but allows me to put a logo on... quite basic
If anyone can help with this, that would be greatly appreciated.
Craig
Welcome to XDA
In the Android SDK (Software Development Kit) There are usually about 5-10 example apps for each version of Android (such as Android 2.2 or Android 3.0)
They are very simple, such as a notepad app, or a business card manager. And they are great ways to learn if you dissect them and poke around.
Have a look here to get started:
http://developer.android.com/resources/index.html
Good luck!
Thanks very much, thats really much appreciated
If your app is indeed that simple, private message me if you need something coded.
Rootstonian said:
If your app is indeed that simple, private message me if you need something coded.
Click to expand...
Click to collapse
That great, thanks very much. I have just sent a quick message.

[Q] Android App: create twitter feed platform

I am interested in creating and android based app where short posts like twitter can be shared with a group of people who has that app. So for example if 10 people have this app and one of them decided to create a post and share it then all the other 9 people should be able to see it in there feed. I am new to app development and was hoping I can get some kind of guidance from here as to where to start. I am not sure what kind of platform or technology is used in facebook and twitter for this specific purpose but I would like a similar setup. I really appreciate any help or guidance to help me get started and thanks in advance.
Google Cloud Messaging might be helpful in that case: http://developer.android.com/google/gcm/index.html
I'd, however, suggest to create some easier apps first, just for learning. Keep in mind, a twitter clone is a big and difficult project.
Smaller project
I would like to start from a smaller project but not sure about this area at all. I was thinking to just create a small app first where I create a post and it appears on the other end. Any ideas as how to go about it? thank you for your help.
sbcoder said:
I would like to start from a smaller project but not sure about this area at all. I was thinking to just create a small app first where I create a post and it appears on the other end. Any ideas as how to go about it? thank you for your help.
Click to expand...
Click to collapse
I don't know how to do that as I've never really been interested in networking. I'd suggest to do something without networking as your first application to get used to Android's UI elements and to Android code in general.
As soon as you understood that you can do as much networking as you want but I would start with something that is easier. (A calculator is a typical beginner project. )
sbcoder said:
I would like to start from a smaller project but not sure about this area at all. I was thinking to just create a small app first where I create a post and it appears on the other end. Any ideas as how to go about it? thank you for your help.
Click to expand...
Click to collapse
i ll give the example of Facebook
there
newsfeeds run on Hadoop
messages are on nosql not sure about this
all the searches you perform on the new graph interface (exculding those on messages) are through FQL
its a language of their own Facebook Query Language
Python is the backbone of it all, chief scripting language on thier server
of course the webinterface you see is php and javascript
........ this much only i know
but there are a few more
as u can see there's more to it than it seems to be so starting with such a thing won't be a wise decision !
"no hill too high to climb" - proceed this project if you really want to !
Sent from my GT-S5302 using Tapatalk 2

Categories

Resources