Posts by Uzias • 196 points
13 posts
-
2
votes1
answer59
viewsA: Beagle 1.4 cache problem
Has an open PR: https://github.com/ZupIT/beagle/pull/1114 and this will be solved in version 1.4.1
-
1
votes2
answers358
viewsA: Android app problem when sending SMS to email
Friend, the error is in this code snippet: intent.setType("menssage/rfc822"); The right thing would be this way: intent.setType("message/rfc822");…
-
2
votes2
answers1326
viewsA: Barcode reading on a single screen
There is a google library, this is a codelab hers. To use just add this dependency to your Gradle compile 'com.google.android.gms:play-services-vision:10.0.1' Example class of Barcode import…
-
2
votes1
answer119
viewsA: How to change a menu item after it has already been created?
It’s pretty simple if you can do something like this boolean visible = false; mMenu.findItem(R.id.action_Filtro).setVisible(visible); when you need to change the visibility just change the boleano…
-
1
votes1
answer361
viewsA: Passport Session authentication on Android
The best way to maintain session, cache and other user things is through an interface that saves the data in the user’s preference. To do this First add a user agent to your webview so the web…
-
2
votes1
answer81
viewsA: Inflate Layout in a Service
Friend you can do this way to build a view in your service. mWindowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); LayoutInflater inflater = (LayoutInflater)…
-
0
votes2
answers123
viewsA: Performance Improvement - Ruby on Rails
Wouldn’t it be less expensive if you did it paged ? You can use the library https://github.com/mislav/will_paginate so will return the paginated items I believe will decrease the search time.…
-
0
votes2
answers146
viewsA: How to decrease the response time of an unsuccessful connection when using Ksoap2?
MSG-TIME_OUT You put the response time in milliseconds int MSG_TIMEOUT = 15000; httpTransport = new HttpTransportSE(URL, MSG_TIMEOUT);
-
1
votes1
answer757
views -
1
votes1
answer277
viewsA: How to call the screens by the Navigationdrawerfragment in Fragmentactivity?
In your class where you have navigation Drawer create a method similar to this public void selectItem(int position) { int title = 0; fragment = null; boolean withTabs = false; switch (position) {…
-
1
votes1
answer577
viewsA: Multiple alarms with Alarmmanager
You need to use different Broadcast id for pending intentions. Something like this: Intent intent = new Intent(load.this, AlarmReceiver.class); final int _id = (int) System.currentTimeMillis();…
-
2
votes1
answer1154
views -
0
votes2
answers16937
viewsA: How to change background color
You can do it that way Add an id to your view and then take the view in your Activity and set the color…