Questions tagged as 'android'

0
answers

Application for multiple user profiles

In transport services I see two applications as provider and user app. I had a request for a development and in the scope of the project I have identified several profiles, in Android I have not found nor ever done anything of this type other...
asked by 17.03.2017 / 20:01
2
answers

Compress image size [duplicate]

How to compress the size of an image so that it is smaller? public void onCaptureImageResult(Intent data) { Bitmap thumbnail = (Bitmap) data.getExtras().get("data"); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); t...
asked by 31.07.2017 / 13:08
0
answers

Send JPG via JSON

I need to send this image to my api via post, but I do not know how to do that, thanks private void onCaptureImageResult(Intent data) { Bitmap thumbnail = (Bitmap) data.getExtras().get("data"); ByteArrayOutputStream bytes = new ByteArr...
asked by 19.05.2017 / 21:01
1
answer

I need to create an intent within another intent

I created an APP Widget with 3 buttons. This section of code assigns the button functions: for (int i = 0; i < N; i++) { int appWidgetId = appWidgetIds[i]; RemoteViews views = new RemoteViews(context.getPackageName(), R.l...
asked by 19.05.2017 / 19:32
1
answer

Error calling getLayoutInflater () inside a fragment

I have a problem creating a custom window. The idea is to have a balloon that presents an image and some basic information about some location, with a link to another activity with a greater detail. The problem is that getLayoutInfl...
asked by 18.05.2017 / 22:09
0
answers

Iframe opens full screen in webview in Android Studio

Every time I place an iframe, instead of opening it inside the page, the iframe opens in full screen. Follow project codes MainActivity.java package com.example.duff.webviewoficial; import android.support.v7.app.AppCompatActivity;...
asked by 15.03.2017 / 22:56
1
answer

listView with image text and subtitle

I'm setting up a sales app where a user will publish your product with price description and value description, I can list the photo all right but I can not put a title and the other descriptions Here is my list and my adapter public class...
asked by 12.01.2017 / 00:52
1
answer

Notification icon in Android 5.0

I'm creating a push notification system with firebase in my project. The code that generates the push looks like this: notificationBuilder = new NotificationCompat.Builder(this) .setSmallIcon(R.drawable.ic_notification) .setColor(getResourc...
asked by 30.08.2016 / 20:36
1
answer

Remove bookmark when adding a new one

googleMap.setOnMapClickListener(new GoogleMap.OnMapClickListener() { @Override public void onMapClick(LatLng point) { MarkerOptions marker = new MarkerOptions().position( new LatLng(point.latitude, point.longit...
asked by 21.11.2016 / 22:21
0
answers

WebService Error PHP + Android

I have a webservice in php: <?php// incluyendo la librería de nusopa require_once('./nusoap-0.9.5/lib/nusoap.php'); // Configurando el web service $server = new soap_server(); $server->configureWSDL("SaludoXML", "urn:SaludoXMLwsdl"); $s...
asked by 19.12.2016 / 14:22