• Breaking News

    [Android][timeline][#f39c12]

    Thursday, November 28, 2019

    Google Play is unbelievable, first 2 apps are the same app (reskin), 3, 6 and 7 are also reskins, and #2 is the owner of #4 Android Dev

    Google Play is unbelievable, first 2 apps are the same app (reskin), 3, 6 and 7 are also reskins, and #2 is the owner of #4 Android Dev


    Google Play is unbelievable, first 2 apps are the same app (reskin), 3, 6 and 7 are also reskins, and #2 is the owner of #4

    Posted: 28 Nov 2019 07:29 AM PST

    LocalCast update suspended

    Posted: 28 Nov 2019 02:35 PM PST

    Hi,

    I just uploaded an update for my app LocalCast with only bug fixes and it got suspended for:

    During review, we found that your app violates Google Play policy, and determined your app to be a high risk profile. Google Play identifies high risk profiles by using signals such as:

    • apps that contain assets prone to abuse
    • previous app enforcements
    • relations to other previously suspended apps or accounts
    • user rating and uninstall data

    I have no idea what's wrong. Guesses?

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

    Google Just Terminated My Google Play Publisher Account In One Hour After 10 Years Of Loyal Service | Android pub

    Posted: 27 Nov 2019 08:29 PM PST

    Policy - Repetitive Content Clarification

    Posted: 28 Nov 2019 12:57 PM PST

    Hi guys, I'm developing a simple application that shows motivational quotes. There are 100's of crappy apps out there with terrible UI's and I wanted to create a simple app focused on a nice UI while also learning how to create widgets and how to pull quote data automatically from firebase.

    I'm a fan of MVP. I want to release version 1.0 which only simply lists quotes - while I work on the other features (widget + fetching of data). I'm scared to publish it to the play store though as it's unclear if a unique selection of quotes and unique UI is enough to pass their repetitive content policy.

    Has anyone had experience with this? Or have thoughts on how to proceed?

    I already have 2 policy strikes on my account - so I'm extremely scared to get hit again as that will be the end of my indie dev career.

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

    I need help with how we can use Machine learning in Android studio or tenserflow ?

    Posted: 28 Nov 2019 09:40 AM PST

    I need help with my project which needs machine learning in it but I don't know how to use it in Android studio.

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

    Okay, I'm out! How best to close things down?

    Posted: 28 Nov 2019 01:53 AM PST

    I received three emails at midnight last night about app suspensions, with the dreaded words "Additional suspensions of any nature may result in the termination of your developer account, and investigation and possible termination of related Google accounts."

    All my personal stuff runs through Google, so I can't allow this to happen. Time to close it all down, at least until this platform is safe to use again.

    I've unpublished all my other apps. In my console I now have three suspended, six unpublished and one draft. With nothing Published, am I safe from account termination? Or do I need to actually delete everything? I can't immediately see a way to close my developer account entirely - is there a way to do that?

    If I need to shut everything down, it'll probably be fifteen hours or so before I can do that, because I'm currently at work. Do you think that's risky?

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

    What’s your studying strategy for android interviews?

    Posted: 28 Nov 2019 12:42 PM PST

    Will be looking for a new job soon, and I need to start preparing for them. I'm not entirely sure what I need to focus on and prioritize however. Leetcode? Creating personal projects? Android architecture, lifecycle, libraries, etc? Would love help on this :)

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

    Android: you're probably leaking ViewModel and might not know why

    Posted: 28 Nov 2019 12:42 PM PST

    What's the deal with SMS permission now?

    Posted: 28 Nov 2019 09:38 AM PST

    I'm finding it a little hard to understand the vague buzzword-y sounding official messaging regarding SMS permission. Exactly what do you need to "earn" it?

    I'm under the impression that unless you're literally just an SMS app (as in all you do is allow user to read/write SMS) you can no longer get SMS permission.

    I have a use-case I'd like to explore: I wish to create an app that parses all SMS data for financial information and allows a user to essentially budget and keep track of their spending. I could also, for example, send them alerts when their balance is running low or when they're late on a payment. So, I just need to "read" SMS, not write.

    This would be something like the wallet/walnut apps, though for the context of my country which does not really have a mature financial architecture so reading SMSes is one of the few ways to offer the customer insights into their spending. Though, preferably I'd like to do this server side and make it multi-platform, but I'm not sure I've seen any rules regarding uploading raw SMS data either.

    Would love some direction or link to official documentation that specifically addresses how such use cases will be dealt with. Would this app be allowed to have SMS permission? Of course, the whole thing is super transparent for the user, they'll have to consent explicitly.

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

    Need help writing a Repository for my first app using Room.

    Posted: 28 Nov 2019 03:07 PM PST

    So as the title says I am trying to write my first app and i'm starting with my database. I am learning room and right now I am stuck on my repository.

    Here is my code:

    import android.app.Application;
    import android.arch.lifecycle.LiveData;
    import android.os.AsyncTask;
    import androidx.room.Delete;
    import java.util.List;
    public class ItemRepository{
    private ItemDao itemDao;
    private LiveData<List<Item>> allItems;
    public ItemRepository(Application application){
    ItemDatabase database = ItemDatabase.getInstance(application);
    itemDao = database.itemDao();
    allItems = itemDao.getAllItems();
    }

    public void insert(Item item){
    new InsertItemAsyncTask(itemDao).execute(item);
    }

    public void delete(Item item){

    new DeleteItemAsyncTask(itemDao).execute(item);
    }

    public void update(Item item){

    new UpdateItemAsyncTask(itemDao).execute(item);
    }

    public LiveData<List<Item>> getAllItems() {
    return allItems;
    }

    private static class InsertItemAsyncTask extends AsyncTask<Item, Void, Void>{
    private ItemDao itemDao;
    private InsertItemAsyncTask(ItemDao itemDao){
    this.itemDao = itemDao;
    }

    @Override
    protected Void doInBackground(Item... items) {
    itemDao.insert(items[0]);
    return null;
    }

    private static class UpdateItemAsyncTask extends AsyncTask<Item, Void, Void>{
    private ItemDao itemDao;
    private UpdateItemAsyncTask(ItemDao itemDao){
    this.itemDao = itemDao;
    }

    @Override
    protected Void doInBackground(Item... items) {
    itemDao.update(items[0]);
    return null;
    }

    private static class DeleteItemAsyncTask extends AsyncTask<Item, Void, Void>{
    private ItemDao itemDao;
    private DeleteItemAsyncTask(ItemDao itemDao){
    this.itemDao = itemDao;
    }

    @Override
    protected Void doInBackground(Item... items) {
    itemDao.delete(items[0]);
    return null;
    }

    }

    }

    The issue lies when I try to call both of these methods DeleteItemAsyncTask(itemDao).execute(item); and new UpdateItemAsyncTask(itemDao).execute(item); it just says it can't resolve the symbol. But the method new InsertItemAsyncTask(itemDao).execute(item); works just fine, I don't understand what I am doing wrong and i would really appreciate some help.

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

    I know ViewModels should never reference a View, but can it reference a ViewLifecycleOwner ?

    Posted: 28 Nov 2019 02:58 PM PST

    I know ViewModels should never reference a View, but can it reference a ViewLifecycleOwner ? What about ViewLifecycleOwner.Lifecycle and ViewLifecycleOwner.LifecycleScope?

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

    DAGGER 2 Tutorial Part 1 Key Insights, Essential Perspective

    Posted: 28 Nov 2019 06:27 AM PST

    Good and Bad Practices of Coding In Kotlin

    Posted: 28 Nov 2019 09:54 AM PST

    DAGGER 2 Tutorial Part 2 Component, Module and Essential Applications

    Posted: 28 Nov 2019 06:38 AM PST

    Android Dev books? Learning resources that are specifically books

    Posted: 28 Nov 2019 04:26 AM PST

    Hello all,

    Apologies if this has been a thread in the past, but if it was maybe the answer has changed now due to constant android ecosystem updates and changes etc...

    But I was wondering if you all had any really decent, comprehensive book suggestions for learning android development? from 0 to hero...

    Hopefully this book is relatively recent and is mostly Kotlin oriented but actually I guess that doesn't matter too much. But hopefully covers things that are vital to learn in regards to android development now, like the new best practices, current best libraries to learn and the current best architecture patterns? Just to name a few off the top of my head? I guess im trying to say the book should be as up to date as possible...

    Hope this makes sense, would love to hear all and any suggestions as I need to get a good full way of really learning and understanding this stuff...

    Thanks all!

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

    How to create a flippable activity?

    Posted: 28 Nov 2019 02:46 AM PST

    Please take a look at this demo:

    https://www.youtube.com/watch?v=zNRPjS53m5w

    The listview is flippable. If you swipe it, it will be folder exactly on the middle.

    I want to achieve that effect, but on the activity level. Well pretty much like Flipboard,

    Is there any open source library for this purpose?

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

    Facebook Account Kit blocking users

    Posted: 28 Nov 2019 12:58 AM PST

    Facebook Account Kit stopped working (including WhatsApp).

    All our users are getting messages from Facebook that they are blocked.

    Is this happening to anyone else? We've been preparing for Dec. 9 not the end of November!

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

    Navigation component question

    Posted: 28 Nov 2019 06:52 AM PST

    I'd like my fragment that opens from NavigationView (NavView has NavigationController as listener), to make fragment Single Top || to pop fragments before him?

    I'm trying to achieve this below, over nav graph

    R.id.thoughtsFragment -> {
    navController.popBackStack()
    navController.navigate(R.id.thoughtsFragment)
    }

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

    Hello there! I am new to Android programming and just applied for a job and the company that called me for interview said that they mostly work in Cordova. I have just learned basics with Java. How much Cordova is recommended in this time? I haven't much heard anyone working in Cordova these days?

    Posted: 28 Nov 2019 02:19 AM PST

    Any advice

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

    Can't get through Google API Billing

    Posted: 28 Nov 2019 06:03 AM PST

    Hello there! I am having an issue with the billing part of Google Directions API , it says "your card doesn't support automatic recurring payments" , I have tried disabling the 3-D security but i am still facing the same problem, any saviours?

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

    Can I hide something to win in my app on Google Play?

    Posted: 27 Nov 2019 07:00 PM PST

    I want to hide a reward somewhere in my app for the first user who will solve it. Is something like this allowed on Google Play?

    I know this could attract more users that would be interested not in the app but only for the reward and that's why I'm not sure if this is OK.

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

    Any way to prioritize a specific flavor over the other on the IDE

    Posted: 28 Nov 2019 01:38 AM PST

    We have 2 flavors of the same app. Every now and then (when I start the IDE), the IDE chooses one over the other , and since I don't notice it, I accidentally build&run the wrong one.

    I thought it was because of the order of the flavors on the build file, or even the name that we chose, but after checking both of those, I think it's about the package name, which is something I can't change.

    Is there any way to tell the IDE to prefer one flavor over the other?

    It's really annoying...

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

    getting object id instead of object

    Posted: 28 Nov 2019 05:04 AM PST

    Add Custom Theme to app

    Posted: 28 Nov 2019 04:03 AM PST

    How am I able to add new themes to my app now that Starting with version 3.3, Theme Editor is no longer included with Android Studio. Do you guys have any tutorials on this?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel