Questions tagged as 'android'

3
answers

Unable to start activity ComponentInfo

The app does not work when deploying. It "crashes" straight. Follow the code and the error: ActMain.java package desenvmoveluss.com.br.trabalho01; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.wi...
asked by 23.09.2016 / 23:15
1
answer

In android which class corresponds to class Image of javaFX

I have an image server implemented in javaEE, in javaFX I make an image request to the server that returns an array of bytes, with this result I create the image on the client side: ** Image in PNG format. byte buffer[] -> image bytes re...
asked by 25.09.2016 / 15:21
1
answer

How to erase GridView image?

I'm developing an app that contains a gallery, where the user takes photos and the image is shown in GridView , but I do not know how to delete the selected image I have been able to do something like this: the user presses the image an...
asked by 05.09.2016 / 23:50
1
answer

Error generating a signed APK

So, I'm developing an app where I want to use Google Maps, but when I try to generate the signed APK I get two (2) errors:    Error: The number of method references in a .dex file can not exceed 64K.   Learn how to resolve this issue at link...
asked by 02.09.2016 / 22:22
1
answer

Consume WebService C # on android

I have a Web Service created in C # where I access a certain method to authenticate a teacher, if the user data and password passed through parameters exist in the database the web service returns me the following data [CodProf], [name], [User],...
asked by 30.08.2016 / 04:04
1
answer

Make a mark on your Google Maps map

I wonder if there is any way to leave a mark on a certain part of the Google Maps map (android). I'm not saying in marker form, I'm wanting for example to leave an area next to my house with a spot of red on the map (or another color). Is it pos...
asked by 30.08.2016 / 23:20
3
answers

Custom Dialog

Good morning, I made a custom Dialog using a fragment to customize it, but I need to make it have rounded corners.      <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="...
asked by 01.09.2016 / 13:52
1
answer

Open in-app Facebook profile

I would like to know how to open the facebook application when I click on the link. In the searches I did it would be like this, but it did not: <a href="fb://profile/PerfilPessoa" /> but this only opens the app, it does not load the...
asked by 09.01.2017 / 00:50
1
answer

Activity not found

I deleted the MainActivity and created 2 Layouts. One with a name of activity_acessar and activity_menu . But when I run it displays the following message.    Error running app: Default Activity not found. Andro...
asked by 09.01.2017 / 21:06
1
answer

Inflate Layout in a Service

In case this code makes a floating window with a button to end the activity, then how do I now inflate a layout, or another way to build a layout inside the service. public class FloatingWindow extends Service { WindowManager wm; Line...
asked by 26.12.2016 / 21:08