Droiduino Blog
Feb 23, 2021

Hi Siddharth,

The 3 variables i.e. textViewDeviceName, textViewDeviceAddress and linearLayoutDeviceInfo are referring to the UI elements in the UI layout. You can refer to the layout (XML file) above.

You need to create those UI elements in the visual editor and name them according to the variable name to solve the issue.

Droiduino Blog
Droiduino Blog

Written by Droiduino Blog

Droiduino is about sharing knowledge in the realm of Android app programming, Arduino project creation and using R for processing data.

Responses (1)