• Breaking News

    Thursday, August 19, 2021

    Android Dev - I liked the "Clock of Clocks" idea so much that I decided to create it with Jetpack Compose!

    Android Dev - I liked the "Clock of Clocks" idea so much that I decided to create it with Jetpack Compose!


    I liked the "Clock of Clocks" idea so much that I decided to create it with Jetpack Compose!

    Posted: 19 Aug 2021 04:04 AM PDT

    Is gradient extinct or not? Especially applying it to app main icon. Can we age on that? Is there a good resource?

    Posted: 19 Aug 2021 12:34 AM PDT

    Man I have got into arguments with my colleagues, please help.

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

    Up to date summary of official android development resources for different Android Topics

    Posted: 19 Aug 2021 06:45 AM PDT

    Android has lots of official development resources distributed across different channels:

    Learning something new or keeping up to date with certain topics is not trivial. Too much information and sometimes difficult to find.

    In this list, you will find one post for each Android topic. A topic could be an android official library, like Work Manager or a feature with no libraries related, like Storage Access. In each post, you will find a summary with all the links to the related official resources published by Google in the different channels.

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

    Connecting Wi-Fi programmatically in android 10 and above.

    Posted: 19 Aug 2021 02:09 AM PDT

    In previous android versions WifiManager.addNetwork() worked just fine but since android 10 this method has been deprecated.
    Now, am trying to use WifiNetworkSuggestion but has no luck successfully connecting to a Wi-Fi network and connecting this was is a bid slow.(I followed code sample given here).)
    Is there anything like WifiManager.addNetwork() which instantly configures a Wi-Fi network?

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

    Does anyone here actually bother to register for VAT so that they can claim some back, or is it too much hassle?

    Posted: 19 Aug 2021 07:59 AM PDT

    It seems pretty confusing from everything I've read so far on both Apple and Google app stores, and I'm wondering if it's worth the hassle to register for VAT, filing regular returns.

    Any help would be much appreciated!

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

    Android Studio - Arctic Fox | 2020.3.1 Patch 1 now available

    Posted: 18 Aug 2021 10:58 AM PDT

    android.permission.READ_CONTACTS, but the permission is in the manifest

    Posted: 19 Aug 2021 07:34 AM PDT

    Hello everyone,

    I apologise in advance if this is a stupid question, but I'm quite a beginner and I don't understand what I'm doing wrong.

    I am trying to get a phone number out of the contacts list, but when I click on the contact name the app crashes because I need to request READ_CONTACTS, but I already added the permission in the manifest.

    this is the Logcat stack trace:

    2021-08-19 15:28:03.166 12359-12359/com.example.criminalintent E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.criminalintent, PID: 12359 java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/data/phones from pid=12359, uid=10146 requires android.permission.READ_CONTACTS, or grantUriPermission() at android.os.Parcel.createException(Parcel.java:2071) at android.os.Parcel.readException(Parcel.java:2039) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:188) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140) at android.content.ContentProviderProxy.query(ContentProviderNative.java:423) at android.content.ContentResolver.query(ContentResolver.java:944) at android.content.ContentResolver.query(ContentResolver.java:880) at android.content.ContentResolver.query(ContentResolver.java:836) at com.example.criminalintent.CrimeFragment.onCreate$lambda-3(CrimeFragment.kt:95) at com.example.criminalintent.CrimeFragment.$r8$lambda$j8xGJYuGUq1dPP3vFROWt8DpSsY(Unknown Source:0) at com.example.criminalintent.CrimeFragment$$ExternalSyntheticLambda4.onActivityResult(Unknown Source:4) at androidx.activity.result.ActivityResultRegistry$1.onStateChanged(ActivityResultRegistry.java:145) at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:354) at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.java:265) at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:307) at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:148) at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.java:134) at androidx.fragment.app.Fragment.performStart(Fragment.java:3013) at androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:586) at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:300) at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112) at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1636) at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3112) at androidx.fragment.app.FragmentManager.dispatchStart(FragmentManager.java:3063) at androidx.fragment.app.FragmentController.dispatchStart(FragmentController.java:262) at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:482) at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:246) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1425) at android.app.Activity.performStart(Activity.java:7825) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3294) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7356) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 

    and this is the manifest file

    <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.example.criminalintent"> <uses-permission android:name="android.permission.READ_CONTACTS" /> <uses-permission android:name="android.permission.WRITE_CONTACTS" /> <application android:name=".CriminalIntentApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.CriminalIntent"> <activity android:name=".MainActivity" android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> 

    Can some kind soul help me understanding what I'm doing wrong? Thank you so much, I've also tried to give write permission, because I didn't know what else to do, but it's not helping

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

    On Authentication and Syncing

    Posted: 18 Aug 2021 09:32 PM PDT

    How do you guys do these? Do you use Android's AccountAuthenticator or do you roll out your own so long it follows OAth2.0's flow?

    And as for syncing, do you do network calls when a user triggers an action that requires it or do you use the Sync Adapter?

    In my googling of these stuff, I can never find a blog/tutorial that is updated and those that I have no further questions with. I've tried udinic's tutorial and digigene's to no avail.

    (Or are there something else I am not aware of?)

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

    How do I separate lock password and encryption password?

    Posted: 19 Aug 2021 07:15 AM PDT

    Android 11

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

    Nowhere else to find help! Google Play Console Identity verification (Brazilian law)

    Posted: 19 Aug 2021 03:22 AM PDT

    Google held my payments because of Brazilian Law verification. I submitted my passport and my address (bank proof).

    The address got rejected because " Document is not a supported form of identification (no transaction is visible)". I resubmitted an online generated credit card statement and they replied with: " There is no issuing authority on the document", because the online statement didn't have the bank sign. i went to the bank and got a statement with sign, I scanned it and submitted and I got this response: unfortunately it was decided that it has failed the verification process due to Developer Program Policies and Google Terms of Service violation. As a result it will remain suspended.

    I have since uploaded 5x different documents including a government signed personal certificate and im still getting same email.

    I contacted live chat over 10 times they say a specialist will look your case and will let you know - boom same email.

    In the chat they say that my account is just suspended, not terminated and all I need to do is verify it and it will be reinstated. She even told me to submit european identity verification, did that too but to no success.

    Any help from here? 🙁

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

    Question about tool for apps

    Posted: 19 Aug 2021 07:00 AM PDT

    I am aware of apps trying to impersonate the look and feel of my app. When I find such an app manually, I report it to Google for take down, but is there an automated tool or service that continuously monitors apps in the app store and finds apps that are trying to impersonate my app?

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

    Android in-app purchases: how to process purchases with the Google Play Billing Library

    Posted: 19 Aug 2021 06:48 AM PDT

    freeRASP 1.0 is out! Want to be the first one to try out new free App Shielding library?

    Posted: 19 Aug 2021 06:42 AM PDT

    freeRASP 1.0 is out! Want to be the first one to try out new free App Shielding library?

    freeRASP provides multiplatform (Android, iOS, Flutter) mobile all-in-one protection for mobile applications free of charge.

    The protection features:

    ✔️ Tamper protection

    ✔️ Repackaging/Cloning protection

    ✔️ Runtime analysis protection

    ✔️ Threat alerts & monthly security reports

    Check my write-up about #freeRASP![https://medium.com/geekculture/freerasp-in-app-protection-sdk-and-app-security-monitoring-service-de12d8e49400](https://medium.com/geekculture/freerasp-in-app-protection-sdk-and-app-security-monitoring-service-de12d8e49400)

    Would you prefer to get hands dirty? Here you go: https://github.com/talsec/Free-RASP-Community

    https://preview.redd.it/mmm8rdunjbi71.png?width=1920&format=png&auto=webp&s=31bdfbfdc5e26a6095a0d18fde310e5c02042f34

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

    Camera > MHL > phone

    Posted: 18 Aug 2021 11:39 PM PDT

    Hello Redditors!

    I would like to write my own app to be able to use my MHL adapter to read and display my Camera's HDMI output on my smartphone/tablet..

    To start this venture.. I was looking for documentation on this.. but cannot find anything..

    Could someone point me in the right direction?

    Thanks!

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

    Buttons shown in preview are incorrect

    Posted: 19 Aug 2021 05:04 AM PDT

    Buttons shown in preview are incorrect

    I have no idea why, but last night I finished creating 3 buttons for the MainActivity of my app, and they were exactly as I wanted them to be. However, when I started android studio to continue what I was doing, The theme was now dark (it wasn't before) and the buttons I had created weren't being rendered properly.

    At first, I thought that perhaps it was the way I designed them, so I created a basic button to see how it would look like. The basic button had the same issue!

    Android studio renders the buttons as just text. Another thing I tried to do is create the button both inside and outside the LinearLayout (The 3 buttons are inside LinearLayout and that is inside a ConstraintLayout)

    Basic Button and TextView inside the LinearLayout

    Basic Button and TextView outside the LinearLayout

    Can anyone point me to what the fuck happened or is happening? The current parent theme in themes.xml is Theme.MaterialComponents.DayNight.NoActionBar

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

    Lost pin locked phone - Is there any way my data could be misused ?

    Posted: 19 Aug 2021 04:40 AM PDT

    My phone has been stolen. It was a 2018 model Oppo/ Realme 1 device with face unlock/ 6 digit pin unlock. I am wondering if my data may be accessed without pin. Or would the culprit be able to access the contents without password ? How strong are the Android security updates now a days ? My android security update was till February, 2021. Even if it rooted for further sale of item, will my data still be there ?

    Lastly, can the IMEI be changed by them, so that it may not be traced if it is resold ?

    Thanks in advance. Appreciate any help/ suggestions

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

    How do you fix this?

    Posted: 19 Aug 2021 03:55 AM PDT

    Unable to get TV opt-in approved by play store

    Posted: 18 Aug 2021 06:53 PM PDT

    Hi all,

    I'm losing my mind trying to get a TV app approved for TV opt-in on the play store. It's rejected for two reasons:

    1: No full-size app banner

    • Your app does not contain a full-size app banner or is it not visible in the launcher. We are targeting 1080P, which we consider xhdpi. Apps should include the banner in the xhdpi (320 dpi) drawables folder with a size of (320px × 180px). Please refer to our Home Screen Banner and UI Patterns documentation.
    • The title should help users identify apps in the launcher. Please refer to our Visual Design and User Interaction documentation for more information.
      • For example, your banner does not fill the entire banner space. You can refer to the attached screenshot for additional information

    I've complied fully with the requirements, and created a SO post this one here https://stackoverflow.com/questions/68840957/android-tv-app-google-complaining-banner-does-not-fill-the-entire-space - I'm at a complete loss how to go further with this

    2: Text cuts off edges of screen

    • Your app contains text that is cut off on the edges of the TV screen. Please refer to our Overscan documentation for more information. See attached screenshot for details.

    On Google's initial reply of my appeal they provided a screenshot of the offending text, which I have now fixed and resubmitted, but they still complain about the problem. Although I've asked for more screenshots of the offending text they seem unwilling to provide me any more. I've gone through the app and can't see any further issues - and again I'm unsure what to do now.

    Can anyone help me, please! I'm willing to pay someone for their time in helping me get this released - let me know.

    submitted by /u/no-one_ever
    [link] [comments]

    In-game events on Google Play Store product page

    Posted: 19 Aug 2021 03:31 AM PDT

    In-game events on Google Play Store product page

    Hello. Could someone tell me how are in-game events promoted on the GP product page? I can't find a way to add event photo and description from the GP Console (as is possible for in-apps, for example), and I saw that some games have their events promoted on their product page.

    I'll insert a couple of screenshots from Tennis Clash to illustrate what I mean.

    Thank you!

    https://preview.redd.it/g21tqpr5lai71.jpg?width=1080&format=pjpg&auto=webp&s=f28be605ff7516f88f6ffe8373dcf70bacc7dc91

    https://preview.redd.it/gmtzipk2lai71.jpg?width=1080&format=pjpg&auto=webp&s=044ed1b20f8611e0d5b48b692fc2173e3e4df06b

    submitted by /u/Dig-Marketing-91
    [link] [comments]

    Storage provider for social platform

    Posted: 19 Aug 2021 03:30 AM PDT

    Hey! I'm building a social media platform where there is user profile images, post & chat images. Our start product was on firebase and used Firebase storage and auth. We've migrated to a Django backend. I've the options to use Firebase storage or S3, but both of them need either Firebase auth or AWS cognito users.

    With the requirement of the images can have a public/private toggle option from the app.

    I'd like to know what's the best practice of uploading files.

    Do I make a separate API route which takes a file via retrofit and the backend uploads to S3

    Or include AWS storage/Firebase storage SDK and upload the file first and then retrieve URL and send to backend.

    Thanks!

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

    I'm in a big mess.

    Posted: 19 Aug 2021 03:28 AM PDT

    I have developed an Android app and upload it to the Google Play console under alpha release track 3 days ago ( Added admob and placed 2 ad units, this is my first time using AdMob). I did a stupid thing by running firebase test lab robo test on a production APK with live ads by mistake. And surely the bot has clicked on on clickable elements in one of two ad units. It has been 3 days but Google still haven't published my app to the store and I just received a message this morning saying that my AdSense account is disabled saying that,

    " 1. helps users to mislead others. 2. promotes any form of hacking or cracking and/or provides users with instructions or equipment that tampers with or provides unauthorised access to software, servers or websites. "

    I really have no idea what happened. I suspect the robo test triggered this ban. I didn't receive any warnings whatsoever. I am in a deep mess now.

    In summary, 1. App has not been pushed to the alpha track. 2. AdSense account disabled.

    Does the disabling of the AdSense account affect the rolling out of my app?

    Sent out an appeal but now I'm super nervous. I've heard they take ages to reply back.

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

    Accessing Google console from a school acoount

    Posted: 19 Aug 2021 03:26 AM PDT

    I have created a developer account using my college account that I can access using Gmail (@students.domain.edu). Going through various settings and more pertinently my inability to change certain ones I am worried. Assuming my school decides to close my account or access its inner information. Could I lose my access to the console and my apps?

    There is an online solution of creating another account and transferring stuff, but is there a way to prevent resorting to that.

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

    Learning Jetpack Compose

    Posted: 18 Aug 2021 08:18 AM PDT

    I'm finally jumping into Jetpack Compose and going through the codelabs/documentation. So far I like it. Is there any limitations or anything in particular that is just harder to do in Compose? I'm planning on migrating a personal app I've been working on that uses Single activity with fragments. I use most Jetpack components except Compose really. Any feed back would be great, thanks.

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

    No comments:

    Post a Comment