The change in the chemical potential of a closed system is nothing but the change in the molar gibb's free energy. Equilibrium of a system then signifies that the change in its chemical potential is zero. If you consider a closed system , say of a volatile ideal solution of chemical potential u*, then if some solute is added, the change in the chemical potential of the solvent is : u - u*= RTLnX. This follows from raoult's law for ideal solutions.
u = the new chem potential , X = mol fraction of the solvent
Inorder to fit an equation that describes a real solution , X is replaced by a , the acitivity. In this sense, chemical activity is an 'effective concentration' that describes correctly the decrease in the chemical potential of a system undergoing a favourable process. Activity expression depends on the type of system you're working on. If you want a more fundamental explanation , you can start with the Debye-huckel theory of ionic solutions.
In the example above , deltaG computed should be positive and not negative.