Programming :: Avoid JNI In Order To Port A C/c++ STL Application To Android?

Jun 16, 2011

I wonder if it is possible to avoid JNI in order to port a c/c++ STL application to android ?Do I have an alternative for calling C/C++ (STL) code ?

View 2 Replies


ADVERTISEMENT

Programming :: Avoid Application From Closing If A Specific Library Not Found?

Jan 2, 2011

i was wondering if there is away to avoid application from closing if a specific library not found? for example: if my application uses libPng and it wasn't found on the system running my app (binary and not source), is there anyway to just disable the part that uses png from my application?

View 14 Replies View Related

Programming :: Add Local Sockets In Multi-threaded Application In Order To Exchange Data Between Threads?

Jul 24, 2010

I'm trying to add local sockets in my multi-threaded application in order to exchange data between threads. The only problem I got is that most of the information available on the net is related to internet oriented socket programming whileI want to perform local connections. got a thread that does the sniffing via libpcap. And I would like that thread to send each captured packet to a second thread that will analyse the packetof the thread implementations is written in separate .h file.Or maybe there is a more effective method of exchanging data between threads

View 14 Replies View Related

OpenSUSE :: Program Need To Get In Order To Avoid System32.dll And Trojans?

May 7, 2011

What program do I need to get in order to avoid the system32.dll and Trojans in my computer?

View 5 Replies View Related

Networking :: Use Iptables In Order To Forward All The Incoming Packets For Port 5555 To Port 5556?

Apr 4, 2011

I'm trying to use iptables in order to forward all the incoming packets for port 5555 to port 5556 on the same server (192.168.2.101).

I wrote the following commands:

iptables -A PREROUTING -t nat -i any -p tcp --dport 5555 -j DNAT --to 192.168.2.101:5556
iptables -A FORWARD -p tcp -m state --state NEW -d 192.168.2.101 --dport 5556 -j ACCEPT

View 3 Replies View Related

Software :: Create Iptables Binary To Use It In An Android Application?

Jan 9, 2011

how to create iptables binary, that i can use in my android application for performing some firewall related functionality like restricting some websites/packet filtering. and will it be possible to alter the rules later?iptables binary will contain the rulesets stored and which can be modified. how this can be achieved.?

View 2 Replies View Related

Ubuntu :: Use Scp In Order To Copy Files To Android Phone - Error "destination Does Not Exist"

Feb 14, 2011

I am trying to use scp in order to copy files from an ubuntu machine to my Android phone. I use connectbot to log in to my ubuntu. However, when I use scp I get an error as if the destination does not exist. The destination is /mnt/sdcard/download on myAndroid 2.2.

View 1 Replies View Related

Programming :: What Is "tchar.h" Equvalent - Port A Win32 Application

Jun 28, 2010

I wish to port a win32 application to linux platform. I wanted to know if there is any equivalent of tchar.h in linux platform?

View 1 Replies View Related

Ubuntu :: Startup Application Order - App After Compiz

May 8, 2010

I like to use Tilda in transparent mode. In Karmic I just added tilda to the startup applications and everything worked well. Now in Lucid, it starts up before Compiz and I don't get Compiz transparency. I have to quit Tilda and load it again before I get the transparency right. Is there some way to force tilda to start after Compiz? (I have tested this on several comps. it seems to hold true)

View 5 Replies View Related

Server :: Configure In Order To Change The Smtp Port?

Jan 31, 2010

I have scalix (sendmail) installed on my server and it is working very good but I need to change the smtp listening port because I am thinking that my sendmail is being used as a spam engine.

what/how I need to configure in order to change the smtp port?

View 3 Replies View Related

Ubuntu :: Compile Application From Source In Order To Modify?

Sep 1, 2011

I have the source of the application I want to modify, as well as the list of dependencies I need in order to compile. I got the source code for those and compiled/installed them. I'm fairly sure that all of the dependencies are installed. However, when I go to run the compiler it crashes while parsing some of the code.

I had the application installed before, and it ran. After tinkering around trying to get the source to compile, the app no longer runs either. It crashes, and if run from the CLI, spits out something about not finding one of the files from the SDL library.

So obviously I did something wrong to mess everything up, because I'm in a deeper hole than when I started. Anyone know how I would go about fixing this? Or even starting with a clean slate so that I can have another go at it?

View 3 Replies View Related

Programming :: How To Avoid Overwriting A File

Sep 6, 2010

I'm facing difficulty while writing to an already existing file . I'm making a shell (programming in C). I want a file (say , logfile) to keep a record of all the commands a user enters. For the first command it runs fine , but for the second time and thereafter it overwrites the previous contents. How do I avoid this?

View 3 Replies View Related

Programming :: Python - How To Avoid Spaces

Oct 1, 2010

In the code below:

Code:

The output is:

Code:

Looks like the "," operator in the print inside the loop is adding a space for its own.

I want to print the sequence WITHOUT spaces. Something like this:

Code:

But I couldn't figure out how to do this.....

How to print a sequence, inside a loop, without that space ?

View 14 Replies View Related

Ubuntu :: Install Android Market On Android-sdk Emulator?

May 4, 2011

I installed everything and am running android OS on Ubuntu (using androidphonedriver guide). The problem I'm having now is that I don't know how to install android market application to be able to install other apps like opera etc.).

View 1 Replies View Related

Debian Programming :: Can't Build Android App

May 29, 2014

I'm trying to setup tools for developing android apps on my Debian Wheezy (backport) system. Eclipse with android plugins is installed. Android SDK installed using android-sdk_r22.6.2-linux.tgz available from URL...My problem is I can't build the android app. The console in Eclipse tells me something (translated) like this;

Code: Select all[2014-05-30 16:36:45 - adb] Unexpected exception 'Cannot run program "/usr/lib/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory' while attempting to get adb version from '/usr/lib/android-sdk-linux/platform-tools/adb'

I have searched the web quite extensively but found no solution. It seems the issue may be due to I'm having a 64bit system but building the app requires some 32bit stuff.Some older posts suggest adding package by "apt-get install ia32-libs". In later posts (i.e. URL....

Code: Select alldpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

However doing apt-get install libc6:i386 asks me to remove 1536 installed packages and installing just 5 new...

Some info about my system ....
Code: Select all>uname -mrv
3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.4-1~bpo70+1 (2014-05-14) x86_64

View 8 Replies View Related

Programming :: Finding G++ Compiler Option To Avoid Forward Declarations

Sep 23, 2010

I am working for a product which was evolved over a decade. There I have some combination of C style coding and C++ coding in same libraries. I am landing on some instances where C style function is expecting forward declarations for some other function for which I can not declare (due to design and architecture). Is there any g++ compiler option that directs the g++ to look whole preprocessed file (because definition is there down in the preprocessed file) than only forward in the preprocessed file. All these years this code is working as we are using CC compiler and that looks entire preprocessed file than only in the forward direction.

<Sample Code
Header1.h file
Function1()
{

[code]....

if I can not include Header2.h first then Header1.h. I have to include Header1.h and Header2.h because on the design hierarchy in this product. Also the function definitions are in header files as they are either template functions or functions expanded through macros.

View 6 Replies View Related

Programming :: Use Socket Programming In Order To Implement Chatting Feature?

Aug 25, 2010

how to use socket programming in order to implement chatting feature

View 5 Replies View Related

Programming :: Connecting A PC With Android Cellphone Through Wif-fi Network?

Jul 7, 2011

I'm a very experienced Java programmer, have a very basic knowledge about android and java networking.I need a basic idea about how to make a desktop application that connects to android cellphone through wi-fi ? What classes should I use ?

View 1 Replies View Related

Programming :: Having Trouble Receiving Image In Android

Feb 19, 2011

I'm trying to send an image (which can vary in file size) from a python server to an android client . I'm not getting any errors and the file is being created client side however it always seems to fall short of the total file size. I have tried many different options in regards to input streams and buffer sizes but I have had no luck.

View 1 Replies View Related

Debian Programming :: Booting Android Emulator Causes User Logout

Jan 15, 2014

I downloaded the ADT bundle for android development and whenever I try to boot an Android Device Emulator either from the eclipse version included in the bundle or from the command line, everything freezes for 1 minute and then a logout from my current Debian user session occurs. In other words, the Debian login screen appears again and all my previously opened applications get lost.

Not even when I run from the command line I manage to fetch any error notification.

I use:
- Debian Wheezy
- kernel 3.2.0-4-686-pae
- jdk1.7.0_09

I tried
./emulator @mydevname -no-boot-anim -show-kernel -shell
but I get the same result: the debian user session restarts

View 2 Replies View Related

General :: Find The Port Of Particular Application?

Jun 21, 2010

How do I find the port which is used by a particular application ?. And how do I terminate that process?

View 2 Replies View Related

Software :: Port A Window Application To Red Hat?

Jan 25, 2011

I want to port a window application( involving COM, ActiveX, OLE, MFC, Win32) to Red Hat Linux. What options I have that can help me in this activity? What are the Linux counterparts of COM, ActiveX etc.

View 1 Replies View Related

General :: Determine Which Application Is Using Port 8080?

May 18, 2010

Finding the process that is using a certain port in linux

I have an Ubuntu Server setup, where I'm trying to set up a daemon that wants to have access to port 8080. When I run the command, the error message says it's being used by another process. But which one, it doesn't say. How can I go about finding which program uses this port?

View 1 Replies View Related

CentOS 5 :: Application Is Getting New Port Every Time Start?

Jun 24, 2010

I have written simple application in CPP which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.

This port number keeps on changing if I re-run the application.

if I have to do any kind of a seeting so that application starts listening on 8080 port.

I am using CentOS 5.5 (I tried same on CentOs 5.2)

View 1 Replies View Related

OpenSUSE :: Sending Email Using PHP / Start An Email Server In Order To Get Application To Work?

Feb 23, 2010

I'm attempting to send email with a PHP application I got from a textbook. Do I need to start an email server in order to get the application to work?Using SuSE 11.2

View 5 Replies View Related

Software :: Redirect A Tomcat Application URL And Port Using Apache?

Jun 17, 2011

I have multiple jvm instance of tomcat application on a unix server and its running on different port.i would like to redirect the port and uri.How can i achieve this with the help of apache. i heard we can do it using mod_proxy.

[URL]

Currently when i access http://myapp.xx.com/offer i get 404 error.

one way to achieve this is to rename my exploded app name (offers-service-main) to offer. But i dont want to do that.anyway to achieve it.

This what i have done from my side.

1) installed apache 2.2 with mod_proxy

./configure --prefix=/usr/local/apache2.0
--enable-proxy
--enable-proxy-connect
--enable-proxy-http

2) Added the below config in apache

ProxyRequests Off
ProxyPreserveHost On
ProxyPass /offer http://myapp.xx.com:18120/offers-service-main
ProxyPassReverse /offer http://myapp.xx.com:18120/offers-service-main

But the above configuration dosent seems to be work. Let me know if i need to do anything on the tomcat side.

View 5 Replies View Related

CentOS 5 Server :: Application Is Getting New Port Every Time Start

Jun 23, 2010

I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.

This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)

View 1 Replies View Related

General :: Close A Port Left Open By A Rogue Application?

Jul 7, 2011

I am using Fedora 13 64bit. My eclipse program starts a server on port 9050 but I shutdown the program, eclipse fails to properly shutdown the server. Restarting eclipse has no effect.

How can I close or unbind a port forcibly from command line?

I know rebooting or log off and back on will clear the ports but this much slower process for me. I am looking for forcibly closing the port in command line.

View 1 Replies View Related

General :: Application Is Unable To Access Data From Snmp Port

Jul 2, 2010

Iam using snmp to access the remote system data.But according to the requirement iam encoding the snmp request data to OAMPDU packet format and sending to remote system.the remote system receives the OAMPDU packet,decodes it and is sending the snmp packet to snmp agent through UDP socket which is bind to port 161.but iam unable to receive the response from snmp agent.i have created a udp socket which is bind to 161 port to receive the response.

if i use any other free port number other than 161 for receiving snmp agent is not sending the response to that port.can any one please suggest me how to overcome this problem.Can we configure the different ports for tx,rx ?How do we know on which port does snmp sends the response ???

View 1 Replies View Related

Server :: Forwarding An Application Having Port Id 8080 To 80 Using Httpd.conf?

Nov 26, 2010

I am a network/system Administrator in an avg. based company, we are using Cent Os as servers. We are developing applications in both php & java, for java we are using apache tomcat as server (port number 8080) & for php we are using apache as server (port 80). Php applications are uploaded in the server and giving the link to our clients like localhost.com/chrome. Now we are planning to give the java based application for testing purpose to clients & can give the application link to client as localhost.com:8080/mozilla. Is it is possible to change the link localhost.com:8080/mozilla to localhost.com/mozilla with out changing the portnumber of apache tomcat server & without interrupting the php applications, that means our clients can access php application as localhost.com/chrome & java application as localhost.com/mozilla in the same server at the same time.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved