• Breaking News

    [Android][timeline][#f39c12]

    Sunday, August 30, 2020

    Compose is pretty cool! Android Dev

    Compose is pretty cool! Android Dev


    Compose is pretty cool!

    Posted: 30 Aug 2020 02:17 PM PDT

    Put together a basic storyboard composable that can display multiple interactive screens at the same time! Zoom needs a bit of work but otherwise its working pretty smoothly. Took less than an hour and its only 60~ lines of code!

    https://reddit.com/link/ijkrrh/video/bk39mz3sh7k51/player

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

    Anyone else notice they can no longer close Admob interstitial ads with return key?

    Posted: 30 Aug 2020 05:31 AM PDT

    Using Scrcpy with ADB WIFI to cast your device wirelessly and use as an emulator without any performance drop!

    Posted: 30 Aug 2020 01:37 AM PDT

    Should I ask my app users to disable battery optimization?

    Posted: 30 Aug 2020 03:24 PM PDT

    Hi,

    My app widgets need to connect internet to update itself. I use alarmmanager. But it doesn't work on some devices because battery optimization. I want to ask my user to disable it with REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission. But what if Google ban my app? How can I be sure. There are some other apps which are same category they ask disable battery optimization to users.

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

    Google reviewers telling us that the ad content in our app is not consistent with the app's content rating. Ignoring that we have a Neutral Age Screen.

    Posted: 29 Aug 2020 10:37 PM PDT

    Hi guys,

    Google constantly rejecting our updates because of the policy violation (ads are not suitable for children). But after reading through all of the Google Play policies many times we can't find any violations in our game.

    Our game (50M installs) is rated 7+ and our audience includes both under and over 13 years old age groups.

    This part is from Google Play Policy:

    "If your app's target age groups include both children and older audiences, any ads that may be shown to children must be in compliance with Google Play's Families Ads Program. A neutral age screen must be implemented so that any ads not suitable for children are only shown to older audiences."

    And this is from one of the Google Play emails that we got after appeal:

    "Ensure that your app complies with all Families Policy Requirements (for example, you can include a neutral age screen if it's applicable)."

    The fact is that we already implemented neutral age screen so children under 13 years old can see only suitable ads that are rated 3+.

    We tested our ads and our age screen - everything meets the requirements.

    Perhaps someone else has come across a similar situation and can share ideas on how to solve this problem?

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

    Users are complaining about app download time from Play store

    Posted: 30 Aug 2020 02:10 AM PDT

    so I have an App on Play store with size 14mb, yesterday I released a new version where I optimized the size to 12mb, but now I have reviews telling me that it's taking a lot of time to download when they have a speed wifi connection,
    I tried it myself it's really slow compared to Facebook app 45mb for example.
    is this store issue or something a developer can do something about?

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

    I'm getting glitches in android emulator pixel 2 android 10 system & I'm using linux mint 20 xfce

    Posted: 30 Aug 2020 11:53 AM PDT

    Confirmation of app review and approved

    Posted: 30 Aug 2020 01:18 PM PDT

    I have got the timed publishing on and uploaded the latest version to production, saved, reviewed and rollout to production.

    I could see my new version in the activity log and Go Live button is enabled. Does it mean my app is reviewed and approved? I didn't see any confirmation email or update on the activity log saying it's reviewed and approved.Can I just click on Go Live to release to the public?

    I want my latest version to go live as this is an update to the existing app and user should not need to delete the app to get the version though there is a title change for the app and should have the update automatically on the mobile. Would the app update automatically when I click Go Live?

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

    Looking for some Tips

    Posted: 30 Aug 2020 12:31 PM PDT

    Hey guys! I'm new to completely new to Android development. I basically know nothing about it but I do know Java on intermediate level. I've done some work with JavaFX. What would be the best and quickest way to learn Android dev. Any books/tutorials suggestions? Thanks!

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

    Icon Credits Library - Easily give credits

    Posted: 30 Aug 2020 08:18 AM PDT

    Icon Credits Library - Easily give credits

    Hi,

    I just published the first completely working release of my very first open source Android library (furthermore I'm still a student with not that much time, so please be considerate).

    https://github.com/cyb3rko/about-icons

    It deals with simplifying the process of giving credit to icons which need attribution (like from flaticon.com, freeicons.io, etc...), because I had to deal with it in my own apps multiple times.

    I hope my library works as intended and it helps somebody in making their apps.

    I would really appreciate feedback for both the general layout (look at my sample app) and also the process of implementing it into own apps.

    Some example photos:

    https://preview.redd.it/saiftgtgp5k51.png?width=320&format=png&auto=webp&s=74867532a93a4776ae681658e6b0f128910118e1

    https://preview.redd.it/cntc0xehp5k51.png?width=320&format=png&auto=webp&s=d2feb49f5dda24eb4073f2db3696c137a01d68a7

    Thanks a lot!

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

    What is the best way to run Virtual Device?

    Posted: 30 Aug 2020 07:58 AM PDT

    I am setting up my system - Linux ( Pop 20.04 ) for android development.

    Want to know the best way to run Virtual Device.

    I read that Android studio emulator allows for Hardware Acceleration but when I am creating a new device the box for Emulated Performance -> Graphics is disabled. Automatic is selected.

    I have a new desktop w/ Ryzen 5 3600 and nvidia Rtx 2060 so that seems unexpected. Please let me know if this is expected and the solution.

    Also I checked link and it says my system supports virtualization.

    I looked at Genymotion for the other option - and its latest release is for ubuntu 18.04. Is the project still in development? Since the Ubuntu 18.04 is few years old now.

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

    How to update a column in room? (please read first)

    Posted: 30 Aug 2020 08:29 AM PDT

    So I observe my room db in recyclerview via viewmodel. To update a row I call update method on repository object in activity. Am I doing it right? Because this is what I have seen in tutorials. My question is if we are using repository object for update, create and viewmodel to read data, whats the use case for setdata and postdata methods of livedata? Also how to update an entire table(overwrite)?

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

    New version (now in BETA phase) of my second game, "This is not a sorcerer's job". (Link on comments)

    Posted: 30 Aug 2020 12:23 PM PDT

    This new update is fully playable (2 levels).

    In addition, I have added a LOT of news, with special care in the details (there are many).

    More configuration options, more effects ... it's a big upgrade in every aspect!

    Enjoy it!

    PS: Uninstall any previous version for it to work properly.

    DOWNLOAD LINK (NEW):

    https://bitmagine.itch.io/not-sorcerers-job

    .

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

    Learn Java REST API in 10 minutes (Web Service Coding Tutorial 2020)

    Posted: 30 Aug 2020 11:40 AM PDT

    Are there any native no-code android dev tools?

    Posted: 30 Aug 2020 03:52 AM PDT

    Like webflow or something?

    I mean something actually good, none of that react native bullshit like thunkable or adalo.

    submitted by /u/ulterior-motives
    [link] [comments]

    Amazon Appstore submissions rejected, but no logs or device infos available for me

    Posted: 30 Aug 2020 01:47 AM PDT

    Hello fellow developers!

    Since over a year I have a multiplayer word game published at https://www.amazon.de/dp/B0792GQQZR/#ace-7038974143

    Now I have translated it to English and German languages, but have problems getting it through the Amazon Appstore review.

    The response is always the same: "The app exits/ force closes/ freezes/ displays an error message after being launched."

    But there is no information on which device it was tested (on my Fire 5 and Fire 7 tablets the game runs just fine) and there is no error log.

    I have tried contacting developer support asking for any logs, but got no response.

    My app uses LWA and ADM and is minSdk 16. My app is also published at Google Store (it uses FCM there) and Huawei AppGallery (it uses HMS there).

    I just need a little more information to fix any problems with my app. If I knew which device is being used for testing, I would just buy or loan it.

    Is anyone maybe willing to sideload the APK files and give my game a try at her or his Fire devices?

    https://wordsbyfarber.com/android/

    https://wortefarbers.de/android/

    Finally, below is my app/build.gradle - maybe someone can spot a problem with it?

    apply plugin: 'com.android.application' android { compileSdkVersion 29 defaultConfig { versionCode 168 targetSdkVersion 29 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true multiDexEnabled true javaCompileOptions { annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] } } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } signingConfigs { debug { keyAlias 'AndroidDebugKey' storeFile file('../../../../../.android/debug.keystore') keyPassword 'android' storePassword 'android' } release { keyAlias 'AndroidReleaseKey' storeFile file('../../../conf/release.keystore') keyPassword System.getenv('PASSPHRASE1') storePassword System.getenv('PASSPHRASE1') } } flavorDimensions "store", "language" productFlavors { google { dimension "store" versionName "$defaultConfig.versionCode-google" // min sdk version 16 needed for Firebase messaging minSdkVersion 16 } huawei { dimension "store" versionName "$defaultConfig.versionCode-huawei" // min sdk version 17 needed for Huawei push minSdkVersion 17 applicationIdSuffix ".huawei" resConfigs "en", "zh-rCN", "ru", "de", "fr", "pl", "nl" } amazon { dimension "store" versionName "$defaultConfig.versionCode-amazon" // min sdk version 15 needed for older Amazon Fire models, but is no more supported by the LWA minSdkVersion 16 // ignore AdmService not extending android.app.Service lintOptions { checkReleaseBuilds false } } de { applicationId "de.wortefarbers" dimension "language" resConfigs "de" } en { applicationId "com.wordsbyfarber" dimension "language" resConfigs "en" } ru { applicationId "de.slova" dimension "language" resConfigs "ru" } } buildTypes { release { signingConfig signingConfigs.release debuggable false shrinkResources true minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation 'androidx.multidex:multidex:2.0.1' // minSdkVersion 9 is only supported by the OkHttp 3.12.x branch implementation 'com.squareup.okhttp3:okhttp:3.12.2' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.neovisionaries:nv-websocket-client:2.10' implementation "androidx.room:room-common:$roomVersion" implementation "androidx.room:room-runtime:$roomVersion" annotationProcessor "androidx.room:room-compiler:$roomVersion" androidTestImplementation "androidx.room:room-testing:$roomVersion" implementation "androidx.lifecycle:lifecycle-extensions:$archVersion" annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$archVersion" implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.viewpager2:viewpager2:1.0.0' implementation 'com.google.android.material:material:1.3.0-alpha02' implementation 'me.zhanghai.android.materialprogressbar:library:1.6.1' implementation 'com.mikepenz:materialdrawer:6.1.2' implementation 'com.mikepenz:iconics-core:3.2.5' implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0-alpha' implementation "com.facebook.android:facebook-core:$facebookVersion" implementation "com.facebook.android:facebook-login:$facebookVersion" googleImplementation 'com.google.android.gms:play-services-auth:18.1.0' googleImplementation 'com.google.firebase:firebase-messaging:20.2.4' googleImplementation 'com.android.billingclient:billing:3.0.0' huaweiImplementation "com.huawei.hms:base:$hmsVersion" huaweiImplementation "com.huawei.hms:hwid:$hmsVersion" huaweiImplementation "com.huawei.hms:push:$hmsVersion" huaweiImplementation "com.huawei.hms:iap:$hmsVersion" amazonCompileOnly files('libs/amazon-device-messaging-1.1.0.jar') amazonImplementation files('libs/login-with-amazon-sdk.jar') androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.2', { exclude group: 'com.android.support', module: 'support-annotations' }) testImplementation 'junit:junit:4.12' } if (getGradle().getStartParameter().getTaskRequests().toString().contains('Google')) { apply plugin: 'com.google.gms.google-services' } else if (getGradle().getStartParameter().getTaskRequests().toString().contains('Huawei')) { apply plugin: 'com.huawei.agconnect' } 
    submitted by /u/farber72
    [link] [comments]

    VCPU Shutdown Request

    Posted: 29 Aug 2020 09:21 PM PDT

    Hello. I recently installed Android Studio and have been pulling my hair out trying to get emulation working. I have HAXM installed and both accel-check and Android Studio don't complain about that at all. However, I can only get the emulator to work by passing -no-accel. If I try just starting it without passing that, I don't get any errors with -verbose, but I do get a single VCPU shutdown request line (after the emulator window closes) and I can't figure out what the heck the problem is at this point.

    I tried using Windows Hypervisor instead of HAXM, but the emulator complained both Hypver-V and the Hypervisor were available, but wanted me to turn them on in Windows Features (they were already on, duh).

    The first 4 pages on my Google results are purple links at this point, I'm at my wits end.

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

    What is the minimum development rig?

    Posted: 29 Aug 2020 08:31 PM PDT

    I have an app idea. It has little if any commercial potential, but I would like to use it. I'm retired, so I have time and I used to program Java so there is that. Can I develop on a cheap Windows laptop and are there enough free tools?

    I'll gladly tell people the idea. I want a really flexible "chime" app. I've seen what's out there and they doesn't do what I want. I want to be able to set interval and start time and save chimes.

    Like I said, not the next Facebook.

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

    Question about API scrapping / Firebase

    Posted: 29 Aug 2020 07:55 PM PDT

    Hello everyone.

    I have been webscraping an API for a popular app in the play store similar to amazon flex that allows you to accept on-demand delivery orders. Recently they implemented a form of security to prevent people from making post requests (getting the best orders before anyone else has a chance to). In the header they added a json string with one element "metadata" : (Random 20-25 char long hex-type of key)-(Unix Timestamp)

    Without this piece of "metadata" or so they call it, the server rejects the request as a bad request. Since this scrapping is really important to me I'm willing to offer anyone that can assist me in decompiling the APK and determining what process they are using, and what algorithm and what exactly they are encrypting at run-time. Would be greatly appreciated if someone can point me int he right direction, and I can handsomely compensate someone who is able to find the solution if not through analyzing the APK then some other crafty hack and show me how they solve it. I already skimmed through the APK and the smali but I can not for the life of me find any reference to the encoding process upon acceptance of the delivery. If anybody has even a clue on how to solve this or think they can please let me know.

    All I need to know is what variables they are using to generate the random key, and why they send the timestamp to the server with the key. Thank you!

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

    Please help!! I need to update my app(appbundle), signing managed by play console, my old keys are not read by AS, How do i generate new key using this(image) so that it will be accepted by play console.

    Posted: 29 Aug 2020 11:16 PM PDT

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel