• Breaking News

    Wednesday, March 4, 2020

    Android Dev - Google cancels IO 2020

    Android Dev - Google cancels IO 2020


    Google cancels IO 2020

    Posted: 03 Mar 2020 12:33 PM PST

    Just received an email from them:

    Due to concerns around the coronavirus (COVID-19), and in accordance with health guidance from the CDC, WHO, and other health authorities, we have decided to cancel the physical Google I/O event at Shoreline Amphitheatre.

    All guests who have purchased tickets to I/O 2020 will receive a full refund by March 13, 2020. If you don't see the credit on your statement by then, please reach out to io@google.com. Guests who have registered for I/O 2020 will not need to enter next year's drawing and will be automatically granted the option of purchasing an I/O 2021 ticket.

    Over the coming weeks, we will explore other ways to evolve Google I/O to best connect with our developer community. We will keep the Google I/O website updated with additional information.

    As always, we appreciate your enthusiasm and patience. For additional questions, please contact io@google.com

    The Google I/O Team

    Doesn't seem like they have updated their website yet, however.

    submitted by /u/Najubhai
    [link] [comments]

    Books to read for mobile development

    Posted: 04 Mar 2020 04:40 AM PST

    Hi.Which books do you recommand to read as a mobile developer?I would like to read books that talk about market,how to make downloads and how to have succes now those who talk about languages.Do you have any recomandations?

    submitted by /u/vld4k
    [link] [comments]

    Anyone using libp2p with Kotlin ?

    Posted: 04 Mar 2020 07:44 AM PST

    I am working on a blockchain project and wanted to use rust-libp2p to handle the networking as the jvm-libp2p does not seem stable (I might be wrong).

    I am using android 3.6 and use android_logger to print to the console.

    I used the provided rust example and copy/pasted it to android, everything compiles, however I get a problem when I am running it on the android emulator, my addresses (line 88) do not show up whereas some other stuff is printed.

    This is the part that is not displaying :

    match swarm.poll_next_unpin(cx) { Poll::Ready(Some(event)) => println!("{:?}", event), Poll::Ready(None) => return Poll::Ready(()), Poll::Pending => { if !listening { error!("Here {:?}"); for addr in Swarm::listeners(&swarm) { -----> error!("Listening on {}", addr); listening = true; } } return Poll::Pending } } 

    I get the following stack trace:

    V/mytag: libp2p_dns: Created a DNS thread pool // Not printed by me I/mytag: async_std::task::block_on: block_on // Not printed by me E/mytag: rust::server: Here 

    Obviously the loop is not running because Swarm::listeners(&swarm) is empty, what I do not get is why it is empty when it is not on when I run the code on my terminal.

    Is it because of Android or maybe the emulator ?

    Any help is welcome

    cheers

    submitted by /u/_TheBatzOne_
    [link] [comments]

    Google map pricing for putting markers in app

    Posted: 04 Mar 2020 01:38 AM PST

    So i am a bit confused as some say i have to pay whereas others say it's free for mobile one of the doc. say that to use markers its $7 per 1k request whereas other say its free for a mobile app so just want to know from the community and confirm it

    submitted by /u/omega_savvy
    [link] [comments]

    Code review for a very simple app I made to learn Kotlin and some of the new Android Components.

    Posted: 04 Mar 2020 08:06 AM PST

    So, I made this simple app that fetches data from a super Hero Api. Its very simple, it allows the user to search the API for Super Heroes, add them to favorites, view details about each hero and create a super hero that is missing from the API and store all this data in a room database. it uses retrofit, Coroutines, room, navigation Components and its structured using MVVM.

    Please look through the code and let me know if I'm on the right path regarding.

    this is my first time using Kotlin.

    https://github.com/mlm09kDev/SuperHero-DB

    submitted by /u/Pyrotemplar
    [link] [comments]

    Coroutines + Flow vs. RxJava for new project

    Posted: 04 Mar 2020 07:57 AM PST

    Would you prefer Kotlin coroutines + Flow or RxJava for a new Android app? Will coroutines be the default for new Android APIs?

    What would you prefer if the team already knows Rx?

    I'd like to read some opinions and the reasoning.

    submitted by /u/cryptos6
    [link] [comments]

    The joys of getting review bombed by one person.

    Posted: 03 Mar 2020 11:05 AM PST

    Can I implement ads in youtube videos ad directly

    Posted: 04 Mar 2020 07:00 AM PST

    I have created an Android application which fetches youtube videos from the YouTube API, can I put banner ads in my application?

    submitted by /u/LazyDevPro
    [link] [comments]

    Kotlin 1.3.70

    Posted: 03 Mar 2020 10:06 AM PST

    I feel like such a n00b

    Posted: 03 Mar 2020 04:47 PM PST

    I've been writing android apps professionally for 7 years. Wrote several personal apps prior to that and have been steeped in android since the froyo days.

    But I'm in a contract now and feel like such a n00b.

    These guys love alpha code. If Google comes out with something new, it's in their apps within days. That's not bad. It's just tiring. Having absorbed and learned various patterns, classes or architecture that Google promotes and then deprecates (ie AsyncTasks, Broadcast Receivers, Content resolver, oh, I could go on and on) while introducing new patterns classes and architecture (WorkManager, Paging Library, androidx, view binding, and on and on) I feel like like all my previous knowledge is worthless. I'm learning all the new stuff, which is cool, but really difficult to be billed as "senior android developer" and get shit done without getting bogged down in trying to understand new things.

    Anyone else ever feel like that? I feel like like a junior developer who studied the most recent googly shit for a couple of weeks would stomp me in a sprint comparing story points completed.

    How can I get that "I really do know wtf I'm doing" feeling back?

    submitted by /u/martypants760
    [link] [comments]

    Android is blocking word Coronavirus in Google Play Stote

    Posted: 03 Mar 2020 11:45 AM PST

    Getting started on freelancing

    Posted: 04 Mar 2020 04:07 AM PST

    Hi,

    I currently work as Android Developer but I am looking to go freelance. Do you have any piece of advice to give me? Any particular good website?

    Thanks :)

    submitted by /u/garyhost444
    [link] [comments]

    Kotlin 1.3.70 released

    Posted: 03 Mar 2020 11:06 AM PST

    Worker class not getting executed in workmanager

    Posted: 04 Mar 2020 01:59 AM PST

    Created a worker class and recurring work request to run every 15 mins but the workmanager instance getting created, the worker class not getting executed.Workmanager version : 2.3.2 also tested in 1.0.1target api: 28 or 29

    class RefreshDataWorker(context: Context, parameters: WorkerParameters) :CoroutineWorker(context, parameters) {

    private val TAG = "RefreshWroker"
    companion object {

    val WORK_NAME = "com.deepak.openweather.work.RefreshDataWorker" }

    override suspend fun doWork(): Result {

    val dataBase = dataBase(applicationContext)val weatherRepository = WeatherRepository(dataBase, applicationContext)

    try {

    Log.d(TAG, "calling refresh data")

    weatherRepository.refreshData()

    Log.d(TAG, "Work request for sync is run")

    } catch (httpException: HttpException) {

    return Result.retry()}return Result.success()

    }}

    Application class

    class WeatherApplication : Application() {

    private val TAG = "WeatherApplication"

    val applicationScope = CoroutineScope(Dispatchers.Default)

    */*** onCreate is called before the first screen is shown to the user.** Use it to setup any background tasks, running expensive setup operations in a background* thread to avoid delaying app start.*/*override fun onCreate() {super.onCreate()delayInit()}

    private fun delayInit(){

    applicationScope.launch {

    setUpRecurringWork()}}

    private fun setUpRecurringWork(){

    val constraints = Constraints.Builder()

    .setRequiredNetworkType(NetworkType.UNMETERED)

    .setRequiresBatteryNotLow(true)

    .setRequiresCharging(false)

    .apply {if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {setRequiresDeviceIdle(true)}}

    .build()

    val recurringRequest = PeriodicWorkRequestBuilder<RefreshDataWorker>(15, TimeUnit.MINUTES)

    .setConstraints(constraints).build()

    Log.d(TAG,"Periodic Work request for sync is scheduled")

    WorkManager.getInstance(this)

    .enqueueUniquePeriodicWork(WORK_NAME,ExistingPeriodicWorkPolicy.KEEP,recurringRequest)}

    }

    submitted by /u/Deepakdroid
    [link] [comments]

    Scoped Storage Stories: More on RecoverableSecurityException

    Posted: 03 Mar 2020 02:35 PM PST

    Integration testing system components.

    Posted: 03 Mar 2020 11:59 PM PST

    So I have a music player app that I used Google's built in media browser and media browser service to implement. Problem is that since my player ui is connecting through the media browser instead of the regular ibinder I cannot figure out a way to write integration tests for it.

    submitted by /u/khsh01
    [link] [comments]

    Google Maps Are Not Free Anymore; What Should You Do?

    Posted: 03 Mar 2020 11:18 PM PST

    Java 14 Arrives with a Host of New Features

    Posted: 03 Mar 2020 11:11 AM PST

    Top Downloaded Mobile Apps (1998-2020) (From Snake-1998 to YouTube App-2020)

    Posted: 03 Mar 2020 10:22 PM PST

    Is sending a file to a server in Base64 encoding correct? I heard it is a bad practice, but not sure why.

    Posted: 03 Mar 2020 09:42 AM PST

    Do interfaces belong in a Kotlin Android project?

    Posted: 03 Mar 2020 11:37 AM PST

    Google's largest event of the year, I/O, has been cancelled.

    Posted: 03 Mar 2020 09:10 PM PST

    No comments:

    Post a Comment