Android :: Server Stock / How To Open Specific Port?
Aug 5, 2010
How can I open a specific port in android? I have a server socket but the connection is rejected because the port is closed.
try { ServerSocket server = new ServerSocket(2021);
Socket client = server.accept();
} catch (Exception e) {
// TODO Auto-generated catch block a = false;
e.printStackTrace();
}
View 2 Replies
Jul 18, 2009
I was developing an app which need to open serversocket.
But, when i open one on poet 80, this throw a BindException :/ iven with the INTERNET permission. Open on other port work (ex: 8080).
Does this mean android not allow me to use this socket?
View 3 Replies
View Related
Apr 13, 2010
RED 5 video server on Android mobile phone. Is there any Open Source port project? So like simple opensource live Camera Video Audio encoding to FLV... I need such Opensource project to create Android live video streaming client for my server (I want to encode video on clients into FLV)
View 2 Replies
View Related
Sep 29, 2010
Is it possible to receive SMS on a specific port on my HTC Desire? My development environment:Android 2.1
This is the configuration of my Receive program AndroidManifest.xml: Code...
I used the NOWSMS tool to send a SMS message with a port, but my program not work. Can anyone help me?
View 3 Replies
View Related
Mar 18, 2010
Is it possible to receive a binary SMS on a specific port?
I am currently receiving SMS via Action: "android.provider.Telephony.SMS_RECEIVED" from a BroadcastReceiver.
But i have no luck with binary SMS. I only get notified for text messages.
View 2 Replies
View Related
Apr 28, 2010
receive text sms to specific port..I have been looking for an answer to this question but but to no avail. This question has been popped a few times but nobody seems to have a clear answer. my code...
View 3 Replies
View Related
Oct 28, 2013
I have a tablet that made in China,I couldn't find any ROMs for it. How can I port android to this device ?
View 3 Replies
View Related
Apr 15, 2010
Can anyone explain how to send SMS text messages on a specific application port (including Java and XML code)? If it's impossible then plz show at least how to send & receive SMS data message successfully (Java & XML) on android emulator (and not G1 or others).
View 2 Replies
View Related
Aug 18, 2010
I am using Apache's HttpClient via httpclient-fluent-builder to download a http page.
This is the code:
CODE:..............
Problem is that I get org.apache.http.client.ClientProtocolException
It's something with the host:port/url, beacause it works with urls without ports. I also get this same error with another Httphelper class than fluent-builder. Firewall is off.
Logcat: http://pastebin.com/yMMvvdQ3
View 2 Replies
View Related
Feb 15, 2010
Carrier want it's navigator use specific PDE server to get location information so we need API that can configure PDE server(IP, Port) Is it available?
View 2 Replies
View Related
Aug 31, 2010
Using application connectbot (for SSH connnection), is it possible to change default ssh port 22 when connecting to the server ?
The SSH server I need to connect simply use another port.
View 3 Replies
View Related
Jan 24, 2010
When a user clicks the "about" button in my app's menu I want it to open the browser and go to a specific webpage. Is there like a one - liner out there somewhere to do this? Seems simple but Google is not being helpful right now - or I'm just searching the wrong thing.
View 5 Replies
View Related
Sep 14, 2010
I am trying to get a quite simple openGL ES 1 program run a smooth solid 60fps on a couple devices out there, and I get stuck on HTC desire. The phone itself is quick, snappy, powerful, and overall a breeze to use ; however, I can't seem to display anything fullscreen at 60fps with OpenGL. After getting stuck for a long time with my app, I decided to make a test app with code right out the sample code from the documentation.Here is what I am doing. Simple initialization code with GLSurfaceView. I have three versions of onDrawFrame, all dead simple. One is empty. One contains only glClear. One contains just enough state to only draw a fullscreen quad. Trace times before, and after. There is no view other than my GLSurfaceView in my program. I can't explain the times I get.In all cases, the onDrawFrame function itself always finishes under 2ms. But very often, onDrawFrame does not get called again before 30~40ms, dropping my frame rate all the way to 30fps or less. I get around 50fps with an empty onDrawFrame, 45 with glClear and 35 with a quad.
The same code runs at 60 fps on the HTC Magic, on the Samsung Galaxy S, on the Sharp ISO1. Sony Experia X10 caps at a solid 30fps because of its screen. I have been doing much more complicated scenes at a solid 60fps on the HTC Magic which is very underpowered compared to the Desire. I don't have a Nexus One in handy to test. Sure, I except buffer swapping to block for a couple milliseconds. But it just jumps over frames all the time.
Trying to find out what the phone is doing outside of the onDrawFrame handler, I tried to use Debug.startMethodTracing. There is no way I can get the trace to reflect the actual time the phone spends out of the loop. At the end of onDrawFrame, I use startMethodTracing then save the current time (SystemClock.uptimeMillis) in a variable. At the start of the next one I Log.e the time difference since the function last exited, and stopMethodTracing. This will get called over and over so I arrange for stopping once I get a trace for an iteration with a 40+ ms pause. The time scale on the resulting trace is under 2ms time, as if the system was spending 38ms outside of my program, I tried a lot of things. Enumerating EGL configs and try them all one after the other. Just to see if it changed anything, I switched to a render when dirty scheme requesting a redraw at each frame. To no avail. Whatever I do, the expected gap of 14~16ms to swap buffers will take 30+ms around half the time, and no matter what I do it seems like the device is waiting for two screen refreshes. ps on the device shows my application at around 10% cPU, and System_server at 35%. Of course I also tried the obvious, killing other processes, rebooting the device... I always get the same exact result.
View 2 Replies
View Related
Mar 13, 2012
Here is my contribution to Android and the Open source..
I just wanted to share my Holo Theme port to Android 1.X and 2.X. This port is fully compatible with ActionBarSherlock and should be really easy to install.
Circle me: [URL] ......
Market (Google Play) link: [URL] ......
For me on Github: [URL] ......
View 7 Replies
View Related
Dec 16, 2009
I use webview app to open a web page (url). This web page has a form with a select element to choose. I would like to tell to select a specific value without click the element. Is that possible?If not how I could ?
View 1 Replies
View Related
Jul 17, 2009
I am using openContextMenu() when someone clicks on an item of a list (not when they long press as usual). The context menu does appear, however, it shows the context menu for the last item that the context menu had appeared. For example, if I long press the item C of the list then the context menu for item C appears, and later if I click on item B, with openContextMenu() the context menu for item C will again appear, not for B that I was expecting. How can I set the current item for which the context menu will appear to be the item of the list the user clicks on? I do have the position from onListItemClick() and I was trying to find a call like setContextMenuItem() or something, but I can't find anything.
View 7 Replies
View Related
Apr 5, 2010
I use webview app to open a web page (url). This web page has a form with a select element to choose. I would like to tell to select a specific value without click the element.
View 2 Replies
View Related
Feb 6, 2014
I'm trying to figure out if I can use NFC tags to open specific documents. I do repair on computers, and would like to start keeping my repair notes digitally, but want a simple way to open the correct notes for a device, and am thinking NFC tags could be a great way to do it. Walk up to a device, scan the tag, and have the correct repair notes open to start editing.
I'm having trouble finding specific information on the forum or in a general internet search.
View 3 Replies
View Related
Feb 28, 2013
I downloaded the app called port forwarder from the playstore and I tried forwarding 3074 udp and tcp I set the incoming port as 3074 and port on target device as 3074. I set the target device to my xbox ip and ive tried every interface and still no open nat. i am using my phone as a hotspot to connect to xbox live and I have a strict nat and I cant connect to some of my friends who also have strict or moderate nat so I really need to open my nat the connections fine no lag really just really need an open nat. Ive seen one of the reviews in the play store for port forwarder says they managed to get open nat for xbox live using it but im unsure wether it doesnt work on my device/my network blocks it.how to use this app to get open nat on xbox live?
View 1 Replies
View Related
Jul 20, 2010
I give up how do you slide the usb port open on the Captivate?
View 2 Replies
View Related
Oct 29, 2012
i install new version of eclipse and Android sdk , but when i run an android project i get this error
Code:
Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.
ADB server didn't ACK
* failed to start daemon *
i try to solve the problem by following this , but i still get the same problem:
Code:
-Window -> Preferences -> Android -> DDMS
-Set Base local debugger port to "8601"
- Check the box that says "Use ADBHOST" and the value should be "127.0.0.1"
i am also tryng to reinstall android pluing for ecipse and even the android sdk , but i still get the same problem!
OS : debian6 x64bit
IDE : eclipse juno
View 1 Replies
View Related
Mar 31, 2014
I want to know how to do this, I've been fiddling with Tasker and Unified Remote but can't get it to work.
Basically, I've got an NFC tag outside my apartment, when I step in, I tag it, and that triggers a tasker profile which does a few tasks:
1) Switch off data
2) Switch on Wifi (and connect to home wifi)
3) Launch Airdroid on phone
4) Launch Chrome on PC and open Airdroid url (this doesn't work!)
5) Launch Foobar2000 on PC (this works)
6) Launch Foobar2000 android controller.
Everything works, except for launching the address in chrome. I can launch chrome just fine, but the url I've set doesn't open. How do I do this?
View 1 Replies
View Related
Jun 21, 2010
I'm trying to open tcp connection between android (emulator) and PC. I'm trying to create a new socket and then it crash. the line where it crash: Socket s = new Socket("10.0.2.2", 27015);
View 2 Replies
View Related
Jun 30, 2013
Tried to port CM or PA with stock Xperia ROM? I want to port it by myself but how to do it and if it's possible.
My phone: C5303 - Xperia SP
View 1 Replies
View Related
Jun 23, 2010
This may be a stupid question, but how do I open a CSV (comma-separated values) file as a spreadsheet on my Evo? Quick Office can open an Excel file (.xls) but not CSV. ES File Explorer can open the file as text but not a spreadsheet.
Also, is there a way to associate particular file types with specific applications?
View 1 Replies
View Related
Jun 23, 2013
I ported some roms to my device[based cm10, Take thacy,(KM-S220)], but I don't know how to port stock roms. I heard that porting stock rom is different from porting cm10 based custom roms.
How to port stockroms?
I include my phone's specifications
It updated ICS last year. Amd it's ICS kernel source was opened recently.
View 4 Replies
View Related
Jul 30, 2010
My charging cable doesn't seem to plug all the way in when pressed. The phone charges fine, but I am wondering if that is the normal fit or not. It is almost like the sliding door doesn't open wide enough.
View 5 Replies
View Related
Jun 8, 2010
Not sure where to post this? (Mods, please move where appropriate)
I installed the YouTube HQ .apk from HTC EVO 4G and it worked flawlessly.
Is it possible to port the stock camera app from the EVO for use on the Eris? I like the handy "on screen" shutter button.
View 3 Replies
View Related
Jun 17, 2013
How to port a stock rom from a higher device to a lower device with a locked bootloader so i want to try and port it with my devices stock kernel. The tutorials i have found are not detailed enough most of them are just copy & pasting files from one to the other and the rom does not boot.
View 5 Replies
View Related
Feb 10, 2012
Is it possible to somehow port or install the stock ICS launcher on GB 2.3.7(CM 7)?
View 6 Replies
View Related