<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in Android</title>
<link>http://forum.shephertz.com/?qa=questions/products/appwarp/android</link>
<description>Powered by Question2Answer</description>
<item>
<title>Connection resturns bad request</title>
<link>http://forum.shephertz.com/?qa=11605/connection-resturns-bad-request</link>
<description>&lt;div&gt;
	&amp;nbsp;protected override void OnCreate(Bundle savedInstanceState)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; base.OnCreate(savedInstanceState);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SetContentView(Resource.Layout.Login);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WarpClient.initialize(Constants.API_KEY, Constants.SECRET_KEY);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WarpClient.GetInstance().AddConnectionRequestListener(this);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Create the user interface in code&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var layout = new LinearLayout(this);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout.Orientation = Orientation.Vertical;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var btnLogin = FindViewById&amp;lt;ImageButton&amp;gt;(Resource.Id.imgbtnLogin);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var txtUserId = FindViewById&amp;lt;EditText&amp;gt;(Resource.Id.txtUsername);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var txtPassword = FindViewById&amp;lt;EditText&amp;gt;(Resource.Id.txtPassword);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; btnLogin.Click += (sender, e) =&amp;gt;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //WarpClient.setRecoveryAllowance(10);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //WarpClient.GetInstance().RecoverConnection();&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WarpClient.GetInstance().Connect(txtUserId.Text);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //StartActivity(typeof(MainActivity));&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //this.Finish();&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;div&gt;
		&amp;nbsp;public void onConnectDone(ConnectEvent evt)&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (Looper.MyLooper() == null)&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Looper.Prepare();&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (evt.getResult() == WarpResponseResultCode.SUCCESS)&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;Connection Successful&quot;);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Android.Widget.Toast.MakeText(this, &quot;Connection Successful&quot;, Android.Widget.ToastLength.Long).Show();&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StartActivity(typeof(MainActivity));&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.Finish();&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&quot;Connection Failed&quot;);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Android.Widget.Toast.MakeText(this, &quot;Connection Failed&quot;, Android.Widget.ToastLength.Long).Show();&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11605/connection-resturns-bad-request</guid>
<pubDate>Sun, 14 Mar 2021 15:32:21 +0000</pubDate>
</item>
<item>
<title>How to save chat history for private chat</title>
<link>http://forum.shephertz.com/?qa=11601/how-to-save-chat-history-for-private-chat</link>
<description>How to save chat history for private chat</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11601/how-to-save-chat-history-for-private-chat</guid>
<pubDate>Mon, 08 Mar 2021 07:27:28 +0000</pubDate>
</item>
<item>
<title>how to create room and get room details C#</title>
<link>http://forum.shephertz.com/?qa=11598/how-to-create-room-and-get-room-details-c%23</link>
<description>how to create room and get room details C# ?

Can i get code to create room and get details for created rooms</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11598/how-to-create-room-and-get-room-details-c%23</guid>
<pubDate>Mon, 01 Mar 2021 19:09:09 +0000</pubDate>
</item>
<item>
<title>ConcurrentModificationException</title>
<link>http://forum.shephertz.com/?qa=11573/concurrentmodificationexception</link>
<description>&lt;p&gt;
	&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif;&quot;&gt;I would like to share a fairly common error from Google Play Console (Android):&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
java.util.ConcurrentModificationException: 

  at java.util.HashMap$HashIterator.nextNode (HashMap.java:1442)
  at java.util.HashMap$KeyIterator.next (HashMap.java:1466)
  at com.shephertz.app42.gaming.multiplayer.client.WarpClient.onResponse (WarpClient.java:506)
  at com.shephertz.app42.gaming.multiplayer.client.MessageDispatchThread.run (MessageDispatchThread.java:48)&lt;/pre&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;What can this be related to?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size:14px;&quot;&gt;I use&amp;nbsp;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;App42MultiPlayerGamingSDK.jar (version 2.3).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size:14px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Code:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
public void quickGame() {
    ...
    initAppWarp();
    addListeners();
    connectAppWarp();
}

private void initAppWarp() {
    if (warpClient == null) {
        try {
            WarpClient.initialize(apiKey, secretKey);
            warpClient = WarpClient.getInstance();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

private void addListeners() {
    if (warpClient != null) {
        if (connectionListener == null) {
            connectionListener = new ConnectionListener(this);
            warpClient.addConnectionRequestListener(connectionListener);
        }
        if (roomListener == null) {
            roomListener = new RoomListener(this);
            warpClient.addRoomRequestListener(roomListener);
        }
        if (zoneListener == null) {
            zoneListener = new ZoneListener(this);
            warpClient.addZoneRequestListener(zoneListener);
        }
        if (notificationListener == null) {
            notificationListener = new NotificationListener(this);
            warpClient.addNotificationListener(notificationListener);
        }
    }
}

private void connectAppWarp() {
    if (warpClient != null) {
        warpClient.connectWithUserName(myId);
    }
}

//-----------------------------------------
//-----------------------------------------

private void onConnectDone(boolean status) {
    ...
    warpClient.joinRoomWithProperties(properties);
}

private void onJoinRoomDone(RoomEvent event) {
    if (event.getResult() == WarpResponseResultCode.SUCCESS) {
        ...
        warpClient.subscribeRoom(roomId);
    } else if (event.getResult() == WarpResponseResultCode.RESOURCE_NOT_FOUND) {
        ...
        warpClient.createRoom(&quot;game&quot;, &quot;owner&quot;, 2, properties);
    }
}

private void onRoomCreated(String roomId){
    ...
    warpClient.joinRoom(roomId);
}

private void onRoomSubscribed(String roomId) {
    ...
    warpClient.getLiveRoomInfo(roomId);
}

public void sendMessage(byte[] msgBuf) {
    warpClient.sendPrivateUpdate(opponentId, msgBuf);
}

//-----------------------------------------
//-----------------------------------------

public void leaveGame() {
    if (warpClient != null &amp;amp;&amp;amp; state == ConnectedState.JOINED_ROOM) {
        warpClient.unsubscribeRoom(roomId);
        warpClient.leaveRoom(roomId);
        if (roomId != null &amp;amp;&amp;amp; roomId.length() &amp;gt; 0) {
             warpClient.deleteRoom(roomId);
        }
    }
    warpClient.disconnect();
}

@Override
public void onDisconnectDone(ConnectEvent event) {
    removeListeners();
}

private void removeListeners() {
    if (warpClient != null) {
        warpClient.removeConnectionRequestListener(connectionListener);
        warpClient.removeRoomRequestListener(roomListener);
        warpClient.removeZoneRequestListener(zoneListener);
        warpClient.removeNotificationListener(notificationListener);
        connectionListener = null;
        roomListener = null;
        zoneListener = null;
        notificationListener = null;
    }
}
&lt;/pre&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11573/concurrentmodificationexception</guid>
<pubDate>Sun, 05 Apr 2020 12:11:46 +0000</pubDate>
</item>
<item>
<title>CONNECTION_ERROR CODE 5 on Android 9</title>
<link>http://forum.shephertz.com/?qa=11562/connection_error-code-5-on-android-9</link>
<description>&lt;p&gt;
	Hi.&lt;/p&gt;
&lt;div&gt;
	I successfully created a multiplayer demo game based on the example:&lt;br style=&quot;clear: both;&quot;&gt;
	&lt;div&gt;
		&lt;a href=&quot;http://appwarp.shephertz.com/game-development-center/java-multiplayer-libgdx-tutorial/&quot; rel=&quot;nofollow&quot;&gt;http://appwarp.shephertz.com/game-development-center/java-multiplayer-libgdx-tutorial/&lt;/a&gt;&lt;/div&gt;
	&lt;div&gt;
		The project is successfully running on desktop and Android versions 6.0 and 7.1.1. But the initialization doesn't work on the Xiaomi Redmi Note 5 Android 9:&lt;/div&gt;
	&lt;div&gt;
		CONNECTION_ERROR CODE 5 in&amp;nbsp;onConnectDone(ConnectEvent connectEvent)&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;App42MultiPlayerGamingSDK.jar (version 2.3)&lt;/span&gt;&lt;/div&gt;
	&lt;div&gt;
		In build.gradle&amp;nbsp;targetSdkVersion 29&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11562/connection_error-code-5-on-android-9</guid>
<pubDate>Thu, 26 Mar 2020 17:21:52 +0000</pubDate>
</item>
<item>
<title>UDP Initialization failing</title>
<link>http://forum.shephertz.com/?qa=11557/udp-initialization-failing</link>
<description>Every time i run warpClient.initUDP(), I always get result code 4, bad request. I'm pretty sure my NAT is fine, and allows UDP Packets. This is on Android. Thanks</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11557/udp-initialization-failing</guid>
<pubDate>Fri, 21 Feb 2020 21:21:09 +0000</pubDate>
</item>
<item>
<title>Does the AppWarp API calls need to be done in the main unity thread only?</title>
<link>http://forum.shephertz.com/?qa=11553/does-the-appwarp-api-calls-need-done-the-main-unity-thread-only</link>
<description>I have implemented AppWarp for android game, android games when moved to background pauses. What I am trying to achieve is run all the AppWarp api  and register the the listerners in a different thread thread so that all the api calls can be done in a different thread when ever the app goes into the backgroun. for example creating room and getting the room id and room name.

I believe connecting , subscribing and joining room needs to be in the main thread. What I am trying to achieve is it even possible? Please do let me know. I have been trying but any calls done from thread other than the main thread doesnt work</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11553/does-the-appwarp-api-calls-need-done-the-main-unity-thread-only</guid>
<pubDate>Wed, 29 Jan 2020 07:18:50 +0000</pubDate>
</item>
<item>
<title>one player can't join room on second game.</title>
<link>http://forum.shephertz.com/?qa=11547/one-player-cant-join-room-on-second-game</link>
<description>&lt;p&gt;
	Good day, I'm new to AppWarp. After trying my game in two player mode. The two players was able to connect for the first game. But on the the second game, one player can join a room immediately while the other can't. returns an onConnectDone: false Your help would be appreciated. Thank you.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
            if (target.getY()&amp;lt;=0){
                if (Target.a1 == 1) healthGreenm -= 0.1f;
                else if (Target.a1 == 2) healthRedm -= 0.1f;
                else if (Target.a1 == 3) healthPinkm -= 0.1f;
                else if (Target.a1 == 4) healthBluem -= 0.1f;
                if (healthBluem&amp;lt;=0 &amp;amp;&amp;amp; healthGreenm&amp;lt;=0 &amp;amp;&amp;amp; healthPinkm&amp;lt;=0 &amp;amp;&amp;amp; healthRedm&amp;lt;=0){
                    //handleLeaveGame();
                    WarpController.getInstance().stopApp();
                    onGameFinished(WarpController.GAME_LOOSE, true);
                    return;
                }
            }&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
    public void onGameFinished(int code, boolean isRemote) {
        scorem = 0;
        if(isRemote){
            prevScreen.onGameFinished(code, true);
        }else{
            if(code==WarpController.GAME_WIN){
                //world.state = World.WORLD_STATE_NEXT_LEVEL;
            }else if(code==WarpController.GAME_LOOSE){
                //world.state = World.WORLD_STATE_GAME_OVER;
            }
        }
        //WarpController.getInstance().handleLeave();
        WarpController.getInstance().stopApp();
    }&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11547/one-player-cant-join-room-on-second-game</guid>
<pubDate>Sun, 12 Jan 2020 06:48:32 +0000</pubDate>
</item>
<item>
<title>Can't Join the room I created. OnJoinRoomDone returns onJoinRoomDone: 2</title>
<link>http://forum.shephertz.com/?qa=11541/cant-join-created-onjoinroomdone-returns-onjoinroomdone</link>
<description>&lt;p&gt;
	Good day, I'm new to AppWarp. I've been trying to add a multiplayer mode to the game I created but seems like I can't join the room I created. Would certainly appreciate your help.&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
	public void onJoinRoomDone(RoomEvent event){
		log(&quot;onJoinRoomDone: &quot;+event.getResult());
		if(event.getResult()==WarpResponseResultCode.SUCCESS){// success case
			this.roomId = event.getData().getId();
			warpClient.subscribeRoom(roomId);
		}else if(event.getResult()==WarpResponseResultCode.RESOURCE_NOT_FOUND){// no such room found
			HashMap&amp;lt;String, Object&amp;gt; data = new HashMap&amp;lt;String, Object&amp;gt;();
			data.put(&quot;result&quot;, &quot;&quot;);
			warpClient.createRoom(&quot;superjumper&quot;, &quot;shephertz&quot;, 2, data);
		}else{
			warpClient.disconnect();
			handleError();
		}
	}&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11541/cant-join-created-onjoinroomdone-returns-onjoinroomdone</guid>
<pubDate>Wed, 08 Jan 2020 20:05:53 +0000</pubDate>
</item>
<item>
<title>OnCreateRoomDone() callback gets null reference for RoomData</title>
<link>http://forum.shephertz.com/?qa=11531/oncreateroomdone-callback-gets-null-reference-for-roomdata</link>
<description>&lt;p&gt;
	I am working on unity Engine: 2019.3.0f3&lt;/p&gt;
&lt;p&gt;
	Appwarp DLL version: 1.1.5774.35650&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I have implemeted the OnCreateRoom Callback as such&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	//Callback on RoomCreated&lt;/div&gt;
&lt;div&gt;
	public void onCreateRoomDone (RoomEvent eventObj)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	Debug.Log(&quot;onCreateRoomDone : &quot; + eventObj.getResult());&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	if(eventObj.getData() == null)&lt;/div&gt;
&lt;div&gt;
	{&lt;/div&gt;
&lt;div&gt;
	Debug.LogError(&quot;[WarpNetworkManager] Room data null error&quot;);&lt;/div&gt;
&lt;div&gt;
	return;&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Debug.LogError(&quot;[WarpNetworkManager] Room Name: &quot;+ eventObj.getData().getName());&lt;/div&gt;
&lt;div&gt;
	Debug.LogError(&quot;[WarpNetworkManager] Room ID: &quot;+ eventObj.getData().getId());&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	//Setting the RoomName and RoomID&lt;/div&gt;
&lt;div&gt;
	EssentialDataManager.Instance.RoomName = eventObj.getData().getName();&lt;/div&gt;
&lt;div&gt;
	EssentialDataManager.Instance.RoomID = eventObj.getData().getId();&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	//Sending the Update Data back to Native App&lt;/div&gt;
&lt;div&gt;
	EventManager.Instance.TriggerEvent&amp;lt;EventSendBaseAppData&amp;gt;(new EventSendBaseAppData());&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	//Subscribing to the Room that was created&lt;/div&gt;
&lt;div&gt;
	WarpNetworkManager.Instance.SubscribeRoom();&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Result code &amp;nbsp;eventObj.getResult() shows&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	onCreateRoomDone : 4&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	eventObj.getData() is always null. Is there any server issues currently? it was working fine until today.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11531/oncreateroomdone-callback-gets-null-reference-for-roomdata</guid>
<pubDate>Thu, 19 Dec 2019 09:04:34 +0000</pubDate>
</item>
<item>
<title>When trying to make an Android build with Arm64 architecture having issue. Errors pointing to AppWarpUnityMobile</title>
<link>http://forum.shephertz.com/?qa=11514/android-architecture-errors-pointing-appwarpunitymobile</link>
<description>&lt;p&gt;
	I have been trying to export and build an android project after changing some settings in project settings&lt;/p&gt;
&lt;p&gt;
	-&amp;gt; Configuration section -&amp;gt; Scripting Backend = IL2CPP&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	-&amp;gt;&amp;nbsp;Configuration section -&amp;gt; Target Architecture = (Checked) ARMv7 and ARM64 OR just ARMv7 OR just ARM64 [same behaviour]&lt;/p&gt;
&lt;p&gt;
	I am not able to makes builds or export a gradle project, all the errors point to AppWarpUnityMobile.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	When I changed&amp;nbsp;project settings&lt;/p&gt;
&lt;p&gt;
	-&amp;gt; Configuration section -&amp;gt; Scripting Backend = Mono&lt;/p&gt;
&lt;p&gt;
	This works. I need a 64bit architecture but I am unable due to AppWarpUnityMobile.dll&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Unity Version: 2019.3.0b11&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;dll version: 1.0.5774.33405 downloaded on 27/11/2019&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I have also attached the call stack to this thread. Please do help me out as soon as possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	PS:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	AppWarpUnity.dll settings&lt;/p&gt;
&lt;p&gt;
	Include Platform: Editor and Standalone&lt;/p&gt;
&lt;p&gt;
	Auto Reference: true&lt;/p&gt;
&lt;p&gt;
	Validate Reference: true&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	AppWarpUnityMobile.dll Settings&lt;/p&gt;
&lt;p&gt;
	Include Platform Android&lt;/p&gt;
&lt;p&gt;
	Auto Reference: true&lt;/p&gt;
&lt;p&gt;
	Validate Reference: true&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11514/android-architecture-errors-pointing-appwarpunitymobile</guid>
<pubDate>Wed, 27 Nov 2019 07:45:36 +0000</pubDate>
</item>
<item>
<title>unity CONNECTION_ERR CODE 5 in onConnectDone(ConnectEvent eventObj)</title>
<link>http://forum.shephertz.com/?qa=11510/unity-connection_err-onconnectdone-connectevent-eventobj</link>
<description>Hello, 

 

I don't know What I'm doing wrong 

 

I always receive in unity the error after I call 

WarpClient.GetInstance().Connect(username);

 

the error is:

CONNECTION_ERR CODE 5

in onConnectDone(ConnectEvent eventObj)</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11510/unity-connection_err-onconnectdone-connectevent-eventobj</guid>
<pubDate>Wed, 23 Oct 2019 23:15:08 +0000</pubDate>
</item>
<item>
<title>JNI error while disconnecting from internet</title>
<link>http://forum.shephertz.com/?qa=11433/jni-error-while-disconnecting-from-internet</link>
<description>&lt;p&gt;
	Hi, I am calling Connect() and after connecting , i am manually disconnecting from the internet. At this point of time i am getting error and app is getting crashed. How to handle this ?&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
JNI ERROR (app bug): accessed stale Local 0x200001  (index 0 in a table of size 0)
 JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x200001
 &quot;Thread-93&quot; prio=5 tid=18 Runnable
   | group=&quot;main&quot; sCount=0 dsCount=0 obj=0x12fc6f70 self=0x6a6c4600
   | sysTid=23403 nice=0 cgrp=default sched=0/0 handle=0x631c2920
   | state=R schedstat=( 35061145 37977398 42 ) utm=3 stm=0 core=2 HZ=100
   | stack=0x630c4000-0x630c6000 stackSize=1022KB
   | held mutexes= &quot;mutator lock&quot;(shared held)&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11433/jni-error-while-disconnecting-from-internet</guid>
<pubDate>Wed, 20 Mar 2019 14:00:51 +0000</pubDate>
</item>
<item>
<title>Getting JNI error while disconnecting from Internet on device.</title>
<link>http://forum.shephertz.com/?qa=11431/getting-jni-error-while-disconnecting-from-internet-device</link>
<description>Hi,

I am calling Connect() and after connecting , i am manually disconnecting from the internet. At this point of time i am getting error and app is getting crashed.

art/runtime/indirect_reference_table.cc:80] JNI ERROR (app bug): accessed stale Local 0x200001  (index 0 in a table of size 0

How to handle this ??</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11431/getting-jni-error-while-disconnecting-from-internet-device</guid>
<pubDate>Wed, 20 Mar 2019 10:37:51 +0000</pubDate>
</item>
<item>
<title>AppWarp connectWithUserName() -&gt; CONNECTION_ERROR</title>
<link>http://forum.shephertz.com/?qa=11338/appwarp-connectwithusername-connection_error</link>
<description>&lt;div&gt;
	Hello,&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	since a few days I get the error message &quot;CONNECTION_ERROR&quot; when I call the method connectWithUserName().&lt;/div&gt;
&lt;div&gt;
	Unfortunately I can't find any explanation what exactly the error message means, how it is caused and how to fix it.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Before that, I never had a problem with the connection.&lt;/div&gt;
&lt;div&gt;
	I hope you can help me.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Edit:&lt;/div&gt;
&lt;div&gt;
	I forgot to mention that I get the same error message via the dashboard when I try to connect a user there.&lt;/div&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11338/appwarp-connectwithusername-connection_error</guid>
<pubDate>Fri, 19 Oct 2018 11:45:35 +0000</pubDate>
</item>
<item>
<title>I can't create a room in appwarp</title>
<link>http://forum.shephertz.com/?qa=11323/i-cant-create-a-room-in-appwarp</link>
<description>I am trying to create a room but I keep getting the same error and then it just keeps loading forever. I have attached a screenshot of the error &quot;This service does not belongs to appWarp :&quot;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11323/i-cant-create-a-room-in-appwarp</guid>
<pubDate>Fri, 28 Sep 2018 16:41:40 +0000</pubDate>
</item>
<item>
<title>connectWithUser fails after disconnect</title>
<link>http://forum.shephertz.com/?qa=11238/connectwithuser-fails-after-disconnect</link>
<description>&lt;p&gt;
	The first match works fine, using&amp;nbsp;&lt;span style=&quot;font-size: 9pt; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Menlo;&quot;&gt;connectWithUserName()&lt;/span&gt;&amp;nbsp;but whenevaer I try to connect after a disconnect() I get an error wit reasonCode = 5 in&amp;nbsp;&lt;span style=&quot;font-size: 9pt; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Menlo;&quot;&gt;onConnectDone()&lt;/span&gt;. It &amp;nbsp;works again after 1-2 minutes or after restarting the app?&lt;/p&gt;
&lt;p&gt;
	Strange is that, this is only the case with Android while I do not see this on desktop. (Both uses the Java SDK).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Any ideas what could be the problem?&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11238/connectwithuser-fails-after-disconnect</guid>
<pubDate>Thu, 26 Jul 2018 08:29:44 +0000</pubDate>
</item>
<item>
<title>Get approximate matching time</title>
<link>http://forum.shephertz.com/?qa=11204/get-approximate-matching-time</link>
<description>Would be nice if there was a request to get the aproximate waiting time for a match.</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11204/get-approximate-matching-time</guid>
<pubDate>Sat, 07 Jul 2018 03:14:54 +0000</pubDate>
</item>
<item>
<title>Room is not created in apphq.shephertz.com</title>
<link>http://forum.shephertz.com/?qa=11150/room-is-not-created-in-apphq-shephertz-com</link>
<description>when i try to create room in apphq.shephertz.com that time i am not able to create room. i am attaching screen shot with this you can check it.

Thanks in advance</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11150/room-is-not-created-in-apphq-shephertz-com</guid>
<pubDate>Tue, 12 Jun 2018 05:25:42 +0000</pubDate>
</item>
<item>
<title>error indicating connection recoverable from onConnectDone() never triggered if keep calling sendUpdate() to room peers</title>
<link>http://forum.shephertz.com/?qa=11091/indicating-connection-recoverable-onconnectdone-sendupdate</link>
<description>Hello, I'm using Starling SDK and I find that if I keep calling sendUpdate() to room peers in game loop, even if wifi's turned off. the error of connection recoverable will never get triggered. but soon after the loop stops, the recoverable error will accour...</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11091/indicating-connection-recoverable-onconnectdone-sendupdate</guid>
<pubDate>Mon, 07 May 2018 14:35:03 +0000</pubDate>
</item>
<item>
<title>ConcurrentModificationException causing app crashes</title>
<link>http://forum.shephertz.com/?qa=11075/concurrentmodificationexception-causing-app-crashes</link>
<description>&lt;p&gt;
	We are getting &lt;span style=&quot;font-family:courier new,courier,monospace;&quot;&gt;ConcurrentModificationException &lt;/span&gt;in different parts of AppWarp code which is causing app crashes and with decompiled files it doesn't seem possible to figure out where exactly the issue is. Please find screenshots attached for the logs with exact line numbers.&lt;/p&gt;
&lt;p&gt;
	&lt;a href=&quot;http://forum.shephertz.com/?qa=blob&amp;amp;qa_blobid=9797701153369828856&quot; rel=&quot;nofollow&quot;&gt;http://forum.shephertz.com/?qa=blob&amp;amp;qa_blobid=9797701153369828856&lt;/a&gt;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11075/concurrentmodificationexception-causing-app-crashes</guid>
<pubDate>Tue, 24 Apr 2018 11:21:59 +0000</pubDate>
</item>
<item>
<title>java.nio.channels.CancelledKeyException with ClientChannel.java(218)</title>
<link>http://forum.shephertz.com/?qa=10793/channels-cancelledkeyexception-with-clientchannel-java</link>
<description>&lt;p&gt;
	Dear Sir/Maám,&lt;/p&gt;
&lt;p&gt;
	I am using app warp for my gaming app wherein I get exception. Here is the detailed crash log. Please let me know what is the cause and how do we fix this. I have no clue of how is it reproducing. But crashed once with a live user.&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	Fatal Exception: java.nio.channels.CancelledKeyException&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:82)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at com.shephertz.app42.gaming.multiplayer.client.ClientChannel.SendRequest(ClientChannel.java:218)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at com.shephertz.app42.gaming.multiplayer.client.ClientChannel$KeepAliveTask.run(ClientChannel.java:268)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.util.TimerThread.mainLoop(Timer.java:555)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at java.util.TimerThread.run(Timer.java:505)&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	I am waiting for your response.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Regards&lt;/div&gt;
&lt;div&gt;
	Viji&lt;/div&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10793/channels-cancelledkeyexception-with-clientchannel-java</guid>
<pubDate>Fri, 13 Oct 2017 17:58:06 +0000</pubDate>
</item>
<item>
<title>how to implement Login Register concept in chat application in appwrap android</title>
<link>http://forum.shephertz.com/?qa=10405/implement-login-register-concept-application-appwrap-android</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; font-size: 14px;&quot;&gt;I am developing chat application in which i want to register user only first time and next time user will be logged in each time. i am calling ConnectWithUserName api each time when user login. so i am getting user already exsists from appwrap server. so how can i implement register login concept with appwrap android ? &amp;nbsp;How can i connect user with server permanent ? so that i does not need to connect user every time &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size:20px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;Is there any one who can help me ? i am waiting appwrap response since 2 days. no one reply me from appwrap. now what should i do ?&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size:20px;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;please help me&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10405/implement-login-register-concept-application-appwrap-android</guid>
<pubDate>Thu, 13 Apr 2017 07:30:39 +0000</pubDate>
</item>
<item>
<title>how to implement Login Register concept in appwrap android</title>
<link>http://forum.shephertz.com/?qa=10400/how-to-implement-login-register-concept-in-appwrap-android</link>
<description>I am developing chat application in which i want to register user only first time and next time user will be logged in each time. i am calling ConnectWithUserName api each time when user login. so i am getting user already exsists from appwrap server. so how can i implement register login concept with appwrap android ? &amp;nbsp;How can i connect user with server permanent ? so that i does not need to connect user every time &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
please help me</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10400/how-to-implement-login-register-concept-in-appwrap-android</guid>
<pubDate>Tue, 11 Apr 2017 13:16:15 +0000</pubDate>
</item>
<item>
<title>how can i send image in sendChat api appwrap android</title>
<link>http://forum.shephertz.com/?qa=10391/how-can-i-send-image-in-sendchat-api-appwrap-android</link>
<description>i am creating chat applicaiton in which i want to send image in sendChat() api 

so how can i send image in sendChat() api ?

please help me</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10391/how-can-i-send-image-in-sendchat-api-appwrap-android</guid>
<pubDate>Tue, 11 Apr 2017 07:21:21 +0000</pubDate>
</item>
<item>
<title>i am getting success in onGetLiveRoomInfoDone api then why i can not get user message in onChatReceived api</title>
<link>http://forum.shephertz.com/?qa=10390/getting-success-ongetliveroominfodone-message-onchatreceived</link>
<description>i am getting success in onGetLiveRoomInfoDone api then why i can not get user message in onChatReceived api</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10390/getting-success-ongetliveroominfodone-message-onchatreceived</guid>
<pubDate>Tue, 11 Apr 2017 06:45:35 +0000</pubDate>
</item>
<item>
<title>why i am getting WarpResponseResultCode.RESOURCE_MOVED appwrap android</title>
<link>http://forum.shephertz.com/?qa=10382/warpresponseresultcode-resource_moved-appwrap-android</link>
<description>why i am getting WarpResponseResultCode.RESOURCE_MOVED in my android chat application ? please help me</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10382/warpresponseresultcode-resource_moved-appwrap-android</guid>
<pubDate>Mon, 10 Apr 2017 12:25:10 +0000</pubDate>
</item>
<item>
<title>Why a user auto leave after subscribeRoom?</title>
<link>http://forum.shephertz.com/?qa=10284/why-a-user-auto-leave-after-subscriberoom</link>
<description>Hello,

I am currently learning how to join and subscribe to a room. For this i use the example &quot;multiplayerdemo&quot;.

After a few seconds after a user joined and subscribed a room the method &quot;onUserLeftRoom&quot; is called and the user is not longer in the room and i don't know why. I don't call the method &quot;leaveRoom&quot;.

I hope you can help me.

Thanks in advance.</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10284/why-a-user-auto-leave-after-subscriberoom</guid>
<pubDate>Sat, 11 Mar 2017 23:54:44 +0000</pubDate>
</item>
<item>
<title>Empty room create for duplicate</title>
<link>http://forum.shephertz.com/?qa=10243/empty-room-create-for-duplicate</link>
<description>&lt;p&gt;
	This is the situation that i want prevent:&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;img alt=&quot;&quot; src=&quot;http://forum.shephertz.com/?qa=blob&amp;amp;qa_blobid=16213744548924616305&quot; style=&quot;width: 600px; height: 263px;&quot;&gt;&lt;/p&gt;
&lt;p&gt;
	Two users want join Room, but there aren't room's opened, and the two players create a room.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	¿How i can to prevent this situation?&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10243/empty-room-create-for-duplicate</guid>
<pubDate>Sat, 25 Feb 2017 08:07:15 +0000</pubDate>
</item>
<item>
<title>Using Appwarp and App42 with C++ Builder of Embarcadero</title>
<link>http://forum.shephertz.com/?qa=10236/using-appwarp-and-app42-with-c-builder-of-embarcadero</link>
<description>Hello All&lt;br /&gt;
&lt;br /&gt;
We are currently developing a cross platform mobile project with C++ Builder of Embarcadero. Does App42 and Appwarp has any support for this platform? If yes which sdk should I use?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Gökhan</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10236/using-appwarp-and-app42-with-c-builder-of-embarcadero</guid>
<pubDate>Thu, 23 Feb 2017 08:29:13 +0000</pubDate>
</item>
<item>
<title>[URGENT] Appwarp Authorize Error</title>
<link>http://forum.shephertz.com/?qa=10140/urgent-appwarp-authorize-error</link>
<description>Hi, Some of our users are having difficulties when connecting to Appwarp. Most of the time, they are receiving AuthorizeError. I have much information about connection resilliency, but this doesnt seem about it. I think, when a user disconnects from server, this has to be done after a few minutes at most. Again, this is happening to some users, so I is there a problem with disconnecting user? Thanks,</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10140/urgent-appwarp-authorize-error</guid>
<pubDate>Wed, 01 Feb 2017 13:14:53 +0000</pubDate>
</item>
<item>
<title>Best way to read room properties at lobby</title>
<link>http://forum.shephertz.com/?qa=10038/best-way-to-read-room-properties-at-lobby</link>
<description>I want the user can see the properties of each room at the lobby. For example, when a player enter a room and select a character. I want the users at the lobby can see which character the players select. Can anyone suggest the procedure of acheiving my goal? Thanks.</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10038/best-way-to-read-room-properties-at-lobby</guid>
<pubDate>Wed, 04 Jan 2017 09:25:29 +0000</pubDate>
</item>
<item>
<title>Retrieve room property</title>
<link>http://forum.shephertz.com/?qa=10037/retrieve-room-property</link>
<description>&lt;pre style=&quot;background-color:#ffffff;color:#000000;font-family:'Courier New';font-size:9.6pt;&quot;&gt;
&lt;span style=&quot;color:#000080;font-weight:bold;&quot;&gt;I encounter problem of retreive data of room properties. here is my coding.

private &lt;/span&gt;LinkedHashMap&amp;lt;String, User&amp;gt; &lt;span style=&quot;color:#660e7a;font-weight:bold;&quot;&gt;userMap &lt;/span&gt;= &lt;span style=&quot;color:#000080;font-weight:bold;&quot;&gt;new &lt;/span&gt;LinkedHashMap&amp;lt;String, User&amp;gt;();
&lt;/pre&gt;
&lt;pre style=&quot;background-color:#ffffff;color:#000000;font-family:'Courier New';font-size:9.6pt;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color:#ffffff;color:#000000;font-family:'Courier New';font-size:9.6pt;&quot;&gt;
User user = &lt;span style=&quot;color:#000080;font-weight:bold;&quot;&gt;new &lt;/span&gt;User(&lt;span style=&quot;color:#008000;font-weight:bold;&quot;&gt;&quot;from hong kong&quot;&lt;/span&gt;); &lt;span style=&quot;color:#660e7a;font-weight:bold;&quot;&gt;userMap&lt;/span&gt;.put(Util.&lt;span style=&quot;color:#660e7a;font-style:italic;&quot;&gt;userName&lt;/span&gt;, user);&lt;br&gt;HashMap&amp;lt;String, Object&amp;gt; table = &lt;span style=&quot;color:#000080;font-weight:bold;&quot;&gt;new &lt;/span&gt;HashMap&amp;lt;String, Object&amp;gt;(); table.put(&lt;span style=&quot;color:#008000;font-weight:bold;&quot;&gt;&quot;userMap&quot;&lt;/span&gt;, &lt;span style=&quot;color:#660e7a;font-weight:bold;&quot;&gt;userMap&lt;/span&gt;); &lt;span style=&quot;color:#660e7a;font-weight:bold;&quot;&gt;theClient&lt;/span&gt;.updateRoomProperties(roomId, table, &lt;span style=&quot;color:#000080;font-weight:bold;&quot;&gt;null&lt;/span&gt;);&lt;/pre&gt;
&lt;p&gt;
	After I update the room properties,&amp;nbsp; I call the getLiveRoomInfo method&amp;nbsp; and i can retreive the room property&amp;nbsp;named &amp;nbsp;&quot;userMap&quot;,&amp;nbsp;but it returns userMap={hhh=fyp.caspar.taxifeesharing.realtimematching.User@4393e3c8}. How can i retrieve the field of the object user?&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10037/retrieve-room-property</guid>
<pubDate>Wed, 04 Jan 2017 09:11:35 +0000</pubDate>
</item>
<item>
<title>not able to create room in appwrap</title>
<link>http://forum.shephertz.com/?qa=9912/not-able-to-create-room-in-appwrap</link>
<description>&lt;p&gt;
	i have create one new app (using Graphical User Interface of appwrap) in my appwrap account&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	and now i am creating &lt;strong&gt;STATIC room&lt;/strong&gt; (using Graphical User Interface of appwrap) &amp;nbsp;in my newly created app but the room is not created&lt;/p&gt;
&lt;p&gt;
	i tried many times but only refresh icon is rotating and nothing happen.&lt;/p&gt;
&lt;p&gt;
	i am getting &lt;strong&gt;THIS SERVICE DOES NOT BELOG TO APPWRAP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;
	please help me appwrap team.&lt;/p&gt;
&lt;p&gt;
	Thanks&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9912/not-able-to-create-room-in-appwrap</guid>
<pubDate>Wed, 30 Nov 2016 06:48:07 +0000</pubDate>
</item>
<item>
<title>how to disconnect user when my android application close ? appwrap android</title>
<link>http://forum.shephertz.com/?qa=9736/disconnect-when-android-application-close-appwrap-android</link>
<description>I am developing chat application in android using appwrap service and i want to disconnect user from server when i close my application.

so can you please tell me how can i disconnect user when my application close ?</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9736/disconnect-when-android-application-close-appwrap-android</guid>
<pubDate>Thu, 06 Oct 2016 05:07:03 +0000</pubDate>
</item>
<item>
<title>Can  two user send private chat request to single user ?</title>
<link>http://forum.shephertz.com/?qa=9734/can-two-user-send-private-chat-request-to-single-user</link>
<description></description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9734/can-two-user-send-private-chat-request-to-single-user</guid>
<pubDate>Wed, 05 Oct 2016 06:15:36 +0000</pubDate>
</item>
<item>
<title>how to notify to user1 to user2 for come in private chat ?</title>
<link>http://forum.shephertz.com/?qa=9722/how-to-notify-to-user1-to-user2-for-come-in-private-chat</link>
<description>i am creating chat application in which i want to notify user when other user want to do privatechat with other user. so can you please tell me how can i notify user2 when user1 send private chat invite ?

 

i have used sendPrivateChat method to do private chat between user.  

please reply me. Thanks in advance.</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9722/how-to-notify-to-user1-to-user2-for-come-in-private-chat</guid>
<pubDate>Mon, 03 Oct 2016 12:40:43 +0000</pubDate>
</item>
<item>
<title>Static Room Navigation on APPHQ</title>
<link>http://forum.shephertz.com/?qa=9720/static-room-navigation-on-apphq</link>
<description>Hi,

Do you have any plan to add a navigation feature on static rooms for the new UI on AppHQ? If there is more than 10 static rooms, we cant see them rather than switching to old UI. There is a filtering option, but it cant help on some situations. (e.g. filter by name or roomID)

Thanks</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9720/static-room-navigation-on-apphq</guid>
<pubDate>Mon, 03 Oct 2016 08:19:46 +0000</pubDate>
</item>
<item>
<title>what is the use of Dynamic room ? how to create dynamic room ? appwrap android</title>
<link>http://forum.shephertz.com/?qa=9718/what-use-dynamic-room-how-create-dynamic-room-appwrap-android</link>
<description></description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9718/what-use-dynamic-room-how-create-dynamic-room-appwrap-android</guid>
<pubDate>Mon, 03 Oct 2016 06:44:35 +0000</pubDate>
</item>
<item>
<title>Emoji are changed automatically appwrap android OR how can i send whatsapp type emoji in appwrap Android ?</title>
<link>http://forum.shephertz.com/?qa=9712/changed-automatically-appwrap-android-whatsapp-appwrap-android</link>
<description>I am developing chat application in Android. in which i have used whatsapp emoji in my application but when i am sending message through theClient.sendChat(message); api then my emojis are automatically changed. though i am using whatsapp type emoji , they are not displayed as whatsapp emoji . so is there any extra thing i have to set in appwrap service ? how can i send whatsapp type emoji in appwrap Android ? please help me. Thanks in Advance</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9712/changed-automatically-appwrap-android-whatsapp-appwrap-android</guid>
<pubDate>Fri, 30 Sep 2016 10:39:39 +0000</pubDate>
</item>
<item>
<title>how to delete private chat history between user in appwrap android ?</title>
<link>http://forum.shephertz.com/?qa=9701/how-delete-private-chat-history-between-user-appwrap-android</link>
<description></description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9701/how-delete-private-chat-history-between-user-appwrap-android</guid>
<pubDate>Wed, 28 Sep 2016 13:29:43 +0000</pubDate>
</item>
<item>
<title>null pointer exception appwrap android</title>
<link>http://forum.shephertz.com/?qa=9699/null-pointer-exception-appwrap-android</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;can you please tell me what is the reason for null pointer exception&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;&amp;nbsp;though i have check event!=null i am getting null pointer exception in&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif;&quot;&gt;&amp;nbsp;event.getJoinedUsers().length in&amp;nbsp;&lt;/span&gt;onGetLiveRoomInfoDone method&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9699/null-pointer-exception-appwrap-android</guid>
<pubDate>Wed, 28 Sep 2016 11:23:46 +0000</pubDate>
</item>
<item>
<title>How to disconnect user from sendPrivateChat ?</title>
<link>http://forum.shephertz.com/?qa=9677/how-to-disconnect-user-from-sendprivatechat</link>
<description>I am making chat application and i am using sendPrivateChat method to communicate user in private mode. but i want to disconnect user when user press back button of android device. so can you please tell me how to disconnect user from private chat mode. ?

i have used appwrap service in android.

 

Thanks in Advance.</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9677/how-to-disconnect-user-from-sendprivatechat</guid>
<pubDate>Wed, 28 Sep 2016 04:54:08 +0000</pubDate>
</item>
<item>
<title>when should i disconnect user from appwrap server in  android activity ? which method should i use for disconnect</title>
<link>http://forum.shephertz.com/?qa=9666/disconnect-appwrap-android-activity-method-should-disconnect</link>
<description></description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9666/disconnect-appwrap-android-activity-method-should-disconnect</guid>
<pubDate>Tue, 27 Sep 2016 10:06:14 +0000</pubDate>
</item>
<item>
<title>i got FATAL EXCEPTION MessageDispatchThread in appwrap android</title>
<link>http://forum.shephertz.com/?qa=9656/got-fatal-exception-messagedispatchthread-appwrap-android</link>
<description>Thanks in Advance</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9656/got-fatal-exception-messagedispatchthread-appwrap-android</guid>
<pubDate>Mon, 26 Sep 2016 06:30:55 +0000</pubDate>
</item>
<item>
<title>I have created 65 rooms in appwrap and i want to know howmany users are online in each room ?Appwrap Android</title>
<link>http://forum.shephertz.com/?qa=9635/created-rooms-appwrap-howmany-users-online-appwrap-android</link>
<description>pls help me

 

Thanks in Advance</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9635/created-rooms-appwrap-howmany-users-online-appwrap-android</guid>
<pubDate>Fri, 23 Sep 2016 04:56:56 +0000</pubDate>
</item>
<item>
<title>how to get total online user for particular room in appwrap android ?</title>
<link>http://forum.shephertz.com/?qa=9621/how-get-total-online-user-for-particular-room-appwrap-android</link>
<description></description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9621/how-get-total-online-user-for-particular-room-appwrap-android</guid>
<pubDate>Thu, 22 Sep 2016 06:36:16 +0000</pubDate>
</item>
<item>
<title>Email verification issue</title>
<link>http://forum.shephertz.com/?qa=9581/email-verification-issue</link>
<description>&lt;p&gt;
	&lt;span style=&quot;color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; font-size: 14px;&quot;&gt;Hello, I am developing an app where i want to put email verification. At the time of sign up user will enter email address and if that email address is valid then one link will be sent to users email address and only after clicking on that link user will be able to login to the app. Now my question is after sign up we need to block the user untill he/she clicks on that link. So how to do this usecase on this server. So how to block and Unblock the user in this usecase.&lt;/span&gt;&lt;/p&gt;</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9581/email-verification-issue</guid>
<pubDate>Tue, 13 Sep 2016 04:34:08 +0000</pubDate>
</item>
<item>
<title>Starting a game simultanously - One starts 1sec before the other</title>
<link>http://forum.shephertz.com/?qa=9572/starting-game-simultanously-one-starts-1sec-before-the-other</link>
<description>So I coded that the game started once the other user send a comeback with the UTC time. So I coded that both games should start at UTC+3Seconds (currentTimeMillis()+3000). When I try it on desktop (I use libgdx) it works fine, but when I start it on different mobiles, one mobile is starting 1sec after the other one. Both are good devices etc and I dont understant the problem... One device is a OnePlus 3 and the other is a Nexus 5. Any advice? I am just confused because on desktop it works well.</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9572/starting-game-simultanously-one-starts-1sec-before-the-other</guid>
<pubDate>Thu, 08 Sep 2016 17:42:54 +0000</pubDate>
</item>
<item>
<title>How do I calculate the velocity from pixels runned</title>
<link>http://forum.shephertz.com/?qa=9326/how-do-i-calculate-the-velocity-from-pixels-runned</link>
<description>So I am making an online game with AppWarp, and I should use de UTC time and velocity to guess the position of the ball (Pong Game).

 

My game uses Libgdx, and its actors uses Scene2d. They move by the method moveBy(x,y); which it means to add X and Y to its actual position.  (I think it uses pixels)

So I dont know how to calculate the velocity to calculate and guess where the ball is at the moment. I have thought about sending the actual position and the UTC time. Then when I have received the position and the UTC time, I should calculate the time it has last for the information to arrive and ..? 

The velocity is constant: moveBy(600,300); Any idea?</description>
<category>Android</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9326/how-do-i-calculate-the-velocity-from-pixels-runned</guid>
<pubDate>Sun, 24 Jul 2016 18:17:16 +0000</pubDate>
</item>
</channel>
</rss>