• Breaking News

    Sunday, May 9, 2021

    Android Dev - GitHub - google/modernstorage: ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions

    Android Dev - GitHub - google/modernstorage: ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions


    GitHub - google/modernstorage: ModernStorage is a group of libraries that provide an abstraction layer over storage on Android to simplify its interactions

    Posted: 09 May 2021 01:56 AM PDT

    Struggling with working on file storage in android. Why android had to make it unpleasant. Please advice your expertise.

    Posted: 09 May 2021 04:16 AM PDT

    File storage is one of the most unpleasant thing to work with for a android dev imo. Every second android version have different approaches for it. From creating to reading a file, nothing is straightforward and gets as complex the bigger the difference is between Target SDK version and minimum SDK version.

    Can anyone suggest me a library, or an approach which would work across all the versions. How do you guys handle it?

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

    Newbie programmer needs help :D

    Posted: 09 May 2021 06:29 AM PDT

    Hello Redditors

    So i have this school project assignment, where i had to choose a topic and then try to implement it.

    Ive choosen Google cast. In my android app i have implemented google cast so i can discover my chromecast at home. right now i've hitted a wall and cant get around. ive tried to read the documentation and sample projects to figure out how i can cast audio to the chromecast.

    in my project ive implementet spotify playback that actually plays a song when i open the app on my phone, but no sound on the chromecast.

    I hope you can help me. keep in mind my project is prob, really messy.

    link to github

    https://github.com/Andreasb95/Homemediaappforschool

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

    How to keep ADB running even if I kill Android studio?

    Posted: 09 May 2021 07:59 AM PDT

    I am using wireless debugging for running my apps in phone. But once I close my android studio, I again have to configure wireless debugging through ADB. I don't like this re-configuration process. Any way to simplify this step?

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

    How to create draggable and resizeable geofence?

    Posted: 09 May 2021 06:24 AM PDT

    I want to let users create geofences by long oressing the map which puts a geofence in that place. The geofence radius can be changed on the map and it is also draggable. I've seen some apps do it but I cannot find it in the documentation.

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

    CLI to trigger Project Marble: Apply Changes

    Posted: 09 May 2021 03:26 AM PDT

    I can easily trigger this by pressing the icon in Android Studio for "Apply Changes and Restart Activity".

    Is there a CLI for this? thanks

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

    Hello everyone is there any legit way to boost up app reviews on android store?

    Posted: 09 May 2021 08:28 AM PDT

    Learn Android Application Development - Free Course from udemy

    Posted: 09 May 2021 08:23 AM PDT

    What ads should I be using?

    Posted: 09 May 2021 07:53 AM PDT

    Hello,

    I have an AdMob Interstitial ad in my application that has many different eCPM each day. I have set my ad to show Text, Graphic and Video, but I noticed that when a video ad is played, they are usually 4/5 seconds long and can be skippable.

    From my understanding, this means I am getting less revenue from my ads right? I see so many applications with 50 seconds long videos, and I am curious about them.

    Seeing the Rewarded ads documentation I noticed that they give an example of a 50+ secs long video.

    So I tried to implement a Rewarded Ad on my debug build, and they show videos of exactly the same time as Interstitial ads (4 to 5 seconds skippable ads).

    My questions are - Why my ads are so short? Am I losing potential revenue from these short ads? Should I keep using Interstital, or should I change to Rewarded ads?

    Thanks in advance for any answer!

    PS: I am crossposting this from here since I could not get an answer there.

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

    How to avoid AdMob code 3?

    Posted: 09 May 2021 07:52 AM PDT

    Hello,

    I have been developing a small Android app with some ads by AdMob. But for quite some time I am facing an issue that is affecting my app popularity as the target public grows up.

    The app lets you play a game if you see an ad. And ads work as expected and are shown normally. The problem is, when I update the app, the ads stop working for some hours. The code of the error is "code 3" which means that everything is ok with the code, but the ad could not be displayed because there was no ad. And from my investigation, this seems to occur when you add a new ad and it is not yet processed by Google. It seems it takes some time to load the ad on the server-side.

    The problem is, that this occurs every time I update my app. I am using the same ad id and the ad should be loaded already. How can I avoid this? This is already impacting the few reviews I have in my app.

    Thanks in advance for any answer.

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

    Android 11 microSD data folder is blank

    Posted: 09 May 2021 07:39 AM PDT

    With android 11 came scoped Storage which slowed down apps that write to the microSD data folder by a ton, before apps could access the data folder on the fly, but now it takes 30 seconds obo. However apps like file managers can't access the microSD data folder at all.

    Without rooting (not possible on many devices), is it possible to bypass Google's shitty solution for "security", so that users can access the data folder in apps faster and access the data folder through file managers?

    Currently the only solution I know of to somewhat speed up apps is to use adb and turn on legacy storage, however this doesn't work for getting access to the data folder in a file manager :/.

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

    Image Processing: Convert YUV_420_888 to PNG

    Posted: 09 May 2021 07:36 AM PDT

    Kotlin safe casting

    Posted: 09 May 2021 04:37 AM PDT

    My first app on google play (internal testing & financial reports)

    Posted: 09 May 2021 04:36 AM PDT

    Hello good day everyone, I followed a tutorial on youtube how to integrate in app purchase on my app and it went good but the payment on the youtube video is a test payment and not on my app. I purchased a product on my app but it deducted my balance.

    And the other problem is the payment transaction that I did on my app is not recorded on financial reports of my developer account.

    Can someone explain what is happening here?

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

    Including ads -- now or later?

    Posted: 09 May 2021 01:25 AM PDT

    I'm trying to make up my mind whether to include ads in my first Android app in the first release, or in an update. Here are the pros and cons I've thought about, for doing it in a LATER release.

    Pros 1. Can establish user base and trust before monetizing 2. I'm told the revenue is very low in the initial phase, so not adding ads now will mean I can get the app out the door sooner without losing much potential revenue

    Cons 1. Might lose user's trust when I include ads in an update and may lead to uninstall 2. Users may refuse to update app if they start seeing a rating decline due to users who are upset about this 3. I'll have to think of some useful features along with ads inclusion, if I want to encourage users to update. Which means I've to spend more time on that release.

    Either way I only plan to have a simple banner ad somewhere less intrusive. I'm not bent on seeing revenue right away, but I'm concerned that I may never, if I delay the process and I get busy with my main job.

    I'd appreciate your suggestions, esp from those who have more experience doing this.

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

    Has anyone else gotten the error that there's a hold on their payment account because of Brazil?

    Posted: 08 May 2021 10:07 AM PDT

    I got in contact with Google and they said I have to verify my identity for Brazilian law even though I'm not from Brazil, or else I can't receive any of my earnings.

    Brazilian law requires payments providers that sell to users in Brazil to verify the identity of their customers and withhold payments to customers until they have completed the verification process. To comply, you are required to complete all of the following steps to verify your account. Failure to provide the requested information will result in your sales being suspended.

    They are asking for identity documents and for proof of location. Google didn't ask for any of this before. I know this is probably being paranoid, but is this something everyone here has done or is there something fishy? Just to be on the safe side that's all.

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

    Resources to learn MVVM development

    Posted: 08 May 2021 08:13 AM PDT

    Hello! I'm new to Android Studio and JAVA, and I'm looking for resources to learn how to develop efficient applications using the MVVM design pattern. I do have C# knowledge, and I think I can understand JAVA pretty well. The only issue I'm having is understanding the design pattern.

    I did find this article, which filled some gaps: https://developer.android.com/jetpack/guide.
    However, I don't feel I understand it enough still.

    How did you guys start learning? Are there any good paid/free courses?

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

    Adb open file picker

    Posted: 08 May 2021 01:06 PM PDT

    Can I Run adb shell to open file picker and get the result, for example path of file chosen?

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

    AMD or intel (lenovo legion 5)

    Posted: 08 May 2021 04:25 PM PDT

    Hi guys,

    i dont know what to choose between :

    - LENOVO Legion 5 - 15,6'' - Ryzen 5 5600H - RAM 16Go - 512Go SSD - RTX 3060 6Go - Screen 165Hz (new lenovo in the market)

    OR

    - LENOVO Legion 5 - 15,6'' - i7-10750H - RAM 16Go - 512Go SSD - RTX 2060 6Go - Screen 144Hz

    Its the same price for both, so what are you thinking ?

    The best for android studio ?

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

    Seeking bite-sized app ideas

    Posted: 08 May 2021 09:16 AM PDT

    Hi all. I'm attempting to make an app every day for 30 days. Three days in and it turns out coming up with fun app ideas is the hardest part of the challenge. If anyone has any cool, small-ish projects they've done, fun ideas, or cool APIs to recommend, I'd love to hear them. Thanks!

    For reference, I've already done: (album of everything)

    And what I currently have planned:

    • Recreating neat dribbble/behance animations
    • App idea generator
    • Meta app showcasing my month's worth of apps
    • UIGradients app
    submitted by /u/berlinreps
    [link] [comments]

    No comments:

    Post a Comment