Questions tagged as 'android'

1
answer

How to load the application according to the user id?

In my application you have a user registry. Each user has a name and email, I would like it when I started the application to save the default user id (or reload the application when I changed the user) because I would fetch the database informa...
asked by 10.03.2015 / 17:38
1
answer

Center background image

I'm trying to put as an image of the background an image that I want it to be exactly centered vertically and horizontally (the image is a ball). So the goal is to stay horizontally match_parent and vertically wrap_content to stay...
asked by 25.04.2015 / 23:28
1
answer

Android: How to open unused PDF from the internet?

How do I put a .pdf file in app itself, and open it without having to download using its URL? It would all be offline. Once the app was installed, .pdf would go along with it.     
asked by 26.05.2015 / 13:17
1
answer

ListView is crashing

I have ListView layout.xml : <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wr...
asked by 27.03.2015 / 19:32
1
answer

How to keep listview item loaded

I have this listview main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="wrap_content" tools:conte...
asked by 08.04.2015 / 02:45
1
answer

Is it possible to send values of the gyroscope and a seekbar simultaneously via bluetooth?

Hello, everyone! I'm trying to control a Drone (Hubsan X4) via smartphone sensors. But I can not send the collected values of the gyroscope and a seekbar simultaneously. The seekbar represents the speed (throttle) and the gyro is the directio...
asked by 10.04.2015 / 03:37
1
answer

Insert search bar Google Maps

How do I enter a search bar in Google Maps on Android? I need something similar to the image below: For this result, will I have to use Text and OverLay? Are there any examples to help you understand?     
asked by 08.04.2015 / 14:57
1
answer

How to set a size for the EditText text box?

How to set a size for the textbox of EditText to be a square     
asked by 11.04.2015 / 16:25
1
answer

How do I restore factory settings from Android Studio?

My Android Studio IDE is giving a lot of trouble to compile my android project ... How do I reset it?     
asked by 19.02.2015 / 13:57
1
answer

Error accessing "Java Build Path" in Eclipse

When I try to access MY_PROJECT_ANDROID - Properties - Java Build Path , the following message appears:    the currently displayed page contains invalid values TheAndroidManifest.xmlfilelookslikethis:<uses-sdkandroid:minSdkVersion="14"...
asked by 19.02.2015 / 20:35