A workgroup switch (unmanaged Ethernet switch) cannot provide internet access. It only connects devices to each other on a Local Area Network (LAN).
ISP → Modem → Router (Gateway, DHCP, NAT) → Switch (optional) → Xbox 360
↘ Wi-Fi → Phone/Laptop
A switch alone is like a power strip with no wall outlet. Buy a router ($20-50).