Categories
Mastering Development

how shareit application able to send any type of app to receiver

hi i am intermediate level of android developer. i have a question that how shareIt app able to send the any type of app means all types of application is successfully sender able to send to receiver and receiver also able to install the app and use it. when i try this feature in my […]

Categories
Mastering Development

Can anyone please explain why my app is not launching

I tried to make my app inflating with 2 EditTexts and Spinner when button is pressed, but it is not launching. I’m new to programming, so there can be some simple mistakes. I found out: Without spinner app works. Logcat shows no errors. Please help me. Thank you in advance. My java code: package com.example.test2; […]

Categories
Mastering Development

Spinner android and okhttp3, When I have fetched data it’s no displays in spinner only when I am clicking spinner

I’m using the okhttp3 to fetch data and it then this data are displaying in spinner. But it’s not happend. The spinner as empty but when I drop down the spinner I can see my date fetched by okhttp3. I’m not pretty sure why spinner is empty at the beginning. private List<String> categories; @Override protected […]

Categories
Mastering Development

Want to link my listview with text in Android Studio

When I click on SOUTHPARK it opens KYLE and I want to make KYLE clickable and write something in KYLE how can I do that? If it’s related I can copy paste my manifest That’s pretty much it I have to write something here so I can post public class MainActivity extends AppCompatActivity { @Override […]

Categories
Mastering Development

How to display names under same card when using Recycle View?

Before explaining the problem I’m facing, I have to admit that my UI skills are not so great. So the solution could be much easier than I think. That being said, lets start. I have created a layout using RecycleView that has the following behavior: [Avatar] [Username] For example: [Avatar] Avi Benson [Avatar] Ben Dixson […]

Categories
Apple User Help

how i can change my query location according to spinner [closed]

arrayList_parent.add(“Dhaka”); arrayList_parent.add(“Barisal”); arrayList_parent.add(“Rajshahi”); arrayList_parent.add(“Khulna”); arrayList_parent.add(“Mymensingh”); arrayList_parent.add(“Rangpur”); arrayList_parent.add(“Sylhet”); arrayList_parent.add(“Chittagong”); arrayAdapter_parent =new ArrayAdapter<>(getApplication(),android.R.layout.simple_spinner_item,arrayList_parent); bisspinner.setAdapter(arrayAdapter_parent); bisspinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterView<?> parent2, View view1, int position, long id) { if(position==0){ District=”BBLISTS”; } } @Override public void onNothingSelected(AdapterView<?> parent) { District=”BBLISTS”; } }); firebaseFirestore = FirebaseFirestore.getInstance(); mFirestoreList = findViewById(R.id.firestorelist); Query query = firebaseFirestore.collection(“BBLISTS”); FirestoreRecyclerOptions<bblist> options = new FirestoreRecyclerOptions.Builder<bblist>() […]

Categories
Android User Help

Why my data saved in SQLite cannot be displayed on other Activity? [closed]

What I was trying to do here is to display the data in SQLite on my Profile page. But I can’t seem to display the data saved to the Profile page. I don’t know what’s the problem here, there are no errors in my codes and the application can be run perfectly. I just can’t […]

Categories
Mastering Development

If condition on Spinner drop-down list

I made a drop-down list using spinner but now I want and a specific message to display when a certain value is selected along with an EditText when a certain keyword is entered. I attempted using if condition but it didn’t work. The scenario is like this: When the user input their age over 18 […]

Categories
Mastering Development

Getting null pointer exception when setting spinner view text

Below is the code invoked onItemSelected in a spinner. At times I am getting a null pointer exception even when the app is closed. The image of the bug is attached in this post. /** * Store the selected product * @param parent * @param view * @param position * @param id */ @Override public […]

Categories
Mastering Development

How to delete a listView document from firestore when I click it?

I wanna delete a document from firestore and I wanna change the activity when I click to the listView item. I can change the activity and I can remove the movie when I click it but I open the app again it’s still in there cause I can’t delete it from firestore I try but […]