Posts by Wallace Roberto • 496 points
48 posts
-
1
votes2
answers58
viewsA: Error while adding Youtube Player
Is that what you want. <com.google.android.youtube.player.YouTubePlayerView android:id="@+id/youtube_player" android:layout_width="match_parent" android:layout_height="wrap_content"/>…
androidanswered Wallace Roberto 496 -
1
votes1
answer90
viewsQ: Questions with Playstore rules
Recently (05.05.2018) my app was suspended from the playstore. That’s what I got in the email. Hi Developers at Wallace Robertoc, After review, Audio Memes, com.robertoc.audiomemes, has been…
google-playasked Wallace Roberto 496 -
0
votes3
answers5170
viewsA: How do I leave a round image?
Glide Add this to your build.Radle :APP implementation 'com.github.bumptech.Glide:4.6.1' Link implementation 'jp.wasabeef:Glide-Transformations:3.2.0' Link RequestOptions options = new…
-
1
votes1
answer136
viewsQ: How to send a GIF on Whatsapp programmatically on Android?
How can I send a GIF located in the internal memory of my app direct to Whatsapp programmatically?
-
1
votes1
answer40
viewsQ: How to limit Firebase Storage downloads to a certain maximum amount per user time period?
I would like to know how I can limit the download demand on my app,20 per hour... obs. use firebase , no login, the only way I recognize a user and with id de anúncio do google the application only…
-
0
votes0
answers108
viewsQ: How to save the size of my recyclerview
The size of my recyclerview and second shape setado mDatabase.limitToFirst(valor1*valor2)... valor1 = 1 * valor= 4 = 4 When I roll the recyclerview till the end call…
-
2
votes2
answers1710
viewsQ: Textview with scratched letter
how can I get this result ̶W̶a̶l̶l̶a̶c̶e̶ ̶R̶o̶b̶e̶r̶t̶o̶c̶ like this in the name of the first list below... the one on the list is crossed out because I did it on the server side.. the intention…
-
1
votes0
answers344
viewsQ: Mathematical operation in Recyclerview
I want to know how to add up certain values of a Recyclerview.. in case it will be the model.getQntd(), I need to add all your respective results. UPDATING I managed to count the problem now is that…
-
1
votes2
answers58
viewsQ: Doubt with the firebase
How do I get this information out of the onDataChange in the same activity everything within the onCreate.... mDatabase.addListenerForSingleValueEvent(new ValueEventListener() { @Override public…
-
1
votes0
answers58
viewsQ: I can’t log in with google in my Release app
in this part of else and does not continue logging in, I already got sha1 from Key store path by prompt as the code -list -v -keystore "Local da chave" -alias nomealias -storepass senha -keypass…
-
0
votes1
answer74
viewsQ: Mathematical operation onBindViewHolder
I’m trying to do a mathematical operation by taking a number of Child in the firebase, more often than not the error of converting string... the getCounter this as Stringno model , more when I…
-
1
votes1
answer1088
viewsQ: How to use the textwatcher?
How to use the textwatcher to count how many characters you have in a textview ,and show in countdown , the same is done on facebook by limiting a post. Thank you in advance!
androidasked Wallace Roberto 496 -
0
votes1
answer34
viewsQ: How do I know an audio playback arrived at the end?
So I would like to know when my audio has reached the end of the playback, follow my code to startar the audio and stop, I thank you in advance! private void startRecording() { mRecorder = new…
androidasked Wallace Roberto 496 -
-1
votes1
answer367
viewsQ: Android Studio Infinity Charging
Hello, since yesterday I come across a problem in Android Studio, When it opens it never finishes to load the project, yesterday I left for more than 5 hours and nothing... I already deleted the…
android-studioasked Wallace Roberto 496 -
1
votes1
answer57
viewsQ: Limit recording time (Mediarecorder)
Hello, as the title says I want to limit the recording of my code: private void startRecording() { mRecorder = new MediaRecorder(); mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);…
androidasked Wallace Roberto 496 -
0
votes0
answers55
viewsQ: Doubt on how to use "!="
Sometimes I come across the exclamation mark ! before the equal character =and I always have a question of why I have it there. Small example: if (model.getFile() != null){ I know that if the result…
androidasked Wallace Roberto 496 -
0
votes2
answers1667
viewsA: Leave photo rounded equal Whatsapp
You can use this or public class CircleTransform extends BitmapTransformation { public CircleTransform(Context context) { super(context); } @Override protected Bitmap transform(BitmapPool pool,…
-
0
votes1
answer282
viewsQ: Record audio equal to Whatsapp
Does anyone know how to record an audio while the button is pressed and stop when releasing the button equals Whatsapp?
-
0
votes1
answer537
viewsQ: Recycleradapter with different layouts
I would like to know how to use a different layout with the scheme below, If I am in Activity A showing Layout 1, if I am in Activity B show Layout 2, I saw that it is done with viewType , but I…
-
1
votes0
answers170
viewsQ: Intent Open Facebook
How do I open facebook on a given page. Open mainly by the application if it is not installed open in the mobile browsing. Can anyone help me?
-
1
votes1
answer118
viewsA: Add +1 each time a Child is called Fire Base
mDatabaseVisitas.addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) {…
-
0
votes1
answer325
viewsQ: Firebase Removevalue
I’m tending to keep a list on the id firebase... the intention is when press the follow button if you don’t have the id in the firebase add the id and if you have removed the id. I can only add and…
-
4
votes1
answer250
viewsQ: Is it possible to call a method when the application is closed?
What happens when the user closes the app without calling a preset method in the app, what I mean is when it removes the app from the list of active apps.What happens at this point in time is?…
-
1
votes0
answers48
viewsQ: How to cut two images in the same Activity?
I’m using this repository to cut images. But I’m not able to cut two images in the same activity, and one is oval and the other is rectangular. Every time I click on both, the cut is the same. Below…
-
2
votes1
answer206
viewsQ: Pick address when adding marker on map
I would like to know how to get the address when the client adds the marker to the map, and already save it to the firebase server. Thanks in advance :) @Override public void onMapReady(GoogleMap…
-
0
votes2
answers534
viewsQ: Guidance from Recyclerview
How can I make to recyclerview instead of filling from top to bottom start from bottom to top. EDITED when I open my activity with recyclerview and it has several messages so that it exceeds the…
-
0
votes1
answer70
viewsQ: Hide Keyboard when sending message
Hello, then.. I’m looking for a solution for when the user sends the message the keyboard closes automatically. Thanks in advance. <Button android:id="@+id/singleComentBtn"…
-
0
votes1
answer118
viewsQ: Add +1 each time a Child is called Fire Base
Hello, here I am again with the saga of fire base :p, So how can I add +1 to child Users when someone enters an activity , in the case of a user profile, I want to do the same has in the profile…
-
0
votes1
answer1251
viewsQ: Can’t Convert Object of type java.lang.String to type
I’m trying to get lat e lang which is saved on firebase and recover on map, mPost_key is the uid user , this code works, more than this error when I put mPost_key , we use this same method…
-
1
votes1
answer790
viewsA: use the Appodeal mediator
Let’s Get Started , with the admob account and appodeal created go to this link https://www.appodeal.com/apps/new?apps_filter=0 fill as your app,make sure to put the android option and remembering…
androidanswered Wallace Roberto 496 -
0
votes1
answer792
viewsQ: Error:Execution failed for task ':app:packageDebug'. > ! zip.isFile()
I’ve been getting this unbearable error, I’ve been going around it going back a while in my project since I backup the app, then sometimes it worked, when it didn’t work I had to redo the backup,…
androidasked Wallace Roberto 496 -
1
votes1
answer438
viewsA: Admob - advertising videos
I advise you to use Appodeal, Appodeal is a mediator who works with multiple Networks and chooses the ads that pay the most, you can choose which network to work with or simply work with all.…
-
1
votes0
answers123
viewsQ: Retrieve Child inside getKey
I have a Recycler Adapter with a populateViewHolder that when I click takes the Child key in firebase, in the image box below takes KeGVDMcSt0v5HICwuUm @Override protected void…
-
0
votes1
answer19
viewsQ: Problem with Menupop
Hello, so it’s no longer the first time I’ve been having trouble with Recyclerview.Viewholder, in this case now happens the following, My menu has 2 buttons I’m trying to catch the click with switch…
-
0
votes1
answer694
viewsQ: How do I edit a Child in firebase?
In the case then I make a comment and recover, I wondered how to edit this Child,the comment carries more information as user uid photo and name... more not put here.…
-
0
votes2
answers257
viewsQ: Problem recovering with Firebase
What is happening is this, when I click the button(mLikebtn) it adds 1 value to Child Like in firebase if I click again remove(Mechanics of Like same)... the problem is when I leave the current…
-
1
votes1
answer124
viewsQ: Automatic zoom on marker
I use this code to retrieve Lat and lang from a user in firebase, My doubt is how to give an automatic (animated) zoom in the marker... mDatabase.child(mPost_key).addValueEventListener(new…
-
0
votes1
answer81
viewsQ: Problem with Recycleradpter Popupmenu
I’m having trouble with Popupmenu, when I click on imageButtom fails and gives the following error 02-14 15:27:26.531 11084-11092/? E/art: Failed sending reply to Debugger: Broken pipe 02-14…
-
3
votes1
answer175
viewsQ: Alertdialog Android "comment" Popupmenu
How do I get this result the 3 dots on this image have already been pressed. My layout <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"…
-
0
votes1
answer267
viewsQ: Chat Layout -Flip the side of my message
So I’m starting now to do chat activity have no code yet, more thinking the process came to me a question... Practically the way I will do All messages sent will be on one side only, what I want is…
-
1
votes1
answer1474
viewsQ: Recover Data from Firebase
With the code below I recover data from a post, ok, with FirebaseRecyclerAdapter I retrieve the comments that are on recyclerview, okay, but the comment appears in all posts, what I want, is to…
-
1
votes1
answer281
viewsQ: Tell Likes Firebase Android
So I’m with a project here from an appblog, I need help now so I can count the likes. mDatabaseLike = FirebaseDatabase.getInstance().getReference().child("Likes"); } });…
-
0
votes1
answer81
viewsQ: Inflate Layout in a Service
In Cassso this code makes a floating window with a button to end the activity, so as I do now to inflate in it a layout, or another way to build a layout within the service. public class…
-
0
votes1
answer210
viewsA: Remove marker when adding a new one
mmap.setOnMapLongClickListener(new Googlemap.Onmaplongclicklistener() { @Override public void onMapLongClick(LatLng arg0) { if (marker != null) { marker.remove(); } marker = mMap.addMarker(new…
-
2
votes2
answers13793
viewsA: Block android rotation
Put this in each Activity setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
-
0
votes1
answer40
viewsA: Ads do not appear in Cordova SDK
You have to have those files in your Lib: Yandex-metrica-2.41.jar Unity-ads-2.0.4.jar my-target-4.5.10.jar Flurry-Analytics-6.5.0.jar chartboost-6.5.1.jar appodeal-1.15.5.jar applovin-6.3.0.jar…
apache-cordovaanswered Wallace Roberto 496 -
4
votes1
answer153
viewsQ: Images are repeating in Imageviews
I have 54 images need to show only 8, but have to have a random selection and can not repeat, I am programming on the platform of Android Studio. I use this code it works smoothly, shows the results…
-
1
votes1
answer340
viewsQ: Button that overwrites all screens
How to make a floating button that overlaps all screens , mainly the screens outside the application. in the image has 2 examples of floating buttons…