Help make an app. supply code? help anyway you can! please! - Java for Android App Development

I am trying to make my first app. I want it to have no icon in the apps tray and be hidden, with a name like Android system.
I want it to block sms from a specific number, and possibly forward it to another number, without the origional recipitent seeing it period. I want it to block incoming calls from the same specific number and not notify the origal recipitent of call blocked. I want it to block outgoing sms to that same specific number without notifying the sender. And/or send that message intended for the origional number to a secoundary number. And same with calls, i would like calls to that specific number to be blocked and not notify the caller that their call is not going to the specific number.
Do you get what im going for here? I want an app made specifically to install on one specific persons android, to block all contact between that phone, and one specific other persons number, without notifying either party their communication of choice is not reaching the other person. With the possibility of the transactions actually going to a 3rd number soley to be used as a "monitor" if you will.
Can anyone help me code this, itll be my first app, ive never done such. Or if its easy for a senior coder, could you throw the app together for me?
Any and all help is GREATLY appreciated. Honestly. I would like to learn to do this myself in the future, so just help with setting up proper code is good enough!

robles4242 said:
I am trying to make my first app. I want it to have no icon in the apps tray and be hidden, with a name like Android system.
Click to expand...
Click to collapse
Hi first off all, if you want hide the application in the apps tray, your phone need to be rooted

robles4242 said:
I am trying to make my first app. I want it to have no icon in the apps tray and be hidden, with a name like Android system.
I want it to block sms from a specific number, and possibly forward it to another number, without the origional recipitent seeing it period. I want it to block incoming calls from the same specific number and not notify the origal recipitent of call blocked. I want it to block outgoing sms to that same specific number without notifying the sender. And/or send that message intended for the origional number to a secoundary number. And same with calls, i would like calls to that specific number to be blocked and not notify the caller that their call is not going to the specific number.
Do you get what im going for here? I want an app made specifically to install on one specific persons android, to block all contact between that phone, and one specific other persons number, without notifying either party their communication of choice is not reaching the other person. With the possibility of the transactions actually going to a 3rd number soley to be used as a "monitor" if you will.
Can anyone help me code this, itll be my first app, ive never done such. Or if its easy for a senior coder, could you throw the app together for me?
Any and all help is GREATLY appreciated. Honestly. I would like to learn to do this myself in the future, so just help with setting up proper code is good enough!
Click to expand...
Click to collapse
This whole thing smells very "it puts the lotion in the basket"
relationship counseling maybe?
Cause what I read is. I don't want my significant other talking to person X so i wanna control it.
Creepy..... Very creepy

This requires a rooted device and it's pretty much illegal as far as im aware. For educational purpose:
A service(Services are not shown to the user directly) will be your sms listener and an activity will perform the sms actions.
You can possibly copy, resend and delete incoming messages in the activity. You pretty much wanna stay away from other people inboxes :}

Related

Phone application cprog.exe

Hi,
I want some information about default phone application cprog.exe.
I want to know how does it communicate with outlook and other application.
I guess most probably it should be via message posting.
But, unfortunately wheni tested the same with spy running on cprog and then i called a contact from outlook contacts.
I see many messages posted to cprog but I found no message or Parameter(WPARAM/LPARAM) to cprog that contains the number to call.
can anyone help me out to get information how to fetch that number? the number passed to phone/cprog.exe from contact.
The same thing i need for sddialer.exe that after matching the sound tag, how it informs cprog that which number to call?
Please help! I am looking these since long...
Good Luck
Best of luck trying to find any doco on cprog (if you do, please post back here!).
If you have a look at this thread you may find what you are looking for (at least how to initiate a call from the PC is there):
http://forum.xda-developers.com/showthread.php?t=295585
Look for LINE_REQUEST message
There a two ways, that an application can make a call; using tapiRequestMakeCall or lineMakeCall. tapiRequestMakeCall is by far the simplest to use. Examples of their use can be found in two sample cellcore progams available from microsoft, CeDialer, and HelloTapi. You could try this and see which produces messages simular to outlook. I'll guess that it's HelloTapi (tapiRequestMakeCall).
When an application uses tapiRequestMakeCall a LINE_REQUEST message is sent to the call-control application. This application must then call lineGetRequest to get information on the request. It then must execute the request.
See the remarks on the lineRegisterRequestRecipient page at microsoft
http://msdn2.microsoft.com/en-us/library/ms736043.aspx
I wish there was a similar Hello USSD example for the lineSendUSSD API. There's very little information on it... No one seems to be able to capture the responses past the first call.
oops missed part of your question
After the call app places the call, it should get a series of messages, mostly LINE_CALLINFO and LINE_CALLSTATE. The messages contain a handle for the call. Once you have the call handle you should be use the lineGetCallInfo and lineGetCallState functions to get info about the call. I think lineGetCallInfo includes the number that was called. The callstate typically goes through dialling, progressing, and then connected. I believe your not supposed to use the call handle until after a LINE_REPLY message is sent, saying the call didn't fail. If there are problems perhaps you should wait a short time.
To find out more about the messages, you could play with the CeDialer sample. It's linecallbackfunc looks at the messages, it would be easy to put in a few logging statements to see what's in each message. It think CeDialer will only get messages for inbound calls, and calls that it originated. (not ones by cprog.) Although you should check to be sure that I'm correct.
Good luck! Please, let us know whatever you might find out.
Hi,
I will look into this and post reply according As soon as possible.
Thanks
Where i can find the original cprog.exe to install in my non phone PDA? it's the dialer for voip.
Many thanks

Is it possible to trigger based on incoming caller ID

I am looking for an app that lets me do stuff when certain incoming numbers (either a simple editable list or a selection of contacts) call..... essentially I want the phone to answer and then hang up immediately so the numbers don't get my voicemail, they just get rejected.
At the moment I have the contacts set with a silent ringtone so I don't get disturbed, but sometimes I get voicemails from them and I want to prevent these.
I have had a look at Mortscript and can find how to handle incoming calls, just not how to handle incoming calls from specific contacts in specific ways.
Any help appreciated
go to www.youmail.com
i like this free service and it handles caller id calls more efficiantly than any software you can purchase.
Thanks for the link, unfortunately it's US only and I'm in the UK.
CallFirewall does exactly that what you need.
Try this:
http://www.mobiion.com/magicall.html
It does everything you asked, and a whole lot more.
+1 for magicall... it rocks
Thanks for the links guys, downloading them both now
Call Firewall didn't quite do the trick as I could only get it to go to voicemail, but Magicall does 100% what I want, plus more, so I promptly coughed up the cash for it
Somewhere else on the forum there's a program what lets you make your own interface in html with js/flash. you can use that and make javascript countdown for x seconds and than let it pick up and hang up... or whatever you want not the best solution but it still is a solution

Caller Blacklist App ?

Hi
Is there an app that will allow me to either blacklist and reject calls, or direct them to a virtual voicemail box ?
Virtual VM being within the phone not the carrier ?
I had a similar app on my Nokia N95 8GB.
Thanks
You don't need a seperate app. Just add them as a contact and select Send to voicemail. Not tried it though.
norm2002 said:
You don't need a seperate app. Just add them as a contact and select Send to voicemail. Not tried it though.
Click to expand...
Click to collapse
I use that a lot problem is your phone still rings then it goes to voicemail, would have been lot better if it went straight to voicemail...
saayinla said:
I use that a lot problem is your phone still rings then it goes to voicemail, would have been lot better if it went straight to voicemail...
Click to expand...
Click to collapse
Maybe you can create an mp3 file of silence then set that as the ringtone for those contacts you want to send to voicemail. Will that work?
I just came here about to post the same thing!
Individual blocking on a case by case basis is fine. But not powerful enough. I came from Nokia E series and the only thing I miss is Advanced Call Manager.
If you look up this program, what you will find is that it has some great features:
- You can set up many lists then just tell the phone to use the list for a whitelist or blacklist.
- You can block all unknown numbers.
- Block everyone. Essentially turns phone into pager.
Even blocking calls is done in a variety of ways.
- to voicemail
- to busy tone
- block and send sms
- divert to various numbers depending on mode
Etc.
As you can see, it is a very powerful program that is set up very easily and I never had any complains, only praise. I often used it when I was writing when I would only want my partner and my mother to contact me and would block everyone else.
I have been looking but can't see anything as powerful or as highly rated. What I've found are:
aFirewall
Extreme Call Blocker
Phone Armor C.
But these seem either basic or don't work reliably.
Cleargrey said:
I just came here about to post the same thing!
Individual blocking on a case by case basis is fine. But not powerful enough. I came from Nokia E series and the only thing I miss is Advanced Call Manager.
If you look up this program, what you will find is that it has some great features:
- You can set up many lists then just tell the phone to use the list for a whitelist or blacklist.
- You can block all unknown numbers.
- Block everyone. Essentially turns phone into pager.
Even blocking calls is done in a variety of ways.
- to voicemail
- to busy tone
- block and send sms
- divert to various numbers depending on mode
Etc.
As you can see, it is a very powerful program that is set up very easily and I never had any complains, only praise. I often used it when I was writing when I would only want my partner and my mother to contact me and would block everyone else.
I have been looking but can't see anything as powerful or as highly rated. What I've found are:
aFirewall
Extreme Call Blocker
Phone Armor C.
But these seem either basic or don't work reliably.
Click to expand...
Click to collapse
For WM is avalible program which allow you all this. It is called MagiCall I hope that for Android is avalible something that. I hope that Im not do mistake when Im order Desire because looks like Android is not good as WM can be(missing a lot of features which are normal: USB sync like activesync, blocking calls... )

Can Random, Unwelcome Text Messages be BLOCKED?!

Just got my phone. And for the first time, since having a cell phone, I am getting random, unsolicited messages, one day after i got my SIM card/service, and I have yet to even give out my number to one person!
How did these SOBs get my number? Is the store i got the SIM from selling or giving out customer numbers to Spammers?
Can these unwanted txt msgs be BLOCKED?
I believe my old phone had the ability to block calls (not sure about txt msgs).
Please HELP!
Anyone?
After years of being on CM based ROMs I had forgotten how limiting the stock dialers and messaging apps are until getting this phone. I'm used to just being able to long press a caller, add to blacklist, done. I'm really surprised features like that haven't made their way into the mainstay AOSP dialer and messaging apps yet; I guess Hangouts and Google Dialer get all the bells and whistles.
Hangouts can be used to manage SMS and can block SMS from senders if you want to go that route. I've used Textra and GoSMS in the past and I think they both could blacklist numbers too, but it has been a long time. There are some other dedicated blocking apps in the play store too. Unfortunately I just don't think our stock messaging app has any way to blacklist senders without some assistance.
Also, just in case it is important to you keep in mind blacklisting is not blocking. Blacklisting will keep the spammer from bothering you, but you might still incur charges if you don't have unlimited SMS. Your carrier might be able to help if this is an issue.
it sounds like you have gotten someone elses number that used to be signed up for tons of text spam... you should call the carrier and ask for a different number
If you don't have it already, download Google Messenger. You can long press a contact thread and click the block button. In the dialer, if you press a phone call and then click details you can block the number. Very easy and efficient if you ask me.
jason2678 said:
Also, just in case it is important to you keep in mind blacklisting is not blocking. Blacklisting will keep the spammer from bothering you, but you might still incur charges if you don't have unlimited SMS. Your carrier might be able to help if this is an issue.
Click to expand...
Click to collapse
thanks for the FYI. and also for pointing out the difference between blocking and blacklisting and how you might still incur texting charges.
asuhoops8628 said:
it sounds like you have gotten someone elses number that used to be signed up for tons of text spam... you should call the carrier and ask for a different number
Click to expand...
Click to collapse
good idea, thanks for the suggestion.
chris23445 said:
If you don't have it already, download Google Messenger. You can long press a contact thread and click the block button. In the dialer, if you press a phone call and then click details you can block the number. Very easy and efficient if you ask me.
Click to expand...
Click to collapse
i think this was the simplest solution. i made Google Messenger my default messaging app and was then easily able to blacklist the sender.
thanks for all the feedback, guys!
Some of the spam you can either reply "STOP" or "Unsubscribe", and it MIGHT stop. I would just blacklist it as well.
install Textra And Blacklist Sender
Maagikarp said:
Some of the spam you can either reply "STOP" or "Unsubscribe", and it MIGHT stop. I would just blacklist it as well.
Click to expand...
Click to collapse
sometimes i worry that this option would alert or inform would-be Spammers that this is a good/valid target (live target/good potential spam recipient) to continue bombarding with Spam.
i tend not to believe that an lowly Spammer would honor a request to stop sending spam...
kinda like the Spam is the bait, and if you reply, you're caught!
Aftab_khatri said:
install Textra And Blacklist Sender
Click to expand...
Click to collapse
i shall check these out... thanks!
are they in the play store?
Unsubscribing from e-mails generally flags you up as a valid e-mail address which is then sold on to others.
Same with phone numbers.

Any call blockers that actually work on the answer hangup method?

I have been getting a ton of spam, fraud, robo calls, and I'm sick of it. In a last ditch effort I may have to change my phone number. I've been looking for a call blocker that will answer and hangup on calls; not go to voicemail. I am on Android 6.0.1 I've tried a whole bunch of phone call blockers and none of them will answer and hangup the calls, they just go to voicemail after 1 ring. I was looking around and tried Extreme Call Blocker because it has that feature and was highly rated but that dose't even work.
Any help would be appreciated. :good:
Thanks in advance.
In the same boat with a Galaxy S7 on Android 6.0.1. Have also tried everything.
dave1977nj said:
I have been getting a ton of spam, fraud, robo calls, and I'm sick of it. In a last ditch effort I may have to change my phone number. I've been looking for a call blocker that will answer and hangup on calls; not go to voicemail. I am on Android 6.0.1 I've tried a whole bunch of phone call blockers and none of them will answer and hangup the calls, they just go to voicemail after 1 ring. I was looking around and tried Extreme Call Blocker because it has that feature and was highly rated but that dose't even work.
Any help would be appreciated. :good:
Thanks in advance.
Click to expand...
Click to collapse
Instead of blocking, forward the calls to a number that does not exist. They will get the disconnected error message and you won't get a voicemail. Another option is create a Google Voice number, forward these calls to it and block the calls on the GV number so callers get the "Number is disconnected..." message.
T4skM4st3r said:
Instead of blocking, forward the calls to a number that does not exist. They will get the disconnected error message and you won't get a voicemail. Another option is create a Google Voice number, forward these calls to it and block the calls on the GV number so callers get the "Number is disconnected..." message.
Click to expand...
Click to collapse
How would you forward only specific numbers? The built in forwarding feature only allows all calls to be forwarded under specific conditions (busy, no answer etc) and I can't find an app that does only specific numbers either.
jlager said:
How would you forward only specific numbers? The built in forwarding feature only allows all calls to be forwarded under specific conditions (busy, no answer etc) and I can't find an app that does only specific numbers either.
Click to expand...
Click to collapse
I thought Verizon allowed you to do "selective" call forwarding by number but I can only find it now referenced for Fios or residential service. I guess the way I'd do it then would be to setup a Google Voice account and set my carrier to use Google Voice for my voicemail. Then I would use the Android contact settings to set those callers I didn't like to go straight to voicemail. Then in my GV setting I would block those callers and they get the disconnected message and don't get to leave a msg.
Are there any Nougat compatible apps?
https://forum.xda-developers.com/moto-z-play/how-to/people-realize-call-blocking-apps-t3666123
Does anyone know of numbers that are not in service or how to find them so we can forward the calls to that number?
dave1977nj said:
Does anyone know of numbers that are not in service or how to find them so we can forward the calls to that number?
Click to expand...
Click to collapse
What app would let you accomplish this without making your phone useless? Selectively doing this forwarding.
dave1977nj said:
does anyone know of numbers that are not in service or how to find them so we can forward the calls to that number?
Click to expand...
Click to collapse
(012) 345-6789
Call Control has the "answer and hang up" feature.
There's also Tasker: https://forum.xda-developers.com/showpost.php?p=76529612&postcount=17
Old thread, but searchers may find it relevant until a carrier-wide solution gets implemented. At the end of the day, an effective solution must include a black-list database that is constributed to by thousands of people and is checked against for every call that hits the phone. My rationale is that it is simply too cumbersome and time consuming to enter individual bad-actor numbers, given the ease with which both the incoming call number and text line are synthesized by the sophisticated call center dialers these days.
I use "Should I Answer," available on Play Store: https://play.google.com/store/apps/details?id=org.mistergroup.muzutozvednout . It takes awhile to set up correctly with correct permissions, etc. and another while to learn to use. But it works very well if set up correctly. You can blacklist a bad-actor number "privately" or "publicly." A publicly blacklisted number goes to the community database. You can also set a threshold for the number of times that incoming numbers have been reported to the public database before your phone automatically "picks up and hangs up" when a public database number comes in on your phone. So, in essence you are able to set the "false positive" threshold for such numbers.
Best,
Bruce
BruceElliott said:
Old thread, but searchers may find it relevant until a carrier-wide solution gets implemented. At the end of the day, an effective solution must include a black-list database that is constributed to by thousands of people and is checked against for every call that hits the phone. My rationale is that it is simply too cumbersome and time consuming to enter individual bad-actor numbers, given the ease with which both the incoming call number and text line are synthesized by the sophisticated call center dialers these days.
I use "Should I Answer," available on Play Store: https://play.google.com/store/apps/details?id=org.mistergroup.muzutozvednout . It takes awhile to set up correctly with correct permissions, etc. and another while to learn to use. But it works very well if set up correctly. You can blacklist a bad-actor number "privately" or "publicly." A publicly blacklisted number goes to the community database. You can also set a threshold for the number of times that incoming numbers have been reported to the public database before your phone automatically "picks up and hangs up" when a public database number comes in on your phone. So, in essence you are able to set the "false positive" threshold for such numbers.
Best,
Bruce
Click to expand...
Click to collapse
I looked at Should I Answer, but it doesn't meet my needs. It does the wildcard thing properly, but does not do the answer-and-hang-up thing properly. At least, not on my phone. Instead, rejected calls go to voicemail, and the entire objective of the exercise is not to have to deal with voicemails from crooks.
If there's a blocker which can do both wildcard matching and answer-and-hang-up, I'll be right there in a flash.
Loganberry said:
I looked at Should I Answer, but it doesn't meet my needs. It does the wildcard thing properly, but does not do the answer-and-hang-up thing properly. At least, not on my phone. Instead, rejected calls go to voicemail, and the entire objective of the exercise is not to have to deal with voicemails from crooks.
If there's a blocker which can do both wildcard matching and answer-and-hang-up, I'll be right there in a flash.
Click to expand...
Click to collapse
Right; I had to fool with it quite a bit on Samsung Galaxy S5 on Android 6.0.1 to get it to "pick up and hang up." I had to read quite a bit in the help on the app and maybe even on the website. But it was seriously worthwhile. Now I very rarely get a bad call and never see bad calls on voicemail. But if you've done all of that, maybe it just won't work on your phone.

Categories

Resources