backendless

When sending message App crashes with this error- It works fine prior to AdMob

谁都会走 提交于 2020-01-05 04:21:22
问题 My message app works fine until Admob is added and I am not sure how to solve the crash. There is nothing wrong with Admob; it works fine but the issue is that after i add it my app crashes. When commenting out Admob it works fine again. Please help Here is the crash log: /com.app.androidchatsdk.app E/AndroidRuntime: FATAL EXCEPTION: main Process: com.app.androidchatsdk.app, PID: 18494 java.lang.ClassCastException: java.util.HashMap cannot be cast to com.backendless.services.messaging

control an Automated function manually

别等时光非礼了梦想. 提交于 2019-12-25 08:48:07
问题 Well I apologize for not so specific and clear title (tried too hard for it ), so I have this function public void fetchData(){ dataQuery.setPageSize(10); // fetch 10 items per request final boolean[] firstResponse = {true}; final CountDownLatch latch = new CountDownLatch( 1 ); // a callback of fetching data from server Backendless.Data.of(Note.class).find(dataQuery, new AsyncCallback<BackendlessCollection<Note>>() { @Override public void handleResponse(BackendlessCollection<Note> notes) { //

Backendless: I can not access retrieved data

这一生的挚爱 提交于 2019-12-12 09:27:51
问题 Using the Android project here, RestaurantListActivity shows a list of retrieved Restaurants from Restaurant table in Backendless and there is no problem so far. The problem: I have been trying these two days to retrieve the list of restaurants somewhere else in the code, or use the totalRestaurants list. I tried: 1- This code causes NullPointerException: Backendless.Data.of( Restaurant.class ).findFirst(); 2- using the same code in Github: I can access totalRestaurants list inside brackets,

Query Data from Another Backendless App

二次信任 提交于 2019-12-12 03:37:17
问题 Does backendless support querying data from another Backendless App Table? If yes how. If I have Backendless App called Music with Table songs and I have another App called Movie. I want to query the song table from the Movie app. 回答1: You gonna need to call Backendless.initApp(context, {another_app_id}, {another_app_secret_key}, v1) before each call to a different application. This way you'll be able to talk to any number of apps. 回答2: #Save useres useres = new useres(); useres.setName("Amin

testing a curl request with jmeter

∥☆過路亽.° 提交于 2019-12-10 21:33:47
问题 I have a curl request and i don't know how to transform it in jmeter : curl -H application-id:my-app-id -H secret-key:my-secret-key -H Content-Type:"multipart/form-data" -H application-type:REST --form upload=@/logo.jpg -X POST -v http://localhost:8080/api/v1/files/Photos/logo.jpg What is the best way of doing this? 回答1: Option 1: Record the request In JMeter: File -> Templates -> Recording -> Create Workbench -> HTTP(S) Test Script Recorder -> Start In console: curl -x localhost:8888 -H

Backendless: I can not access retrieved data

落花浮王杯 提交于 2019-12-04 22:03:15
Using the Android project here , RestaurantListActivity shows a list of retrieved Restaurants from Restaurant table in Backendless and there is no problem so far. The problem: I have been trying these two days to retrieve the list of restaurants somewhere else in the code, or use the totalRestaurants list. I tried: 1- This code causes NullPointerException: Backendless.Data.of( Restaurant.class ).findFirst(); 2- using the same code in Github: I can access totalRestaurants list inside brackets, but after this block of code it shows me that totalRestaurants list is empty. Backendless.Data.of(