Category : java

I’m very new to android studio and this is my first day :), this is my main.java package com.example.myapplication1; import androidx.appcompat.app.AppCompatActivity; import android.Manifest; import android.os.Bundle; import android.os.Environment; import android.widget.ArrayAdapter; import android.widget.ListView; import com.karumi.dexter.Dexter; import com.karumi.dexter.PermissionToken; import com.karumi.dexter.listener.PermissionDeniedResponse; import com.karumi.dexter.listener.PermissionGrantedResponse; import com.karumi.dexter.listener.PermissionRequest; import com.karumi.dexter.listener.single.PermissionListener; import java.util.ArrayList; import javax.swing.text.html.ListView; public class MainActivity extends AppCompatActivity { ListView listView; ..

Read more

In the YouTube home Screen, some videos are recommended When we click on the video, a new screen is visible to use, Can anyone please explain whether video is getting created in new activity or new fragment If it is a fragment then how it’s getting animation of swiping down the video, when we go ..

Read more

getPlaybackProperty public java.lang.Object getPlaybackProperty(java.lang.String propertyName) Description copied from interface: VdoPlayer Returns values of additional properties specific to the current playback session. Returned values need to be cast to their expected types before use. For e.g. value for property "totalPlayed" is the total played duration in seconds of type Integer. Specified by: getPlaybackProperty in interface VdoPlayer ..

Read more

I’m trying to get the values from firestore and transfering them through intent, but getting this error, W/Bundle: Key entryFee expected String but value was a java.lang.Long. The default value <null> was returned. W/Bundle: Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String at android.os.BaseBundle.getString(BaseBundle.java:1172) at android.content.Intent.getStringExtra(Intent.java:7913) at com.luteraa.luteraaesports.PrizeListActivity.onCreate(PrizeListActivity.java:45) at android.app.Activity.performCreate(Activity.java:7893) ..

Read more

enter image description here i was working on creating an mobile app using android studio… after running android studio to continue the work , the "design" area would’t show the FrontEnd and says "toggle issue pannel E" even tho the source code is totally right and worked well last time using it enter image description ..

Read more