[Q] contact/calendar.apk integration; ring profiles - G1 Q&A, Help & Troubleshooting

There are 2 features I'd like make available. I am posting here to see if they've already been coded, and if not, some guidance on what i how to go about coding them (i have eclipse and the SDK for 1.6 all set up...i just need to know what native android files to modify (im guessing contacts.apk) to get the first item figured out, and then for the second item below, i'd like to see some sample code of how to set ring settings.
1) since most of our new calendar events are to meet with/call people in our contacts list, id like if the context menu for contacts could have a menu item added: Create Event. what would happen when selected is a new calendar event window would pop up, pre-populated with the contact's phone number in the Description field and their name in the Event Name field. the user could then modify these to add details. this mod would save us from having to go to the calendar and create an even to "call joe", only to have the reminder come up later and then have to navigate the contacts to find joe so we can call him. here, the event would have his number preloaded and could be clicked on (like a hyperlink) to load the number into the dialer
how do we hook into the contacts.apk file to make this type of mod? or, is the mod to be done some other way?
2) though we can select different ring tones for different contacts/groups, and we can also set different ring volumes/vibes, it would be nice to have a ring profile that would, say, only let the "family" group ring but stay silent for everyone else. this way, i can put the phone in this mode when going to sleep, but still be available for emergency family phone calls. this is much like the black list/white list app on xda for winmo.

Dude, stop double-clicking that Submit button. The mods are probably tired of deleting your double posts by now.

Moved To Dream Q&A

Related

problem with "call sms blocker"

Hi,
I've found the software "call sms blocker". It had been made to block incoming unwanted calls and logged it... hide private sms...
I've attent to configure it but no way ! it does not stop anything that incoming !
Have you test it ? with success ???
yes. I use it and it works perfectly. It is an awesome program.
The way i have it setup is I have it set to accept all and then I make a custom list of numbers to reject. In this custom list I added all my phonebook contacts. Its kind of confusing but you have to remember that your phone only replies via sms to REJECTED calls/ and or sms. So yeah it sems weird to say reject contacts but this is what u need to do if you want your phone to send an automatic sms reply back to your contact.
So i did this for both calls and sms. I set both to ACCEPT under the "status" tab. then go into each tab "call" and "sms" and create new lists within each. Do this by tapping and holding in the window area and say ADD. Name it, make it REJECT, and make the action Hangup. Then go down to "List" (right soft key) and select number>add>phonebook. You can then check all the numbers from your phonebook that you want to add. Then also under "List" (right soft key) you can go into Advance Opt and set your custom message.
Repeat for the "sms" tab. Tap and hold in window area to make a new list. Name it, make it REJECT type, and I say "move to blocked" for action type. (this creates a new folder in your inbox of your messages so it makes it easy to find the sms that the program blocked. Add numbers from your phonebook same as I said above.
Now one thing to keep in mind. When I first started using this program I found that it only responded to my missed calls and not sms. What I discovered was that all the numbers for the sms list had to have a 1 in front of the number so that it looked like this 1 (xxx) xxx-xxxx. Whereas for my call list, the numbers in the list are like this (xxx) xxx-xxxx. For some reason I dont know why, this makes a difference.
So give it a try. I hope this helps you.

Calendar call log add & during call appointment add

Hey guys,
I'm looking for a program that will allow me to add peoples numbers in my call log to an appointment in my calendar. I would like to be able to long press and select add to calendar or something o that effect. I get tons of call for apartments and it's really a pain having to copy and paste the number every time. I would also like some time of program that will make appointments from the conversation I'm having over the phone. I thought I remembered something like that for BB a while back and I was wondering if there is something for Android. I have looked in the market place for apps like these but have found nothing. Can you guys suggest any or maybe someone wants to build one . These would be great apps for people like me who get tons of phone calls and need to set appointments.
Thanks
same here,but for WM...

[Q] remove message logging?

Has anyone yet figured out a way to not have the Captivate log every single text and call you make?
It is so annoying to have to hunt all through my phone looking for tracks. Originally I assumed that they could be erased by deleting the thread in messaging. Wrong!
So then go to the contact/history and delete it there. Wrong! There is nothing in the history tab.
So then open the dialer, go to call log and look, every sent and recieved text, mms, and call is logged there as well. Its like a paranoid secret agent designed this system.
And heaven forbid that you installed a second messaging program such as Handcent to log everything all over again.
I currently use Horizon to keep my private texts private, but even that allows the outgoing texts to be logged.
Yes, deleting the thread, then selecting every individual item in the log from the unwanted caller works. Or even deleting the entire call log at once will work. But short of that has anyone come up with a work around for the call logging intrusion?
Found "Not log this call" on the market to auto delete phone calls log (Not free).
For sms you can edit the text message limit and reduce it to 1. This will at least keep 1 text message in store before it gets deleted. But default it's set to 200 msg per conversation and 20 mms per conversation.
Interesting. I looked at that app, I may have to try it.
Did you actually get your message inbox to go to 1? Mine will only go down to 10.
I am currently testing it to see if it erases the call log history as it erases the inbox but I dont think it does.
Ok, so setting the message limit to 10 only deletes the messages, not the logs.
However, while playing with it I found out that by selecting one of the logged entries (text or call) it pulls up a history type page. From there you can select the bottom left soft key, choose delete and then choose select all. I am not sure but I think it only deletes one page at a time or something as it seems to leave a few behind. I am still playing but its a hell of a lot better that trying to select each individual log in the main log screen. Its sort of what you would expect the history tab in the contact screen to do. (especially if you came from WinMo )
I hope someone else finds this helpful. I did a lot of searching and found a lot of complaints about this awful "feature" but no answers. This isnt much of an answer but its seems a bit more tolerable since I figured the history part out.
It also seems to be something Samsung adds as Evo and the Droid don't do it.
Check out HistoryEraser. I think I saw it on Lifehacker a few days ago, supposed to wipe away all your unwanted tracks.

How to auto add contacts from whatsapp?

Hey guys,
I am currently struggling with tasker. I have made a dozen of trials myself but can't get it to work so far.
I want the following to happen.
Whenever someone texts me, tasker checks if the contact is added or not (pretty easy: Does the contact have a name or just a number starting wiht a '+' sign?)
If the contact is a number, then auto add him to my contact list and name him for example "a".
How can I do it? Either everytime someone new texts me or I want to fire up whatsapp and then let tasker go thru my whole conversation list and add people that are not added yet

Dialer app - specific functions for kid phone

Hello guys,
I was looking for kids mode like the one from Samsung. Unfortunately my kid's phone is not samsung and i wasnt able to port the application to work on Sony Device.
The main reason for this is that they had a Dialer application for kids which shows no phone number but ONLY the name of the mother/father contacts while calling. I want to use this function to make the phone more secure in case is stolen or robbed. As well it offers to block any other incoming calls except the selected ones.
@ktmom suggested me to try with a Tasker. I've never been experience a similar software for this kind of things.
Could you please gimme some advices or help regarding my needs and suggest me from where to start.
Thanks in advance.
Hi Ho [emoji16]
The plan I would start with is to create a shortcut on the desktop or a notification with call mom (or dad) buttons. Then use tasker to directly dial the numbers (as variables) without having them entered into the phone's contacts.
The trick is the dialer history will keep a history of called numbers, but I think that can be deleted; though we may need one or two plugins to tasker to achieve that reliably.
If this is in line with your goals, then I'll be happy to create a task or two to handle this that you can import. That is easier than teething to develop it yourself as a beginner.
I'm at the airport waiting for my daughter's flight, but let me know if this will work, or any ideas you have.
Sure, let's do it like that with your help. And in the process of developing we can sharpen it.
BTW thank you so much for your help and patience. I do really appreciate your help. ????
I actually just got home. Is there a timeframe for this? I'm thinking Christmas or similar. Otherwise I'll spend some time this weekend to come up with something for you.
This is just a basic set of tasks to create quick dialers to Mom and Dad, without needing the numbers to have been entered into the contacts app.
One task, "create shortcuts", sets two of Tasker's quick setting tiles. One will call Dad, the other will call Mom. The use of the quick settings tiles should help prevent accidental calls and still be convenient.
After importing the linked project, go to the device's quick settings editor and drag the first two Tasker tiles into the active area. The tasks won't actually appear set to the tiles until they are in the active area.
The task, "create shortcuts" should run on import of this project, performing the configuration mentioned above; associating the tiles with the "call mom" and "call dad" tasks.
The icons are set in the respective "call mom" or "call dad" task. To change the icon, enter the task then tap the icon at the bottom and select a new one. The "create shortcuts" task may need to be run again (manually) to update the tile's icon.
You must go to the "dialer" task and edit the value in the "To" field within the first two actions to the appropriate phone numbers.
The left facing arrow at the top left of the screen exits out of the task and saves the changes. You should also make a habit of tapping the checkmark [emoji736] at the top of the screen after saving a task, which saves the changes to Tasker. That checkmark is available only when there are changes to be saved.
This is just a start, hoping to get feedback if this is the right direction for you.
Import Kids Phone project.
Hey,
thanks a lot for the time you spent for this.
I've tested it and it calls with no issues.
Now we have to make the phone numbers to disappear. Can we put a fixed custom title? This is because it uses the name written in the contact list.
BTW is there an option to drop an icon on the desktop of the phone?
Thanks again for your great help!
IMalchev said:
Hey,
thanks a lot for the time you spent for this.
I've tested it and it calls with no issues.
Now we have to make the phone numbers to disappear. Can we put a fixed custom title? This is because it uses the name written in the contact list.
BTW is there an option to drop an icon on the desktop of the phone?
Thanks again for your great help!
Click to expand...
Click to collapse
Yes, we can create a desktop shortcut. Instead of the tiles?
What do you mean "it uses the name in the contact list"? Do you mean in the call history?
I meant that when I run the call from the tasker it uses the name from the contact book/history. This is not big issue, but it just wondering if it's possible.
Thank you
IMalchev said:
I meant that when I run the call from the tasker it uses the name from the contact book/history. This is not big issue, but it just wondering if it's possible.
Thank you
Click to expand...
Click to collapse
That is the relationship the phone app has with the contact app. You have to remove the names from the contact app.
I'm confused. I thought the goal here is to obfuscate the phone numbers so if the phone is picked up by a "stranger", the numbers are not evident.
If I was, for example, a stalker, and I took the child's phone to get phone numbers, the first place I would look is in the contacts app. The second place is in the call log. Can you help me understand what is and isn't necessary here.
To create the task to remove the call's history from the history, I have to sort out the contentrovider structure for the phone database. I've explored the text messaging DB, but I need to be on my computer to find the phone DB structure.

Categories

Resources