Posts by Tin Megali • 330 points
14 posts
-
1
votes1
answer495
viewsA: WEBSERVICE REST - JSON - JAVA
I believe that developing an efficient solution to send messages from the server to Devices, in addition to being particularly complex, requires a structure that conventional http does not…
-
0
votes1
answer390
viewsA: Action on the back button when the keyboard is active
This is possible, but unfortunately the Android SDK does not offer a simple way to resolve this issue. Before you try to implement the solution I would strongly recommend reflecting on whether you…
-
2
votes1
answer445
viewsA: Edittext Android Studio
You need to make a wrap of your EditText with a TextInputLayout ( documentation ). <android.support.design.widget.TextInputLayout android:layout_width="match_parent"…
androidanswered Tin Megali 330 -
1
votes1
answer226
viewsA: How to know if the user is already logged in to another device?
Matthew, from what I understand about Parse, you don’t do this kind of session control for you. I may be wrong, but Parse’s sessions are quite limited and only recently have they included the…
-
0
votes2
answers266
viewsA: Error adding appcompat-v7 api level 22
I haven’t tested your configuration, but the problem could be buildToolsVersion "22.0.1". Go to the version you are working on 22.2.1 I also suggest that you use the new version, the 23. I had some…
-
2
votes2
answers2005
viewsA: Upload photo taken by mobile shows rotated image
If the photo was created with some kind of digital camera, it probably has goals that inform the rotation of the camera at the time of the click. You can use this criterion to correct the rotation…
-
3
votes2
answers2742
viewsA: How to backup the database to cloud and how to have the data synchronized across multiple devices?
There are some alternatives that can solve your problem, but the logic of synchronization will be on you. There is a service model called mbas (Mobile Backend as a Service - wiki) that does just…
-
2
votes2
answers386
viewsA: Listview catching plenty on scroll
I believe your problem may be this one: viewHolder.thumbnail.setImageBitmap( new DownloadTask().execute(data.get("thumbnail").toString()).get()); I’m guessing because I’m not seeing your…
-
2
votes1
answer438
viewsA: How to change the color of Actionbar in the eclipse?
Traditional Actionbar evolves to the use of Toolbar, which is much more flexible. I recommend that you use the principles of Material Design and make use of Toolbar, so you can change your style in…
-
1
votes1
answer726
viewsA: How to click on a Listview item and open an Activity reference to the item I clicked on?
There are numerous ways to achieve this goal. I will suggest an approach that I consider efficient. The ideal would be to implement your own version of ** Simplecursoradapter**, register a callback…
-
3
votes2
answers83
viewsA: Why every time I turn my Android phone vertical it runs again?
To be able to develop proficiently on Android you need to understand the lifecycles ( Life Cycles ) of the elements. This is a basic feature of the system and dominating it is fundamental. When you…
androidanswered Tin Megali 330 -
1
votes1
answer635
viewsA: java.lang.Outofmemoryerror: Failed to allocate error
Bitmap is probably too big for the memory allocated by your app. The documentation recommends several precautions when dealing with the creation of Bitmaps, especially in function of memory. Here is…
androidanswered Tin Megali 330 -
1
votes1
answer454
viewsA: Android open image by the way
Just once you have the image address, just call an Internet to open. private void openFullImage( String uriString ) { Intent intent = new Intent(); intent.setAction(Intent.ACTION_VIEW);…
-
1
votes1
answer78
viewsA: How to put db data in more than one Fragment?
The ideal would be to better understand your ultimate goal, but you could achieve this effect by creating a Recyclerview with a Linear horizontal layout. Just making a query to the bank and feeding…