Buy, Run, Invest Consulting
astrient
United States of America
35 Applications
372 File(s)
member since Dec 2005

Software engineer living in Miami, USA

apps
aimbot
Tuesday 7 18, 06 - http://hostj2me.com/a/h5 - 57
imbot.zip

Simple aimbot implementation

You can download the src and implement your own commands. You will need to update the AOL account information in the IMSH class.

Type '?' to get a list of current commands.


You can send messages to the astrientlabs aimbot. The AIM username is astrientlabs.

For example, IM astrientlabs

IM

time new york

response

Tuesday Jul 18 2006, 12:21:38 AM Eastern Daylight Time

IM

constant PI

response

3.1415926535897932384626433832

IM

host yahoo.com

response

A: 66.94.234.13, 216.109.112.135



Animation Example
Thursday 6 15, 06 - http://hostj2me.com/a/9h - 416
example.jad
example.jar
al.zip

Animation, Music, Network example



ArmaZillow
Tuesday 8 21, 07 - http://hostj2me.com/a/2sd - 389
armazillow.jad
armazillow.jar
mzillow.zip

Mobile Zillow Client

Search for properties and view valuations using Zillow

Please see

http://www.zillow.com/howto/api/APIOverview.htm


MIDP 2.0/CLDC 1.1



Chaotic Squaring
Thursday 2 7, 08 - http://hostj2me.com/a/44x - 153
chaoticsquaring.jad
chaoticsquaring.jar
src.zip

This example demonstrates how using floats vs double and different precisions can impact simple calculations.

Please refer to page 24 of "Coincidences, Chaos, and All That Math Jazz" by Edward Burger and Michael Starbird

http://www.amazon.com/Coincidences-Chaos-That-Math-Jazz/dp/0393059456/ref=ed_oe_h

The difference between the float and double is noticeable in the first iteration. The difference between the two doubles will take more iterations.

Line 1, double, d = (d*d) -2
Line 2, float, f = (f*f) -2
Line 3, double, d = (((d*d) -2)*100.0)/100.0)



CliqMobile
Tuesday 9 30, 08 - http://hostj2me.com/a/1eq - 490
cliqmobile.jad
cliqmobile.jar
cliqmobile-src.zip

Mobile client for groups hosted on CliqCafe.com.

You must create a username and password on MetaLounge.net or WorldDeveloper.org before using CliqMobile.

Feature include:

Exchange messages with group members (cheaper and more characters than SMS)
Browse member profiles
Browse the group gallery
Browse member galleries


Try it out by joining our group on hostj2me.cliqcafe.com and downloading the midlet

CliqCafe and CliqMobile are still in Beta.

Tested on E61 and N70



CloudSearch
Thursday 2 25, 10 - http://hostj2me.com/a/7ez - 328
cloudsearch.jad
cloudsearch.jar

Search Yahoo, Google, and MSN Live for images.

Save the images to your mobile phone or to your own private file store in the cloud.



EchoTest
Wednesday 5 3, 06 - http://hostj2me.com/a/10 - 415
echotest.jad
echotest.jar
echomidlet.zip

The EchoTest midlet connects to j2me.astrientlabs.com/echo.html and displays the results. The results include the IP address and all headers of the mobile device.



Example Logger
Friday 12 15, 06 - http://hostj2me.com/a/n9 - 337
Logger.java

This class demonstrates how to log messages to the hostj2me.com application log.

The application log is an easy way to add remote logging capabilities to a J2ME application.

Example:

Logger logger = new Logger(messageBufferSize,applicationName,myAPIKey);

logger.log("application started");



Fotomica Client
Thursday 4 30, 09 - http://hostj2me.com/a/7 - 1,113
fotomica.jad
fotomica.jar
src.zip

UPDATE: 4/2009 : The fotomica functionality has been integrated in the OSM HostJ2ME.com client. The new client is available at http://hostj2me.com/appdetails.html?id=9411

**This application is no longer under development. Please see other examples.**


Example client application for sharing photos on fotomica.astrientlabs.com.

Also see:

y!p! (Yahoo Image Search)

http://www.hostj2me.com/appdetails.html?id=1557

MediaStream

http://hostj2me.com/appdetails.html?id=781

Mobox (Mobile Box.net client)

http://mobox.cliqcafe.com/



GPS and Yahoo Maps Example
Monday 5 21, 07 - http://hostj2me.com/a/27v - 1,892
gps.jad
gps.jar
gpssrc.zip

Simple GPS Demo

Please allow up to 1 minute for the initial GPS coords to display.

Uses location API to find current coordinates and asks the Yahoo Maps service (REST) to provide a map image for the current location.

The source code is available and demonstrates how to communicate with the Yahoo Maps API using REST and how to the basics of the Location API.

Your device must support GPS



Ip to Country Example
Thursday 3 30, 06 - http://hostj2me.com/a/8 - 73
source.zip

For demo purposes only, this example shows how to find the country code of an IP address.


Usage:

Registry registry = Registry.getRegistry();
System.out.println(registry.search("217.208.23.45"));

Please see "com.astrientlabs.ipregistry.Registry"


Online at

http://www.astrientlabs.com/iptocountry/



KeyCodes
Tuesday 9 11, 07 - http://hostj2me.com/a/30v - 738
keycodes.jad
keycodes.jar
src.zip

KeyCodes displays the key code, key name, and game action on a canvas whenever a key is pressed. It is intended to help developers find key codes when writing applications.

Usage:

Press and hold a key to see its keycode



Line Wrap Example
Thursday 1 12, 06 - http://hostj2me.com/a/6 - 760
LineEnumeration.java

The LineEnumeration wraps text on a canvas.

Platform

J2ME

Usage Example

Within the paint method:

String longText = ...;
Font myFont = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_PLAIN, Font.SIZE_SMALL);
LineEnumeration e = new LineEnumeration(myFont,,getWidth());
e.writeTo(g,10,10,myFont);


Alternative:

LineEnumeration e = new LineEnumeration(myFont,myText,lineWidth);
while ( e.hasMoreElements() )
{
g.drawString(e.nextElement().toString(), startX,startY, Graphics.TOP | Graphics.LEFT);
startY += myFont.getHeight();
}


Device Compatibility

Should work on all Midp 2.0 devices.



LocalSearch
Monday 1 15, 07 - http://hostj2me.com/a/1b9 - 560
localsearch.jad
localsearch.jar
localsearch.zip

Simple example that demonstrates how to search through a PIMList. Download the source code and edit the SearchWindow class to perform actions on the search results.

The search logic can be found in the LocalQuery class.

This example was created from the w!k! source code.

Also see,

http://www.hostj2me.com/appdetails.html?id=1557



MediaStream Client Example
Thursday 3 15, 07 - http://hostj2me.com/a/l7 - 695
msclient.jad
msclient.jar
msclient.zip

NOTE: If you are looking for an example that actually plays audio or video from a server, please see http://mobox.cliqcafe.com. This client downloads files before displaying them.

Very simple example showing how to download files from hostj2me.com.

Each hostj2me.com user has a MediaStream. A MediaStream is a collection of files that can be accessed programmatically via J2ME.

Files are uploaded through hostj2me.com and download through a midlet. For example. A simple slideshow midlet could display photos from a mediastream.

JSR75 support required to save images. In addition, please set the application security to allow file connections.

Easy to use:
Press UP and DOWN to change streams
Press LEFT and RIGHT to view media
Press * to exit
Press 1 for image info
Press # for log screen

Follow the link below for a video walkthrough:

http://hostj2me.cliqcafe.com/files/1155/mediastream.wmv



Meos Command Line
Tuesday 4 24, 07 - http://hostj2me.com/a/1xz - 510
astrient.jad
astrient.jar
meos.zip

CommandLine is a mock command shell application. Commands are entered on the command line a processed, similar to unix and linux systems.

For example, entering whois yahoo.com will return the whois information for yahoo.com.

$ whois yahoo.com

Press "Fire" to execute a command.

You can alias commands to make the easier to enter.

$ alias w whois
$ w yahoo.com

The commands supported so far are:

whois [ <hostname>|<ip> ]
ping [ <hostname>|<ip> ]
memstat
mimes
alias <alias> <command>
date
uname

I was created from the w!k! example. You can strip out a lot of the src code.



MiniPushParser
Saturday 11 11, 06 - http://hostj2me.com/a/x8 - 93
xml.zip

This code demonstrates an extremely simple XML parser compatible with J2ME.

Example:

InputStream is = ?;
MiniPushHandler myHandler = new MyXMLHandler();
MiniPushParser parser = new MiniPushParser();
parser.parse(is,myHandler,1024);

For convenience, the MiniPushParser implements MiniPushHandler. You can see how to create a basic handler by looking at the source code. In addition you can test the code by using:


InputStream is = ?;
MiniPushParser parser = new MiniPushParser();
parser.parse(is,null,1024);


There are various (good) alternatives for parsing XML in J2ME such as kXML.

#Fixed: 10/29 handleStartTag not called



MStyle
Wednesday 10 15, 08 - http://hostj2me.com/a/5uo - 129
mstyle.jad
mstyle.jar
mstyle.zip

Mobile client for ShopStyle

Please see http://developer.shopstyle.com/1898971



OSM
Monday 10 12, 09 - http://hostj2me.com/a/79f - 451
osm.jad
osm.jar

Access all of your files from your phone.

OSM is a mobile client for your HostJ2ME.com account. You can use it to:

1) Upload files from your phone to HostJ2ME.com
2) Browse files in your HostJ2ME.com account
3) Browse shared files from other people on HostJ2ME.com
4) Search HostJ2ME.com and the web for media
5) Upload photos from your phone's camera

This is the beta version. The client is still in development. You are welcome to download and try it out.



Record Store Preferences Example
Thursday 1 12, 06 - http://hostj2me.com/a/u - 324
SystemPreferences.java

Shows how to create a preference class and how to use the RMS to save the name/value pairs.



Slides
Saturday 12 16, 06 - http://hostj2me.com/a/10a - 309
slides.jad
slides.jar
slides.zip

******************************************
updated example at http://hostj2me.com/appdetails.html?id=1557
******************************************

Yahoo Image Search Slideshow

This example demonstrates how to parse search results provided by Yahoo Image Search in J2ME. Each matching image result is resized and displayed as part of a slide show.

Please refer to the com.astrientlabs.search and com.astrientlabs.xml packages.

Example API Usage:

SearchQuery query = new SearchQuery();
query.setAppId(myYahooAppID);
query.setFilter(true));
query.setTerm(?java?);
query.setPageSize(10);
Vector searchResults = query.execute();


Midlet Usage:

When running the application for the first time you will need to select a search term. Press the action key in the search term field to edit the search term.
After entering your search term, press the Left Soft Key to display the menu.
Select the save option from the menu.
Allow several seconds, depending on your network connection for the first image to load.
Press the Left Soft Key (LSK) to bring up the options menu at anytime.

You view an unscripted demo video here:

http://hostj2me.cliqcafe.com/files/1151/slides.wmv


For more information on the Yahoo image search API visit http://developer.yahoo.com/search/image/V1/imageSearch.html



Slideshow Midlet
Monday 4 30, 07 - http://hostj2me.com/a/5 - 1,700
slideshow.jad
slideshow.jar
slideshow-source.zip

Changing images every few seconds, the Slideshow application displays random images that match a given keyword. Images are not permanently stored on the device. Rather, they are cached and removed as new images are downloaded. The result is an endless slideshow of images that match the user's interest.

How it works

1) The user selects a keyword.
2) Application connects to image server and asks for an image that matches the keyword.
3) The server searches for image matches and returns 1 jpeg encoded image.
4) The application saves the image in the record store. This process repeats every 30 seconds.
5) The application displays the new image from the record store. New images are displayed every 3-5 seconds.

Device Compatibility

Tested on Siemens S66 device and Nokia Series 60 SDK but should work on all MIDP 2.0 devices. The signed version may not install on devices without a Verisign Root Cert.

Also see:

y!p! (Yahoo Image Search)

http://www.hostj2me.com/appdetails.html?id=1557

MediaStream

http://hostj2me.com/appdetails.html?id=781

Mobox (Mobile Box.net client)

http://mobox.cliqcafe.com/



StreamShow
Friday 8 4, 06 - http://hostj2me.com/a/lp - 478
streamshow.jad
streamshow.jar
streamshow.zip

This is a modified version of the slideshow midlet. It shows images saved by users in hostj2me.com. Users add images by uploading files on hostj2me.com.

To get to the media stream window;
Login to hostj2me.com
Choose the advanced menu
Choose "my media stream"

The controls remain the same:

Press LEFT or RIGHT to change screens
Press * to exit



VideoNote
Wednesday 12 31, 08 - http://hostj2me.com/a/2r - 1,487
videonotes.jad
videonotes.jar
video.zip

VideoNote is a example application for the S66. It records a video using the MMAPI and uploads it to j2me.astrientlabs.com.

The source code is contained in video.zip. Feel free to use the source in any way you like.

You will need to create an account on www.hostj2me.com before using this application.

Also see:

y!p! (Yahoo Image Search)

http://www.hostj2me.com/appdetails.html?id=1557

MediaStream

http://hostj2me.com/appdetails.html?id=781

Mobox (Mobile Box.net client)

http://mobox.cliqcafe.com/



VideoNotes HTTP
Friday 10 12, 07 - http://hostj2me.com/a/3dp - 227
videonotes.jad
videonotes.jar
videouploader.zip

HTTP multipart file upload version of VideoNote.

VideoNote is a example application for the S66. It records a video using the MMAPI and uploads it to j2me.astrientlabs.com.

The source code is contained in video.zip. Feel free to use the source in any way you like.

You will need to create an account on www.hostj2me.com before using this application.

Also see:

y!p! (Yahoo Image Search)

http://www.hostj2me.com/appdetails.html?id=1557

MediaStream

http://hostj2me.com/appdetails.html?id=781

Mobox (Mobile Box.net client)

http://mobox.cliqcafe.com/



VoiceIt
Thursday 12 14, 06 - http://hostj2me.com/a/z - 1,241
voiceit.jad
voiceit.jar
src.zip

VoiceIt records audio clips and uploads them to j2me.astrientlabs.com. The resulting clips are stored as AMR audio files in files section of the advanced menu.


When using the application:

Press Left and Right to navigate between screens.
Press * to exit the application.


This program was tested on the Seimens s66 on the Cingular network. You will need to use an audio player such as Quicktime or RealPlayer to playback AMR encoded files.

Please create an account on hostj2me.com before running this application.

Also see:

y!p! (Yahoo Image Search)

http://www.hostj2me.com/appdetails.html?id=1557

MediaStream

http://hostj2me.com/appdetails.html?id=781

Mobox (Mobile Box.net client)

http://mobox.cliqcafe.com/



w!k!
Thursday 4 30, 09 - http://hostj2me.com/a/17l - 905
wiki.jad
wiki.jar
wiki.zip

UPDATE: 4/2009 : The w!k! search functionality has been integrated in the OSM HostJ2ME.com client. The new client is available at http://hostj2me.com/appdetails.html?id=9411

This example demonstrates how to parse wikipedia through a J2ME client.

Enter a search term and wait 2 seconds. The client will contact wikipedia, perform a search, and parse the resulting HTML. Click the title of a search result to view the wikipedia article.

Wikipedia articles can be very large (>40,000) and parsing the content from the HTML is tough task for a mobile. Although, the application performs will on my E61, I suspect it will not perform as well on lower end devices.

Not all elements of the articles are parsed. No, its not the prettiest application, but the source code is available for anyone to make enhancements.

There is no limitation on article length so be mindful of memory concerns.

You can watch demos here:

http://www.worlddeveloper.org/files/3799/demo1.wmv
http://www.worlddeveloper.org/custom/12/w!k!.html (flash)

Also see the Yahoo Image Search Example.

http://hostj2me.com/appdetails.html?id=1557



w!k! - signed
Thursday 4 30, 09 - http://hostj2me.com/a/2iy - 169
wiki.jad
wiki.jar

UPDATE: 4/2009 : The w!k! search functionality has been integrated in the OSM HostJ2ME.com client. The new client is available at http://hostj2me.com/appdetails.html?id=9411

This example demonstrates how to parse wikipedia through a J2ME client.

Enter a search term and wait 2 seconds. The client will contact wikipedia, perform a search, and parse the resulting HTML. Click the title of a search result to view the wikipedia article.

Wikipedia articles can be very large (>40,000) and parsing the content from the HTML is tough task for a mobile. Although, the application performs will on my E61, I suspect it will not perform as well on lower end devices.

Not all elements of the articles are parsed. No, its not the prettiest application, but the source code is available for anyone to make enhancements.

There is no limitation on article length so be mindful of memory concerns.

You can watch demos here:

http://www.worlddeveloper.org/files/3799/demo1.wmv
http://www.worlddeveloper.org/custom/12/w!k!.html (flash)

Also see the Yahoo Image Search Example.

http://hostj2me.com/appdetails.html?id=1557



y!p!
Monday 4 27, 09 - http://hostj2me.com/a/179 - 1,096
yipi.jad
yipi.jar
yipi.zip

Yahoo image search client.

UPDATE: 4/2009 : The Yipi search functionality has been integrated in the OSM HostJ2ME.com client. The new client is available at http://hostj2me.com/appdetails.html?id=9411

UPDATE: The value of "filesize" changed from a number to a string in the search response XML. This causes older clients to fail when converting the file size into a number. Please update to the latest version.

The source code is now available. The source code will work as-is. I could not include the images because of copyrights and you will need to get your own Yahoo Image Search Application ID.

This version is for the Nokia E61 and Nokia N70. It should work on any other high-end S60 device.

Features:

*Image thumbnails
*Image full-screen previews
*Save full size images directly to mobile

You can view a video demo and screenshots at:

http://hostj2me.cliqcafe.com/www/gallery.html?f=3647&i=0&fp=0&rsi=4

To view the "about" page, type 'a' in the search box and wait for the about search result to appear. Click the about search result to display the about window.

To toggle the adult filter, type 'f' in the search box. Wait 2 seconds and a search result that allows you to toggle the filter will appear. Select the search result to toggle the filter on or off.

To view the logs, type 'l' in the search box and select the logs search result when it appears.



y!p! - signed
Monday 4 27, 09 - http://hostj2me.com/a/2iz - 171
yipi.jad
yipi.jar

Yahoo image search client.

UPDATE: 4/2009 : The Yipi search functionality has been integrated in the OSM HostJ2ME.com client. The new client is available at http://hostj2me.com/appdetails.html?id=9411

UPDATE: The value of "filesize" changed from a number to a string in the search response XML. This causes older clients to fail when converting the file size into a number. Please update to the latest version.

The source code is now available. The source code will work as-is. I could not include the images because of copyrights and you will need to get your own Yahoo Image Search Application ID.

This version is for the Nokia E61 and Nokia N70. It should work on any other high-end S60 device.

Features:

*Image thumbnails
*Image full-screen previews
*Save full size images directly to mobile

You can view a video demo and screenshots at:

http://hostj2me.cliqcafe.com/www/galleryview.html?fid=3647

To view the "about" page, type 'a' in the search box and wait for the about search result to appear. Click the about search result to display the about window.

To toggle the adult filter, type 'f' in the search box. Wait 2 seconds and a search result that allows you to toggle the filter will appear. Select the search result to toggle the filter on or off.

To view the logs, type 'l' in the search box and select the logs search result when it appears.



Statistics
Total Accounts: 16,267
Total Applications: 4,620
Total Files: 109,333
Total Downloads: 1,539,706
Total Stored: 19.38GB
Recent Applications
Enheter SMS Salama 0.2
Mlekara txtG
zing test test midlet suite
nav1 waves
L M LiveMail
Recent Users
renamixtech
11/3/2010
rockk
11/3/2010
jant
11/3/2010
myoana
11/3/2010
tino
11/3/2010
latika
11/3/2010
ahooom
11/3/2010
xclusif92
11/3/2010
aces
11/3/2010
prashant13
11/3/2010
Advertising  /  Build  /  Terms  /  Comments  /  Libraries  /  Devices  /  Clients  /  Forum
Consulting - Buy, Run, Invest - ©2009 Astrient Labs, LLC