Questions tagged [parse4cn1]

parse4cn1 is a CodenameOne extension library (cn1lib) that enables integrating Parse (www.parse.com) in CodenameOne apps. It uses the Parse REST API whenever possible to realize cross-platform solutions. However, for advanced functionality such as push notifications, parse4cn1 features native Parse SDK integration.

The Parse platform provides a complete backend solution for your mobile application. Parse provides a REST API as well as libraries for different mobile platforms like Android and iOS. CodenameOne (CN1 for short) on the other hand is a great framework for cross-platform mobile application development. Although some of the functionality provided by Parse is offered to paying CN1 users, integration of third-party libraries is allowed and even encouraged in CN1. This project aims at making the Parse platform available to CN1 apps thereby giving developers more options for cloud-based backend solutions in CN1. In order to maximize platform support, this library aims at implementing the REST API specification rather than, for instance, integrating the existing Parse native libraries for various platforms to achieve the same functionality. Of course, where possible, advanced features that go beyond the REST API (e.g., background operations) will also be supported by this library preferably in a generic manner. Since CN1 is written in Java, this library can also be used in pure Java projects as illustrated here.

32 questions
1
vote
1 answer

CN1 parse.h not found

I'm trying to use the parse4cn1 library but upon sending an iOS build to the server, I get the following error: /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build9107748602253278046xxx/dist/MCGMain-src/CodenameOne_GLAppDelegate.m:39:9: fatal…
Nick
  • 101
  • 6
1
vote
2 answers

Error saving ParseUser or ParseObject on Codenameone using parse4cn1 library

I am trying to save a parse4cn1 3.0 ParseUser or ParseObject. The object is saved on simulator, however on Java script port I receive an error. Note ParseFile save() works on both simulator & Java script port. public void createTask(String…
1
vote
2 answers

unable to connect to back4app using parse4cn1 lib

Good day all, I tried connecting to the back4app back end service using the new parse4cn1 lib .....I supplied the keys required but my app could not connect to the backend for some strange reasons.kept reporting (unable to connect to back…
rockspetre
  • 325
  • 1
  • 7
1
vote
1 answer

parse4cn1 callback usage example

I have been using the new parse4cn1 and I must say its been pleasant, until I tried to use the signUpcallback and logincallback to direct users in my app to the "welcome" form after successful sign up or login. All I tried didn't work. So please I…
rockspetre
  • 325
  • 1
  • 7
1
vote
2 answers

Application name in AndroidManifest when building with multidex=true

I have been trying to incorporate support for Parse Push in my app, following the instructions from this wiki at GitHub. When building for Android, the last stumbling block was this error message in the build log: Attribute "name" bound to…
Yngve Moe
  • 410
  • 2
  • 8
1
vote
1 answer

What will happen to parse4cn1 when they shut down parse.com?

As some of us have noted, parse.com will be shut down in January 2017. In the current version of parse4cn1, all requests go to https://api.parse.com, using the constant ParseConstants.API_ENDPOINT. Will it be possible to supply a custom URL here,…
Yngve Moe
  • 410
  • 2
  • 8
1
vote
2 answers

Adding ACL support to parse4cn1

I'm working on an app written in Codename One together with the parse4cn1 library, the combination of which is a real pleasure to use. However, I need support for a few things in parse4cn1 that are not implemented, most importantly ACL and was…
user1246562
  • 825
  • 5
  • 7
1
vote
2 answers

Adding android push notification icon in codenameone app

I'm using the parse4cn1 to enable push notifications for my cn1 app (with a hosted parse server called back4app). I want to add a custom icon for the notification tray in Android, and I need to add a line to the section of the…
ygesher
  • 1,133
  • 12
  • 26
1
vote
1 answer

parse4cn1 has some issue when working with Node JS and parse-server open source

The parse4cn1 library works well with parse.com but it has some issues when working with Node 4.3.2 and parse-server open source. For example, when calling the ParseUser.signup() function, the "Invalid key name" exception is always happened. I tried…
William
  • 281
  • 3
  • 9
1
vote
2 answers

CodenameOne plan for the cloud storage API

Since CodenameOne doesn't support "the cloud storage API" any more and the parse.com is going to retire soon as well. Does CodenameOne has any plan to release a new Cloud Storage API or provide suggestions/guidelines to help developers to deal with…
William
  • 281
  • 3
  • 9
1
vote
1 answer

Android build sizes changed?

We have built an app on Thursday(21 Jan 2016), which was 3MB in size. Last night(27 Jan 2016) we have built the same app without changes for an production environment which was 5.1MB in size. We noticed new libs appeared in the APK. This has caused…
1
vote
2 answers

Codename One parse4cn1 build error

My application build normally, but when I add the libraries parse4cn1 the build fails ios example of failure: CompileC build/Main.build/Release-iphoneos/Main.build/Objects-normal/armv7/com_codename1_components_FileEncodedImageAsync_1.o …
1
vote
1 answer

Codename One - Json in Dropbox 2

I am using firebase to send Json thru my CN1 app. This is my code and it's working fine, but I want to send the stuff to Dropbox instead and I just can't make it work. (I already got my token, key and secret from their site) Could you please tell me…
Felipe
  • 527
  • 2
  • 9
0
votes
1 answer

Error submitting Codename One build, Parse4cn1 build command failure

I am using Codename One in Netbeans to develop my app and I cannot figure what is wrong with my build. My app uses the CN1 built html parser to extract data from the web and it works perfectly in the simulator but when I send it to the build I…
Preston White
  • 97
  • 1
  • 2
  • 10
0
votes
1 answer

Parse4cn1 iOS error

I'm getting an error while trying to build the Test App for the parse4cn1 library, I took the code that was on github and only modified the package name since it didn't allow me to generate the push certificates with the one it originally had, and…