Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Default Anyone wants to Test my applica? give me feedback...

    Hello PPl,
    This attached zip is infact two files. one is "tcpexample" a compiled binary that should run on the phone fine, by the command
    ./tcpexample
    ofcourse after u telnet. and go to the dir where u put it..

    the other file is a NetworkDemo.jar which is a sample jar file in WTK. it creates a socket connection for both server or client watever one wants.

    Now what i need to do was just to check socketconnection class of java if it works or not. it works flawless on A768i but in A780 i cant get SocketConnection to work. it could be just about my phone and so i want someone with A780 to test it as well. because SocketConnection is not a closed API. it should work for all...

    Do as follows.
    1. run the tcpexample binary on the device.it is a server. it will start listening at port 10816 (just a random free port i am using)...basically waiting forever ...

    2. then after u have installed NetworkDemo.jar .. run it...there will be three options. choose "Socket Demo".

    3. Then u will have two options in the next window. "client" or "server" ..since server is running in tcpexample, u need to choose client here.

    4. once u click client and click start. JVM will ask u that this application want to send data that will cost u money.. dont worry it wont cost u anything. go ahead and click yes.

    5. u should have a tmobile/tzone working ... or u have to use these settings for tmobile. just create a new profile in setup/Data Network as folows

    profile name: tzone
    APN: wap.voicestream.com
    no user name or pass...
    click DNS Server
    DNS1: 216.155.165.50
    DNS2: 216.155.165.51

    thats it.. u r done. the reason it will not cost u money is because u will be connecting to local host so it just needs a network to start the connection but never goes to the tmobile server.. cos its local loopback.

    6. after u r connected u will see
    Status: Connected to Server
    Send:

    7. In the send field type anything.. it should be received at tcpexample binary.. and it will display what ever u send on the bash shell...

    if u can do that.. that would prove that sockets work on A780 as well.. it is working example on my A768i so i know it works... i have used local communication through binaries alone and it works.. its java that i want to test out...

    finally if it does work...let me know here ..dont forget that cos thats the purpose of this thread.. lol

    u need further info .. let me know? u need similar binary for some other stuff but enhanced to ur need.. again let me know.. i can help u in creating local sockets in c++...

    peace out
    Mudassar
    Attached Files Attached Files

  2. #2

    Default Re: Anyone wants to Test my applica? give me feedback...

    Comon Guys ... no one wants to test it out.. lol ?

    either u dont have A780 or u dont have time for this...but if someone can muster up lil courage to try it out.. it wont take that much time.. it will tell us if SocketConnection is working on A780 just like A768 or not !!

    i believe SocketConnection of java is not a closed API so it is suppose to work... u dont have to code nething..just test it out.. ok here is a lil incentive for u..

    half of my wealth and my daughters hand in marriage is lil too much but i can send a bottle of wine to whoever tests it... hahahah

  3. #3
    Join Date
    Jun 2005
    Location
    Houston, USA
    Posts
    349

    Default Re: Anyone wants to Test my applica? give me feedback...

    Quote Originally Posted by mudassar
    half of my wealth and my daughters hand in marriage is lil too much but i can send a bottle of wine to whoever tests it... hahahah
    What bottle of wine? People might have some bottles and may get the wine for free from the web.

    I guess if u send a box A780 phones than a bottle of wine u won't have any problems anymore with lazy people. I take one, too!
    % New UNIX password:
    > penis
    BAD PASSWORD: it's WAY too short
    % New UNIX password:

  4. #4

    Default Re: Anyone wants to Test my applica? give me feedback...

    I guess if u send a box A780 phones than a bottle of wine u won't have any problems anymore with lazy people. I take one, too!
    hahaha.. well said !! hmm contemplating !!....

    k good to c that there is atleast one download ...

    hope to hear something now ..!!

  5. #5
    Join Date
    Jun 2005
    Location
    Houston, USA
    Posts
    349

    Default Re: Anyone wants to Test my applica? give me feedback...

    [quote="mudassar"]
    hmm contemplating !!....
    % New UNIX password:
    > penis
    BAD PASSWORD: it's WAY too short
    % New UNIX password:

  6. #6

    Default Re: Anyone wants to Test my applica? give me feedback...

    @mudssar
    what kind of wine are you offering, ? well i just tried your app on a flashed e680i and no errors came up, but as with you the kvm/t-mobile is blocking my access to the socket; stupid kvm/t-mobile. i still can't believe that there has been only one download, and it turned out to be someone who couldn't help you, , sorry about that....

  7. #7
    Join Date
    Jun 2005
    Location
    Houston, USA
    Posts
    349

    Default Re: Anyone wants to Test my applica? give me feedback...

    Quote Originally Posted by rpconnect
    @mudssar
    what kind of wine are you offering, ?
    Ahh, yes, that's an important question. But I haven't A780 so I would only drink the wine (or deposit it for later).
    % New UNIX password:
    > penis
    BAD PASSWORD: it's WAY too short
    % New UNIX password:

  8. #8

    Default Re: Anyone wants to Test my applica? give me feedback...

    @rpconnect/cytax :
    hmm wine !!! its called Mudassar's Classic Wine
    i have some special beautiful ladies jumping on the grapes n making this classic wine and not just ordinary grapes.. these are specially grown in the forbidden wild lands...
    c there is a reason its called My Classic :P :P

    alryt enough of wine !!! hey thanks rpconnect for taking the initiative to try it out... well it means jvm wont even allow to open the socket in E680.. thats suprising.. i had A768i which got busted a while back.. thats the reason i got A780. i tried it on A768i and with the Tzone connection it'd work... i have another thing in mind though...

    i recently found out that the APN: wap... doesnt support tcp sockets... wap doesnt have any tcp protocol support... it doesnt even have http support ryt away.. but for http it uses some underlying wap protocols to establish that connection. however, it definately doesnt support raw sockets.. i called up tmobile but seems like the company is so big now that they cant hire good technical ppl... There are three APN's that a service provider usually supports..
    1. wap APN.. (that we already have)
    2. internet APN (this one is for general internet/email/browsing) etc...
    3. MMS APN.

    the internet APN is as follows for tmobile that i found from some online googling.. but we need to confirm this from tmobile.. maybe u can try to get hold of em as well... who knows who will get lucky..

    try this one for internet
    profile: tzone (watever u want doesnt matter)
    APN: internet2.voicestream.com
    DNS1: 216.155.175.040
    DNS2: 216.155.175.170

    now internet protocol supports sockets. i tried this one and it connects to tzone.. it also opened the socket for me but i got an error like "error 9: error during tcp write" .. this error occurs when socket tries to write something ... another APN for internet is (internet3.voicestream.com) but this one didnt connect.. same DNS !

    hey rpconnect, did java side gave u any errors or exceptions ?

    thanks all,
    btw: i havent tried wine yet.. is it better then alcohol ? u'll be surprised but i dont drink at all !!!

  9. #9

    Default Re: Anyone wants to Test my applica? give me feedback...

    @mudassar
    when i tried last night w/ the default t-zone wap setting there were no errors reported at all.

    I just tried the APN you posted above and no luck, i couldnt connect to t-zones at all and when the java app tried to make the connection i got "failed to connect to server". What kind of service plan do you have? mine is just a pre-paid plan and i think its fairly limiting.

  10. #10

    Default Re: Anyone wants to Test my applica? give me feedback...

    oh well u need to have that included in ur plan i guess... but i thought it works without even that... cos its based on data bring transfered over GPRS.. so it should connect definately but as long as u dont transfer data it wont cost u...

    how do u browse the net on the phone ? u can only browse it if u have the wap settings... ? or u dont browse on it ?

    before opening the java file.. u should connect to tzone first and then when java prompts u to choose connection .. u choose the one u connected with...
    thanks
    -Mudassar


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 02-18-2010, 05:49 AM
  2. Replies: 1
    Last Post: 06-21-2008, 06:01 PM
  3. Replies: 1
    Last Post: 06-21-2008, 06:01 PM
  4. Replies: 1
    Last Post: 06-21-2008, 06:01 PM
  5. Give motorola your feedback
    By jwarper in forum A780 General Chat
    Replies: 0
    Last Post: 07-31-2006, 08:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1