I have approved your two posts and someone will engage with you as soon as possible to help you work through this issue.
Regards,
Billy Gee
P
Pixovex
said
over 2 years ago
Thank You
P
Pranav J
said
over 2 years ago
Answer
Pivovex,
In Java, you have 2 types of Exceptions:
Exception: they are checked
Runtime exceptions: not checked
When a method can trigger a "checked" exception, you have to handle it - try catch block. In your case, IOException is a "checked" exception.
I am still working on it and get back to you once I have more information.
Thanks,
Pranav
Kinvey
1 person likes this
P
Pixovex
said
over 2 years ago
Thanks for your help, also i am thinking something is wrong with this code that causes that error. I thought this might help you figure out the issue, thanks
package com.pixovex.carpoolapp; import android.app.Application; import com.kinvey.android.Client; public class MainApplication extends Application{
private Client myKinveyClient; @Override public void onCreate() { super.onCreate(); myKinveyClient = new Client.Builder("Key","Secret" , this.getApplicationContext()).build(); } public Client getKinveyClient(){ return myKinveyClient; }
}
P
Pixovex
said
over 2 years ago
Find anything yet?
P
Pranav J
said
over 2 years ago
Pivovex,
A new version of the Android SDK v3.0.3 is available for download. You can find it at the following URL:
Pixovex
There is some error when I try to link my app to Kinvey. It keeps saying 'unhandled exception: java.io.IOException'. Anyone know anything about this?
Pivovex,
In Java, you have 2 types of Exceptions:
When a method can trigger a "checked" exception, you have to handle it - try catch block. In your case, IOException is a "checked" exception.
I am still working on it and get back to you once I have more information.
Thanks,
Pranav
Kinvey
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstBilly Gee
Hello Pixovex,
I have approved your two posts and someone will engage with you as soon as possible to help you work through this issue.
Regards,
Billy Gee
Pixovex
Thank You
Pranav J
Pivovex,
In Java, you have 2 types of Exceptions:
When a method can trigger a "checked" exception, you have to handle it - try catch block. In your case, IOException is a "checked" exception.
I am still working on it and get back to you once I have more information.
Thanks,
Pranav
Kinvey
1 person likes this
Pixovex
Thanks for your help, also i am thinking something is wrong with this code that causes that error. I thought this might help you figure out the issue, thanks
Pixovex
Find anything yet?
Pranav J
Pivovex,
A new version of the Android SDK v3.0.3 is available for download. You can find it at the following URL:
https://devcenter.kinvey.com/android/downloads#
Please upgrade to the latest SDK and let me know if it solves the issue.Thanks,
Pranav
Kinvey
Pixovex
Thank you, your first response worked fine
-
Can I add KinveyReferences and other custom Arrays to the User entity?
-
How can I use custom enums within my Entity?
-
Linking an image does not save with LinkedData
-
How can I get all records saved by the current user?
-
Why don't all users see the same data when querying?
-
Retrieving related file from datastore collection - continued
-
Problem implementing sign up / login
-
Can Android API be used for Java?
-
I'm not receiving push notifications
-
It is impossible to receive object according to the link
See all 258 topics