I've been considering learning Arabic for some time. I'm curious as to whether or not the Arabic that is spoken in each country is more like an accent, a dialect, or maybe there is both. To give you an example of what I mean I will compare some English speaking countries and China. In the United States, England and Australia we speak English. There are various accents and a lot of slang but the foundation of the language is the same. While I lived in Shanghai, I discovered that while most of the Chinese speak Mandarin many of them also speak a "dialect" which is particular to their region, for example: Shanghainese. These "dialects" aren't just Mandarin with an "accent" they're different languages entirely.
With that said, if I learned Arabic in Egypt would I easily be understood in Jordan, or any other Arabic speaking country with my "accent"? Example: learning Spanish in Spain and then going to Mexico or learning English in Britain and going to the United States. Or, is each country's Arabic quite different and more like learning a "Shanghainese?"

