Hi Manuel
Typically when people want the user to be able to view a PDF file they just link to it or use the resources extension.
If you are building a component it's best to do so using the framework. Get it working with the framework first THEN upload to the authoring tool. It's a lot easier to debug problems with the framework.