Like most former presidents of the early republic Madison largely kept any views he may have had on the current president's policies very private if at all stated. What we can say is that both had a fairly amicable relationship, with Jackson dining at Madison's estate, Montpelier. Both also expressed misgivings regarding the tariff of 1828 the so called "tariff of abominations". Jefferson's original draft of the Kentucky resolution was found during the nullification crisis and as a boon for the nullification faction Jefferson's draft included the word "nullification"(although his use of the word likely means secession see Freehling's Prelude to Civil War for an in depth look at Jeffersonian language). Many nullifiers believed Madison would be an ally being the author of the Virginia resolution, however in a series of letters Madison rejected nullification, rejected the assertion that Jefferson supported it and pointed out the differences between the principles of 98 and nullification (although here he is likely less than honest), and rejected the notion of secession. Madison's comments were thus a powerful tool in Jackson's battle with South Carolina, almost all founding fathers had past by this time and the few remaining were in disgrace( Burr) dying a slow death(Monroe) largely absent from politics ( Gallatin) or lacking the political stature to make much of an impact(Carroll). Madison also kept a close friendship and correspondence with Henry Clay throughout his later years, a well known opponent of Jackson. On a general level while both Madison and Jackson are states rights Unionists ( or in the case of Madison maybe a more apt term would be strict constructionist), Madison never had the same spirit for democracy that both Jackson and Jefferson had, in that same vein of thought he was also never as opposed to the SCOTUS as both Jefferson and Jackson were, Madison had also expressed misgivings about Jackson's tremendous popular support in the west and Madison historians often point to a fear of that popularity for his endorsements of the harsh treaties imposed upon the tribes of the southwest. Jackson also hated Virginians, he commented on their "higher than thou" attitude on a number of occasions and his presidency was the first not to have a Virginian in a prominent position of power. Madison's views towards the end of his life were largely focused on Virginia which were often at odds with Jackson. Off hand I don't recall who Madison endorsed in 1828 or 1832 but in 1824 he and Jefferson both backed Crawford, a state's right proponent who was seen as being very favorable to the Virginian dynasty.