quickblox

Register user to QuickBlox Users from android

你说的曾经没有我的故事 提交于 2019-12-24 00:56:22
问题 I'm trying to use QuickBlox in my android application, I read the guide and imported the sample and everything worked fine. I changed a few things that user can login using EditText for username and another for password.. and it worked fine. But now I want to add a Register Button that makes the user able to register new account.. I don't know how to do that.. Any Idea? 回答1: Here's the solution : QBUsers.signUp(user, new QBEntityCallbackImpl<QBUser>() { public void onSuccess(QBUser result,

Quickblox and Pro Guard error

百般思念 提交于 2019-12-23 13:39:34
问题 I'm developing an app that uses the Quickblox SDK. If I compile it with minifyEnabled false It work's fine. But if I enable minify to obfuscate the code I get the following error: 09-15 15:00:50.865 12029-12029/com.app.meet E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.app.meet, PID: 12029 java.lang.ExceptionInInitializerError at com.g.b.d.a(Unknown Source) at com.app.meet.App.j(Unknown Source) at com.app.meet.j.a(Unknown Source) at com.app.meet.h.e.onServiceConnected(Unknown Source)

creating chat room in QuickBlox

瘦欲@ 提交于 2019-12-23 04:24:37
问题 I am trying to create a chat room in QuickBlox using my iOS app. [[QBChat instance] createPrivateRoomWithName:@"My Room"]; - (void)createPrivateRoomWithName:(QBChatRoom*)room{ NSLog(@"Private room %@ was created", room.name); // Add users to this room NSNumber *anny = [NSNumber numberWithInt:300]; NSNumber *jim = [NSNumber numberWithInt:357]; NSArray *users = [NSArray arrayWithObjects:anny, jim, nil]; [[QBChat instance] addUsers:users toRoom:room]; } but after using this code my application

How to check whether session live or expired in Quickblox iOS SDK?

我与影子孤独终老i 提交于 2019-12-20 05:45:32
问题 I know that, any session will be expired after last request (made before 2 hours) to the Quickblox server. When I create a session, I'm able to find [QBBaseModule sharedModule].tokenExpirationDate but I'm not sure how it works and how should I check for whether session is live or expired? How to check whether session is live or expired? If I create a session, I'll get [QBBaseModule sharedModule].tokenExpirationDate for next 2 hours, now within an hour I'll made a request to the server, would

How to update a sent message in Quickblox IOS

只谈情不闲聊 提交于 2019-12-20 05:39:11
问题 How do I update a sent QBChatMessage in the server? For e.g. After the message is sent/delivered, how does one update it's text or custom parameters. Also are there parameters that cannot be changed or updated once sent and delivered? Here's a link to the snippet on Quickblox Android that seems to be doing the same. How is this achieved in IOS? 回答1: There is a method in QBRequest: /** Update existing chat message - mark it as read. @param message Сhat message to update. @param successBlock

How to filter Quickblox users?

筅森魡賤 提交于 2019-12-20 04:51:36
问题 I want to filter my application users based on their phone number or email, but I don't want exact match, instead part of the email or part of the number users should return in response. Is there a way in Quickblox iOS SDK? Suppose, I've some quickblox users like below : ID NAME Email Address Mobile Number User1 | yuyuqabc@somedomain.com | +91-12345-67890 User2 | qerqrorp@somedomain.com | +1-123-000-7891 User3 | xyzabcqry@somedomain.com | +64-123-456-78 Now the filter should apply like this,

Bad Authentication Data QuickBlox - Android

怎甘沉沦 提交于 2019-12-20 03:11:18
问题 I am working on QuickBlox SDK , Using this SDK I am trying to login on Facebook . I have visited some helpfull links on stackoverflow like this , but it didn't help me . Here is my code snippet . QBAuth.createSession(new QBEntityCallbackImpl<QBSession>() { @Override public void onSuccess(QBSession session, Bundle params) { String token = session.getToken(); QBUsers.signInUsingSocialProvider(QBProvider.FACEBOOK, token, null, new QBEntityCallbackImpl<QBUser>() { @Override public void onSuccess

Quickblox callback when participant get away or stopped the call

巧了我就是萌 提交于 2019-12-13 21:04:26
问题 I am working on video chat application using QuickBlox. Here is the situation, when i call from device-A to device-B and if activity on device-A just get paused or application get closed stream on device-B stop (offcourse). o when i try to call again from device-A i have to restart the application on device-B then it pick the call otherwise no call accepted on device-B and QBVideoStreamView just show the image on which it get hanged. So what callback should be called when participant stopped

XMPP client for Quickblox using Smack

怎甘沉沦 提交于 2019-12-13 18:59:11
问题 I'm trying to write a XMPP client to connect to Quickblox and use it as a bot for a chat application. I'm using Smack 4.1.3 for this purpose. Here's my code: public static void sendChat1() { XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder() .setUsernameAndPassword("4461610-26179", "pass") .setServiceName("chat.quickblox.com") .setPort(5222) .build(); System.out.println("Establishing Connection"); AbstractXMPPConnection conn2 = new XMPPTCPConnection(config); try

Retrieve Records from Quickblox API

孤人 提交于 2019-12-13 07:13:15
问题 I am using Quickblox SDK in my Application and designed Custom Objects in the Quickblox Admin panel.Here i am having some complex relationship between Custom Objects and not able to figure out how to retrieve the records using the Quickblox API. Problem: There are two tables 1.User 2.Group, i am successfully fetching all the groups created by a specific using by using parent_id key as mention in Quickblox API for maintaining relationships between tables. I want to retrieve all the groups