• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, December 30, 2020

    A Jetpack Compose by any other name — Jake Wharton Android Dev

    A Jetpack Compose by any other name — Jake Wharton Android Dev


    A Jetpack Compose by any other name — Jake Wharton

    Posted: 30 Dec 2020 06:29 AM PST

    What are the different software/tools I need for developing 2D Android Games?

    Posted: 30 Dec 2020 01:11 AM PST

    I think I need to learn C# and use Unity to develop 2D android games like Angry Birds, Bubble Ball, etc. I'm not sure about what code editor to use. I figured that I'll use Visual Studio 2019 but that's slow AF and really annoying. My questions are:

    1. Is C# and Unity the best option or is there something better?
    2. What are the best alternatives for Visual Studio 2019? Something that's not outdated.
    3. Are these software/tools free?
    4. How much will it cost to develop a 2D android game and launch/market it on the Play Store?
    5. What are some good free resources for me to learn this?

    Thanks for your answers

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

    Top 10 Android Intermediate - Advanced Developpment books 2020/2021?

    Posted: 30 Dec 2020 10:30 AM PST

    Hello,

    can someone recommend me some books which are not outdated and which are good to enhance my knowledge and skills in the android development field?

    I don't use Kotlin for programming, so I would prefer it to be a book about android development in Java.

    Thanks in advance :)

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

    Displaying files from ACTION_OPEN_DOCUMENT_TREE in UI

    Posted: 30 Dec 2020 02:52 PM PST

    Hi everyone, I'm currently working on an app that (as a first step) should display filenames from a user-chosen directory. So far I've got the following basic structure:

    • Use intent ACTION_OPEN_DOCUMENT_TREE to have the user select a directory and save the resulting URI with its permissions.
    • Use methods from DocumentsContract to build the child documents URI (incl. buildChildDocumentsUriUsingTree).
    • Use ContentResolver.query method to get a Cursor to the files.

    My problem is: How can I display the results from that Cursor in my UI? I've already tried quite a bit of stuff and am unsure about how to proceed:

    • Use SimpleCursorAdapter and ListView - this fails because DocumentsProvider doesn't have the necessary column _ID. In addition, I would really like to use RecyclerView instead because of its advantages.
    • Implement my own adapter for RecyclerView - this requires a lot of complicated and costly comparisons between each element for when the Cursor changes (i.e. the query is refreshed) in order to get the animations right.
    • Use the Paging library - this requires me to set limit and offset parameters on the ContentResolver.query call, which doesn't seem to work and looks more like a hack anyway for API <26.

    I'm sure that at least some of those ways could work, I just don't know the right one. Can anyone here point me in the right direction?

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

    IARC live rating notice

    Posted: 30 Dec 2020 04:32 AM PST

    Hey guys, I rolled out my app to production 5 days ago and I just got an email from IARC and I have no idea what to do with the information provided... Does anyone know what to do with it?

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

    New play console, where is reset reviews for new release?

    Posted: 30 Dec 2020 11:37 AM PST

    Hi there, i searched and found out that we can reset reviews on play store for new releases:

    "You told us you wanted a rating based on what your app is today, not what it was years ago, and we agree,"

    https://techcrunch.com/2019/05/08/google-play-is-changing-how-app-ratings-work/

    But i can not find in New play console where to reset or how does it work. Does anyone here knows or had any experience on this ?

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

    Should I build my group chat app with cloud functions now or later?

    Posted: 30 Dec 2020 11:34 AM PST

    This is my first real app that I will be putting on the market. I've dabbled in some other Java app projects, but wouldn't even call myself a mobile developer's brother. I've been working in Kotlin and building it slowly so far when I found a 12-video "Get to know Cloud Firestore" series on youtube. In it, the guy explains that it is safer to use cloud functions. At this point I'm like 25% done with the app. Should I switch to doing everything with cloud functions to optimize for security or finish the app using all client side code?

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

    More productivity with Kotlin

    Posted: 30 Dec 2020 07:28 AM PST

    Android Proximity Sensor As Clear As Possible

    Posted: 30 Dec 2020 06:07 AM PST

    Deflecting Call, Android Call Class

    Posted: 29 Dec 2020 09:42 PM PST

    I'm working on an android studio application that utilizes CallService, and my app is based off of this post: Replace default phone APP. I have a CallService class setup as follows:

    import android.telecom.Call; import android.telecom.InCallService; public class CallService extends InCallService { @Override public void onCallAdded(Call call) { super.onCallAdded(call); new OngoingCall().setCall(call); CallActivity.start(this, call); } @Override public void onCallRemoved(Call call) { super.onCallRemoved(call); new OngoingCall().setCall(null); } } 

    and I'm trying to use the onDeflection method when the user hangs up, as I assume the onDeflection method essentially deflects/forwards the call to another number.

    In the CallActivity.java file I've tried something like this:

     @OnClick(R.id.hangup) public void onHangupClicked() { ongoingCall.hangup(); } 

    and in the OngoingCall.java file I have the following hangup method:

     public void hangup() { assert call != null; Uri test_uri = Uri.fromParts("tel", "+15086540541", null); Log.d("deflecting call to", test_uri.toString()); call.deflect(test_uri); Log.d("call deflected", "good"); } 

    the console logs work fine and they seem to indicate the number has been deflected, but, on the end of the individual who is calling, nothing happens/the call is not deflected. Also note that call here is just an instance of the Call class (https://developer.android.com/reference/android/telecom/Call)

    There is almost nothing about the deflection call online - there is one line of documentation here: https://developer.android.com/reference/android/telecom/Call#deflect(android.net.Uri))

    and I was also able to find this small example here:https://android.googlesource.com/platform/cts/+/master/tests/tests/telecom/src/android/telecom/cts/CallDetailsTest.java where they have a testDeflect() method, which is where I got the lines for encoding the uri from.

    I've varied my uri encoding lines with *21, #, 21, etc. etc. but nothing seems to work. Is there an alternate way to forward/reroute the calls here, or does anyone know why the deflect method is not working/have a functioning example of it?

    Any help would be much appreciated here.

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

    Copyright protections, app theft, duplications of apps.

    Posted: 30 Dec 2020 09:04 AM PST

    Hi Android Dev community,

    I've been building a fitness app in my free time and close to having a testable version. What is increasingly concerning me is that my app may not find any success at all, but not for being unique with a lot of science/backend development.

    Does anyone have some insights on to how to protect your app's IP, source code, and generally the way it functions? I can imagine my UI design could be adapted and used fairly easily, but I have a lot of back-end (SQLite/firebase) functions that really make it an app that I think stands out, and I've put my heart and soul into it. It would crush me if someone decided to make a clone and it became succesful.

    Any tales, resources, or other guidance would be extremely helpful.

    Cheers,

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

    Is Kotlin Multiplatform Mobile worth the hassle for new projects?

    Posted: 30 Dec 2020 08:30 AM PST

    I recently read the article https://www.techyourchance.com/kotlin-multiplatform-expert-opinion/

    It got me to rethink about KMM, I know there are following issues with KMM and some are being sorted out.

    • Memory management (being sorted out)
    • Slow build speeds
    • Lack of mature ecosystem
    • Slow performance on iOS

    Jetbrains seems committed improving KMM

    But I am wondering whether KMM worth the hassle for medium size new project at the current state which will be ported to iOS later?

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

    Has anyone submitted their app since Christmas? Has it been approved? How long did it take?

    Posted: 30 Dec 2020 12:58 AM PST

    Mines still pending. I know a lot of people are off during this period, but I managed to successfully submit my app last year and it took only two days.

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

    Formatting Image Data for Model Input

    Posted: 30 Dec 2020 02:13 AM PST

    I'm trying to make an Android Auto app for fun and there is not System Image for Virtual Device

    Posted: 29 Dec 2020 05:39 PM PST

    I am trying to try out making an app for Android Auto and when I go to make a simulator virtual device it shows that there is no System Image. I was wondering how I could make the virtual device simulator and get the System Image to mess around on it.

    Let me know. Any help is appreciated!

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

    Any Android App tackling dynamic Question scenario

    Posted: 30 Dec 2020 12:38 AM PST

    Hi All, I am on a lookout for any app that tackles the following scenario.

    Lets say some one wants to perform an action (like booking a service or something in an app) and they have series of questions to answer to actually give details about that action.

    Now these questions need to be dynamic and are based on previous answers. Like lets take this for an example.

    1) I want to book an electrician 2) The Question 1 is ( Do you want Electrician i) Inhouse ii) Go to electrician yourself) 3) Based on this answer the Next question be If i) The question is (How long the job will be) 1hr, 2hr, 3hr, 4hr Or ii) The question is (Electrical Appliance or Electrical Consultancy)

    So there can be multiple level of questions based on different answers

    If there is any app that tackles this situation please do let me know.

    Looking forward to your responses.

    submitted by /u/Marko-black
    [link] [comments]

    Debug apps right on your phone with this library!

    Posted: 29 Dec 2020 08:14 PM PST

    Android App Trigger with Relay

    Posted: 30 Dec 2020 12:01 AM PST

    Hello, I am currently thinking about a future project that would use android devices? Would there be a possibility of say, closing a relay that would somehow trigger an android program to start, like if you had a VR app on the android phone and when you close a relay it begins the vr video. Does anyone know of a solution to that?

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

    Why are so many people exciting jetpack compose?

    Posted: 29 Dec 2020 01:25 PM PST

    Building view is very similar like in flutter. This will result in many large classes, view component will be mixed with logic layer. In my opinion current way is better than this, we have separated files for view and "main code".

    What do you think?

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel