• Breaking News

    Tuesday, December 10, 2019

    Android Dev - FX File Explorer removed from the Play Store for “deceptively” advertising…a free theme [UPD]

    Android Dev - FX File Explorer removed from the Play Store for “deceptively” advertising…a free theme [UPD]


    FX File Explorer removed from the Play Store for “deceptively” advertising…a free theme [UPD]

    Posted: 10 Dec 2019 01:25 AM PST

    tliebeck

    Back on the Play Store.

    No changes to the app, same APK.

    When I managed to get hold of a real person, they corrected it immediately.

    Thanks again everyone!!!

    In another news:

    "Android enables multiple app stores and choices for developers to distribute apps. Google Play has a business model and billing policy that allows us to invest in our platform and tools to help developers build successful businesses while keeping users safe. We welcome any developer that recognized the value of Google Play and expect them to participate under the same terms as other developers."

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

    Securing Jetpack Compose

    Posted: 10 Dec 2019 07:06 AM PST

    minSdkVersion on Twitter: "23"

    Posted: 09 Dec 2019 01:07 PM PST

    Google Play Indexing is fixed, maybe...

    Posted: 10 Dec 2019 06:11 AM PST

    Hey,

    good news, google play indexing is fixed right now.

    However, if you released an game/app in last two months and spent some money on ads, your app it's already doomed anyway. (first month is crucial for ASO).

    I hope we never see a bug like this in future!

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

    Has it ever occurred to you that Android Studio refuses to convert a Java file to Kotlin?

    Posted: 10 Dec 2019 03:45 AM PST

    I got it today, and no matter what I do to the file, the IDE doesn't do anything when I choose to convert it.

    I wrote a bug report about this here.

    Has anyone seen this ? Is there any workaround (other than manually re-writing it all) ?

    submitted by /u/AD-LB
    [link] [comments]

    Kaspresso: The autotest framework that you have been looking forward to. Part I

    Posted: 09 Dec 2019 07:24 PM PST

    Where Do Mojibakes Come From? A Smart Guide to Encodings

    Posted: 10 Dec 2019 02:44 AM PST

    AdMob account terminated with $$$$$ still to be paid!?

    Posted: 10 Dec 2019 07:43 AM PST

    Hey all,

    I've never had to write a post like this one before because I've always join to live Admob meetings, followed the guidelines and policy strictly and never had an issue last 4 years.

    Today with no warning or explanation email my Admob/Adsense account was suspended. The months prior I had been paid as normal and there was no issues so this has really just come out of nowhere. Upon trying to access my Adsense account it says i've been suspended for invalid ad traffic. I can provide clear evidence that no unreasonable amount of invalid traffic has been recorded. There is no unusual spikes in traffic, only normal growing values for past months.

    I rely on my app for a living and was awaiting this months pay a sum. Today I filled appeal and try to get account back keeping my fingers crossed, cos a read a lot of guys that never get response.

    To further clarify, my Google Play account is in good standing with no removals or suspensions and I had no policy warnings in Admob (I check my Admob on weekly basis and do not saw any value to bring up my attention for coming trouble), I have more than 50k DAU from 760k active install based on Play Store console can probably work out how much I stand to lose. As a long time Admob user (4+ years) this sudden suspension and seeming rejection of payment seems incredibly unjustified and harsh.

    Has anyone else been through a similar issue? how did it turn out?

    Thanks,

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

    Yet another OAuth 2.0 article for Android developers

    Posted: 10 Dec 2019 06:55 AM PST

    A colleague of mine created an awesome library for simplifying the OAuth 2.0 implementation. He also wrote an article about it! We're already using it in a few apps, let him know here what you think :)

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

    The importance of USB SuperSpeed for Android Development | Fabien Sanglard

    Posted: 10 Dec 2019 02:08 AM PST

    Background TCP server service always fhrows null exception

    Posted: 10 Dec 2019 07:46 AM PST

    Hi all!

    I'm little newbie in android development, and I'm working on an application which is communicating with another device via TCP. I'm implemented a background service which is running a TCP server and send message to the client if got one from the client. But it's always throw null exception message. Where is the problem?

    The code:

    package myapp; import android.app.Service; import android.content.Context; import android.content.Intent; import android.os.IBinder; import android.widget.Toast; import android.os.Handler; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; public class TCPServerService extends Service { public Context context = null; public Handler handler = null; public static Runnable runnable = null; ServerSocket serverSocket = null; @Override public IBinder onBind(Intent intent) { return null; } @Override public void onCreate() { try { serverSocket = new ServerSocket(6000); } catch (Exception e) { System.out.println(e.getMessage()); } Toast.makeText(this, "Service created!", Toast.LENGTH_LONG).show(); System.out.println("Service created!"); context = getApplicationContext(); handler = new Handler(); runnable = new Runnable() { public void run() { System.out.println("Service running!"); while(true) { try ( Socket socket = serverSocket.accept(); InputStream inputStream = socket.getInputStream(); BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream)); OutputStream outputStream = socket.getOutputStream(); PrintWriter printWriter = new PrintWriter(outputStream, true) ) { if(bufferedReader.readLine().length() > 0) { printWriter.println("I got it"); } } catch (Exception e) { System.out.println(e.getMessage()); } } } }; handler.postDelayed(runnable, 15000); } @Override public void onDestroy() { Toast.makeText(this, "Service stopped", Toast.LENGTH_LONG).show(); } @Override public void onStart(Intent intent, int startid) { Toast.makeText(this, "Service started by user.", Toast.LENGTH_LONG).show(); } } 
    submitted by /u/glenn_anon_anderson
    [link] [comments]

    Video freezes while playing.

    Posted: 10 Dec 2019 03:54 AM PST

    I am playing video of 1:19 secs. However, it freezes in between for atleast 4 secs. How to rectify this issue?

     protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); final VideoView view = (VideoView) findViewById(R.id.VideoView); view.setOnCompletionListener(new MediaPlayer.OnCompletionListener() { public void onCompletion(MediaPlayer mp) { view.start(); //need to make transition seamless. } }); view.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { @Override public void onPrepared(MediaPlayer mp) { mp.setLooping(true); } }); String path = "android.resource://" + getPackageName() + "/" + R.raw.dash_white; view.setVideoURI(Uri.parse(path)); view.start(); } 
    submitted by /u/Xena_psk
    [link] [comments]

    Is there a good equivalent to iOS' FLEX in-app debugger?

    Posted: 10 Dec 2019 07:11 AM PST

    I've been using Flipboard's brilliant FLEX as a powerful in-app, on-device debugger for iOS apps. It's really useful to be able to poke an app quickly without necessarily having a computer handy.

    Is there a similar in-app debugger for Android apps? Preferably I'd like to be able to inspect objects used by an app and change their properties.

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

    Google Play is FINALLY indexing apps again

    Posted: 10 Dec 2019 06:40 AM PST

    Icons in Android SDK

    Posted: 10 Dec 2019 06:24 AM PST

    Hello

    I have project that contains menu in Toolbar. I need to add any icon in first selection:

    <menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">
    <item
    android:id="@+id/action_settings"
    android:orderInCategory="100"
    android:title="@string/action_settings"
    app:showAsAction="ifRoom" />
    <item
    android:id="@+id/action_search"
    android:orderInCategory="200"
    android:title="Search"
    android:icon="@drawable/ic_search"
    app:showAsAction="ifRoom"
    />

    </menu>

    Second selection contains icon:

    android:icon="@drawable/ic_search"

    Icon defined in drawable/ic_search.xml file:

    <vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="32dp"
    android:height="32dp"
    android:viewportWidth="24.0"
    android:viewportHeight="24.0">
    <path
    android:fillColor="#FFFFFFFF"
    android:pathData="M15.5,14h-0.79l-0.28,-0.27C15.41,12.59 16,11.11 16,9.5 16,5.91 13.09,3 9.5,3S3,5.91 3,9.5 5.91,16 9.5,16c1.61,0 3.09,-0.59 4.23,-1.57l0.27,0.28v0.79l5,4.99L20.49,19l-4.99,-5zM9.5,14C7.01,14 5,11.99 5,9.5S7.01,5 9.5,5 14,7.01 14,9.5 11.99,14 9.5,14z"/>
    </vector>

    I don't want to create file with vector graphic each time I need some standard icon. Can I somehow find souch icons in Android SDK and use them ? How to do that?

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

    How to achieve the session time animation in Google's IO app?

    Posted: 10 Dec 2019 12:09 AM PST

    https://reddit.com/link/e8nu4x/video/gu93vw0yjr341/player

    Notice how the session time stays visible and aligned to the top of the group of sessions at that time when scrolling?

    Scrolling down moves the session time to keep it visible until another session time pushes it.

    How to achieve such behavior?

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

    What has happened to Android's Distribution Dashboards? Last update: May 7, 2019

    Posted: 10 Dec 2019 02:18 AM PST

    Question about donations (to charities) in the app

    Posted: 10 Dec 2019 06:03 AM PST

    I'm working on the fin-tech app which allows users to connect their bank account and performs some operations on their behalf. One of the functions is donating to selected charities.

    Some key aspects:

    a). App is for USA-based users only

    b). All charities available to a user are official non-profit organisations (verified by GuideStar)

    c). App doesn't take any cut from donations made

    My question is: is such functionality allowed in Android apps? I know that charities are allowed to ask for donations, and that organisations which don't have non-profit status cannot, but what about for-profit organisation which facilitates donations for non-profit organisations? I checked Google policies for what is allowed and not in the app but I can't find definite answer for our case.

    We have developed IOS version of the app before, and during review Apple informed us that having such donations functionality directly in the app is not allowed, but this is what they suggested and approved:

    a). user can setup donation within the app (select charity, select the amount they wish to donate)

    b). app presents the user with a link to a website (managed by us) where user confirms the donation (it gets the data from the app, so they don't need to fill everything from scratch)

    c). donation is made and user returns to the app

    Is such extra step (with external website) necessary in Android? Or can we just order donation directly from the app?

    I hope I described the case clear enough, if not please let me know if there's some relevant information that I need to add

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

    Do you need to use multiple native ad ids in recyclerView or just one? Admob

    Posted: 09 Dec 2019 11:45 PM PST

    Does anyone has precise information regarding this?
    Do you need to have ID for each native ad in recyclerView or just one ID for multiple ads?

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

    Private maven repository VS git submodule

    Posted: 10 Dec 2019 01:57 AM PST

    Have anyone already considered the pro and con of using a private maven repository VS using a git submodule to share a library internally ?

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

    Managing Android Multi-module Project with Gradle Plugin and Kotlin

    Posted: 10 Dec 2019 05:29 AM PST

    Looking to Contribute To An Open Source Project

    Posted: 09 Dec 2019 07:29 PM PST

    Hello everyone,

    I have finished studying the Big Nerd Ranch Android book and am feeling a bit lost. I need to continue working on mobile apps but I don't really have any inspiration for an app to work on at the moment that would be practical. (I really would like to do video encoding/transfer from the camera, but alas)

    I was wondering if anyone could help me find a project to work on so I can keep working and get some kind of a resume going.

    Sure appreciate any advice.

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

    From Swift To Kotlin And Back Again (Why Java Isn't Better)

    Posted: 09 Dec 2019 11:38 PM PST

    �� Android Components Architecture in a Modular Word

    Posted: 09 Dec 2019 11:36 PM PST

    No comments:

    Post a Comment