My short answer for one day in Osaka: do the castle first thing, then spend the rest of the day in Minami, the south side, where most of the eating happens. Be at Osaka Castle's Main Tower for its 9am opening, take one short subway ride to Kuromon Market for lunch, then walk the kitchen-tool street and the Shinsaibashi-suji arcade. End at Hozenji's moss-covered statue and on Dotonbori as the giant signs light up, with okonomiyaki for dinner. It's about 8 km on foot, nothing needs booking and the only ticket is ¥1,200 at the castle. If you only remember one thing, it's this: Kuromon at lunch and Dotonbori after dark are the two stops not to drop.
Coming in from Kyoto? It's under half an hour by train, and the Keihan line from Gion drops you at Temmabashi, 15 minutes' walk from the castle; my Kyoto to Osaka guide has the lines. With kids, the castle is free for junior high age and under, and the covered arcades keep everyone out of the weather. If 8 km is too much, cut Shinsaibashi-suji; it's the stretch you'll miss least. If you're still choosing where to sleep, Kyoto vs Osaka weighs the two. One day won't stretch to Umeda, Shinsekai or Universal Studios Japan; they need a second and third day.