Good morning devs. New post on /r/androiddev subreddit:
ActivityResultContracts.TakePicture() requires creating and saving an empty file ahead. How do you delete it?
I use ActivityResultContracts.TakePicture()t otake images. Since its machenism, I have to create a empty file ahead. I did this. Common method in docs. ``` val dUri = if (Build.VERSION.SDK_INT > 28) { MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY) } else {...
#androiddev https://www.reddit.com/r/androiddev/comments/13dgtgr/activityresultcontractstakepicture_requires/
ActivityResultContracts.TakePicture() requires creating and saving an empty file ahead. How do you delete it?
I use ActivityResultContracts.TakePicture()t otake images. Since its machenism, I have to create a empty file ahead. I did this. Common method in docs. ``` val dUri = if (Build.VERSION.SDK_INT > 28) { MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY) } else {...
#androiddev https://www.reddit.com/r/androiddev/comments/13dgtgr/activityresultcontractstakepicture_requires/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Best practices for saving UI state on Android - Google I/O 23
submitted by /u/manuelvicnt link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13edsit/best_practices_for_saving_ui_state_on_android/
Best practices for saving UI state on Android - Google I/O 23
submitted by /u/manuelvicnt link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13edsit/best_practices_for_saving_ui_state_on_android/
Reddit
r/androiddev on Reddit: Best practices for saving UI state on Android - Google I/O 23
Posted by u/manuelvicnt - 42 votes and 19 comments
Good morning devs. New post on /r/androiddev subreddit:
How similar is app development in ReactNative/Flutter vs Kotlin?
If you knew one already, would app development using the other library/language be easier? How transferable are the coding skills given that they all develop for mobile? submitted by /u/ScienceisGreatness link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13fcg4j/how_similar_is_app_development_in/
How similar is app development in ReactNative/Flutter vs Kotlin?
If you knew one already, would app development using the other library/language be easier? How transferable are the coding skills given that they all develop for mobile? submitted by /u/ScienceisGreatness link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13fcg4j/how_similar_is_app_development_in/
Reddit
r/androiddev on Reddit: How similar is app development in ReactNative/Flutter vs Kotlin?
Posted by u/Science_is_Greatness - No votes and 2 comments
Good morning devs. New post on /r/androiddev subreddit:
What's your favourite example of a 'boring' app that made a lot of money?
Hi! I'm a writer for a mobile app development company that focuses on inspiring and educating non tech founders. We'd like to do a bit of inspiring with some examples of under the radar apps that you would never have guessed make a ton of revenue. Nothing flashy like Tinder or Mobile Legends....
#androiddev https://www.reddit.com/r/androiddev/comments/13iwbte/whats_your_favourite_example_of_a_boring_app_that/
What's your favourite example of a 'boring' app that made a lot of money?
Hi! I'm a writer for a mobile app development company that focuses on inspiring and educating non tech founders. We'd like to do a bit of inspiring with some examples of under the radar apps that you would never have guessed make a ton of revenue. Nothing flashy like Tinder or Mobile Legends....
#androiddev https://www.reddit.com/r/androiddev/comments/13iwbte/whats_your_favourite_example_of_a_boring_app_that/
Reddit
r/androiddev on Reddit: What's your favourite example of a 'boring' app that made a lot of money?
Posted by u/longkhongdong - 1 vote and 9 comments
Tickets are now on sale for #droidconItaly23 in Turin. If you want to take advantage of the cheapest, best rate for tickets then purchase now: there are just 40 tickets available at the Early Early bird rate. https://droidcon-italy.eventengage.app/register
This year Synesthesia Events is supporting EMERGENCY. For every ticket sold to any events (droidcon Italy, Flutter / Swift / React Native Heroes), we'll donate €1 to EMERGENCY to assist with their activities, affirming healthcare as a human right. https://en.emergency.it/
Good morning devs. New post on /r/androiddev subreddit:
Collaboration on any compose based android project
Is there any side project in which I can collaborate and work to develop my skills in compose and kotlin. Please don't be rude! submitted by /u/Mohack12 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13jq261/collaboration_on_any_compose_based_android_project/
Collaboration on any compose based android project
Is there any side project in which I can collaborate and work to develop my skills in compose and kotlin. Please don't be rude! submitted by /u/Mohack12 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13jq261/collaboration_on_any_compose_based_android_project/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
How to Create Cash Advance Apps Like Dave?
submitted by /u/According-Can-707 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13kq1aa/how_to_create_cash_advance_apps_like_dave/
How to Create Cash Advance Apps Like Dave?
submitted by /u/According-Can-707 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13kq1aa/how_to_create_cash_advance_apps_like_dave/
Reddit
[deleted by user] : r/androiddev
226K subscribers in the androiddev community. News for Android developers with the who, what, where, when and how of the Android community. News…
Good morning devs. New post on /r/androiddev subreddit:
My account has been suspend
submitted by /u/mabdullah786 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13lm8xn/my_account_has_been_suspend/
My account has been suspend
submitted by /u/mabdullah786 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13lm8xn/my_account_has_been_suspend/
Reddit
From the androiddev community on Reddit: My account has been suspend
Posted by mabdullah786 - No votes and 2 comments
Good morning devs. New post on /r/androiddev subreddit:
Is this a good and common practice, to achieve similar outcome as Swift's "guard let" and avoid safe call operator?
In Swift, we can use "guard let", to avoid safe call operator (?.) class A { func work() { } } func test(_ a: A?) { guard let a = a else { return } a.work() } I was wondering, is the following a good and common practice, if I want to achieve similar outcome as Swift's "guard let"? class A { fun ...
#androiddev https://www.reddit.com/r/androiddev/comments/13pf2bd/is_this_a_good_and_common_practice_to_achieve/
Is this a good and common practice, to achieve similar outcome as Swift's "guard let" and avoid safe call operator?
In Swift, we can use "guard let", to avoid safe call operator (?.) class A { func work() { } } func test(_ a: A?) { guard let a = a else { return } a.work() } I was wondering, is the following a good and common practice, if I want to achieve similar outcome as Swift's "guard let"? class A { fun ...
#androiddev https://www.reddit.com/r/androiddev/comments/13pf2bd/is_this_a_good_and_common_practice_to_achieve/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Getting into android automotive
Hi! I’m currently doing macOS development, but would really like to get my hands dirty in android automotive and get the feel of middlewear development. Are there any good recommendations how to start with it? Get a Raspberry Pi and try using Android Automotive there? submitted by ...
#androiddev https://www.reddit.com/r/androiddev/comments/13qcv6p/getting_into_android_automotive/
Getting into android automotive
Hi! I’m currently doing macOS development, but would really like to get my hands dirty in android automotive and get the feel of middlewear development. Are there any good recommendations how to start with it? Get a Raspberry Pi and try using Android Automotive there? submitted by ...
#androiddev https://www.reddit.com/r/androiddev/comments/13qcv6p/getting_into_android_automotive/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Real car names in my quiz app
I read that I can't use any real car name/shape/logo in any form in any game, but if that game is a quiz game, or a recognition game could I use them? If not, there's a method to use them without paying too much or don't pay at all and don't get sued? submitted by /u/Highwall2740 link ...
#androiddev https://www.reddit.com/r/androiddev/comments/13r9epo/real_car_names_in_my_quiz_app/
Real car names in my quiz app
I read that I can't use any real car name/shape/logo in any form in any game, but if that game is a quiz game, or a recognition game could I use them? If not, there's a method to use them without paying too much or don't pay at all and don't get sued? submitted by /u/Highwall2740 link ...
#androiddev https://www.reddit.com/r/androiddev/comments/13r9epo/real_car_names_in_my_quiz_app/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Controlling camera via adb?
Hi people, i'm a female newbie dev doing some tests on android, and I'm wondering if there is anyway to control camera via adb shell or via some app? Let me explain myself: What I wanna do is to control camera's zoom in apps that requires me to take a photo, and normally won't let me zoom it....
#androiddev https://www.reddit.com/r/androiddev/comments/13s3nm3/controlling_camera_via_adb/
Controlling camera via adb?
Hi people, i'm a female newbie dev doing some tests on android, and I'm wondering if there is anyway to control camera via adb shell or via some app? Let me explain myself: What I wanna do is to control camera's zoom in apps that requires me to take a photo, and normally won't let me zoom it....
#androiddev https://www.reddit.com/r/androiddev/comments/13s3nm3/controlling_camera_via_adb/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Advice to get in as a junior?
Hey everyone, Not sure if this is allowed here or not. If it isn't, please take it down. Anyone have advice to get in as a junior developer? I started learning Kotlin and Jetpack Compose about 2 years. Since then, I have completed 3 apps from start to finish and published them on the Google...
#androiddev https://www.reddit.com/r/androiddev/comments/13vhvw7/advice_to_get_in_as_a_junior/
Advice to get in as a junior?
Hey everyone, Not sure if this is allowed here or not. If it isn't, please take it down. Anyone have advice to get in as a junior developer? I started learning Kotlin and Jetpack Compose about 2 years. Since then, I have completed 3 apps from start to finish and published them on the Google...
#androiddev https://www.reddit.com/r/androiddev/comments/13vhvw7/advice_to_get_in_as_a_junior/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
We are very happy to partner with We Are Developers, a community uniting ALL developers letting everyone profit from the flow of ideas, reach and visibility. Their activities include the #wearedevs World Congress, 27-28 July, Berlin. Use the link below to get a 15% discount on tickets.
https://ti.to/wearedevelopers/world-congress-2023/discount/droidconItaly_WWC23
https://ti.to/wearedevelopers/world-congress-2023/discount/droidconItaly_WWC23
Tito
I am joining Europe's leading developer event in Berlin!
WeAreDevelopers World Congress is considered by many as the world's flagship event for developers. It is not just another developer conference - it is a totally different and astonishing experience with a focus on the people, on developers, on you. The event…
Good morning devs. New post on /r/androiddev subreddit:
How to return an Int type with DataStore
class StoreScore(private val context: Context){ companion object { private val Context.dataStoree: DataStore by preferencesDataStore("userScore") val USER_SCORE = intPreferencesKey("my_number") } val getScore: Flow = context.dataStoree.data .map { preferences-> preferences[USER_SCORE] ?: 1 }...
#androiddev https://www.reddit.com/r/androiddev/comments/13w98ig/how_to_return_an_int_type_with_datastore/
How to return an Int type with DataStore
class StoreScore(private val context: Context){ companion object { private val Context.dataStoree: DataStore by preferencesDataStore("userScore") val USER_SCORE = intPreferencesKey("my_number") } val getScore: Flow = context.dataStoree.data .map { preferences-> preferences[USER_SCORE] ?: 1 }...
#androiddev https://www.reddit.com/r/androiddev/comments/13w98ig/how_to_return_an_int_type_with_datastore/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Why AS always takes up 20 min in doing "indexing" on startup ?
submitted by /u/Acrobatic-Bit3508 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13x7ulc/why_as_always_takes_up_20_min_in_doing_indexing/
Why AS always takes up 20 min in doing "indexing" on startup ?
submitted by /u/Acrobatic-Bit3508 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13x7ulc/why_as_always_takes_up_20_min_in_doing_indexing/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
#1 Online Shop For Foreign Language & ESL Books, Games, DVD & Software
https://nj0lmliv.scoreapp.com/p/3?gcid=20030610178&hadid=656172941474&gclid=CjwKCAjwg-GjBhBnEiwAMUvNW6M9XRg3ow2pfQHSsg1jRLVrnqoVYQcXIXWWyFuOn1jDWR1icd1LRoCe8wQAvDBwE submitted by /u/SureInternet9004 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13y47dq/1_online_shop_for_foreign_language_esl_books/
#1 Online Shop For Foreign Language & ESL Books, Games, DVD & Software
https://nj0lmliv.scoreapp.com/p/3?gcid=20030610178&hadid=656172941474&gclid=CjwKCAjwg-GjBhBnEiwAMUvNW6M9XRg3ow2pfQHSsg1jRLVrnqoVYQcXIXWWyFuOn1jDWR1icd1LRoCe8wQAvDBwE submitted by /u/SureInternet9004 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/13y47dq/1_online_shop_for_foreign_language_esl_books/
Scoreapp
Pre-register for a free review copy of the latest book from Daniel Priestley
Get a free review copy of the latest book from 4x Best-selling author Daniel Priestley. The new book "Scorecard Marketing" is a playbook for generating better leads and bigger profits from quizzes, scorecards, and personalized reports. There's no catch -…
Good morning devs. New post on /r/androiddev subreddit:
How can i make this fully kind of customized toolbar ?
submitted by /u/Acrobatic-Bit3508 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/14234o4/how_can_i_make_this_fully_kind_of_customized/
How can i make this fully kind of customized toolbar ?
submitted by /u/Acrobatic-Bit3508 link comments
#androiddev https://www.reddit.com/r/androiddev/comments/14234o4/how_can_i_make_this_fully_kind_of_customized/
Reddit
From the androiddev community on Reddit: How can i make this fully kind of customized toolbar ?
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Best place to host android app
I am working on an android app and it will have back-end also. This means i need to host it somewhere. This is a first time i am hosting an app so i need to know which is the best place to host it. submitted by /u/dupelas link comments
#androiddev https://www.reddit.com/r/androiddev/comments/1433nku/best_place_to_host_android_app/
Best place to host android app
I am working on an android app and it will have back-end also. This means i need to host it somewhere. This is a first time i am hosting an app so i need to know which is the best place to host it. submitted by /u/dupelas link comments
#androiddev https://www.reddit.com/r/androiddev/comments/1433nku/best_place_to_host_android_app/
Reddit
From the androiddev community on Reddit
Explore this post and more from the androiddev community
Good morning devs. New post on /r/androiddev subreddit:
Seriously, why there isn't an easy way to implement a timezone picker UI?
I needed to do a simple time zone selector, but there just isn't an easy way to do it apart from showing a 500-items-long TimeZone.getAvailableIDs() at the user in a dropdown. I had wanted something like this, but for Android, and it just doesn't seem to exist. So I need to do my own fuzzy text...
#androiddev https://www.reddit.com/r/androiddev/comments/143yy7u/seriously_why_there_isnt_an_easy_way_to_implement/
Seriously, why there isn't an easy way to implement a timezone picker UI?
I needed to do a simple time zone selector, but there just isn't an easy way to do it apart from showing a 500-items-long TimeZone.getAvailableIDs() at the user in a dropdown. I had wanted something like this, but for Android, and it just doesn't seem to exist. So I need to do my own fuzzy text...
#androiddev https://www.reddit.com/r/androiddev/comments/143yy7u/seriously_why_there_isnt_an_easy_way_to_implement/
Reddit
From the androiddev community on Reddit: Seriously, why there isn't an easy way to implement a timezone picker UI?
Explore this post and more from the androiddev community