Apple, in a complaint filed March 18 in federal court in northern California, accused Amazon.com of trademark infringement and unfair competition and asked for a judge’s order to prevent the company from using the “App Store” name, as well as for unspecified damages.