Jacques van Tonder

Greenhorn
+ Follow
since Sep 13, 2018
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jacques van Tonder

Hi guys,

So me and my friend are trying to build an application. He is building it for PC and I will be building it for android.
It is an application where a user can add clients to the app(name,number,email) etc.

the actual adding of the clients will happen on the desktop version of the app which my friend is going to set up.
he is going to create a database which stores the data the user creates in the app and let it sync to google cloud
in the android version which i am building, the user can only see the clients created on the desktop so the user can look at his/her schedule on the go.

So how can I enable google sign in on the android app so the user can retrieve the data created on the desktop version?
5 years ago
Ignore the previous main code,

Use this one instead:

5 years ago
Hi,

hopefully i am posting in the correct forum this time.

I made a small console app which stores fruit and outputs their values upon user request.

Class:

Main code:


How can I allow the user to add new fruits to the program and then let the user specify it's values like color,taste and cost?

5 years ago
Okay thank you and sorry Tim, I understand better now.
5 years ago
So basically anything related to android goes to android forum.. Wether its a java question or not?
5 years ago
I didn't know where to post it? How was i supposed to know its android, i assumed it can be done using java itself.

Or is this java forum for the normal java only, not android devolopment using java?

I am consfused.
5 years ago
Hi there fellow Ranchers,

Anyone have any idea how to slowly draw a border around a textview?

the border would start at the middel top of the text view and slowly draw around the textView till it is complete.
The border also needs to rapidly change color while drawing and then turn solid white when it is done.
5 years ago
The UI still needs some work but the app works.

Any suggestions or potential bugs that you think might occur?
5 years ago
how about i upload it to my Google drive and post the link here?
5 years ago
Can I post a video here or somewhere so you guys can see what you helped build?
5 years ago
Hahahahaha I am such a noob!

I presses the button without entering anything into the EditText boxes!

You must be laughing so hard at me right now. lol.

Thanks for the help.
5 years ago
Logcat has an issue on line 44 nt 46
5 years ago
Can someone please explain to me what is wrong here?
app closes down again when clicking button

Logcat says it has an issue on line 46 but i dont see the issue:

09-21 13:41:34.433 7010-7010/com.floatr.cypher E/AndroidRuntime: FATAL EXCEPTION: main
   Process: com.floatr.cypher, PID: 7010
   java.lang.NumberFormatException: For input string: ""
       at java.lang.Integer.parseInt(Integer.java:620)
       at java.lang.Integer.parseInt(Integer.java:643)
       at com.floatr.cypher.MainActivity2$1.onClick(MainActivity2.java:44)
       at android.view.View.performClick(View.java:6291)
       at android.view.View$PerformClick.run(View.java:24931)
       at android.os.Handler.handleCallback(Handler.java:808)
       at android.os.Handler.dispatchMessage(Handler.java:101)
       at android.os.Looper.loop(Looper.java:166)
       at android.app.ActivityThread.main(ActivityThread.java:7425)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
09-21 13:41:34.446 7010-7010/com.floatr.cypher I/Process: Sending signal. PID: 7010 SIG: 9

My code:



5 years ago
Oh wow, that solved it.

Thank you so much guys, especially Tim Moores and Randy Tong.

It now works as expected!

I apologize if i ask stupid questions but i am still learning and you guys have taught me a lot over the last coupe of posts.
Thanks for bearing with me, most other forums like stackOverflow would've told me to get lost a long time ago.

You guys are awesome!
5 years ago