Questions tagged as 'android'

1
answer

Socket connection causes exception in Android

The code below works perfectly when only used with a JButton, but when passing to Android happens the exception (Exception). I have found that the error is in clientSocket = new Socket(serverIP, serverPort); but I can not understand the...
asked by 18.05.2014 / 17:17
0
answers

Drag View to open new Activity

IdonotthinkIneedcodebecauseit'sinanextremelysimplelayout,justtogiveanexample.MyquestionishowtoholdandpullthisToolbarup,theActivitymatching"up" together. If you can not do this, at least this is a View random and it does the Toolbar...
asked by 03.01.2018 / 19:06
0
answers

Catching MainActivity Events in App.xaml.cs

I have this in my App.xaml.cs CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) => { System.Diagnostics.Debug.WriteLine("Received"); }; When I receive messages, that is, have something on pdata...
asked by 02.11.2017 / 01:20
1
answer

Get cookies from a session started with HTTPClient on android

I do a post with android and HttpClient on a page, but I need to know a way to get the cookies from that connection. This is the code I use to make the post public static void postData(Activity activity, String user, String password) {...
asked by 08.04.2014 / 22:28
1
answer

Android getDeclaredFields value

I am doing an android studies, I do not handle much of the subject since I am starting now, I would like to create a simple mvc of CRUD, where I want to call model.save() ; Then I created the following structure: MainActivity.java...
asked by 31.03.2014 / 21:34
0
answers

Inventory with Android [closed]

I'm trying to create an app to control product type an inventory, in case the user selects in RadioButton product and then with scanner will read the serial of the equipment. The scanner is working, but the RadioButton and inven...
asked by 27.10.2017 / 15:03
1
answer

Error inserting data in SQLite: java.lang.IllegalStateException: getDatabase called recursively

   1-07 22: 50: 59.756 11315-11315 / com.bob.airport_rentals   E / AndroidRuntime: FATAL EXCEPTION: main                                                                                 Process: com.bob.automotive rental, PID: 11315   java.lang....
asked by 07.11.2017 / 23:54
1
answer

What is the best way to generate Push notification using Firebase?

I have the following problem: I have a system where it is possible to record a series of tasks to be performed by a team or person. What I need is that whenever a request is terminated by a user, everyone else receives a notification saying t...
asked by 17.05.2018 / 02:05
1
answer

Center RecyclerView items with FlexboxLayoutManager

I'm using FlexboxLayoutManager to align items, however, I need all items to be aligned in the center, regardless of the amount of items (dynamically). I want these items to look like this: ButwhatIdidlookslikethis: (I want yo-yo to stay...
asked by 15.05.2018 / 18:32
0
answers

Push Notifications on Android with PWA

I have a PWA (Progressive Web Application) that was created using VueJS in conjunction with a web system. And for push notifications Firebase Cloud Messaging was used, but I'm having a problem receiving push notifications with PWA installed o...
asked by 11.04.2018 / 21:24