Android

Importing Cloud Functions Typescript File in Android Studio Project (for Git functionality)

Developing Android Apps - Sun, 06/17/2018 - 19:03

Quick background:

I'm relatively new to software development (I know R decently well as someone who dabbled in data science, but OOP and building end user products is new). I decided to get into Android development so I'm learning Java in the Android Studio environment and building a simple reaction time measuring app. I wanted to also be able to upload and compare user results with other users so I got into Cloud Firestore and Cloud Functions to store data and calculate things like percentiles, averages, and standard deviations on server side. This got me into Javascript (specifically Typescript because it's recommended by Google). I code it in Visual Studio.

My problem:

I code on my desktop mostly, but I like to be able to code on my Surface whenever I visit the parents or if I want to code in a different environment. This makes it imperative that I can get my Typescript code for Cloud Functions onto my Github, not just for version control purposes. I've been using the Android Studio integrated VCS to more easily push and pull to and from Github. It doesn't do it for my Typescript files because those files aren't counted as part of the project in Android Studio (presumably because Android Studio doesn't support Javascript). This is really inconvenient for me.

My question:

So what do people usually do for version control when there are various types of languages they're using that may not be supported by a single environment? Is it conventional that people use Android Studio for the Java, Visual Studio for JS, and then a separate thing like Kraken or Sourcetree for VCS (ie git)?

submitted by /u/theonlyonedancing
[link] [comments]
Categories: Android, Linux

Hidden features in apps

Developing Android Apps - Sun, 06/17/2018 - 18:10

Hi I found out that there is a hidden feature in an app that I use, you get a reward if you find the hidden feature, I can't seem to find it. So I'm Turing to this sub and I need for some help, any suggestions like opening the source code and looking for certain lines of text.

submitted by /u/Thezomblet
[link] [comments]
Categories: Android, Linux

Trigger on Venmo/Square Cash payment

Tasker: Total Automation for Android - Sun, 06/17/2018 - 17:33

Hi, I did a number of searches and haven't quite found this functionality. I want to trigger a task when someone sends me money via venmo, squarecash, or (less ideally) paypal.

Any ideas?

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

Could anyone give me a rough estimate of what you THINK an app like this (Simple Fart Button) could make from ad revenue?

Developing Android Apps - Sun, 06/17/2018 - 16:50

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

Over half a million downloads. Just a few pop up ads every now and then. I know there are a lot of factors, but for people experienced with ads, what do you think this app could be making?

submitted by /u/RockAndHODL
[link] [comments]
Categories: Android, Linux

Would Android users be better off if Google (Alphabet) was broken up?

Android - Sun, 06/17/2018 - 16:40

I read this article in the Boston Globe today. It made the case that Alphabet needs to be labeled as a monopoly and promptly broken up.

https://apps.bostonglobe.com/opinion/graphics/2018/06/break-google/

It made me start thinking about how this would/could impact Android users. If Alphabet was broken up would we be better off? Or would it be worse? How do you think things would change? Would cloud services like maps and docs be more competetive? Would the overall experience be clunkier?

I'd be interested to hear everyone's thoughts. I recommend reading the Boston Globe article first though.

Oh, and be sure to keep this on topic about how it would impact Android. If this turns into a thread on if Google is a monopoly, or whether monopolies should be broken up, it likely won't belong in this subreddit.

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

Android Kernel: SDM845 Overclocking

Developing Android Apps - Sun, 06/17/2018 - 16:20

*Ignore the formatting, I have no idea why it did that*

Alright. So some other Oneplus 6 devs and I are trying to get overclocks going but its not working

(sdm845-v2.dtsi)

Right now we are just trying little cores and trying to bump it up a step.

In section one after 1766, ive tried adding

< 1843200 1401600000 >:

With the same second column values

Ive also tried upping the values along with the pattern which makes it

< 1843200 1497600000>;

In section 2, Ive added the same frequency as well and for the second column, i have it as 160 but once again I also followed the pattern to see if that would work. So instead of 160 it was 179

Neither of those worked.

The device will boot but the additional frequency will not be shown.

Any suggestions? The other devs and I are kinda lost and just trying stuff. Im thinking we might have to add something for the device to see the additional freqs. Probably in the qcom-cpufreq.c or something along the lines of that.

One dev isnt sure if itll be possible to overclock the 845 but it has to be. I would take a look at source for the ROG phone but it doesnt release until Q3

Section 1:

&devfreq_l3lat_0 {

qcom,core-dev-table = < 300000 300000000 >, < 480000 403200000 >, < 652800 480000000 >, < 748800 576000000 >, < 902400 652800000 >, < 979200 748800000 >, < 1132800 844800000 >, < 1228800 940800000 >, < 1324800 1036800000 >, < 1420800 1132800000 >, < 1516800 1209600000 >, < 1689600 1305600000 >, < 1766400 1401600000 >;

};

&devfreq_l3lat_4 {

qcom,core-dev-table = < 300000 300000000 >, < 825600 576000000 >, < 1132800 748800000 >, < 1363200 940800000 >, < 1689600 1209600000 >, < 1996800 1305600000 >, < 2400000 1401600000 >, < 2745600 1593600000 >;

};

Section 2:

&energy_costs {

CPU\_COST\_0: core-cost0 { busy-cost-data = <

300000 12

403200 17

480000 21

576000 27

652800 31

748800 37

825600 42

902400 47

979200 52

1056000 57 1132800 62 1228800 70 1324800 78 1420800 89 1516800 103 1612800 122 1689600 141 1766400 160 1843200 160 >; idle-cost-data = < ***22 18 14 12 >; }; CPU\_COST\_1: core-cost1 { busy-cost-data = <

300000 189

403200 523

480000 763

576000 1052

652800 1273

748800 1536

825600 1736

902400 1926

979200 2108

1056000 2284 1132800 2456 1209600 2628 1286400 2804 1363200 2992 1459200 3255 1536000 3499 1612800 3786 1689600 4128 1766400 4535 1843200 5019 1920000 5583 1996800 6226 2092800 7120 2169600 7876 2246400 8628 2323200 9344 2400000 10030 2476800 10806 2553600 12045 2649600 15686 2745600 25586 2764800 30000 2784000 35000 2803200 40000 submitted by /u/UndeadDeveloper
[link] [comments]
Categories: Android, Linux

List view or recycler view

Developing Android Apps - Sun, 06/17/2018 - 15:49

Howdy all,

I am at the beginning of my android dev journey, have a question regarding the list view. I'm building a simple app that takes an rss feed and puts it into a list view, iv used a tutorial to help put this together. Iv noticed that list view is now a legacy widget and has been replaced by recycler view.

Was wondering what the advantages of the recycler view is? I saw in the documentation that it has a self contained adapter in the class file. Has anyone used it yet, and is it much more complex than the list view? as that had my head turned upside down for a while!

Thanks in advance

submitted by /u/Plussh
[link] [comments]
Categories: Android, Linux

What does Retrofit and Volley do that makes it so much faster than AsyncTasks?

Developing Android Apps - Sun, 06/17/2018 - 14:55

My understanding is that AsyncTasks create a new thread in the background and then you can do your open your http connection and receive data and then parse it? This seems pretty efficient.

I don't see what Retrofit and Volley can do to make this faster? I'm really wondering how it works deep down. Does it use more threads? Split up work? Is there a more efficient way of receiving data or parsing data?

submitted by /u/DequashawnLeMartin
[link] [comments]
Categories: Android, Linux

Tasks triggering without conditions met

Tasker: Total Automation for Android - Sun, 06/17/2018 - 14:51

I setup tasker to run 4 independant tasks when when an NFC tag is detected and between a certain time.
4 tasks are Leaving home, at work, leaving work, at home. the one task i'm having trouble is leaving work, its set to activate from 14:30 an 18:00 and read an nfc tag on my car dock. the problem is every thursday it triggers at 14:30, but the last few days, since maybe wednesday its triggered every day at 14:30, is there a way to see why tasker thinks it seeing the NFC tag.
I'm using the locale NFC plugin to recognise the NFC tags.
Any help much appreciated.

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

Detect media playing in chrome app

Tasker: Total Automation for Android - Sun, 06/17/2018 - 14:21

Hi

I would like to make a profile there is detecting if a video is playing in my chrome browser so the phone activate auto rotation.

Hope someone can help me with this.

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

[HELP] Get Current Weather Temperature?

Tasker: Total Automation for Android - Sun, 06/17/2018 - 14:01

I've tried a couple of tutorials found online with no success as they are all outdated.

Could someone please tell me how to get the current temperature for my city?

Thank you!!

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

Pages