• Breaking News

    Thursday, April 22, 2021

    Android Dev - My first Android App - Need help!

    Android Dev - My first Android App - Need help!


    My first Android App - Need help!

    Posted: 22 Apr 2021 06:37 AM PDT

    Hey guys,

    I need some help in order to understand how to actually read the Android Documentation. There is so much information that makes me to basically get lost.

    All I want to do is to just open a file from sdcard (internal storage), and read it in a bytes buffer.

    In Android 11 there's this scoped storage which changes the rules of the game as far as I can understand. I am unable to read data only from the app's folder?!

    Any simple example on how to open a file in Android 11 would be much appreciated.

    Thank you and sorry for this total noob question but after a few days of searching I couldn't find any other solution.

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

    Room supports automatic migrations

    Posted: 21 Apr 2021 03:58 PM PDT

    View network traffic on a non-rooted phone. Through PC?

    Posted: 22 Apr 2021 05:18 AM PDT

    I want to view decrypted network traffic on a non-rooted phone, for 3rd party apps. Similarly to viewing network traffic in Chrome Dev tools. Is that possible?

    I've tried a bunch of apps, PCAPdroid, tPacketCapture, Debug Proxy, Packet Capture, but they only tell me the connection IPs, I can't read any GET/PUT/POST URLs or data.

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

    How to find out upcoming features like those leakers on Twitter?

    Posted: 22 Apr 2021 03:27 AM PDT

    I see a lot of leakers out there on Twitter bragging about the upcoming feature of Instagram, Twitter, WhatsApp, etc.

    I want to know how they do that?

    I know that there's something called reverse engineering and that's how they discover those feature. Please help me, how I can learn and do it.

    My Background: I am a first-year computer science student, and I completed my Python basics and I also know Java and CPP.

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

    Android 12 deprecate MediaStore Playlists (Is there any captain still controlling the ship?)

    Posted: 21 Apr 2021 12:04 PM PDT

    So beta 3 brings deprecation of MediaStore Playlists.

    https://developer.android.com/reference/android/provider/MediaStore.Audio.Playlists

    And I'm very impressed by their recommendation:

    This class was deprecated in API level S.
    Android playlists are now deprecated. We will keep the current functionality for compatibility resons, but we will no longer take feature request. We do not advise adding new usages of Android Playlists. M3U files can be used as an alternative.

    M3U? You mean a file that contains relative links to filenames? The thing that Google want us to stop doing at all cost?

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

    NavigationUI

    Posted: 22 Apr 2021 05:05 AM PDT

    University Project App Feedback Request

    Posted: 22 Apr 2021 08:00 AM PDT

    Good Morning/Afternoon/Evening/Night,

    I am an university student studying at the University of Liverpool. For my final year project, I have created an Android app which allows you to EQ your headphones or earphone to a range of target curves as well as try to make it sound like another headhone or earphone, if compatible.

    The app runs on Android 5.0 Lollipop or higher.

    The source code, should you wish to build it yourself, is available here:

    The built artifacts are available here:

    I would appreciate your feedback by way of the following Google Form:

    Thank you for taking the time to read through this post.

    Regards,

    WrickyB

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

    Does it require Paid Security Assessment for access daily step count from Fit SDK?

    Posted: 21 Apr 2021 07:44 PM PDT

    I have integrated google fit android SDK for record daily steps and read them from my fitness android app.

    Current dependency -:'com.google.android.gms:play-services-fitness:20.0.0'

    I used recording client for subscribing the Data Type TYPE_STEP_COUNT_DELTA and TYPE_DISTANCE_DELTA and read that data from Fitness options.

    val fitnessOptions = FitnessOptions.builder()

    .addDataType(DataType.TYPE_STEP_COUNT_DELTA, FitnessOptions.ACCESS_READ)
    .addDataType(DataType.TYPE_DISTANCE_DELTA, FitnessOptions.ACCESS_READ)
    .build()

    App has work with fit SDK in last few years without any issue, but last month I have received an email to Updates to Google Fit's Developer Policy and it said On April 27, 2021, Google Fit Developer and User Data policy will become enforceable and all app changes must be rolled out.

    After going through that I identified that I used FitnessOptions.ACCESS_READ permision which has included to restricted category, and Google say we need a security assessment to access restricted permission and it will be charged $15000-$75000 from the developer.

    1. What do I have to do for verification?
    2. Is it necessary a security verification when read daily step count from fit SDK?
    3. Do I need to pay $15000-$75000 for use FitnessOptions.ACCESS_READ permission ?
    submitted by /u/Grouchy-Fig-8111
    [link] [comments]

    Anybody pass the Google Android Associate Developer Certification?

    Posted: 22 Apr 2021 06:17 AM PDT

    Does anyone know exactly what is on the examination so I can prepare for it?

    I know people are going to say 'just make apps' but I did that in the past and did not get anything. Now that the main programming language is Kotlin I want to get the cert and then make some apps on top of it to prove my cert is valid.

    Thank you for reading!

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

    Why are Intune apps published as a different package name?

    Posted: 22 Apr 2021 04:17 AM PDT

    I can see two app on google play store for Zoom app. Below link-1 shows app is specific for intune & link-2 is for other users.

    1. https://play.google.com/store/apps/details?id=us.zoom.videomeetings4intune
    2. https://play.google.com/store/apps/details?id=us.zoom.videomeetings

    Why we need to create two different app here. On app 2 i.e packagename: us.zoom.videomeetings] we can include Intune SDK and have it right? Is it recommended by Ms-intune integrated app need to published as separate app?

    Similar thing I can see for some more app:

    • Tableau
    • SL2™, etc
    submitted by /u/Ornery-Bowler-1006
    [link] [comments]

    Does it make sense to fight against the MOD sites with DMCA request emails?

    Posted: 22 Apr 2021 12:01 AM PDT

    There are a lot of sites where I can download my game with bypassed IAP or unlimited money mod.

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

    Google Play Console shows crashes of forked apps

    Posted: 21 Apr 2021 02:13 PM PDT

    When I open the "Crashes and ANRs" in Google Play Console and disable the "Installed from: Google Play" filter, I see crashes from classes/packages that never existed in my app.

    These look like from other developers who forked the app (as it's open source) and are using (toying with) it under the same application id (but different signing key).

    This doesn't really seems safe - it leeks info. 😕 The other apps probably only share package id and version code/name which is enough for Google to deliver crashed to me.

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

    Question about placing fragments in nav-graph when using navigation component?

    Posted: 21 Apr 2021 10:40 PM PDT

    Assume there are 3 tabs in bottomnavview, named as Home, Popular and User. There are 3 nav-graphs as I use NavigationExtensions from advanced navigation sample.

    And there are another four fragments as List1, Detail1, List2, Detail2.

    The problem is I need to navigate to List1 from both home and popular tabs, and Detail1 from home, popular, List1 and Detail2 also. The same goes to List2 and Detail2 fragments.

    What I have tried.

    Because of different nav-graphs I placed the four fragments in both home and popular nav-graph, That didn't worked well. And also I tried to create nav-graph for each of the four fragment and nesting the graph in every other graph. Later I stopped doing that because that would be a tedious task to manage every nav-graph if I create more fragments in future..

    Any solutions or workarounds for this problem?

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

    App's language translation for growth

    Posted: 21 Apr 2021 10:19 PM PDT

    Hi all fellow developers,

    I've have been doing self learning and app development. One of my app is almost 2 years old with 20k downloads. For increasing the reach of the app, I've added translation for 1. French 2. Spanish 3. Russian 4. Portuguese

    I am eager to know about you all about the translation of the app. What other languages support can increase the visibility? What the tool for bundle translation of the strings.xml ?

    Thanks

    submitted by /u/No-Pin-6031
    [link] [comments]

    Android 12 Developer Preview 3

    Posted: 21 Apr 2021 10:18 AM PDT

    How to setup NDK in IntelliJ ultimate on Mac m1?

    Posted: 21 Apr 2021 01:32 PM PDT

    I own a mac m1, hence regular android Studio is extremely laggy. I, also, tried this unofficial Studio https://github.com/dsa28s/android-studio-apple-m1/releases, which works great; but I could not find Android NDK in SDK tools. I even changed the update channel in Settings as it specified here: https://developer.android.com/studio/projects/install-ndk. However, I am not able to install NDK. Is there anyway to install NDK on mac m1 ?

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

    I finally finished my app, but ever since I deleted it off my phone I get this error trying to run it from android studio....

    Posted: 21 Apr 2021 07:27 PM PDT

    The code works on the emulator and it worked on my phone, but I deleted it off my phone because there was a bug and rerunning it didn;t fix it and ever since i've been trying to run it again. It wont work :(

    I copied the folder, restarted android studio, restarted my phone, cleared my phones cache. But I cant seem to find a solution, any help would be appreciated.

    The error is below

    Error while executing: am start -n "com.example.walkthrough/com.example.walkthrough.Splash_screen" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

    Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.walkthrough/.Splash_screen }

    Error type 3

    Error: Activity class {com.example.walkthrough/com.example.walkthrough.Splash_screen} does not exist.

    Error while Launching activity

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

    Unable to upload APK to Android app (You need to use a different package name because 'com.appname.android' already exists in Google Play.)

    Posted: 22 Apr 2021 03:00 AM PDT

    Hello everyone,

    I'm trying to create a closed testing release for my android app but I am unable to upload APKs. Everytime I try that I get this message: You need to use a different package name because 'com.appname.android' already exists in Google Play. Can anyone please advise me on how to resolve that? Thanks!

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

    Does the developer need to detect and prevent click fraud on their ads or is this handled more by google?

    Posted: 21 Apr 2021 09:19 AM PDT

    The app that I am close to releasing has a few admob ads and I am paranoid about my ad account being banned due to random users spam clicking them. Is this a valid concern and is there something I need to do to not allow this?

    I tried doing some research about this but I mostly found stuff like "What Google does to prevent click fraud" or websites that are companies saying they will help you prevent click fraud on ads that you are paying to advertise. So is this something the developer doesn't really need to handle? I am kind of paranoid about it because I have read stories about someone's ad account being suspended or banned because of this.

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

    [Open source] Simple Calculator

    Posted: 21 Apr 2021 01:36 PM PDT

    I made this in 2 days so community could make commits to it. I worked on this a long time ago but forgot to make it open source so here it is now,

    Link to github - https://github.com/DivijManik/Simple-Calculator/tree/main

    The UI is really basic you can check some screenshots of how it looks on the PlayStore link below.

    PlayStore - https://play.google.com/store/apps/details?id=com.osimple.calculator

    Everything code related is done in MainActivity itself.

    It can only do Arithmetic operations as of now.

    Thank you!

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

    No comments:

    Post a Comment