how to send sms from pc to mobile in J2ME - java-me

I have a Java me midlet which can send group message repeatedly, it worked well on my WMA console. How could I deploy it so that it can be tested on a real device?
Moreover, what should I do to let it send sms from PC to mobile?

For the deployment of J2ME Application ( .Jad & .Jar ) following ways can be used,
Connect Device with PC by USB cable or bluetooth and transfer the files,
Put your .Jad & .Jar file on live ip based server and download on the device using live ip+file name as path in device's browser
For more information on J2ME Application's deployment, visit following link
http://www.developer.nokia.com/Community/Wiki/How_to_install_Java_ME_application_in_mobile_phone
For sending sms from pc to mobile see my answer.

Related

Windows Media Player 12 wont play mp4, mp3, wmv files through IIS local hosted website when PC is disconnected from the Internet

I have an IIS 6.1 website on a local Windows 7 32-bit machine that serves HTML and MP4 videos through Internet Explorer all on the local machine. An internet connection is not required as this is all local storage and local hosting via IIS. IIS is configured to serve the MP4 videos as downloadable files, not streaming in any way. I do have the proper MIME type ".mp4" with "video/mp4" setup in the IIS server, so I do not believe that is the problem.
When the machine is connected to the internet, clicking an MP4 video link in any HTML page served by the local IIS server results in Windows Media Player opening up and playing the video in its own window. However, when the Ethernet cable is unplugged, clicking the same MP4 video link results in Windows Media Player opening its own window, then displaying this error message:
Windows Media Player cannot play the file. If the file is located on the Internet, connect to the Internet. If the file is located on a removable storage card, insert the storage card.
It is almost as if Windows Media Player has a bug and since it is accessing this media file via a URL but the machine is not connected to a network, it thinks this file is unplayable.
When the Ethernet cable is disconnected, the local IIS server still serves all the HTML and ActiveX content except for media files. I also tried to access MP3 and WMV files through the IIS server to see if Windows Media Player would open those when the machine is disconnected from the Internet. Those files also caused Windows Media Player to display the same error message.
I tested VLC player (VideoLAN) after changing file extension ownership to VLC from WMP for .mp4 files. With VLC installed and extension ownership changed to VLS, I can download/open the MP4 video using the link in the web page served by IIS all while disconnected from the internet. The only thing I cannot do is get VLC player to open up and play the video simply by clicking the link in the Internet explorer web pages served up by the local IIS server.
I would like to make use of Internet Explorer and Windows Media Player with this IIS server serving MP4 videos rather than use VLC player.
Thanks
Michael Rayman
I finally figured out the answer to my problem:
While disconnected from the internet, mysteriously, Windows Media Player 12 requires that you check a checkbox in the Tools > Options... > Player tab settings area called "Connect to the Internet (overrides other commands)". Once this is checked and settings saved with APPLY, then Windows Media Player 12 will play videos served through the local IIS webserver on the same machine, while disconnected from the Internet.

Can i use Chromecast as a server?

Studying the possibility to achieve the following:
We have a CMS that from time to time posts to a web hook a media URL (video) (public internet hosted)
This web hook post we would like to post directly to a ChromeCast which is plugged in to a TV
Questions:
1. Can a web server like nodeJS be installed on a chrome cast?
2. Is it possible to use for example DynamicDNS to link the Chromecast to a domain name so the post from the web hook can be made?
ChromeCast has a sender API which allows you to "send" content to a specific Chromecast. Right now, the sender API works on Android, IOS and Chrome OS. You can read more about it here: https://developers.google.com/cast/docs/sender_apps.
And, here's how a receiver application that would receive your content on the ChromeCast would work: https://developers.google.com/cast/docs/receiver_apps or if you're content is a standard type, then you can use a prebuilt receiver application without building your own.
To answer your specific questions:
Can a web server like nodeJS be installed on a chrome cast?
No, not without enormous hacking and development yourself to basically take over the hardware somehow and get your own stuff to run on it.
Is it possible to use for example DynamicDNS to link the Chromecast to
a domain name so the post from the web hook can be made?
Not that I know of.
The chromecast has an android like google chrome operating system. It is possible to root it, but you will not be able to (to my knowledge) get a server on it. I would suggest taking a look at the Raspberry Pi. You should be able to run a slim server on it. After you get that set up it might be feasible to pass command line commands to chrome or another web browser to display the data you like. A browser is not necessary, but I'm not sure if you know of any other way to display the media.
A different approach would be to have a server anywhere (could be in your home) and have something like the raspberry pi (any computer for displaying the content) connect to a webpage hosted with that server. Using websockets something like socket.io, you could set it up so that the server could send messages (url of video) to the browser session you have open. The javascript of your webpage would then use that message to open that url.

How can I access to Android file system (e.g. navigate a dir) and stream data through the browser without using an app?

I'm trying to develop the client side application of a remote audio player. I developed the server side application but I'm lost on the android side.
I want to navigate all the files in the music directory, obtain a list stored in my android phone and send music data through wifi to my PC. Is this possible? Can I implement this without make an apposite app? How can I do this?

WebRTC Streaming between PC and Mobile Client

I would like to implement peer to peer communication between mobile device (iOS & Android) AND Windows PC, I would like Mobile app will stream camera output to PC(no audio will require), and on PC user will able to capture screenshot from running steam. Below is possibility I am thinking.
Option 1 : Develop a Web based application which will run in Google Chrome or Firefox browser on Windows PC, and also will develop mobile client app which will run on Android and iOS devices, and using WebRTC it will steam mobile camera output to website which will be running in PC’s Chrome or Safari browser, and User will able to capture screenshot from running steam and that will be saved on user’s computer. Drawback of this solution is that I have to develop Website so will have not user’s computer file storage, as standalone desktop application is more preferable because desktop application will able to easily access user’s computer file system
Option 2: Develop 3 applications
one Standalone desktop application which will have all features which require to access computer’s local file system.
Develop a small web site which will have just a single screen, it will use for display mobile camera steam, and user will capture output from that page, will develop a kind of watchdog service in desktop app, which will grab latest captured screen from Chrome or Firefox browser.
3rd app would be mobile client which will be running on mobile which will stream camera output to PC using WebRTC. Drawback of this solution is that this solution would be not real-time, because user have to use two separate interface for Screen capture have to use PC Chrome or Firefox browser, and after screen capture have to move back to PC application.
My understanding is that It’s not possible to have Server less solution for WebRTC, Signaling server will require, I found some of open source WebRTC servers i.e. Easyrtc, signalmaster which I have to use and have to configure in own environment.
As this is my first WebRTC based project, so would like to know your opinion about Solution which i am thinking, is it right or is there any better way to achieve it.
Thanks
Suresh
Hi suresh IOS not support WebRTC,But its possible in android
My option is Node-webkit(desktop app using HTML 5,Javascript,css3,Nodejs,NPM)
https://github.com/rogerwang/node-webkit/wiki
mobile app(intel xdk ) but ios not support WebRTC
http://xdk-software.intel.com/
You could use Twilio Video to do this.
You can build multi-party video calling into both web and native applications with the SDKs for:
JavaScript
iOS
Android
https://www.twilio.com/docs/api/video
You will also find the server-side starter apps in various languages you need to get started quickly.
In my preferred language example Python, a small Flask app handles token creation to handle user access for video conversations in app.py and the basic WebRTC functions can be found in quickstart.js.
Note: I work for Twilio.

can't play/download MP4 files from behind .htaccess on mobile device such as android / blackberry

I have made a site with a password protected directory and
inside is simple html page with link to mp4 video file located inside directory.
When logged into to directory Android device such as Samsung Galaxy S2 or Blackberry Playbook fail to open this video file. On desktop , IE and FF work fine.
this is response from host:
"It appears this is a limitation of the browsers in mobile devices being unable to use the authentication that has already been completed to fetch the video file using the embeded player. After investigating in depth I am unable to get any other player to play video on my mobile device if it is behind a .htaccess password protection since the requests for the actual video file are being denied with 403."
So what is solution to play Mp4 behind htaccess on mobile device?
I am guessing one way to do it is that the link should be not to the file directly but should trigger a small module that will give permissions to the file for the client ip that has just connected then redirect to the file. The permissions can be retracted sometime later. But it feels messy and am not really sure if this is scalable at huge traffic levels.

Resources