Questions tagged as 'android'

1
answer

Communication between Android and USB devices

I'm developing an Android application that communicates with a USB device, printer, Arduino, or other Android device. Is it possible to read and write to Android's USB port? How do I proceed with the drivers? Does Android have libraries to wo...
asked by 25.02.2014 / 20:53
2
answers

What is the difference between px, dp, dip and sp?

What's the difference between px , dp , dip and sp on Android?     
asked by 13.12.2013 / 14:01
2
answers

Android app for tablets only

Developed an android app using Android Studio , in the% of files% of the screens I used the Nexus 10 layout because my app is only for tablets. After I uploaded the app to Google Play store I saw that they had xml enabled devices...
asked by 13.01.2014 / 20:08
1
answer

How to develop two versions of the same application, one being free and the other paying?

I'm starting to develop an Android app using Android Studio, and I want to make it available in two versions, one paid, with more features, and one free, more basic. I thought about starting to develop and after finishing the base version, co...
asked by 09.01.2015 / 22:32
9
answers

Error: R can not be resolved

I'm creating an Android project and am experiencing the following error in my IDE. package br.com.app; import android.R; public class MinhaApp extends Activity {      @Override      public void onCreate (Bundle savedInstanceState) {         ...
asked by 11.12.2013 / 17:51
3
answers

How to instantiate a GridView or a ListView for the same Activity?

In my app I'm presenting a list of items. I would like in certain situations to be presented with a ListView and in others as GridView . The situations are: Smartphone (portrait) - ListView Smartphone (landscape) and Ta...
asked by 09.01.2014 / 02:54
1
answer

Why is the "@" symbol being translated to "¿" when sent via SMS from an Android 2.3 device?

I'm developing an application for Android that sends commands to a remote device via SMS. The commands used are all common text messages, and some of them are started with the prefix [email protected]@ . To test the application I have sent some "commands...
asked by 17.03.2014 / 18:56
3
answers

Architecture for a JSF Application with Android APP

I'm in the planning part of a web application that I'm going to develop for a Client. There will be CRUDs and some report, nothing too complicated. At the moment I'm writing an architecture so that this application can evolve well without muc...
asked by 03.01.2014 / 19:58
6
answers

Android apps development: what tools and language to start a project?

I'd like to venture into creating apps for Android. At first I would make one just for my own use. What tools would I need to set up my development environment? My application would use database, is there any more recommended? And the lang...
asked by 06.02.2014 / 14:33
2
answers

What is a context on Android?

What is a context on Android? What is the difference between getContext() , getApplicationContext() , getBaseContext() ? Is it related to getActivity?     
asked by 01.11.2014 / 00:07