• Breaking News

    Saturday, February 29, 2020

    Android Dev - App Feedback Thread - February 29, 2020

    Android Dev - App Feedback Thread - February 29, 2020


    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]

    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]

    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]

    RenderScript is still alive

    Posted: 29 Feb 2020 06:03 AM PST

    Moment kills its Android camera app, cites constantly-changing software and hardware

    Posted: 28 Feb 2020 01:49 PM PST

    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]

    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 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]

    Android Studio 3.6.1 available

    Posted: 28 Feb 2020 10:56 AM PST

    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]

    Using Unity as a Subview in an Android Activity

    Posted: 28 Feb 2020 01:58 PM PST

    Does anyone with Unity experience know of a solution to this? I can't seem to find any recent ones or answers that aren't outdated.

    https://stackoverflow.com/questions/43918417/display-unity-scene-as-sub-view-in-android-studio

    https://gamedev.stackexchange.com/questions/134347/android-black-screen-with-unity-app-in-subview

    https://stackoverflow.com/questions/31041031/black-screen-unity-subview-in-android

    All the answers I've tried is giving me a blackscreen. Someone suggested that it could be a unity issue because they reworked the whole Android-Integration in version 2019.3.0.

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

    Just little help on android java development

    Posted: 28 Feb 2020 10:57 PM PST

    Currently, I wrote a code that sends mms messages that reads from the file located at

    /storage/emulated/0/test.txt

    I also have added dialog to see who I am sending it to and to confirm. However, it seems like it doesn't wait one dialog to finish to open another dialog causing application to crash.

    Is there anyway that I can implement which it will wait until previous dialog is finished.

    the code is as follows (extracted from the project):

    ```java //This is where dialog popups for asking you confirm sending it to following contact

    public int openDialog(String line) { AlertDialog.Builder adb = new AlertDialog.Builder(MainActivity.this); adb.setTitle("보내시겠습니까?"); adb.setMessage("이 번호로 보내시겠습니까?" + line); final String finalLine = line; adb.setPositiveButton("yes", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { sendMessage(finalLine); } }); adb.show(); return 0; } private void initActions() { if (Utils.isDefaultSmsApp(this)) { setDefaultAppButton.setVisibility(View.GONE); } else { setDefaultAppButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { setDefaultSmsApp(); } }); } selectApns.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { initApns(); } }); fromField.setText(Utils.getMyPhoneNumber(this)); toField.setText(Utils.getMyPhoneNumber(this)); imageToSend.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { toggleSendImage(); } }); sendButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { 

    // // //Getting the phone number File file = new File("/storage/emulated/0/test.txt"); if(file.exists()) { Log.d("mySuperTag", "yesItExist"); try { FileInputStream is = new FileInputStream(file); BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String line = reader.readLine(); while(line != null) { Log.d("mySuperTagEdit", line);

    // Calling dialog openDialog(line);

    // This is where I think it is causing the problem

     line = reader.readLine(); } } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } else { Log.d("mySuperTag", "No It doesn't bitch"); } } }); log.setHasFixedSize(false); log.setLayoutManager(new LinearLayoutManager(this)); logAdapter = new LogAdapter(new ArrayList<String>()); log.setAdapter(logAdapter); } 

    ```

    If you need more explanation i can try my best to explain again;

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

    App Debugging in foreign countries, South Asia, Bali, Indonesia

    Posted: 29 Feb 2020 02:28 AM PST

    Hey everyone :).

    I have been developing android apps for quite some time, but never released anything outside EU.

    Now I am building a flutter app, and I was talking to my friend who is currently in Bali. So I wanted to show him my new app, and send him the APK which works perfectly fine in EU and US on the same Phone (Pixel 2). But in Bali it crashes as soon as it should connect to Firebase/my cloud (currently only on a Europe server). He used VPN, no change. Android 10 is the OS on my Pixel2 and on his. Same build number as well.

    I love my App and it can be used everywhere on the world and is also kind of intended to be working wherever you go, so how can I tackle that issue?

    What could even be the reason for this behavior?

    Has anyone experience in releasing a "worldwide" (minus China, etc.) app?

    Greetings,

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

    Firestore MVVM real-time updates

    Posted: 29 Feb 2020 02:10 AM PST

    Hello developers,

    I'm developing an app where I use Firestore for persistence. I also use MVVM architecture with livedata. Is it possible to get real-time updates from firestore without using their FirestoreRecyclerAdapter?. Right now I'm having a FirestoreRepository class where I get data from a collection. I add that data to a list. Then in ViewModel I call the method from the repository which returns a list of objects from firestore and I attach that data do livedata, which later I observe in the don't fragment. There is a problem with realtime updates with that approach. When data changes I dont see any changes in recyclerview until I reload the fragment. Do you guys have any ideas what the issue could be here? Or is this even the right approach to use.

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

    How should i extract text from image ???

    Posted: 29 Feb 2020 02:02 AM PST

    I want to extract text from image which is taken by camera in Android app and place into particular format. And all this processing should be on device only. So how should I proceed for this ?? What should i use ?

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

    Timeline and Steps of How to for a very Basic BLE Application

    Posted: 28 Feb 2020 09:45 PM PST

    Hi,

    I am completely new to Android Development. I have landed in a situation to develop a very basic BLE Application. So basically, the App should open, and if it sees any BLE Signals, then consume it and then display something on the device.

    I have planned to do this using Kotlin and have read up on some of the libraries to use. I will be using Altbeacon, which is written in Java.

    What would be the timeline and necessary steps for me to make this?

    Should I just learn the basic functions of Kotlin and jump right into Android Studio?

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

    Emulator 30.0.2 Canary, HAXM 7.5.6 and AMD Hypervisor 1.4 to stable

    Posted: 28 Feb 2020 10:26 AM PST

    Should we synchronize naming convention across Kotlin and Swift

    Posted: 29 Feb 2020 02:52 AM PST

    As we encourage cross platform development, should we synchronize naming convention? e.g. static variable in JAVA/KOTLIN is in all capital, but SWIFT should be in camelCase.... could be confusing.

    Why not making all CAPITAL, so that could easily distinguish static variable from others?

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

    Values change back to their defaults after I change them

    Posted: 28 Feb 2020 03:45 PM PST

    I need some help with updating a URL. So I am using OpenTDB for my API for a homework project. I have my onClick Listener grab values from a spinner and convert them to the values the API will like, like General Knowledge is 9. The onClick works but after I leave the onCreate it goes back to the original value and I can't get the new value to stay. Any ideas? I am out of ideas. I've tried to move the value to another class and grabbing it from there, putting the URL into the strings file, tried the two different ways to make an onClickListener. None have worked.

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

    What can you make with Java/Kotlin that cant be made with Flutter?

    Posted: 28 Feb 2020 03:24 PM PST

    No comments:

    Post a Comment