Posts by Nokas • 153 points
10 posts
-
0
votes0
answers64
viewsQ: Android notification buttons do not appear on mobile device
I always interacted with my Android application by emulator, but recently I started to test everything I did with my phone. I created some notifications with buttons, and in the emulator they appear…
-
5
votes1
answer301
viewsQ: An instrumentation test is an integration test?
I saw some videos where they explain how to test the call of an activity by another activity. I took the following test and, after a reflection, I wasn’t sure if the test I ran was for integration,…
-
1
votes1
answer65
viewsQ: How to define a data structure in Json, with the name of the object at the top of the structure?
I am working on json and I really need to get this structure: { "Identidade": [ { "numero": 1704, "numeroFinal": 1804, "id": 28 }, { "numero": 1806, "numeroFinal": 1905, "id": 28 }, { "numero":…
-
0
votes1
answer154
viewsQ: Build Variant Android studio
Why should my build variants (first image) does not present the options I want for the compilation? In this case I wanted the "mockdebug" as presented in the second image. What do I need to do to…
-
1
votes1
answer109
viewsQ: Instrumental Tests Android Studio
When designing instrumental tests for my android app, I come across a problem and I don’t see why this should happen. Why Mainactivity is Not Recognized?…
-
3
votes1
answer226
viewsQ: Download data in JSON
[ { "ID": 1, "ano": 5 } ] I don’t know how to get in JSON the value of each of the fields, in this case "1" and "5", as shown above. In obtaining the data in JSON I tried to follow some tips that I…
-
0
votes1
answer180
viewsQ: Android Testing Instrumentals
When I start to elaborate the instrumental test for Mainactivity it gives error because it does not recognize this Class (Mainactivity), as it is possible to verify in the following image. I read in…
-
2
votes2
answers1141
viewsQ: Android calendar with events
At the moment I only have this calendar. I’m using the Materialcalendarview <com.prolificinteractive.materialcalendarview.MaterialCalendarView xmlns:app="http://schemas.android.com/apk/res-auto"…
-
1
votes1
answer75
viewsQ: Android calendar for weeks and months
I’m working with calendars on Android. The goal is to show the calendar by weeks and for months. But the calendar I’m using only allows me to view by month. Xml code…
-
1
votes1
answer559
viewsQ: Notification on Android does not disappear from the notification bar
I’m working with notifications in android. The notification appears when it is supposed and asks a certain question to the user, who in turn only has to answer "yes" or "no", through the two buttons…