• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Changing size of the notification area at top of phone

Good morning.
I have a Samsung Galaxy A50 and everything works just fine.

I'm wondering if there is any way to enlarge the notification area at the top of my phone without changing the size of everything else on the phone ?

It's a bit hard to read (cuz it's small).

I've attached a screenshot of the area that I am asking about (in red)

Thanks

Attachments

  • Galaxy A50.jpg
    Galaxy A50.jpg
    52.5 KB · Views: 328

Notification App

I'm looking for a notification app that can receive generic push messages but allow removal of notifications from the server.

I've tried things like Pushover, but it's one-way. I need 2-way.

The use case is for a messaging app.

I need to be able to alert a user that he has new messages pending on all of his devices.

If the message is read on any device or online, I need a mechanism to remove the notification from all (other) devices.

Is there anything like that out there? I've searched for hours.

Thanks in advance.

Mini View Android 10

I may be wrong, but isn't 'One-handed Screen' the same as mini view? I don't use it but they may have changed the name. It's under the Display setting. View attachment 154747
If that's not it, sorry. ¯\_(ツ)_/¯

Hey! Thanks for the input I managed to find that but it's not the same as mini View that's more like the feature on the iphone where it just brings the top of the screen down.. a bit less useful than mini View but anyways thank you!!!

How To Find Wifi Password On Mac?

Apple's macOS stores Wi-Fi passwords in its keychain, which you can view by opening the Keychain Access app. Press Command+Space to open Spotlight, search for "keychain access," and open the app. Then, use the search bar in the Keychain Access app to search for the name of any Wi-Fi network you've connected to in the past.

When you see the network in the list, double-click on it to see its password entry. You'll need to check the Show Password box along the bottom to see the password in plain text.

https://www.pcmag.com/how-to/how-to...earch for "keychain access," and open the app.

How to parse Json response which contain nested Json array

I have a question

I'm trying to parse JSON response from API and storing the data to DATA CLASS and sending the data to recycler adapter as ArrayList.

The Json Array has another Array of objects inside, and i'm not able to find a way to properly parse that json response.

Any help????

Here is my data class:

data class OrderDetails (
val orderId: String, // order_id value from json object goes here //
val restaurantName: String, // restaurant_name value from json object goes here //
val totalCost: String, // total_cost value from json object goes here //
val orderDate: String, // order_placed_at value from json object goes here //
val orderFoodDetails: String // food_items value in json response is an array and i'm stuck here //
)

Here is my Kotlin code:

try {
val data = it.getJSONObject("data")
val success = data.getBoolean("success")

if (success) {
val arrayData = data.getJSONArray("data")
for (i in 0 until arrayData.length()) {
val orderJsonObject = arrayData.getJSONObject(i)
val orderObject = OrderDetails(
orderJsonObject.getString("order_id"),
orderJsonObject.getString("restaurant_name"),
orderJsonObject.getString("total_cost"),
orderJsonObject.getString("order_placed_at"),
orderJsonObject.getJSONArray("food_items").toString() // getting array and storing as a string
)
orderList.add(orderObject)

for (orders in orderList) {
val foodData = orders.orderFoodDetails
val jsonFood = JSONArray(foodData)
for (j in 0 until jsonFood.length()) {
val foodJsonObject = jsonFood.getJSONObject(j)
val foodObject = OrderFoodDetails(
foodJsonObject.getString("food_item_id"),
foodJsonObject.getString("name"),
foodJsonObject.getString("cost")
)
ordersFood.add(foodObject)
}
}
}


Here is the Json response:

{
"data": {
"success": true,
"data": [
{
"order_id": "17790",
"restaurant_name": "Rotten Tomatoes",
"total_cost": "280",
"order_placed_at": "02-11-20 19:00:54",
"food_items": [
{
"food_item_id": "156",
"name": "Rotten Bhajiya",
"cost": "100"
},
{
"food_item_id": "155",
"name": "Rotten Salad",
"cost": "100"
},
{
"food_item_id": "154",
"name": "Rotten Soup",
"cost": "80"
}
]
},
{
"order_id": "17789",
"restaurant_name": "Rotten Tomatoes",
"total_cost": "280",
"order_placed_at": "02-11-20 19:00:29",
"food_items": [
{
"food_item_id": "156",
"name": "Rotten Bhajiya",
"cost": "100"
},
{
"food_item_id": "155",
"name": "Rotten Salad",
"cost": "100"
},
{
"food_item_id": "154",
"name": "Rotten Soup",
"cost": "80"
}
]
},
{
"order_id": "17690",
"restaurant_name": "Garbar Burgers",
"total_cost": "750",
"order_placed_at": "01-11-20 14:20:01",
"food_items": [
{
"food_item_id": "17",
"name": "Galti se Burger",
"cost": "140"
},
{
"food_item_id": "8",
"name": "No Burger",
"cost": "180"
},
{
"food_item_id": "7",
"name": "No Patty Burger",
"cost": "190"
},
{
"food_item_id": "6",
"name": "Burger from Nothing",
"cost": "140"
},
{
"food_item_id": "5",
"name": "Kabhi Burger Kabhi Garber",
"cost": "100"
}
]
},
{
"order_id": "17531",
"restaurant_name": "Garbar Burgers",
"total_cost": "160",
"order_placed_at": "28-10-20 17:12:36",
"food_items": [
{
"food_item_id": "20",
"name": "Salty Honey Burger",
"cost": "160"
}
]
},
{
"order_id": "17528",
"restaurant_name": "Pind Tadka",
"total_cost": "30",
"order_placed_at": "28-10-20 17:03:38",
"food_items": [
{
"food_item_id": "11",
"name": "Roti Tadka",
"cost": "30"
}
]
},
{
"order_id": "17517",
"restaurant_name": "Garbar Burgers",
"total_cost": "180",
"order_placed_at": "28-10-20 12:44:31",
"food_items": [
{
"food_item_id": "8",
"name": "No Burger",
"cost": "180"
}
]
},
{
"order_id": "17515",
"restaurant_name": "Heera Mahal",
"total_cost": "220",
"order_placed_at": "28-10-20 12:40:01",
"food_items": [
{
"food_item_id": "45",
"name": "Jogger Jagger Shake",
"cost": "220"
}
]
},
{
"order_id": "17514",
"restaurant_name": "Heera Mahal",
"total_cost": "220",
"order_placed_at": "28-10-20 12:39:47",
"food_items": [
{
"food_item_id": "45",
"name": "Jogger Jagger Shake",
"cost": "220"
}
]
},
{
"order_id": "17513",
"restaurant_name": "Heera Mahal",
"total_cost": "80",
"order_placed_at": "28-10-20 12:39:40",
"food_items": [
{
"food_item_id": "46",
"name": "Chota Pav",
"cost": "80"
}
]
},
{
..............................

Required output:
Screenshot (36).png


My output:
Screenshot (37).png

Filter

Back
Top Bottom