I have been trying to connect my phone through usb and android studio is not identifying it. Earlier I have run programs on my mobile but suddenly it started to show only loading. I have tried to clrar cache in srttings but ehn I try to find ADB in devicr manager, I could not find ..
Actually, I’m doing a simple task in java that is getting input from the user and adding the value and showing the output but I’m getting an error which I don’t understand what is for here is the error Process ‘command ‘D:/Android Studio/jre/bin/java.exe” finished with non-zero exit value 1 and here is the code import ..
the application must call the user to the cabinet at the click of a button here is the source code itself push works but for one user holder.call.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { FirebaseDatabase.getInstance().getReference().child("Tokens").child(user.getUid().toString().trim()).child("token").addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChange(@NonNull DataSnapshot dataSnapshot) { String usertoken=dataSnapshot.getValue(String.class); sendNotifications(usertoken, user.getName().toString().trim(),Message.getText().toString().trim()); } @Override public void onCancelled(@NonNull ..
I have audio files in ogg format, 44.1 khz, mono. Approximately 3-4 sounds are played simultaneously. Source: Android Studio..
I have a view which is forced to landscape orientation using setRequestedOrientation. Nevertheless, I need to implement a design which renders a subview with alpha on top of it — the tricky part is that this subview will itself have portrait orientation. Because of setRequestedOrientation, this other view will render with landscape orientation, which is ..
I’m trying to build an image steganography android app to hide information in jpeg images. I’m encoding the information in the DCT Coefficients of the image. I’m using OpenCv to perform the following steps : Load image bitmap and get image mat from it. Convert image from RGB to YCrCb Divide the image into blocks ..
so I have bottomNavigationView that holds tabs and navigates to fragments using setOnNavigationItemSelectedListener() in one of the fragments I need to display google maps, but I’m getting this error: java.lang.NullPointerException: Attempt to invoke virtual method ‘void com.google.android.gms.maps.SupportMapFragment.getMapAsync (com.google.android.gms.maps.OnMapReadyCallback)’ on a null object reference even though I initialized SupportMapFragment right above the error line getMapAsync() like ..
I’m trying to remake this animation in which elements move smoothly between contexts on swipe event I know about Shared Element Transition but I think it’s not. Below is a detail gif image What is this animation ? Source: Android..
I am new in Android Development and assigned in a project where I wanted to generate a Dynamic forms which will synchronize from on online database i.e Survey and need to work on offline mode. So, I have to create the forms. Please share an idea which will be convenient and works in all android ..
I’m working on a keyboard where I’m using a translation smart bar. When I click on a button on smart bar new transparent activity having a dialog is launched which contains list of languages. I wants to send data from transparent activity to keyboard when I click On any item. How can I do that ..
Recent Comments