Posts by Tech Positivo • 175 points
19 posts
-
0
votes1
answer421
viewsQ: How to implement different clicks for each item in Recyclerview?
I’m developing an app, and it has recyclerView conjugated with CardView. And all the information is stored within the app itself to be presented on recyclerView. One part of the structure is this:…
-
2
votes1
answer40
viewsQ: Error searching blogger information via json
I’m trying to get information from the blogger via json and put to appear in a recyclerview. But I’m not getting it. I’m a beginner in programming, so I’m unharmed if you have to sign any key so you…
-
0
votes1
answer51
viewsQ: How to add Asynctask to this task?
Hi, could someone help me add an Asynctask to this task? Here I am connecting to a JSON for information, then it will be added to Recyclerview. RequestQueue queue = Volley.newRequestQueue(this);…
-
1
votes0
answers86
viewsQ: Capture JSON links to each recyclerView and pop up link data that has been captured which is another JSON (complicated)
So it’s complicated to ask, but anyway, that’s the logic: [ { "name": "http://meusite/dados1.json"}, { "name": "http://meusite/dados2.json", }, { "name": "http://meusite/dados3.json"} ] So as it was…
-
0
votes0
answers61
viewsQ: Copy apk located at /data/app/ programmatically
Hello, i would like to copy an apk located in the folder /data/app/.. But apk is not being copied, only the folder is created, follows the code: InputStream input; String apkPath =…
-
1
votes0
answers345
viewsQ: Gson returning characters with invalid accent
I’m getting information using Gson in an archive PHP. When this information is received, the words containing accents are not coded. I have read: Android JSON Charset UTF-8 problems Converting…
-
2
votes2
answers124
viewsQ: Send data from one method to the other in the same Activity
I know that to send data from one activity to another is the following: String value = filename; Intent intent = new Intent(getApplicationContext(), ReceberNome.class); intent.putExtra("nameFile",…
-
0
votes0
answers29
viewsQ: onResume method is undoing Sharedpreferences from a Checkbox
I happen to want to leave the Checkbox except as agreed the user marks or not. Then I called a method to make the internet check in case the Checkbox is marked, and soon after the Checkbox was…
-
1
votes1
answer72
viewsQ: Example to interact res/xml/prefs.xml with a.java activity.
As much as I’ve searched, I’ve never found an exact example where a preferred file interacts with a Java activity, for example: private void Bemvindo(){ Toast.makeText(this, "Seja bem vindo",…
-
1
votes1
answer47
viewsQ: Open another activity silently
Here’s the thing; I added a button to open an activity from another app. It is possible to open only silently, that is, anonymous, invisible, minimized, or better, without the user noticing!? Intent…
-
1
votes1
answer404
viewsQ: Show user-installed apps only
Good friends, I’m developing an app for the user to share, back up .. from third-party apps. Be able to create a list where shows all the app’s. It turns out that I do not want to appear system…
-
1
votes1
answer88
viewsQ: Extracting File with Progressdialog
Hello, I need to implement the `Progressdialog while the file is being extracted. My extraction code is following. Now just implement ProgressDialog, recalling that the downloaded code has already…
-
0
votes0
answers72
viewsQ: How to animate button before it is clicked
Here’s an animation I’m using in my project, only it gets animation as soon as it’s clicked: Button refresh = (Button)findViewById(R.id.refresh); refresh.setOnClickListener(new…
-
1
votes1
answer242
viewsQ: Webview - Update option appears only once in onReceivedError, see more
Hi, I’m developing a project for my site, and until then it’s getting really cool. Only I had a little problem and it’s like this, whenever the page gives error I called Feature Snackbar, getting…
-
3
votes2
answers667
viewsQ: How to implement Swipe To Refresh on Webview?
I want to implement Swipe To Refresh on my Webview, is that possible? I know you have Pull To Refresh but I’m not able to download add-ons (dependencies) at the moment. I did a lot of research on…
-
1
votes1
answer668
viewsQ: sharedpreferences in the first Activity, show only once?
I’m developing an app in which you will have the first Activity greeting, and I want to show it only once, only when the app first opens. In this case, I created a Activity calling a layout…
-
1
votes1
answer182
viewsQ: How to call an id hosted in the Activity layout extended by Fragment?
Well, I’m developing an app, in which if you have a navigation Drawer and in this navigation I put to open each item in a new Activity, and in each acitivty will have a layout, right so far okay.…
-
0
votes1
answer1930
viewsQ: Open the MEGA app when a website link is clicked on the webview
I am developing an app for my site and I want that when a certain user clicks on the download link, which in this case is in the mega, open the mega APP automatically, as well as is done in Chrome…
-
0
votes0
answers365
viewsQ: How to make Progressbar fit the screen?
I’m developing an app for my site and finally manage to add a ProgressBar that accompanies the page loading, then manage to put a style and now just missing that it really starts from the beginning…