[R&D] How to programmatically change a ringtone for a second SIM card - Samsung Galaxy J7 Themes, Apps, and Mods

Hi!
I want to create a program that will be able to set ringtones for incoming calls for both of the sim cards (starting for J7 and then I want to update it for other phones too). There is a standard mechanism to do it for the first SIM (or active one, I didn't get it) but I can't find a way to change it for the second SIM. Do you know how it is possible to do it in the standard Samsung ROMs? Maybe there is at least some kind of Intent that I can call to open the screen where a user can select his ringtone?
P.s. It is my first post here, so if I published it to the wrong thread, please, help me to find the better one.

Related

looking for way to dial # on calling card

hey,
looking for a way to be able to dial a number off my contacts when using a calling card. ie, when i call the calling card, it tells me to enter the number i wish to call, so instead of having to hand dial it in there, is there a way i can just go to contacts and insert that number? seems silly that i have to write that number on a piece of paper and then hand dial it. thanks
omar
Insert a "w" into the number to have the phone stop and wait for you to press send to enter anything that follows. Insert a "p" to have the phone pause for 2 seconds and then chug along. So for your contact:
(Calling Card Co. Phone #)w(CC Access Number/PIN)#p(Contact Phone Number)#
would dial the calling card, wait until you pressed send, enter your access code/pin for the calling card followed by a pound sign, pause two seconds (so the system can do its thing), and then dial the contact number followed by a pound.
You'll obviously need to customize to match the way your particular CC works.
Is it a silly question to ask why you are using a calling card on a cellphone? Are there any plans left that don't include long distance?
I'll make my guess in two words - "International calls."
Either that or he's trying to hide those 1-900/976 calls from his gf/wife.
$2.99/min doesn't last long...
haha na guys, i'm calling international. much cheaper to use calling cards than to dial straight. i'm still at school, and i tried what you said, didnt seem to work, but i'll try it again once i get home. btw, its the type of calling card where my number is saved with them, so i call the card, and it automatically asks me for the number i wish to dial thanks
omar
Well the same dialing suggestions apply. Whatever you dial on your phone manually needs to be inputted using a 'w' for anything entered manually or a 'p' for a pause, which sounds like what you need. You can put multiple 'p''s for longer pauses like: 1234567890ppp12345 which would give you roughly a 6 second pause.
You can also try inserting commas, e.g:
18007777777,,,0119991234567
But I don't think you can tap a contact phone number and have it inserted mid-dialing stream. If the numbers you are calling will always use the calling card I would just save the calling card sequence as part of each of their numbers.
My personal recommendation is to use SunnySoft calling card and, if you are in the US calling internationally, GorillaMobile.
I'm originally from the UK and call the UK a LOT on my cellphone.
This combination makes it totally painless, just have the international contacts in the phone book as a regular contact (preceded by +44 in my case) adn just press dial. All completely seemless and Waaaaayyyy cheapper than AT&T (even reduced rate) International calling.
Just my 2c
This program could help solve the problem for you.
You can store you calling card and pin with this. Then, you can use contacts and select any phone number and you will see a "Call with calling card" on it.
I use this extensively.
Hope this helps
autosoori said:
This program could help solve the problem for you.
You can store you calling card and pin with this. Then, you can use contacts and select any phone number and you will see a "Call with calling card" on it.
I use this extensively.
Hope this helps
Click to expand...
Click to collapse
Very cool. Thanks so much for the binaries.
I think the source can be found here:
http://msdn2.microsoft.com/en-us/library/bb158783.aspx if anyone needs to tweak it. I went ahead and installed the signature (pulled a copy off the CAB in PK7 format), but I don't think it's required.
I've wrestled with it for a few days before I found a post claiming contention with the WM version of Google Maps. Sure enough, after uninstalling GMaps and and uninstalling and ReInstalling the callingCard cab, all worked well. I can live without GMaps.
Contrary to the doc, you can place symbols along with letters in your pin. Since I have to enter two pins with my card mine looks something like:
12223334567#pp1234#
That enters the first PIN (Account number) # then two pauses. Then it enters the second PIN (PIN) and #. I think reboots are required between regedits for this to work properly.
-Dan
Hello,
Thank you autosoori and Dan. I've added a very quick and dirty configuration GUI to it (its been a while since I've done any C++ programming to decided to use C# instead - apologies for the rubbishness on my part, but you will require .NET CF). The GUI is launched from the context menu in the Contacts list. Context sensitive help is provided within the app. Changed DLL so that device reboot is NOT required when registry changes are made.
I've only tested it on my Trinity running AX3L's WM6 ROM. Plan on adding support for multiple CC vendors (wife uses several calling card companies depending on destination). Apologies for the lack of clipboard support on edit controls.
Two files:
CallingCard.dll
CallingCardEdit.exe
I've wrapped them in a cab file. Alternatively, copy the two .exe's from zip to the original CallingCard's install dir; add a regstring in HLCU\Software\Microsoft\CallingCard called "ConfigApp" with the value being the full path to CallingCardEdit.exe; restart device.
Cheers
it works fine at my SX66 WM6, but only works with contact Menu than any other GUI .
hope for more functions
Changes requested
Hi,
My previous username was a bit non-random (for obvious reasons!), so I've changed it. Anyway, tell me what changes you want and I'll see if I can fit them in. If anyone wants the source, I can mail it to them.
autosoori said:
This program could help solve the problem for you.
You can store you calling card and pin with this. Then, you can use contacts and select any phone number and you will see a "Call with calling card" on it.
I use this extensively.
Hope this helps
Click to expand...
Click to collapse
I installed it and it's works fine, but today stopped work... the link appears, but I can't call with it. I tried to install it again... the same...
any idea?!
Here is a big problem I have with this CAB when used with GoogleMaps. If I install CallingCard AFTER GoogleMaps ... no Context menu for CallingCard appears in Contacts.
If I install CallingCard BEFORE GoogleMaps ... both GM and CC context menu appear, but when I select something like "Call work using calling card" it tries to use GoogleMaps instead
GREAT Application / New Features
GREAT JOB!!!
Thanks a lot !
works very well !
is there a way to use it with the call shortcuts for fast dialing ("numérotation rapide" in french) ?
it would be a very very very nice feature !!!
other options (less important, but pretty nice) :
1. ability to dial # after the "dial number"
2. in settings : ability to choose "0 secs" on each menu (pre-pin pause and pre-dial Pause)
Thanks in advance
thisisbil said:
Hi,
My previous username was a bit non-random (for obvious reasons!), so I've changed it. Anyway, tell me what changes you want and I'll see if I can fit them in. If anyone wants the source, I can mail it to them.
Click to expand...
Click to collapse
GREAT Application / New Features
I havent reviewed this app for a long time - apologies. I've moved calling card provider to one that gives me a local number for each of my international contacts - nice!
Anyway, if someone desperately needs some work on it, I will try to fit it in - let me know.
Phil82de: I noticed the problem with Google Maps. I will try to look into it.
samerweb: Again, I'll see what I can fit it. What exactly do you mean by call shortcuts? If you mean phone Quickdials, then you could save the number that is actually dialled directly as a contact. Can you clarify.
Thanks.
hi i have installed this file on my mobile, but can't find the setting. please help

Different ringtones for different contacts

Is it possible to assign a seperate ringtone for certain contacts? I have trawled through the user manual trying to find anything at on this but it shows nothing. I dont know whether this would require additional software to be installed or not so am looking for any pointers on this. I have tried to search on this subject but each time the results that come back are totally varied and dont mention this issue. Any help much appreciated
jdennington said:
Is it possible to assign a seperate ringtone for certain contacts? I have trawled through the user manual trying to find anything at on this but it shows nothing. I dont know whether this would require additional software to be installed or not so am looking for any pointers on this. I have tried to search on this subject but each time the results that come back are totally varied and dont mention this issue. Any help much appreciated
Click to expand...
Click to collapse
if you dont want extra software:
in the contact details, there is a field under mobile tel that says ringtone.
sadly you cant mute or set to vibrate only
but i think there is a prog (iirc phonealarm? someone verify on this please) that will do exactly that.
Yes. Phone alarm will do that. Doesn't do black list yet, but can also do separate tones for contacts SMS's..
Other alternatives....... Photo Contacts Pro (PocketX). Smartfilter Pro (Novosec),
But, as mentioned above, you can assign ringtones to specific contacts.
Hi Toufas, tha's exactly what I was looking for. Many thanks, if thats in the user guide, I must need better specs
i assigned specific ringtones to some of my contacts but its this morning did i realize that the default ringtone still applies whenever those people call.
i have a 6.1 rom. do you guys think this is the problem??
I can recommend Ringo. You can set ringtones to your categories if syncing with outlook, set up specific message tones and customise with your own mp3, wavs etc...
So does "Ringo" or any similar software allow us to create a category of contacts (personal, business) and assign each category a ringtone?
Also, I have recently switched to PocketPCs. I have a Tilt phone running 6.1 cooked ROM. I should say, Nokia phones give a much better profile and call management options than these phones, hands down! Nokia gave me a silent button I could use to mute the ringtone but let the call continue. This is very helpful in case you forgot to switch it to silent and the phone suddenly ring. You don't always have to ignore the call. Can HTC Tilt do something like this?
Also, one more thing I miss is the vibrate + distinct beep sound Nokia phones have. That beep is heard even when you are considerably away from the phone, very nice sound. So I want to create a vibrate profile on HTC Tilt with a sharp beep sound. Can this be done?
Sorry for so many questions in this thread, but simply did not want to create a new one.
pinaklonkar said:
Nokia gave me a silent button I could use to mute the ringtone but let the call continue. This is very helpful in case you forgot to switch it to silent and the phone suddenly ring. You don't always have to ignore the call. Can HTC Tilt do something like this?
Click to expand...
Click to collapse
My TyTN II used to have a Silence button when I was running Garmin's DK.3 rom... I do not know about his new roms, but since I've started running AthineOS, I have lost the silence button... dont know yet if I personally miss it, but it means that it does exist...

Service Numbers appear in Contacts list

Hi, Sorry if ther eis already info on this, i have been searching but haven't found anything.
I jsut changed to the resently released HTC WM6.1 ROM on my Orange TyTN iI. everything is working great, but for some reason i get the orange servce numbers (answerphone, text center etc) appear in my contact list.
I've tried updating the SIM manager application but doesnt seem to have fixed the issue.
Thanks,
stupid question, but alot of factory ROM's add those numbers to your contacts, Have you deleted them from your contacts? Thats all you need to do.
Those numbers can't be deleted as the delete button is greyed out and they don't exist in the sim manager program, you can just hide them using the kaiser tweak tool
Thanks, i'll try that out.
I don't really think it's a stupid question though, as said above, the "delete" option is grayed out. As i said in my original post the nubers are the service numbers stored on the SIM. I don't really appreciate such unhelpful replies.
funny must be a SIM thing cause I can delete them whey they come up on certain ROM's into my phone contacts. I had them on my SIM at one time and they are deleted.
**HAHAHAHA, no sorry i meant me, my question, i thought i was readin it wrong. i see now how it can be misunderstood. my bad**
**Did you go into the Sim Manager, Menu, Tools, and go to Service Dialing Numbers... and try deleting from there?**
I did try using the SIM mangaer but it doesn't give te option to delete the service dialing numbers. It's quite strange, but have managed to hide them with the tweak tool.
yea as i said its probably built into the sim. I guess if they are going to start pulling that shiz then i will have to make sure to keep my sim card. if i can help it i never let them swap out my sim card. usually those little bastards will do it without saying anything anymore.

[Request]Simple SMS Insert (o2delivery)

Been reading these forums for a year or 2, thought I had an account but I guess I always used bugmenot to download.
I was wondering if either someone could point me in the right direction to create something myself (I have a basic knowlege in programming)
Or could come up with some kind of app or tweak so that every new sms that's create starts with *0# (this causes a delivery report for the o2 network)
I know this might seem very lazy but I was just wondering if it would be possible.
Thanks,
Tobin

New ROM installed and missing small things

Hello to everyone who is reading this.
I have just recently installed Cyanogen's 3.6.8.1 ROM, after rooting it. I much prefer the phone like this, but there are some things in the original I would like to put back, such as my notification ringtone called "Ta Da", (funny as hell for a ringtone, you should give it a listen) but in this new ROM, it's not there. Also, I live in Portugal, and here, phone numbers don't have dashes in the middle. Since installing it (the ROM), I probably got a US version, I have been seeing dashes in the "incoming call" screen and on the call log.
Can anyone explain if there's a way to put the ringtone back in and remove the dashes?
Just a warning, although I understand instructions on how to root, I'm a total noob when it comes to programming issues, so please be patient.
Thanks for your time and I hope this was posted in the right section.
Peace
To answer the question about the phone number format, I know there is an application listed in the thread that you can download and it will change the format of the numbers. I know it will change the format of the numbers in your contacts, but it might have an option for incoming calls, I'm not sure I never used it.
http://forum.xda-developers.com/showthread.php?t=532600
As for your other request, try this thread, I think you will find it helpful seeing as you just have to place the ringtones in an audio folder on your sdcard and there is not additional modding necessary as it appears the phone will recognize the folder on your sdcard
http://forum.xda-developers.com/showthread.php?t=520138
Thanks, that solved all my issues

Categories

Resources