I am beginner of j2me application. I am working on application of tracking the mobile. I am supposed to make application in j2me is like I can save the received SMS in some nokia mobile in some server and then fetch that sms and send that message to another mobile device.
I am using Eclipse IDE for this application.
Please help me for this.
Yes, you can read SMS from inbox. for this purpose you need to use APIBridge.jar file. just google & download. This file fills the gap between Java ME & Phone's Native Operating system. Using this JAR File you can perform many other native things. You will find its example with that JAR File.
if you are sending sms on some predefine port no and your j2me application is listening on that port then and only then you can get those message.
Reading sms from inbox is not possible with j2me.
Related
I have to do a simple iPhone project as part of an university exam which consists in creating a simple instant messenger based on a client/server system using the Java Servlet technology (required).
What I would like to know is if there is a framework or some simple classes that make me able to listen for incoming http message from a server without make a request so that an iPhone can send directly to another iPhone an instant message.
Thanks in advance and have a nice day!
L.
From what I understand from your question, you need a listener. There are several 3rd party implementations that provide what you need. Basically you just need to open a socket for listening on a HTTP server running on your iPhone.
Try these, it should provide you with what yo need
CocoaHTTPServer.
MongooseDaemon
If youre looking for a way to receive message from WEB server - you may use Apple Notification service (here`s a good tutorial)
Another way is to use long-poll connection, but is not an easy thing to implement in IOS.
Maybe you can check for incoming message by requesting web server from iPhone (ex. every 10 seconds)?
I'm trying to connect app to server that receive data from iphones using the app and the server would also response back (Location data) kind of like find your friends but done automatically. I don't know what server should be used for iPhone apps. Also what language would be used to communicate with the server ?
Any help/direction/articules would be appreciated.
You can use any server, and any language, as long as it's listening to requests on the port your app specifies, and you've configured it properly.
For starters, here is a nice PHP / iOS tutorial to get you up and running, although I'm not saying your final implementation must be in PHP: http://www.raywenderlich.com/2941/how-to-write-a-simple-phpmysql-web-service-for-an-ios-app
Im looking to initiate pushcommunication between Android and iPhone, both ways. The data that is to be transferred is critical so therefor I cannot use ordinary push because its not prioritzed.
It is important that the user doesnt "see" the communication.
I have looked at using SMS and "catch" the message before it reaches the ordinary "SMS application" of the phone. As I understand this is possible in Android but not in iPhone.
Any other suggestions?
You can use Bonjour (a.k.a. Zeroconf) for this. There are tons of links for using Bonjour on the iPhone; here's a link for doing it on Android:
http://android.noisepages.com/2010/02/yes-android-can-do-zeroconfbonjour-jmdns/
I'm new to these things, and have no idea how to achieve this thing.
I want to send some data from iphone to MAC/PC and also want to receive data sent from MAC to iphone.
Please help me out or give me some clue, where I can start from.
Most apps solve this issue by including a small http server in the app and providing a web interface to upload/download data to the app.
I want to be able to send files from an iPhone app to a computer. What would be the easiest way of doing this?
I've made simple server client programs before, but in those, the client has always needed to connect to the server before being able to receive messages from it. There is an app for the iPhone called iSimulate, where you put a server on a Mac (the iPhone simulator), and then you use the iSimulate app of an iTouch or iPhone to send touch events to the server. This app does not require you to type in an ip-address. Instead it presents a list of available computers that have this server up and running.
How exactly is this being done? Can a server broadcast a message over a network, w/o anyone being connected to the server? How does that work? How does a client listen for that broadcast?
Here's a video of the app I'm talking about:
http://www.youtube.com/watch?v=N3Qpd1ycZh4
alt text http://a1.phobos.apple.com/us/r1000/051/Purple/7b/07/70/mzl.mvwjifyc.320x480-75.jpg
That app may be using Bonjour.
I've seen similar apps use a peer-to-peer Bluetooth connection to exchange files between a iPhone and a desktop.