comparison src/com/five_ten_sg/connectbot/transport/Telnet.java @ 11:f3b3bbd227b8 tn5250

adding tn5250 files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 18:26:27 -0700
parents 0ce5cc452d02
children 6aaefb22d876
comparison
equal deleted inserted replaced
10:e773d0952613 11:f3b3bbd227b8
31 import com.five_ten_sg.connectbot.R; 31 import com.five_ten_sg.connectbot.R;
32 import com.five_ten_sg.connectbot.bean.HostBean; 32 import com.five_ten_sg.connectbot.bean.HostBean;
33 import com.five_ten_sg.connectbot.service.TerminalBridge; 33 import com.five_ten_sg.connectbot.service.TerminalBridge;
34 import com.five_ten_sg.connectbot.service.TerminalManager; 34 import com.five_ten_sg.connectbot.service.TerminalManager;
35 import com.five_ten_sg.connectbot.util.HostDatabase; 35 import com.five_ten_sg.connectbot.util.HostDatabase;
36
36 import android.content.Context; 37 import android.content.Context;
37 import android.net.Uri; 38 import android.net.Uri;
38 import android.util.Log; 39 import android.util.Log;
39 import de.mud.telnet.TelnetProtocolHandler; 40 import de.mud.telnet.TelnetProtocolHandler;
40 41
340 return String.format("%s:%s", 341 return String.format("%s:%s",
341 context.getString(R.string.format_hostname), 342 context.getString(R.string.format_hostname),
342 context.getString(R.string.format_port)); 343 context.getString(R.string.format_port));
343 } 344 }
344 345
345 /* (non-Javadoc)
346 * @see com.five_ten_sg.connectbot.transport.AbsTransport#usesNetwork()
347 */
348 @Override 346 @Override
349 public boolean usesNetwork() { 347 public boolean usesNetwork() {
350 return true; 348 return true;
351 } 349 }
352 } 350 }