If you guys have no paper agreement regarding equity, then you can forget about it. If you do have one then I think your proposition is good. Again that depends on the type of the deal.
Well, we both own the company (Jim 60% and I 40%) that operates the app, so there's no way Jim can get me out of the company.
The question remains whether he can simply take the app & create a new company since technically he paid for the app and the contract with programmers is only between Jim and programmers
When you enter into a partnership with someone, you usually have a non-compete and/or intellectual property clauses. If none of these exist it probably comes down to negotiation, but IANAL.
Right, so that may be something they can use against me. Although since I've done the most work, I know all the ins and outs and not having me available for occasional consulting would be pretty bad for them
TBH, if the app doesn't currently have any traction, it's current value is essentially nil. If that's the case, knowing the ins and outs doesn't provide much value, especially if they have to rework the app as it would generally be cheaper to just start from scratch.