Skip to content

Tag: android

setOnClickListener start another activity

I’m trying to start another activity by pressing on the cardview which has a friend finder id. But when I write home.java it gives me problems in the setOnClickListener. At homeActivity it tells me Cannot resolve method ‘homeActivity’ in ‘HomeActivity’. because? Answer If there i…

YoutubePlayer API endless loading issue

I am starting a new intent whenever a new geofence transition happens. In GeofenceTransitionService.java: And I am initializing the fragment like this, in VideoActivity.java: activity_video.xml: But the video will never load. It works fine on other activities though. I have checked the manifest but couldn&#82…

Sending data from android to esp8266

I have an arduino project, where i was able to set up an esp8266 as a webserver, and i am able to send data to it, eg. if i put “http://192.168.4.1/get?data=010” into the browser, it works perfectly. I want to send data using an android app, which pretty much means using the above mentioned url, j…

GuideLine problem Android Studio – ClassNotFoundException

I have problem with GuideLine, does someone know the solution? It look like the guideline is missing classes The following classes could not be found: – android.support.constraint.Guideline (Fix Build Path, Edit XML, Create Class) Logcat after button click: Guideline problem XML Code: Build Gradle: Answ…