• Breaking News

    [Android][timeline][#f39c12]

    Saturday, February 29, 2020

    App Feedback Thread - February 29, 2020 Android Dev

    App Feedback Thread - February 29, 2020 Android Dev


    App Feedback Thread - February 29, 2020

    Posted: 29 Feb 2020 04:28 AM PST

    This thread is for getting feedback on your own apps.

    Developers:

    • must provide feedback for others
    • must include Play Store, GitHub, or BitBucket link
    • must make top level comment
    • must make effort to respond to questions and feedback from commenters
    • may be open or closed source

    Commenters:

    • must give constructive feedback in replies to top level comments
    • must not include links to other apps

    To cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.

    As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.

    - Da Mods

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

    Showing the Android Keyboard Reliably

    Posted: 29 Feb 2020 12:11 PM PST

    Any way to set default mode to "Split" view in Layout Editor (Android Studio 3.6)?

    Posted: 29 Feb 2020 04:56 AM PST

    I went to Settings->Editor->Layout Editor but it only has "Prefer XML editor" checkbox, which means it'll either open the Design view, or Code view, but not split view. Is there any way I can make it open Split view by default?

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

    I opened my minesweeper game source code

    Posted: 29 Feb 2020 09:18 AM PST

    How to protect Android App from getting stolen?

    Posted: 29 Feb 2020 05:27 AM PST

    Hi Everyone! I have created an Android Application which is gets stolen. Someone just copied my application and he changed some images and overall theme of my application and posted it on Play Store and it gets published. Not a single code he changed even on some places my account name BIG DREAMS TEAM still visible. When I reported about it google ask me to send a copy of court order to remove app from store. Anyone have any idea what should I do? And I am not the only one on that account more than 25 apps are published which are stolen. Also any suggestions would be very helpful, that what can I do on code level to protect my apps and updates in future.

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

    Android compatibility warning showing on play store pre launch report how can we fix that.

    Posted: 29 Feb 2020 09:09 AM PST

    Defend Native rewrite over hybrid or other

    Posted: 29 Feb 2020 12:51 PM PST

    I work for start up that's turning into a giant and there have been talks about rewriting our Android app that has been around since the beginning.

    I'm actually the developer that has been pushing for a rewrite as the codebase and ux patterns have turned into a mess of everyones ideas put into an app. Back then we didn't really know where we were going but now that we have an idea on what we need to do, a rewrite is necessary for new features, maintenance, ui/ux uniformity, legacy library upgrades, and conforming to the companies engineering practices which don't exist with our current app since it has been a "rogue" project since conception.

    Now my problem is that as a Native Android developer, I always voice out against our VP of Engineering on his bias towards hybrid apps or anything that can be cross platform such as react native, flutter etc... I've expressed concerns that if we do indeed go the non native route, there are risks involved in the future that these other platforms may not have the solution for which in turn would force us to go back native. Our stack includes a lot of js developers and our VP always plays the hand that if we go with react native or flutter, there are a lot of engineers they can move around to take up on other tasks with the new app. He does have a valid argument in that but I'm getting to a point where I just want to leave at this point.

    If yall were in my shoes, what argument would you make to push for keeping it native.

    ps. Our app is only on Android. We are not a consumer app. We do logistics and these apps are only made for our drivers.

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

    RenderScript is still alive

    Posted: 29 Feb 2020 06:03 AM PST

    New trivia Chromecast game

    Posted: 29 Feb 2020 02:59 PM PST

    Hey guys, I'm looking into creating a trivia game for Android that does the following. One phone will be the trivia master and will host a game session that will connect to a Chromecast. The other players phones will connect to the Chromecast as trivia contestants and play along like a local game of jeopardy for game nights.

    My questions for anyone willing to help are...

    What are your opinions on gaming IDE's and which ones should I look into for creating Android apps with good documentation?

    Are there any guides on connecting your Android apps to a Chromecast?

    As far as game engines and IDE's go, Godot looks promising and free, Unity seems to be the best one with paid features, are there others I should look into?

    Again I'm very new to this. I'm a sysadmin so I'm not lost when it comes to tech but I'm just not sure where to start in this new project. Any help is greatly appreciated.

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

    Need a good CI for testing my android tool

    Posted: 29 Feb 2020 02:16 PM PST

    Hey guys,
    I maintain a moderately popular Android ADB enhanced tool which has been posted here before. I had testing for that written on Travis CI. The test setup is "Install my tool (python) -> start the emulator with a few different Android versions -> run my tool and verify the output". Every ~6-months or so, the tests start to fail due to some Travis CI flakiness. Any recommendations on which CI tool I can use that supports both running a custom code as well as easy support for starting an Android emulator?

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

    Is there any Open Source Android project which have proper Github Action CI/CD setup ?

    Posted: 29 Feb 2020 01:27 PM PST

    How to read the card number and expiry date from a contactless card the way Revolut does?

    Posted: 29 Feb 2020 12:10 PM PST

    Is it done with the NFC API? Is it simple, are there any good examples or do I need 3rd party solutions? Any advice that may help me start is very welcome.

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

    Publishing an App

    Posted: 29 Feb 2020 04:00 AM PST

    Hi guys, I've been trying to publish an App that parses messages received for a Mobile Banking platform in Kenya called MPesa. Essentially the app parses SMS messages received from "MPESA" the displays your transactions in an easy to digest format.

    But after finishing the app I discovered that in order to publish your app which reads messages you have to register as the default message handler... This is not the purpose of the app. All data is stored locally on the device, thus the app does not require internet connection. So no data can be sent out.

    I've tried contacting Google explaining my use case but have not heard anything for weeks..

    Does anyone have any ideas?

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

    How every VIEW in the Layout executed? ( Background Process)

    Posted: 29 Feb 2020 11:26 AM PST

    I know that setContentView(R.id.layout_name) is used to launch the layout when the activity is initialized but I need to know how every VIEW in the VIEW GROUP is brought into the screen. I mean the background process.

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

    lock screen controls for audio player app

    Posted: 29 Feb 2020 05:00 AM PST

    I'm building ios and android versions of a simple music player. the audio has the ability to play in the background (eg: when the user presses the power button to turn the screen off and put the phone in their pocket). then when the user takes the phone out of their pocket and presses the power button, we see the lock screen. on the iphone, it was super super easy to add transport controls (using MPRemoteCommandCenter) and song info (using MPNowPlayingInfoCenter) to the lock screen so that the user could see what song is playing and they can skip to the next song and play/pause, etc. for android though, i am having a tough time figuring out how to do this. my app is simple: it's just an activity with a MediaPlayer. It *seems* like what I need to do is create a notification of some kind that will display the controls and the info, but I don't see how to launch that notification when the phone displays the lock screen. Also, the transport controls seem to be implemented in a client / server kind of way, but my app is currently *not* set up as a client / server model.

    So, my questions for the android dev community are: (1) is there a simple way to do this that i am missing? i've spent a lot of time looking for solutions, but haven't found anything straightforward like i found for ios; (2) do i need to rewrite my app to be a client / server? from what i've found, it seems like the way to do that is to make the music player core the server and then the ui is the client. this seems obtuse and overkill to me, but if it's the only way for me to get controls and info on the lockscreen, then i'll go ahead and do it.

    Thanks. :)

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

    Signing Config for multi dimension app

    Posted: 29 Feb 2020 07:01 AM PST

    Hello Dear Developers,

    I have a big problem with configuring my builds. I would like to have a singed APKs after executing of assembleRelease tasks. Currently, I received unsigned builds, because as it turns out project doesn't set my signing configs per-app flavor, because the project using two-dimension flavors.

    My project flavors look like this:

    • appOneStaging
    • appOneProduction
    • appTwoStaging
    • appTwoProduction

    The first dimension is "client", which means appOne or appTwo, the second dimension is "server" - Staging and Production.

    I was using the approach with setSingingConfig in the applicationVariants.all task, but this solution doesn't work.
    I was searching the whole internet - Github, StackOverflow and I didn't find an answer to this problem. Please be forgiving for this question, but really I don't have idea what I should in this situation.

    Do you have any idea how I should handle this problem?

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

    How to use progress bar just to show the value of a variable and not a loading implementation?

    Posted: 29 Feb 2020 10:05 AM PST

    Every tutorial on youtube shows how to implement it to show loading but I am basically using it in the same way someone would use a bar graph.

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

    Making GPS turn by turn navigation app NEED HELP

    Posted: 29 Feb 2020 08:15 AM PST

    What kind of API's will I need? Just google maps, directions, and places api? Any simple repos I can maybe build off instead? Or any advice on how to start from scratch in android studio?

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

    Any way to anonymously know if an app has been unpublished but is still visible to its users in the Play Store?

    Posted: 29 Feb 2020 08:12 AM PST

    [Edit: anonymous is maybe too strong a word. An authenticated connection through some Play Store API would be fine, at least if not onerously expensive or rate limited. (But I haven't found any such API from Google when looking.) I just don't want to have to require and store any end-user account credentials.]

    I am writing an app that checks the current Play Store status of all the apps installed on my phone. There are some applications in that list that have apparently been unpublished, but I can still view them (and reinstall I expect) since they are present on my phone. But if I view the same information page anonymously (incognito mode or similar) I get a 404 content not found error instead. Here is an example:

    https://play.google.com/store/apps/details?id=com.evernote.widget

    Other apps on my phone give me the 404 error even when logged in, or when getting to them from the app info page on the phone itself. An example of that:

    https://play.google.com/store/apps/details?id=com.wasserwaage

    Two questions:

    1) Is there any way with an anonymous request [edit: or through an API call], to find out that for example the com.evernote.widget app is not available now, but was available as some time in the past? I know I can do that by making two requests (one logged in, one not) and comparing the two, but I'm hoping to avoid needing this utility to require and store my play store credentials.

    2) What do people see when they have something like the Cheetah apps that were dropped from the Play Store, when they view them from their phone's app info link? Something like the 404 not found error I see for the com.wasserwaage app? Or something more actionable ("Remove this app, it is dangerous")?

    (And maybe question 3, should I be concerned about the 404 I get for that com.wasserwaage app?)

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

    Premium locked content

    Posted: 29 Feb 2020 07:36 AM PST

    How do developers lock some of their content in the app, which you can only access by buying the membership. Like in most educational apps. Mimo, brilliant etc.

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

    How to deal with app crashes (mentally) ?

    Posted: 29 Feb 2020 02:18 AM PST

    Hi guys ,

    If you are someone who develop apps and release them on play store , i want to know how do you guys deal with app crashes , i mean you releasing an app update just to find out within a week u find some crashes and if u fix that and release an update again this cycle keeps repeating

    Even after quality testing , using firebase test lab i keep getting some crashes , it's very stressful and i want to know how do u guys deal with it mentally knowing that there are 100's of users who may experince this crash , who may uninstall app after this.

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

    how to do an else if statement for android studio

    Posted: 29 Feb 2020 10:53 AM PST

    Hello there, sorry I am having a brain fart

    I am designing a stack app (first in, last out) where the user enters a number in and then presses the "push" button for a number to be included. The problem I am having is when a user does not enter a number in it at all and still presses the Push button, the app still allows the user to go ahead even though they have not entered a number yet. Here is the code for it.

    if(stack.size()==max_size) message.setText(stack.toString() + " Stack is full. No more additions will take place."); else if (stack.size()=='') message.setText(stack.toString() + "Please enter a number!"); else { stack.push(editText.getText()); message.setText(stack.toString()); } 

    It is the first "else if" statement that I am struggling with.

    How do I code it so that an error message comes up prompting the user to enter a number in first if they try to move forward without any input?

    Edit: got it, i used the length of the edit text where the user input is to equal 0 and then used setError function

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

    Ad in Notification in android

    Posted: 29 Feb 2020 11:33 AM PST

    I am planning to put an ad in the notification bar but I need to know about the user experience and revenue from it . Any dev who can share their experience will be helpful.

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel