Posts by Vitor Ramos • 325 points
17 posts
-
1
votes1
answer59
viewsQ: Beagle 1.4 cache problem
I’m using Beagle 1.4 (usebeagle.io) in a partially server driven Android app. I have the cache disabled in Beagleconfig, but when I get to the screen with the Beagle UI, the app crashes. I do not…
-
4
votes0
answers27
viewsQ: Beagle crashing getBeagleCacheFromDisk function with unchecked cache
I’m using Beagle 1.4 (usebeagle.io) in a partially server driven Android app. I have the cache disabled in Beagleconfig, but when I get to the screen with the Beagle UI, the app crashes. I do not…
-
0
votes1
answer67
viewsA: The Toolbar is not appearing
There are several points to be corrected there: If you are using android:theme="@style/Theme.AppCompat.Light.NoActionBar"> In Androidmanifest.xml, it doesn’t matter what you did in Styles.xml…
-
0
votes1
answer123
viewsA: Text search in the database (Firebase)
According to the link response, it is not possible to do this directly on Firebase. You can instead upload all the data and filter it into your code. Link:…
-
0
votes1
answer63
viewsA: Transition of activities with serializable classes (getIntent problem)
Instead of creating a Bundle and putting in your Input, place your client object with the putExtra function of the Intent class: Intent intent = (...) i.putExtra("Cliente", cliente); P.S.: use the…
-
1
votes2
answers57
viewsA: As in a Lerner, assigned to more than one Spinner, know who called him?
First of all, it’s always best to put the code you once made, or at least a representation, if you can’t put the original code. Anyway, I will assume that you are implementing the…
-
0
votes2
answers888
viewsA: my virtual device in android studio does not open my application
Remove the folder . Radle and try again. Sources: https://discuss.gradle.org/t/null-value-in-entry-dependencycachedir-null/19191…
-
0
votes1
answer203
viewsA: Production Application, how to recover data from firebase in recyclerview?
You have to wear one addValueEventListener for each node that will access, in this case, one for the employee (what is done) and another for the production. PS: Add 4 more spaces at the beginning of…
-
0
votes1
answer112
viewsA: Firebase: App rebooting alone
This is happening because the section below is inside onDataChange: Intent intent = new Intent(LoginActivity.this, MainActivity.class); progressDialog.cancel(); finish(); startActivity(intent);…
-
0
votes1
answer189
viewsA: How to show in gridview the data from firebase Storage using Picasso?
The class that is using the ImageAdapter should pass the references of the images you uploaded from Firebase, replacing the array mThumbIds.
-
1
votes1
answer310
viewsA: How to call a Method in View using a Class that extends from Fragment
The attribute onClick only works when the view is being used in an Activity, you will have to implement an View.OnClickListener. If you have many on-screen buttons with similar functions, you can…
-
2
votes1
answer51
viewsA: Error creating Poup menu in cardview
This exception is thrown when the type you declared in the class is different from the view you used in the layout. ImageButton imageButton = (ImageButton) view.findViewById(R.id.imButton); On that…
-
0
votes1
answer429
viewsA: Android emulator loads but gives error
You should receive this as a Warning only the first time you started the simulator, if not, delete AVD and create another. Source:…
-
1
votes1
answer1042
viewsA: How to create an automatic click (tap) on your Android screen?
view.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { Toast toast = Toast.makeText( getApplicationContext(), "View touched", Toast.LENGTH_LONG );…
-
1
votes1
answer138
viewsA: Position an Image View by mobile accelerometer
You’ve confused things a bit, the accelerometer returns device acceleration, not the initial position and the current position of the device. Create speed variables for X and Y and initialize them…
-
2
votes1
answer95
viewsA: Null object array - Android Base Adapter
When you use GalleryItem item[] = new GalleryItem[files.length]; you just allocated the space of the array, didn’t fill it with anything, so item[i] is empty. To initialize an array space, you need…
-
2
votes1
answer1716
viewsA: How to install SDK platforms in Android Studio?
You are having this problem because the path of your sdk has a space (in the Patrick Cardoso folder) and this can cause problems in the NDK. Move your sdk to a folder whose path has no spaces, such…