[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Never programmed before. I want to make a program on android

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 30
Thread images: 4

File: 2017-03-07T233248434820297-0500.png (74KB, 249x294px) Image search: [Google]
2017-03-07T233248434820297-0500.png
74KB, 249x294px
Never programmed before.

I want to make a program on android that opens up automatically when the alarm goes off so it shows my schedule for the day.

How would I be able to do that?
>>
Wake up when you alarm goes off and look at your schedule.
>>
>>60803923
just get an automation app
>>
>>60803930
than i wouldnt learn anything
>>
>>60803923
So you want to learn programming?

Pick a starting language. For beginners, there are generally two recommended "programming families" that you can choose to start learning:
-Dynamically typed/interpreted programming languages, such as: Python, Perl, Ruby
-Statically typed/compiled programming languages, such as: C, C++, C#

These are amongst the most popular languages in use worldwide, including 4 from the top 5. Both approaches are perfectly fine, and well-documented.
-Dynamically typed programming may be a bit more flexible, convenient, and forgiving. It is more popular in academia.
-Statically typed programming is a bit more suited for making general applications. It is more popular in industries.

Cannot decide? Flip a coin.

If you choose statically typed/compiled programming, you may want to start with C, then pick up C++. C is very well documented, and teaches many universal programming concepts. C++ is based on C, and adds new concepts. Sources:
For C:
The C Programming Language (K&R)
C Primer Plus (Prata)
http://www.cprogramming.com/tutorial/c-tutorial.html
http://www.learn-c.org/

For C++:
http://www.learncpp.com/
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial/c++-tutorial.html
http://en.cppreference.com/
https://isocpp.org/faq

If you choose dynamically typed/interpreted programming, you may want to start with Python. It is very easy to pick up. Here are some good sources:
http://www.learnpython.org/
http://www.codecademy.com/en/tracks/python

>BUT I WANT MORE SOURCES!
Read: https://wiki.installgentoo.com/index.php/Programming_resources

>BUT I WANNA START WITH [language x] INSTEAD!
Sure, if you like. But the languages above are considered good for beginners.

>BUT I WANNA MAKE A COOL WEBSITE!
Learn HTML, CSS, and Javascript.

>BUT I WANNA MAKE iPHONE GAMES!
Learn Objective C and/or Swift.

>BUT I WANNA MAKE ANDROID GAMES!
Learn Java.

>BUT I WANNA MAKE PC GAMES!
Learn patience.
>>
>>60803923
define your problem better would be step #1
>>
File: ai042.jpg (21KB, 289x492px) Image search: [Google]
ai042.jpg
21KB, 289x492px
>>60803923
Just make a klwp so your homescreen shows what's on your schedule for that day.
>>
>>60803923
IFTTT
>>
>>60803949
This is legit
>>
>>60803949
Nice tips
>>
>>60804146
>>60804163
>>
>>60803949
>falcon
wud da fug, are you real or did someone else find his trip
>>
>>60804493
He posts that pasta in every thread like this.
>>
>>60804870
i seen him in legit years, thought he went to fukin reddit or something
next we'll have fukin sysadmin posting again on the regular.. wonder is captain spicard is still around
>>
>>60803923
puzzle alarm clock has a option to open an App after the Alarm.

Just use it to open your calender
>>
Kek I made that exact app for myself, except it turns on my PC with Wake on lan
I integrated it with the default Android alarm clock so I don't need to set my alarm somewhere else, it's pretty neat.
If you want I can send you the code
>>
>>60804981
Make it open sores
>>
>>60803949
>So you want to learn programming?
>Perl
fucking hell man
>>
Hey i had the exact same idea cause u forget shit all the time. Haven't really gotten around to doing anything yet. I know java but android development seems like a special kind of hell.
>>
>>60805026
Uploaded to https://github.com/Guad/AlarmDetector
>>
File: 1465663890133.gif (511KB, 409x226px) Image search: [Google]
1465663890133.gif
511KB, 409x226px
>>60805236
Noice.
>>
>>60805236
>Xamarin
aay
>MIT
aay
good one broe, this is how its meant to be done
>>
>>60805041
Perl is an example of "Dynamically typed/interpreted programming languages".
>>
>>60803923
Then you will have to cost 300 hours at least
>>
>>60803949
ATTENTION BEFORE DOING ANY OF THIS

learn lisp first
>>
This would be easier done with Tasker or something like that. Plus, an automation app would teach you the logic behind programming without having to learn useless apis that you would never use again.
>>
>>60806799
Is that a meme?
>>
IFTTT.com
>>
>>60803949
This sounds good but I'm an idiot so who knows.
>>
>>60803923
You need to program and alarm using the AlarmManager class. The alarm manager would then call a broadcast receiver that shows a notification, and when the user presses the notification then the activity (aka screen) opens.

Be advised: google fucked the API to schedule an alarm at an exact point in time, because they said that every app firing alarms randomly fucks battery. So they made all alarms inexact by default, and then provided a new API to schedule exact alarms again, but even then you might have to disable doze for the app in settings.
Thread posts: 30
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.