Questions tagged as 'android'

0
answers

Does PrintWriter not work on Android?

I'm trying to run this code, but it does not work, the error in try {}, in Java it works perfectly. public void criatxt(){ String texto = "XXX"; try{ PrintWriter arq = new PrintWriter("meudocumento.txt"); System...
asked by 25.08.2015 / 15:02
1
answer

How to get screen density on Android via code?

I'm developing an application where images and layouts adapt to the logical density of the device. Is it possible to get screen dpi of the device through Java?     
asked by 25.08.2015 / 14:15
1
answer

Inserting TextView into a ListView

I have a problem. I need to insert a textview inside a listview. Follow the base method class MyKickAssAdapter extends BaseAdapter { LayoutInflater mInflater = LayoutInflater.from(getContext()); //... public View getView(int po...
asked by 18.07.2015 / 21:57
2
answers

List of all installed applications

I'm trying to learn how to build a list of all installed Android applications. How do I show in a ListView all the applications installed on the smartphone?     
asked by 19.07.2015 / 02:38
0
answers

How to tell if my Android app has been uninstalled

I've developed an app, which receives notifications and passes information to another app, and shows users online and registered in both applications. Home I wanted some way to send an info to the API when the application is uninstalled by Andro...
asked by 17.07.2015 / 15:38
0
answers

Update UI during print screen process

I have Activity and several Fragments in it, and in Fragment , I have a list of images. I want a floating button to print all the images without having to change the image on the screen. I made the code below but it upd...
asked by 27.08.2015 / 14:47
0
answers

I'm having trouble accessing my phpmyadmin using my Android, I'm using WampServer

By putting the ip of my computer in the browser of the mobile, says that I am not allowed to access, I ask for help.     
asked by 26.08.2015 / 09:12
0
answers

connection via socket server android, client c #, server inside another network

I've already been able to do C # communication - > Android seamlessly, but when Android connects to a local network, I do not know how to make this connection via ip, since it acquires the local IP. I can get the IP of the modem to which it i...
asked by 26.08.2015 / 17:55
1
answer

Communicating Android application with Bluetooth

I'm trying to make an implementation to display paired Bluetooth devices and those connected around a mobile phone. I made several searches , I found a example and now I'm trying to build a my implementation. What I want is to build a class...
asked by 06.08.2015 / 13:53
1
answer

How to edit theme.xml on Titanium?

I need to remove actionBar from my project and the best way I found it was to edit theme.xml. However, when I edit it, I can not save it and soon, my actionBar is still active. I tried to put the line of code (below) but when emulated, my window...
asked by 16.07.2015 / 18:54