Posts by Razec Luar • 61 points
4 posts
-
0
votes4
answers197
viewsA: Calling Gridview event in Activity
Hello, I think a solution that can help you is to use the method startActivityForResult, you can go in the Android documentation or read this tutorial in en:…
-
0
votes1
answer71
viewsA: Disable second click in Navigationdrawer
Hello, Try at the end of the method onChildClick change return false; for return true;. This makes the OS no longer treat this click captured in any next method of the listener hierarchy...just as…
-
1
votes1
answer77
viewsA: Error when terminating a java service on android
Try reversing the lines @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); wakeLock.release(); // Log.e("Google", "Service Destroy"); } for @Override public…
-
2
votes1
answer969
viewsA: Prevent the service from being closed
Use the class Service for Android, it’s perfect for apps that run in the background performing some task from time to time. You can use the service class in conjunction with the class Alarmmanager…