Posts by Eduardo Oliveira • 291 points
7 posts
-
0
votes2
answers161
viewsA: Exporting my project, proguard error
I would try not to overshadow the Appcompat classes: -keep class android.support.** { *; } -keep interface android.support.** { *; }
-
1
votes2
answers68
viewsA: After clicking on any Listactivity item, always the first record is loaded
Maybe making the findViewById in the clicked View works: TextView tvCliente = (TextView) v.findViewById(R.id.tvCodigo); TextView tvNome = (TextView) v.findViewById(R.id.tvNomeLinha); TextView tvCnpj…
androidanswered Eduardo Oliveira 291 -
7
votes1
answer4491
viewsA: Make URL open in the same Activity
Set a Webviewclient in your Webview for it to handle Urls: wv.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { view.loadUrl(url);…
-
4
votes2
answers361
viewsA: Load Javascripts to Webview Android Kitkat
Try this: String jsMethod = "doSomething()"; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { webview.evaluateJavascript(jsMethod, null); } else { webview.loadUrl("javascript:" +…
androidanswered Eduardo Oliveira 291 -
1
votes2
answers192
viewsA: Android custom listview working but having problems
Note that all project_list_view.xml elements are layout_width="fill_parent" and Linearlayout is horizontal oriented. Switch to the vertical orientation that should work.
-
0
votes1
answer431
viewsA: Problem with large size JSON on android
I’m gonna kick it, I don’t know if it’ll do the trick. The parse method also accepts a Reader as parameter. Try to encapsulate the String in a Stringreader and then parse: JsonParser parser = new…
-
3
votes1
answer92
viewsA: "Monitoring" use of apps
Yes, there is this possibility. Google Analytics gives you the average time of use sessions. There is also the "live" Feature, where you can see who is using the app at the moment.