An integrated device includes an optical element and an electrical element that are implemented on a substrate. The optical element and the electrical element are bonded by surface-activated bonding technology to a bonding portion that is formed on the substrate and made of metal material.