[C#]My phone call recorder - some hints needed - Windows Mobile Software Development

Hi.
For my studies I'm expected to develope application which would be able to record phone calls (voice both from mic and speaker). App is for HTC Touch Pro and maybe for Samsung Omnia (but mainly for HTC) and it should be written in C#.
I wrote in my life few CF apps so I know mobile programming topic and I'm not asking for writing application for me. I would like to ask developers who know this topic about few things:
Is it possible to capture voice from mic and speakers while using only CF .NET 3.5 without any specific APIs? Or some additional (phone specific?) APIs are needed? If it is not a problem, can I get few lines of code with description how to do it?
I read few threads here and on other sites but nowhere I can find any information about developing these kind of apps - only posts about which commercial app works on which phone and which is not. So I hope that someone in this development section can help me with this.
I will appreciate any help
Cheers.

No-one? Really?

There are unmanaged APIs which can be used in managed apps by using P/Invoke. Take a look at the 'Wave In' part.
Not sure if this can be easily used for phone call recording.

heliosdev said:
There are unmanaged APIs which can be used in managed apps by using P/Invoke. Take a look at the 'Wave In' part.
Not sure if this can be easily used for phone call recording.
Click to expand...
Click to collapse
Hi.
Thank you for reply. Sample from your link records and plays sounds pretty well, but during phonecall it is completely lost and cannot even save wave properly (and I assume that it is taking control of microphone, because on second phone my voice doesn't exists :/).
I have tried few tricks using openNETCF too, but it also has problems with recording during the phonecall.
Does anyone have any more idea? There are a lot of phonecall recorders which work so somebody must have done this before...

Related

Phone call recording software for Touch HD

I know that there are some ROMs that this software is included.
In my ROM this software is not included.
Where can I find this software?
amitbsh said:
I know that there are some ROMs that this software is included.
Click to expand...
Click to collapse
I believe HTC is the only company where this is not possible
If you found a software or ROM i would be appreciate if you post the software here.
The only way you can record a call on the HD is if you use the speaker and some third party software such as Isecretary or Resco Audio Recorder.
I don't have the software, but I have read in one of the forums that this software exists in some of the HD ROMs.
i think that this forum is exactly the one for this purpose.
There are a lot of members form a lot of places, and we will find the member that has this software.
From what I've heard, ICR (In Call Recording) was included in preproduction ROMs only. It would be good to know that somebody got it, at least to check if it's worth anything. Anyway, I wonder why HTC decided to exclude this soft from production ROM...
Works fine
I use Resco Audio recorder. Works fine
zSpinner said:
I use Resco Audio recorder. Works fine
Click to expand...
Click to collapse
Are you saying that you can record the income voice as well as your out going voice on a call and then play it back.
As I known, the ICR application is only valid in CHS ROM or with CHS pim.vol.
MDAIIIUser said:
Are you saying that you can record the income voice as well as your out going voice on a call and then play it back.
Click to expand...
Click to collapse
From Resco Website:
"Record and organize every incoming or outgoing call."
Program startup and recording of whole phone call. Store to a special subfolder and name the recorded file with caller/callee's name.
(Both sides recording is hardware dependent. If your recording contains voice of one side only, it is not due to the program's failure.)​
huanggx said:
As I known, the ICR application is only valid in CHS ROM or with CHS pim.vol.
Click to expand...
Click to collapse
So you can verify it exists? Is the ROM out there?
Surur
surur said:
So you can verify it exists? Is the ROM out there?
Surur
Click to expand...
Click to collapse
Sure, it exists. The official ROM is not released yet.
If someone has the non official ROM that includes this software we can extract it form there.
Yes, please! If somebody would be able to get the original ICR software from HTC, this would be really great! The hardware obviously supports recording both parties (or HTC wouldn't have included the SW in the first ROMs) and with the currently available 3rd party apps, you either have to turn the speakerphone on to hear the other person, or he's way to slient to understand properly. With HTC's software, both callers should be audible perfectly.
Regards!
I would have thought that if the HTC software was "market ready" they would have put it in the 1.14 rom. As they have not I can only think that it will generate more support calls than anything else.
My thoughts anyway nothing confirmed
MDAIIIUser said:
I would have thought that if the HTC software was "market ready" they would have put it in the 1.14 rom. As they have not I can only think that it will generate more support calls than anything else.
My thoughts anyway nothing confirmed
Click to expand...
Click to collapse
It may be more to do with the law than technology.
Surur
tkalli said:
From Resco Website:
"Record and organize every incoming or outgoing call."
Program startup and recording of whole phone call. Store to a special subfolder and name the recorded file with caller/callee's name.
(Both sides recording is hardware dependent. If your recording contains voice of one side only, it is not due to the program's failure.)​
Click to expand...
Click to collapse
If I understand correct, it is a cooced ROM, wich is able to record both party by a phone calling - with 3rd party program: resco audio recorder.
I used the original 1.14.401 ROM with this program, and i could hear only my voice. With an other PDA - Samsung Omnia - i recorded both party with succes.
The program Audio Notes Touch is able to record both party, but the voice of caller is very quiet.
Well I have downloaded the resco version 4.51 and you can hardly hear the incoming side on my HD.
Well I think by the law, its not legal to record any phone conversation without the permission of the persons involved.
However the development of such a program may be easy, releasing it to public has to asure legal purposes.
So therefore, I don't think any of that HTC releasing or some ROM having it is true.
MDAIIIUser said:
Well I have downloaded the resco version 4.51 and you can hardly hear the incoming side on my HD.
Click to expand...
Click to collapse
What is your ROM version?
atomikpt said:
Well I think by the law, its not legal to record any phone conversation without the permission of the persons involved.
However the development of such a program may be easy, releasing it to public has to asure legal purposes.
So therefore, I don't think any of that HTC releasing or some ROM having it is true.
Click to expand...
Click to collapse
I don't think it is so. By other producers - like f.e. Samsung - it makes no problem. So I think the reason should be something else.

A 'can the Desire/Android do this?' question from newbie

I just got a Desire last week having had a N900 for the last six months and I'm loving both the device and the OS. The speed, the screen, the sense UI, it's all mobile goodness.
But I do want to ask if it is possible to screencast my Desire's screen while providing a voice commentary. I work as a teacher and I wanted to be able to provide video how-to guides of certain educational apps for my students. My first thought was to physically video my phone's screen using another camera, but I discovered that my hardware isn't really up to the task.
So I thought I might be easier to somehow connect my phone to the computer via USB, display the phone screen on my computer and then use software like Camtasia to do the screen capturing.
I've searched on the net to find out if this is possible but struggled to find an answer. There was a lot of stuff about SDKs and rooting and command lines and while I have some tech knowledge, a lot of it was way over my head.
If anyone can tell me if this is possible and how I'd go about doing it in fairly simple terms I'd be grateful. I am willing to chance my arm with the strange world of rooting if I have to, though I am afraid of messing up my lovely new device. All advice and help gratefully received..
dreadnought001 said:
I just got a Desire last week having had a N900 for the last six months and I'm loving both the device and the OS. The speed, the screen, the sense UI, it's all mobile goodness.
But I do want to ask if it is possible to screencast my Desire's screen while providing a voice commentary. I work as a teacher and I wanted to be able to provide video how-to guides of certain educational apps for my students. My first thought was to physically video my phone's screen using another camera, but I discovered that my hardware isn't really up to the task.
So I thought I might be easier to somehow connect my phone to the computer via USB, display the phone screen on my computer and then use software like Camtasia to do the screen capturing.
I've searched on the net to find out if this is possible but struggled to find an answer. There was a lot of stuff about SDKs and rooting and command lines and while I have some tech knowledge, a lot of it was way over my head.
If anyone can tell me if this is possible and how I'd go about doing it in fairly simple terms I'd be grateful. I am willing to chance my arm with the strange world of rooting if I have to, though I am afraid of messing up my lovely new device. All advice and help gratefully received..
Click to expand...
Click to collapse
You're definitley going to need to root your phone but even at that no app like that exists for Android (Yet). It's fairly doable but you would need to get the help of a developer.
There's an app called AndroidScreenCast, search for it in the G1 forums. This will show your screen on the PC and then use a desktop recording tool to record it (I think it may actually have an inbuilt record video function though).
brummiesteven said:
There's an app called AndroidScreenCast, search for it in the G1 forums. This will show your screen on the PC and then use a desktop recording tool to record it (I think it may actually have an inbuilt record video function though).
Click to expand...
Click to collapse
Thanks for that, sounds awesome and could be exactly what I need. Don't have pc access at the moment but will try it out as soon as I get home. Much appreciated!
Just tried it. Has a really slow refresh rate but works fine for basic functions i suppose!

Video Call

Hello,
I develop one program for call with the video.
It's possible to invoke by program a phone call via an intent :
Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(url));
where the url contents the phone number.
How to specify that we want to make a video Call on 3G-UMTS and not a vocal call.
Assuming that we have the right phone, the right OS version, the right operator.
I don't think there is a public API (read: a generic action *) for that yet. Very strange but true. Video calling on mobile phones has been possible for more than 10 years, but Android doesn't support this generically yet.
edit: There is an issue open on this on AOSP. All we can do is chime in and ask for vendors and Google to make this public.
*: Using an explicit intent (with full component class) may be seen as code hijacking, some developers / companies don't take kindly to that, so be careful!
damn I need this function bec I am deaf. I need damn it..
Yes therefore made for the time Android is the manufacturers who have developed this module, so you do not know how they can proceed to make a video call.
And excuse me for my English, I'm French and I do not speak it very well
kkm883 said:
damn I need this function bec I am deaf. I need damn it..
Click to expand...
Click to collapse
Well, stupid question maybe, but why not just use the stock dialer?
Or doen't video call work while on 3G? In that case there's very little you can do about it, because your mobile operator has to support video calling (some don't). If anything, keep trying new Fring & Sipdroid versions until there is one that works on the SGS...
miki4242 said:
Well, stupid question maybe, but why not just use the stock dialer?
Or doen't video call work while on 3G? In that case there's very little you can do about it, because your mobile operator has to support video calling (some don't). If anything, keep trying new Fring & Sipdroid versions until there is one that works on the SGS...
Click to expand...
Click to collapse
Fring now works on the SGS, they fixed it. Get the latest version from the market.

Is it possible to get touchpad events without a native activity?

Is it possible to get events from the Xperia Plays touchpad without a using a native activity?
I don't mind if I have to use native code, just so long as I don't have to get my events from a native activity.
EDIT:
All events are retrieved from a call of ALooper_pollAll.
To make this call you must first call ALooper_prepare which returns an ALooper* looper. Nothing so far requires a native activity. This leads me to believe it maybe possible.
However, I would like to know if anyone knows for sure if this is possible, or has possibly done this before.
EDIT:
I have been trying to make this work, I have it compiling and running but ALooper_pollALL always returns -3, which means the timeout expired. I should at least be able to get touchscreen input from this, which i havn't been able to so far, if anyone can offer any advice that'd be great!
EDIT:
for ALooper to work you have to attach an input queue it, which normally comes from the native activity. Unless there is some way to get it outside of a native activity (looking at the native activity code would probably tell us) or to pass one from java somehow, then this is impossible.
....uhhh....what?
Sent from my R800x using Tapatalk
Mighty Lizard said:
Is it possible to get events from the Xperia Plays touchpad without a using a native activity?
I don't mind if I have to use native code, just so long as I don't have to get my events from a native activity.
Click to expand...
Click to collapse
Wrong section. Questions go in Q&A
I think it's ok for a development question to be here.
AFAIK, the touchpad generate non-standard input events. That's why you need to use a native library. However, I don't know if you HAVE to use a native activity. (I'm talking with zero experience btw) I think you can make a JNI call in a loop, maybe in a separate thread in your program that queries JNI for input data. Again, not 100% sure here, I might look into it when I have time.
AndroHero said:
Wrong section. Questions go in Q&A
Click to expand...
Click to collapse
This is EXACTLY the kind of question that belongs in development. Stop trying to be a rule monger.
Sent from my R800x using XDA App
Mighty Lizard said:
Is it possible to get events from the Xperia Plays touchpad without a using a native activity?
I don't mind if I have to use native code, just so long as I don't have to get my events from a native activity.
EDIT:
All events are retrieved from a call of ALooper_pollAll.
To make this call you must first call ALooper_prepare which returns an ALooper* looper. Nothing so far requires a native activity. This leads me to believe it maybe possible.
However, I would like to know if anyone knows for sure if this is possible, or has possibly done this before.
EDIT:
I have been trying to make this work, I have it compiling and running but ALooper_pollALL always returns -3, which means the timeout expired. I should at least be able to get touchscreen input from this, which i havn't been able to so far, if anyone can offer any advice that'd be great!
EDIT:
for ALooper to work you have to attach an input queue it, which normally comes from the native activity. Unless there is some way to get it outside of a native activity (looking at the native activity code would probably tell us) or to pass one from java somehow, then this is impossible.
Click to expand...
Click to collapse
I remember native and some hybrid method tutorials were available on sony Ericsson website but i'm not at the pc now. Check out test the touchpad post if you can search my posts somehow - it was posted there and on one of the post regarding keyboard replacement. I hope it what you are after - sorry if I misunderstood you or their tutorials.
Sent from my R800i

[Q] call recorder application galaxy nexus (no root)

Hello,
I work as a secretary and in one day I have more than 50 calls it is so hard to remember al info. That is why my favourite applications is Call recorder, (and in our country it is legal -if they are informed)
this is my first android telephone. My previous was nokia n95 8gb .symbian s60 - and there it worked really good - totall recall!
I tried more than 5 applications from android market, but looks like nothing work on galaxy nexus. (just my voice is recorded, other party (other friend) is not recorded)
I am so sad, because this is first time I have android phone and this is only application that I really need and it is not working
Is there any possible way to have this application to record all calls (from me and another side) , if I do not want to root my ROM?
or I really have to root this phone? will there developers make an app that will work (i can wait a little)
thanks a lot thanks a lot in advanced.
This is my first post and I really need some advaces (more than 3 days I aksing all around but no one can answer me...)
I think you will be disappointed as I too have been looking for an app like this. I couldn't care less about it being legal etc. however this is likely the only reply you will get thats on topic as people love to quote the law whilst using their pirated copies of windows lol
Anyway I found AndroRec Call Recorder but it only records the other party if you use the speaker phone or max call volume (in which case they are fairly quiet)
If you find a working one be sure to report back!
i am still looking for the solution too!
anyone help?

Categories

Resources