Posts by Shogogan • 341 points
8 posts
-
1
votes1
answer56
viewsA: Rename Imageview to Upload
First of all, you’re just getting the image Thumb, which I think in your case wouldn’t be the best case. In order to save the real image of the camera, it is necessary to create a file and send the…
-
2
votes1
answer29
viewsA: Restart service when killed by system automatically
Good night. So, how does service Starts work. In case you send a startService(), it will be started with the return setting of the onStartCommand() however, if you start via BindService() it will be…
-
2
votes1
answer57
viewsA: Pass Volley api data to another screen
If starting a new Activity you can just put as Extra in the Intent Intent intent = new Intent(this,NovaActivity.class); intent.putExtra("ask",ask); startActivity(intent); and to recover in the other…
-
3
votes1
answer68
views -
2
votes1
answer170
viewsA: How to keep the screen turned on in later versions of the Kitkat API?
Currently you report this in the layout, either by XML or programmatically. Programmatically would add that to onCreate: getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); in xml…
-
1
votes2
answers103
viewsA: Open an Activity with onMarkerClick
Next, first you are misusing the Log. d It is used to print in the logcat some information for you to check, and not as a function that will give you a return. But about the problem, I’ll explain…
-
3
votes3
answers219
viewsA: How to create a top numeric bar on your Android keyboard
This bar appears when you arrow inputType as textPassword, but this will depend on the Android keyboard. If you want to use for an editText with visible text, you can use a textVisiblePassword.…
-
1
votes1
answer309
viewsA: Parsing JSON with Volley android
So, if you notice there is a "[ ]" before and after the return, it means that JSON is an Array, so what you need to do (and it will probably solve your problem), is to switch from Jsonobject to…