Posts by César Alves • 293 points
16 posts
-
3
votes4
answers2456
viewsQ: Set coordinates when opening map
I need to open a map with specific coordinates (latitude and longitude). These data I already have, but I don’t know how to set them on the map. PS: It is possible to open directly in Google Maps?…
-
4
votes1
answer459
viewsQ: Share Audio File
I recorded an audio file, like . 3gp, through the phone microphone, in my own application 'Android'. I would like to know how to share via Intent, because I only share texts. Note: I have the…
androidasked César Alves 293 -
4
votes2
answers131
viewsQ: Project imported from Eclipse to Androidstudio has no R reference
I imported a project from Eclipse for Android Studio, but he has no reference to the old R.
-
3
votes3
answers6632
viewsQ: Float button
How to put a floating button, like Gmail, which is to write a new email, in the application? It is possible to change the icon of this button via programming?
androidasked César Alves 293 -
1
votes1
answer223
viewsQ: Failed Android Sqlserver connection
Error while trying to connect Android/Java with Sqlserver Follow the error: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error:…
-
0
votes1
answer321
viewsQ: Inserting Textview in Relativelayout
This is my xml! <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="top" > <TextView android:id="@+id/tvTituloRelatorio"…
androidasked César Alves 293 -
0
votes0
answers150
viewsQ: Listview for Arraylist
I have a Listview, one EditText and a Buttom. When I click on the button I want it to play what it has on ListView in a ArrayList, so that I can enter what was written in the EditText in the…
-
5
votes2
answers2666
viewsQ: Backup in Sqlite database
I need to backup an Android Sqlite database. Ex: I will change device and need to copy the application BD to be loaded on other Android phone. Is there any viable solution? I developed an…
-
1
votes1
answer328
viewsQ: Is it possible to create and remove . properties files from Android by the application itself?
It is possible to create and remove files .properties of Android, by the application itself? Ex: after creating an annotation it creates a file .properties with the name of that note!…
-
0
votes2
answers691
viewsQ: Reading properties file
How do I read data from a file properties on Android? Follows my code from onCreate: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);…
-
1
votes1
answer106
viewsA: Cancelling an Alarmmanager/Broadcast
I did it! just need to create a intent with the same information of what was passed to creation. with all the putExtras() that was placed and tals! thank you!
-
0
votes1
answer64
viewsQ: How do I withdraw a notification!
I’m wearing a alarmeManager to generate a notification, and when I click on it it opens a activity! But if you open the app without clicking on the notification I need that notification removed!…
-
1
votes3
answers1027
viewsQ: Connect android screen
Next, I have a BroadCast and I want when it runs the screen of the mobile phone to be turned on! The phone will probably be in Sleep, so I want him to turn on the screen of the device! I think it’s…
-
4
votes3
answers360
viewsQ: Alarms are lost when mobile is turned off and on!
How to make the alarms not get lost? Ex: if I create one AlarmManager who calls a Broadcast, if I restart(turn off/on) the mobile phone alarm is no longer triggered.…
-
0
votes1
answer106
viewsQ: Cancelling an Alarmmanager/Broadcast
Next, I don’t know which one to cancel to not be executed, but I think it’s the AlarmManager! I have a class that registers a AlarmManager with Intent("BROADCAST") to run at a specific time, when…
-
1
votes1
answer1503
viewsQ: Broadcast notification when Android device is asleep
I have a Activity calling a function of a class (service) that creates a intent = NEW INTENT("MEU_BROADCAST") and also a Alarmmanager. Within the class Broadcast I call a Activity creating a…