Questions tagged as 'android'

0
answers

How to open a full-screen ImageView using OnClickListener?

I have an application and would like to display a full screen image. The screenshot below shows an example application. How could I put it in full screen, using onClickListener? And how could I do the same thing using intents for a standar...
asked by 25.01.2018 / 23:38
1
answer

Check if current time is in the defined radius in the database

I wanted to know how to do to see if the current system time is within a previously defined radius I currently have this code, but it always returns "Closed at the moment" Calendar calendar = Calendar.getInstance(); final Date horaChe...
asked by 31.01.2018 / 03:00
0
answers

Android Upload image in string to c #

I'm sending images from Android to the server in C # but when I try to do the conversion it makes an error in this conversion. In android I make this conversion: ByteArrayOutputStream stream = new ByteArrayOutputStream(); bitmapPhoto.compr...
asked by 31.01.2018 / 02:32
0
answers

Capture photo sequence and save automatically to Android

I'm trying to use my android camera in an app so that when I take the first photo I'm not redirected to the home screen. The app is currently as follows: Clicking on "Take Calibration Photos" is directed to the camera where when taking...
asked by 28.01.2018 / 23:18
1
answer

Take an attribute from a Class

My class asks for a context (for example, MainActivity ) as a parameter. Can I leave without context? just passing as a parameter to query ... It looks like this: public HttpTask(Context context, String query) { super();...
asked by 05.03.2018 / 13:57
0
answers

Screen Intro App [closed]

Hello, I would like a light on how I can be doing a screen with a tour of this example.     
asked by 02.03.2018 / 19:27
0
answers

Searchview error layout

EverytimeIclicktosearchthesearchpushesthetabsdownI'dlikethetabstostayfixedandthesearchviewexpandwithoutpushingtheTabs. <?xmlversion="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://sch...
asked by 01.01.2018 / 22:55
0
answers

Even include with button on different viewpager screens

I have an include with a button, and use it has 2 screens, inside a viewPager, it happens that when I do the click listener, it clicks on the include of the last screen, not the screen that I clicked. Include:           <com.ohoussein....
asked by 03.01.2018 / 11:29
0
answers

Search only 1 record in SQLite

I have the following method to fetch the bank records, and use them in a ListView , Spinner , etc: public ArrayList<CRegistros> getRegistros() { sqLiteDatabase = banco.getReadableDatabase(); ArrayList<CRegi...
asked by 05.02.2018 / 15:58
2
answers

Set / select option in Spinner

I have ListView with several records and when I click on an item it opens in a new activity taking the value of _id of that item. I get this _id , I search SQLite, and fill in the fields as follows: public void ca...
asked by 06.02.2018 / 11:13