gong tji

Ranch Hand
+ Follow
since Oct 27, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by gong tji

Hello everyone,

Currently I've plan to develop android app, but,

Q : is possible to get lot money from building android apps?

if so, I've plan to learn android but which should learn, someone told me there 3 options :
- native :
 + java
 + kotlin
-framework : flutter

someone recommend me to learn flutter, but now I need y'all recommendations,

please anybody give me advice

Thanks
1 day ago
Hello everyone,

In country where I living today is Friday, so this near with weekend.

What do you all usually do when weekend?

Thanks
2 months ago
Hello everyone,

According from : https://stackoverflow.com/questions/44665571/how-to-make-a-synchronous-call-using-retrofit-on-android

if I use retrofit2 synchronously would make app crash, but I really need something that could return the value directly.

I've ever used asycntask like this :



this could be return value directly when I call :


Note : I've ever used volley also, but volley incompatible with laravel, the result always GET never POST.

Q : Is there other solutions to get value data directly besides using asynctask?
I don't want to using asynctask because it caused my app slow.

Please someone help me

Thanks

2 months ago
Hello everyone

I've tried to looping JSONArray to put it value into primitive array, but the result always null, here's my code (code 1) :



I've tried to put it without looping and successful, here's my code (code 2):


Q  : How to implements code 2 in looping?

please help

Thanks.
2 months ago
Hello everyone,

Thanks before for reply,

Work in front of computer tend to make my eyes tired, and of course this could increase my myopia.

Do you have advice to keep eyes still healthy?(at least decrease chance to increase myopia).

Thanks.
2 months ago
Hello everyone,

I know to call findById(R.id.whatever) in class that extended by fragment is using package butterknife :

Is there another pure method from android that have same functionality with butterknife package?

please answer

Thanks
2 months ago
Hello everyone,

Do you consume vitamin such A, C, etc to maintain your healthy?

Do you usually do physical exercise?

if so how many times per week?

please answer

Thanks
3 months ago
Hello everyone,

I got stuck to build tabs with viewpager,

I'm still new in android, currently I use android studio 4.0,

here's my code :



activity_dashboard.xml


MyAdapter.java


Football.java


Note : I don't give another javaclass such : cricket and NBA because the code almost same with football.java

bug : Why Football java class not detected on MyAdapter.java ?

and why android studio 4 didn't support android.support though I put android.support.design on dependecies?

please help

Thanks.
3 months ago
Hello all,

please ignore this thread, I've made mistake,

my actual topic is : python-permission-denied

Sorry for inconvenience

Thanks.
4 months ago
Hello,

thanks for reply

I've change my code like this :

cgi.py


This code could run as well on terminal when I run it using command : python3 cgi.py

but when I run it via apache server (apache2),

it cause 500 internal server error on my browser.

and on error.log apache like this :



Note : I've give permission through sudo chmod 777 on : cgi.py and /root/chat-9

My goal is : I can run cgi.py through browser / url

What should I do?

Please help

Thanks
4 months ago
Hello everyone,

I read Meaningless Drivel on this forum which mean I can ask any topic regardless of code or programming language,

Is that true?

please answer

Thanks.
4 months ago