• Breaking News

    Wednesday, December 30, 2020

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

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


    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]

    How can I drag an element from a RecyclerView and drop into another layout?

    Posted: 30 Dec 2020 06:34 AM PST

    How can I drag an element from a RecyclerView and drop into another layout?

    https://preview.redd.it/jhat6v345c861.png?width=246&format=png&auto=webp&s=8673f2cdd3c9c5b925c95a1300e44f18f81c7b22

    I have a layout with a RecyclerView
    and another layout (as show in image1). I want to drag (only) the first element of the RecyclerView
    and drop it somewhere into the upper layout (image2 and image3).

    https://preview.redd.it/fnepsez45c861.png?width=246&format=png&auto=webp&s=15697418d551bb33262440c939226c9f2a4de193

    https://preview.redd.it/q9kqnt265c861.png?width=246&format=png&auto=webp&s=ee7c3e8e0239a875e532830df166945a1af2cd02

    I am using setOnDragListener
    for this. However, when I drag the first element, I want the second element to come on top (mainly the animation). And if i cancel the drag event, I want the first element to become the top element again. (Again with the elastic animation)

    submitted by /u/SingleSink
    [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]

    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]

    More productivity with Kotlin

    Posted: 30 Dec 2020 07:28 AM PST

    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]

    Android Proximity Sensor As Clear As Possible

    Posted: 30 Dec 2020 06:07 AM PST

    Formatting Image Data for Model Input

    Posted: 30 Dec 2020 02:13 AM PST

    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]

    Learn Java for Android Apps

    Posted: 29 Dec 2020 03:43 PM PST

    Hi All,

    I am a 35 years old, and would like to start getting into creating Android apps for fun. I would like to learn Java and am looking for a course that will cover the basics and also focus on making apps.

    I have searched online and have found one on Udacity and some on Udemy. However, most of them seem to be a little outdated. Can I still learn Java to make android apps? Is there an updated course?

    Will I be able to learn while working full time and have a 2 year old baby? How much time will I need to dedicate daily? I tend to get intimidated from seeing the complex parts in programming (loops, arrays, etc.)?

    I have done some basic programming in university, but don't remember it much. I learn better by doing things and prefer a tutorial based course.

    After Java, I am planning on doing Python/Web development. Will that be achievable?

    Thank you.

    submitted by /u/Lead-Old
    [link] [comments]

    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]

    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]

    Fried my SSD - Lost AndroidStudio files - Have up to date version of app on my phone- Can I export the source code?

    Posted: 29 Dec 2020 02:31 PM PST

    I fried my SSD when upgrading my rig today and my OneDrive didn't finish syncing so I've lost the most recent source code for my uni project. I have the latest version on my phone from when I was debugging. Is it possible to take the source code from my phone and rebuild the project again?

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

    Remove settings search bar in Wifi settings dialog

    Posted: 29 Dec 2020 05:12 PM PST

    I'm developing an app for an AOSP build and want to limit the actions users can take when prompting various dialogs from my app. One of those dialogs is the Wifi settings dialog, invoked like below:

    val intent:Intent = Intent(Settings.ACTION_WIFI_SETTINGS)
    intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    startActivity(intent);

    This works correctly and shows wifi settings with the Back button leading back to my app. However there is a Settings search bar at the top which lets the user poke around things.

    Whats the best way to disable the search bar while still letting users set wifi settings from my app (without re-implementing wifi input settings myself)?

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

    Is the app store taking a ridiculous amount of time for approval for anyone else?

    Posted: 29 Dec 2020 10:37 AM PST

    Usually I've had patches get approved within a day or two of submitting.

    Currently I have one I sent in on the 18th that still hasn't been reviewed. Anyone else experiencing this annoyance?

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

    A search for a beginner's (with no knowledge of any sort of programming) guide to Android App development

    Posted: 29 Dec 2020 09:33 AM PST

    I searched for many beginner's guide on this channel, and most of them were 6-7 years old post. Hence, I am re-posting the question again.

    Some basic info about my education and why I would like to learn app development:

    1. I have a degree in Electrical Engineering 😑
    2. I am 31 years old.
    3. I would like to add App development in my skill-set, mostly as my personal interest. "if at all" I would be able to learn app development thoroughly, I may or may not mind use to earn money.
    4. I can spend 12-14 hours a week (online) in learning as I have a full time job.
    5. searching for a suitable / reasonably priced course which can start off my learning from very basic things.

    Thanks in advance. Really hoping to get as many suggestions as possible.

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

    Any advice on how get users/testers for my first app on the Play Store?

    Posted: 29 Dec 2020 01:46 PM PST

    I recently launched my first app on the Android Play Store. The app allows you to speak to people nearby based on shared interests and skills. *You can download it here. It's free. *

    Being my first app, I'm looking for some advice on how to get users/testers and general feedback on the app.

    Are there any subreddits, blogs, forums I can join?

    I'm also hearing about ASO on this subreddit, should I be doing this now?

    Thanks!

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

    Is there any common disease or allergy list available for use in my app?

    Posted: 29 Dec 2020 11:58 AM PST

    I am developing an android app in which I wanted to use a spiner with a common disease or allergy list or library, and I wanted to know if there was anything like that available anywhere in the internet or a type of solution like this.

    Also, Is this possible to be done in another way, how so ?

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

    Implementing RxJava's timeout() operator in Kotlin Flow

    Posted: 29 Dec 2020 10:40 AM PST

    No comments:

    Post a Comment