Could you telll me which is correct.
I tried to phone you last night at seven last night. What were you doing?
Or I was trying to phone you at 7 last night. What were you doing. Which is right I tried to phone or I tried phoning you. Please explain.
To talk about making an experiment - doing something to see what will happen - we use try + -ing.
I tried sending her flowers, writing her letters, giving her presents, but she still wouldn't speak to me.
To talk about making an effort to do something difficult, we can use either try + infinitive or try + -ing.
I tried to change the wheel, but my hands were too cold.
(OR I tried changing the wheel...)
-Practical English Usage (Michael Swan)
So, I guess in this case you would say 'I tried phoning you last night.'