Home  | My Account  |  Membership
WorldDeveloper.org
Forum Details
Topics
Posts
Categories
 
577 member(s)
718,905 hit(s)
14 categories
51 topics
26 messages
0 online
hostj2me
43 topic(s)
23 post(s)

March 26, 2007 3:49 PM

I think mobile applications may be the one place where well-designed invasive ads enhance the user experience. For example, an ad can be displayed while an application is communication with the server or completing some other time/resource hungry operation. We are already accustomed to the waiting on mobile devices.

This may change as networks become faster and expectations rise. But for now, as long as the cost of delivering the ad add minimal overhead, I don't think the mobile device user will mind an ad here of there.


edited by hostj2me 3/26/07 11:49 AM


hostj2me
43 topic(s)
23 post(s)

March 16, 2007 4:04 PM

You can optimize the save by using a record filter and updating the records that have changed and adding the new values. Deleting the store may be inefficient.


hostj2me
43 topic(s)
23 post(s)

March 16, 2007 4:02 PM

Example usage.

PropertyMap properties = new PropertyMap("myappproperties");
properties.initialize();

properties.put("someprop","somevalue");
properties.write(); //save to recordstore

String somePropValue = properties.get("someProp");
boolean firstRun = properties.getBoolean("dosetup",true)


hostj2me
43 topic(s)
23 post(s)

March 15, 2007 3:34 PM


/*
* Copyright (C) 2006 Astrient Labs, LLC Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*
* Astrient Labs, LLC
* www.astrientlabs.com
* rashid@astrientlabs.com
* Rashid Mayes 2006
*/
package com.astrientlabs.log;

public class LogMessage
{
public long timeStamp = System.currentTimeMillis();
public String message;

public LogMessage(String message)
{
this.message = message;
}
}


hostj2me
43 topic(s)
23 post(s)

March 15, 2007 3:33 PM


/*
* Copyright (C) 2006 Astrient Labs, LLC Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*
* Astrient Labs, LLC
* www.astrientlabs.com
* rashid@astrientlabs.com
* Rashid Mayes 2006
*/
package com.astrientlabs.log;

public interface LogListener
{
public void log(String message);
}


hostj2me
43 topic(s)
23 post(s)

March 10, 2007 4:38 PM

I added a JSP that will return application details via a JavaScript object.

The name of the JSP in appinfo.js.html. You can included the results in your web page by using

http://hostj2me.com/appinfo.js.html?id=appID as the SRC of a JavaScript tag.


[SCRIPT LANGUAGE="JAVASCRIPT" SRC=www.host2me.com/appinfo.js.html?id=5][/SCRIPT]

Please view the src of

http://www.hostj2me.com/jstest.html

for an example.

edited by hostj2me 3/10/07 11:42 AM


hostj2me
43 topic(s)
23 post(s)

March 10, 2007 4:38 PM

HostJ2me.com can be used to track visits to your other web pages. Here are the steps:

1) Create a new application
2) Upload a small image as the application screen shot
3) Click save
4) You should see the image listed as the current application screenshot. Copy the URL of the image.
5) Add a new HTML image to the bottom of your web page using the image URL that you copied in step 4.

Whenever someone visits your site, their browser will request the image from HostJ2me.com. HostJ2me.com will record the IP and date of each visit in the visitor log.


hostj2me
43 topic(s)
23 post(s)

March 10, 2007 4:37 PM

Did you know that you can find out the process details and changelog for hostj2me.com by visiting http://www.hostj2me.com/build-info.html?


©2008 WorldDeveloper.org - PO Box 310575 Miami, FL 33231

WorldDeveloper.org is a managed social network for application developers around the world.