Questions tagged [parse4j]

Java Library to deal with Parse (parse.com) REST API

The Parse platform provides a complete back-end solution for your mobile application. Our goal is to totally eliminate the need for writing server code or maintaining servers.

If you're familiar with web frameworks like Ruby on Rails, we've taken many of the same principles and applied them to our platform. In particular, our SDK is ready to use out of the box with minimal configuration on your part.

22 questions
4
votes
1 answer

java.lang.NoClassDefFoundError: org/apache/http/client/config/RequestConfig

I imported Parse4j to my project. My project has the following tutorial lines: Parse.initialize("xyz", "abc"); ParseObject team = new ParseObject("GameScore"); team.put("score", 1337); team.put("playerName", "Neymar"); team.save(); For the last…
Karan
  • 14,824
  • 24
  • 91
  • 157
3
votes
0 answers

Using parse4j, I am unable to cast ParseObject to custom class extending ParseObject

Using the following custom parse4j ParseObject classes: @ParseClassName("Job") public class Job extends ParseObject { public final String DOOR = "Door"; public Job() {} public setDoor(Door door) { put(DOOR, door); } …
K.P.
  • 67
  • 5
2
votes
2 answers

Can I use parse4cn1 in non cn1 projects?

I've been trying to download the parse4j from Thiagolocatelli but they're missing version 1.5-SNAPSHOT which includes a third parameter for Parse.initialize(), but I can't download version 1.5-SNAPSHOT from github nor from Maven repository, people…
Simple
  • 827
  • 1
  • 9
  • 21
2
votes
1 answer

How can I connect to a hosted Parse-Server over Parse4J?

I would like to be able to use the Parse4J library (https://github.com/thiagolocatelli/parse4j/) to connect to a hosted Parse-Server. I want to use https://parseapi.back4app.com as an API endpoint. They provide a solid Parse hosting…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
2
votes
2 answers

Parse4j error JAVA Eclipse

I use parse4j to let user sign up an account and sign in so User can view Their score online the problem is I cannot run my app and It says a lot of error I import the parse4j-1.0.jar file to my eclipse project and I write as the instruction This…
John DOE
  • 25
  • 1
  • 7
1
vote
2 answers

Convert timestamp to simple date in Java and add to ParseObject

Not Duplicate: I intended for this question to address the java.lang.IllegalArgumentException that is thrown when attempting to add a formatted date back to a ParseObject for rendering purposes. I've got a list of dates which I want to display in a…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
1
vote
1 answer

Cannot render Object with Thymeleaf: Property or field cannot be found on object of type 'org.parse4j.ParseObject' - maybe not public?

I've been following this guide http://www.thymeleaf.org/doc/articles/springmvcaccessdata.html to learn how to render data models into a Springboot application with Thymeleaf. I have a function that retrieves a list of objects from my Parse-Server…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
1
vote
4 answers

Parse.com webapp "parse deploy" issue

I am using parse javascript cloud code on windows. I am following steps given here https://parse.com/apps/quickstart#cloud_code/windows So far I am able to create directory structure using parse new. Which looks like: CloudCodeDemo -config/ …
mahendra kawde
  • 855
  • 4
  • 25
  • 44
1
vote
3 answers

Sending Push Notification to device using parse4j in java

I am using parse4j library for server side coding and on client side I have iOS device. Now I want to send the push notification from my web browser page I developed in JAVA in which I am using parse4j library to communicate with iOS device through…
Funny
  • 566
  • 5
  • 16
0
votes
1 answer

Can't save current user as object in User Pointer column (Parse4J)

I'm trying to save the currentUser to the Pointer<_User> column in one of my classes. This is a library-specific problem (https://github.com/thiagolocatelli/parse4j/blob/master/src/main/java/org/parse4j/ParseUser.java). I'm just wondering if anybody…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
0
votes
1 answer

Thymeleaf image src + ParseException: Exception evaluating SpringEL expression: "currentUser.get('profilePicture').get('url')"

I get a currentUser from my ApplicationAdvice class and present it on every page if the user is logged in: @ModelAttribute("currentUser") public TmtUser currentUser(Model model) { TmtUser currentUser = TmtUser.currentUser; …
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
0
votes
1 answer

How can I do an OR query for the same database column using ParseQuery?

I have a query with several constraints: ParseQuery < ParseObject > requestsQuery = ParseQuery.getQuery(ParseConstantsUtil.CLASS_REQUEST); requestsQuery.whereContains(ParseConstantsUtil.REQUEST_AUTHOR,…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
0
votes
2 answers

Attempt to render model into Springboot application with Thymeleaf and Parse

I've been following this guide http://www.thymeleaf.org/doc/articles/springmvcaccessdata.html to learn how to render data models into a Springboot application with Thymeleaf. I have a function that retrieves a list of objects from my Parse-Server…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
0
votes
0 answers

How to query Class by Pointer value in Parse (Java)?

I'm getting a NullPointer here, obviously because my query is not well formed. I was under the impression I could query for a Pointer column in my Class by just providing an object that matches it. Why doesn't the current user suffice? ParseUser…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153
0
votes
1 answer

Creating ParseObject after migration to mLab with Heroku

Good evening, Firstly, I have just ported my Parse.com database over to Heroku, and am using the mLab mongo database add on. Secondly, the application that connects to the database is written in java. To connect to the two together, I am using the…
Paulo
  • 602
  • 1
  • 8
  • 20
1
2