Questions tagged as 'android'

1
answer

How do I limit the number of rows in a listview

I have a listview which is adapted with a cursoradapter ... it selects everything from the database and adapt in my listview .... but I wanted to limit the amount of rows that appear in my listview ... more or less so .. wanted to select all the...
asked by 10.07.2017 / 03:14
1
answer

Substitute for ProgressDialog

In my apps I used Progress Dialog but I read that it is deprecated from the O API. According to this link I wanted to know which component can be a replacement for it, since I used it as follows. progressDialog = ProgressDialog.show(...
asked by 12.07.2017 / 14:23
1
answer

MVP - What is where?

I have a question about MVP. In my studies, I understood that in M = Model everything that has to do with business rules and data manipulation codes related to the business, access to a bank, adapters, etc. In P = Presenter is the presentation,...
asked by 28.03.2017 / 23:30
1
answer

WebView does not show the page

I set up my WebView to display the privacy policy of my application, but when it opens it appears that the web page is not available. See: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSt...
asked by 29.03.2017 / 03:54
1
answer

Change Fragos without loading the entire screen

I have a problem in my studies, when I change the Fragment and then I go back to the source Fragment the data is loaded all over again. And as the data comes from the web, it takes precious time and resources, I wanted a way that while the ap...
asked by 09.06.2017 / 06:46
2
answers

When changing the fragment, the former is visible under the new

I'm using fragments instead of activity, but when I call the second fragment with the replace method, it does not completely overlap the previous fragment, it overlaps, but the drawing of the other fragment keeps popping up, how do I this does n...
asked by 23.03.2017 / 19:12
1
answer

HtttpURLConnection nonexistent functions in Xamarin Forms development (Java to C # system conversion)

I have a system developed in Android Studio and I am passing to Xamarin Forms in C # and there are some errors that I can not solve Summarizing what my system does: It takes the html page and transcribes line by line from the html so I can...
asked by 26.03.2017 / 03:06
2
answers

Create intent for drawer layout buttons, drawer button, clicking looks like text only

How do I make drawer layout buttons take me to another screen? I tried this way but it did not work  Something else, when I click on the drawer's menu, it looks like it's just a text, not that click effect, I'll leave my entire MainActivity belo...
asked by 25.03.2017 / 05:15
1
answer

Uploading Images Not working

I'm using cordova to pass my application WEB to Android . In my web application I upload images using the basic HTML tags <ipnut type='file' > . when I install the application in Android I can not upload im...
asked by 08.08.2017 / 17:01
1
answer

How to access another application with SQLCipher database, passing the password in the Content Provider?

In the code below, I grant access to the database in app1, using Content Provider, which makes use of SQLCipher: App1 public class StudentsProvider extends ContentProvider { private SQLiteDatabase db; @Override public boolean onCreate()...
asked by 08.08.2017 / 14:47