Thursday, September 30, 2010

Re: Access Bean (POJO) classes at Client Side

Hi,

Did you place it in package name "shared" so that it gets transcoded
to js ?
didier

On Oct 1, 6:23 am, Parth <parthbhaga...@gmail.com> wrote:
> Hi all,
>
> I am using GWT 2.0.4. I am not able to use user defined instance of
> class defined even at client side. I am able to access data using JSON
> object with JSNI at client side. But not found any way to pass object
> of  user defined class such as Bean class at client side in EntryPoint
> class. I had also tried it by implementing serializable interface to
> the class which I want at EntryPoint. But not got intended result.
>
> Do any one have idea about that?
>
> Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: SliderBar has yellow border after clicking

Thanks Jim, it helps me.

On 30 zář, 17:19, Jim Douglas <jdou...@basis.com> wrote:
> That's the focus rectangle.  Try adding these:
>
>     slider.getElement().getStyle().setProperty("outline", "none");
>     slider.getElement().setPropertyBoolean("hideFocus", true);
>
> And if you're targeting iOS, you'll probably want these as well:
>
>     slider.getElement().getStyle().setProperty("webkitTouchCallout",
> "none");
>     slider.getElement().getStyle().setProperty("webkitUserSelect",
> "none");
>
> On Sep 30, 5:20 am, vkrejcirik <vkrejci...@gmail.com> wrote:
>
>
>
> > Hi, could you help me to remove yellow border after clicking on
> > SliderBar? I cannot find it in css style.
>
> > Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

[Rails] Re: STI with user and artist? Your thoughts please

Radhames, you are suggesting one table called user? and bolean fields
for is_artist, is_member? Is that right?

On Oct 1, 5:19 am, radhames brito <rbri...@gmail.com> wrote:
> I would go with having a boolean field for artist and then conditional
> validarions, that is , if the field is true then have validations for artist
> apply along with the display of those extra field in the view, if the user
> stops been an artist, then it would stop validating and presenting those
> field, in fact would add a validation that would forbid those fields from
> changing while the artist value is false.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Re: Tablet programming

Thanks Devdroid for your reply, any other suggestions?

On Sep 30, 4:11 pm, "{ Devdroid }" <webnet.andr...@gmail.com> wrote:
> On 30 September 2010 06:28, pramod.deore <deore.pramo...@gmail.com> wrote:
>
> > Hi, everybody
> >           I want to develop application for Android Tablets, Please
> > let me know that developing application for Tablets are different than
> > Mobile application? It will be great if somebody provide me a link
> > that is from where I should start?
>
> No it's not. Beside bigger screen and (probably) some hardware features
> that may or may not be available on certan devices you write your app
> like for any other Android device

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: Minimalistic JPA in GWT 2.1.0.M3

Thanks for the reply. I'm doing something wrong because I'm getting
the same error even when I place persistence.xml to /war/META-INF.
javax.persistence.PersistenceException: No Persistence provider for
EntityManager named Domain

The exception is thrown in both hosted and stand-alone mode. I'll try
to configure JTA transactions first before doing anything else with
the JPA.


On Sep 30, 6:15 pm, lineman78 <linema...@gmail.com> wrote:
> persistence.xml should be located in /war/META-INF
>
> On Sep 30, 4:28 pm, Y2i <yur...@gmail.com> wrote:
>
>
>
> > Client's requests go the server through RequestFactoryServlet.
> > My service objects (those annotated with
> > @Service(SomeDomainClass.class) on the client side are being called
> > fine.
> > When a service method explicitly creates an entity and returns it to
> > the client, the request returns without problems.
>
> > The problem occurs as soon as I start using JPA
> > I use EclipseLink 2.1.0.  The transaction type is Resource Local for
> > now
>
> > When I try to eject EntityManager using @PersistenceContext, it is
> > always null.
> > When I try to get the factory using
> > Persistence.createEntityManagerFactory("Domain"), the call would throw
> > javax.persistence.PersistenceException: No Persistence provider for
> > EntityManager named Domain
>
> > It seems that nether GWT hosted server nor deployment server
> > (jetty-6.1.23, same as hosted server) see persistence.xml file.  It
> > does not matter what I type inside persistence.xml - the error is the
> > same, as though it is not picked up by the server at all.
>
> > Any help, especially where to place persistance.xml for a GWT project,
> > would be greatly appreciated.  Thanks in advance.
> > Yuri

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

[Rails] Re: commiting doc folder to svn

Hi
I was asking about should I commit to svn the folder generated by

rake doc:app

ie doc/app folder completely
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Re: New countries !!!!

Many many thanks Google !!!!

This has been a long long time coming, glad the day has finally
arrived ( I was thinking Australia was still too small a market &
would likely miss out again... )

Look forward to you bringing the rest of the world in as well.

Regards :-)


On Oct 1, 2:00 pm, metal mikey <coref...@gmail.com> wrote:
> G'day Google,
> Thank you!!!!!!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: New countries !!!!

G'day Google,
Thank you!!!!!!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: template syntax errors in production admin site (version problem?)

On Thu, Sep 30, 2010 at 12:39 PM, bobbymanuel <bobby.manuel@gmail.com> wrote:
PROBLEM SOLVED:  upgrade to Python 2.7 on server resolved issue.
Apparrently Django 1.2.3 is not fully compatible with Python 2.5

I suspect it is your application code, not Django 1.2.3, that is not compatible with Python 2.5. The error you mentioned above was:

TemplateSyntaxError at /admin/
In template /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/base.html, error at line 31
Caught SyntaxError while rendering: invalid syntax (views.py, line 52)

This is saying that line 52 of a views.py file is where the Python syntax error was encountered.My guess is you have some code on line 52 in some views.py file in your project that uses Python syntax that was not allowed in Python 2.5.

Why was that line even getting referenced from an attempt to load /admin/? Line 31 of the admin/base.html template is:

31                      {% url django-admindocs-docroot as docsroot %}

This {% url %} tag (any {% url %} tag) will cause all of your project's url patterns to get loaded, which will often lead to importing your project's view code.

Karen
--
http://tracey.org/kmt/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[Google Maps API v2] Re: Issue with KML overlay and info balloons.

Rossko, thanks! Merged placemark with DB ID now and all works fine. I
was wondering at some point if that was the problem, but then I have
this parallel site with the same KML code (and identical placemark
IDs) and the overlay / infowindows work just fine there, so I wasnt
suspecting this to be the error...

Empty space in StyleURL seems to be okay but if it happens again, I
will remote that too.

Thanks again for the prompt and efficient help!

On Sep 30, 2:27 am, Rossko <ros...@culzean.clara.co.uk> wrote:
> >www.geomaticon.com/02_contents/png_hf/index.htm
>
> I'd start by validating yourKMLat
>    http://kmlvalidator.com/validate.htm
> Two problems are obvious
>
>     <Placemark id="placemark">
> You've got hundreds of those ; but the id of any XML element has to be
> _unique_ in the document.  I think this is why all the infowindows
> come up the same.
>
>     <styleUrl>#Aid Post</styleUrl>
> Spaces are not allowed in URLs, try renaming your styles like Aid_Post

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

[android-developers] Re: Anyway to pre allocate memory for a Bitmap?

bump????

On Sep 27, 5:58 pm, Brian <zootsuitbr...@gmail.com> wrote:
> and how would I reload them with the contents of png from the SD card?
>
> On Sep 27, 4:31 pm, Yahel <kaye...@gmail.com> wrote:
>
>
>
> > > Hello is there any way to pre allocate the memory required for a
> > > bitmap.  Android's memory model is making it very difficult for me to
> > > cache images I need to cache.
>
> > You can simply create your bitmaps using one of the various :
>
> > Bitmap.createBitmap
>
> >http://developer.android.com/intl/de/reference/android/graphics/Bitma...
>
> > This will create bitmaps at the size you want, holding up memory, and
> > then you just have to reload them from wherever they are using
> > BitmapFactory.
>
> > Yahel

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Forum Real Slow last couple of days?

Is this slowdown due to lots of new traffic from the new customers in
the new countries?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

(http://www.salesuper.com)(http://www.salesuper.com)

(http://www.salesuper.com)(http://www.salesuper.com)
Air Jordan Sneakers, Release Dates, Nike Shoes, Air Force Ones
at ...All the info a sneakerhead needs, including Nike, Air Jordans,
Nike SB, air force ones, Adidas, Bape, Vans and other news, nike
release dates, air jordan(http://www.salesuper.com)

(http://www.salesuper.com) (http://www.salesuper.com)
Sneaker Files - Air Jordans - Nike Air Force Ones - SB - Release ...20
Mar 2011... Over the course of this 20092010 NBA season, we have
seen a plethora of player exclusive sneakers ranging from Ray Allen's
Air Jordan XI(http://www.salesuper.com)

(http://www.salesuper.com) (http://www.salesuper.com)
Jordan Shoes Nike Shoes Jordan Retro Shoes Sneaker Forum
Sneakers ...Jordan Shoes Nike Shoes Jordan Retro Shoes Sneaker Forum
Sneakers ... Over the years instyleshoes.com has created the largest
sneaker forum in the world(http://www.salesuper.com)

(http://www.salesuper.com) (http://www.salesuper.com)
Simply Sneakers | Jordan Sneakers - Air Force Ones - Nike SB ...20 Mar
2009 ... Simply Sneakers deliveries breaking news on Air Jordan
sneakers, Nike SB Dunks, Custom sneakers, Sneaker Release Dates, Supra
Footwear(http://www.salesuper.com)

(http://www.salesuper.com) (http://www.salesuper.com)
Sneaker News - Air Jordan, Air Force 1, Air Max, Nike SB,
Release ...The most up to date web site for sneaker news on Air Force
1, Air Jordan, Air Max, Nike SB, Air Jordan Release Dates and Air
Force 1 Release dates(http://www.salesuper.com)

(http://www.salesuper.com) (http://www.salesuper.com)
Authentic Nike SB, Air Jordan Shoes, and Nike Retro Sneakers100%
Authentic Nike Dunk SB, Air Force 1 sneakers, Air Jordan Retro shoes,
and Nike SB Dunks, Nike Air Force 1 for sell, Authentic Nike Air
Jordan.(http://www.salesuper.com)

(http://www.salesuper.com) (http://www.salesuper.com)
Jordan Shoes,Nike Shoes,Jordan Sneaker,Nike SneakerJordan Shoes and
Nike Shoes Selling at B2bsneaker.com. We are the professional Jordan
shoes(Nike Shoes) shop for you to buy Jordan Shoes, Nike Shoes
(http://www.salesuper.com)

cheap and discount Paypal accept,dropship accept,free shipping fee,no
minimum order,sample accept discount)(Visa or Master Card) cod
(http://www.salesuper.com)

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] scaleType="fitXY" works scaleType="centerInside" doesnt

Hi,

If you know or can guess please tell me why:

In the FrameLayout below, scaleType="fitXY" will adjust the image to
fit the screen but scaleType="centerInside" doesn't. I need the
aspect ratio preserved which fitXY doesn't do. Please look at the
>>>>>>>>-----------------> below.


<?xml version="1.0" encoding="utf-8"?>

<ScrollView
android:id="@+id/widget54"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
>

<LinearLayout

android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"

>>>>>>>>-----------------> no effect, image is too large

<FrameLayout android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView android:src = "@drawable/logo"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="centerInside"></ImageView>
</FrameLayout>

>>>>>>>>------------------> scales but aspect ratio lost

<FrameLayout android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView android:src = "@drawable/logo"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scaleType="fitXY"></ImageView>
</FrameLayout>

<Button
android:id="@+id/button1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Button 1"
/>
<Button
android:id="@+id/button2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Button 2"
/>
<Button
android:id="@+id/button3"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Button 3"
/>
<EditText
android:id="@+id/txt"
android:layout_width="fill_parent"
android:layout_height="300px"
/>

</LinearLayout>
</ScrollView>

Thanks,

Shawn

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

3akarat.com - فرصة لن تتكرر أرض برخصة أرضي و11 دور مصطفي النحاس الرئيسي مدينة نصر بسعر مغري

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

[android-developers] Re: New countries !!!!

Hey its definitely a step in the right direction.
And should hold out hope that it will be rolled out further.

Its certainly opened up the type of apps that I will consider
developing now that I can sell into the market.

On Oct 1, 8:55 am, "{ Devdroid }" <webnet.andr...@gmail.com> wrote:
> On 1 October 2010 00:37, Yahel <kaye...@gmail.com> wrote:
>
> > Effective today, developers from 20 additional countries (Argentina,
> > Australia, Belgium, Brazil, Canada, Denmark, Finland, Hong Kong,
> > Ireland, Israel, Mexico, New Zealand, Norway, Portugal, Russia,
> > Singapore, South Korea, Sweden, Switzerland and Taiwan) can now sell
> > paid apps on Android Market. Over the next 2 weeks, users from 18 new
> > countries (Argentina, Brazil, Belgium, Czech Republic, Denmark,
> > Finland, Hong Kong, India, Ireland, Israel, Mexico, Norway, Poland,
> > Portugal, Russia, Singapore, Sweden, and Taiwan) will be able to
> > purchase paid apps from Android Market.
>
> This still sucks as there's 18 new sellers vs 20 buyers, which
> means that developers from 2 countries (namely South Korea and
> Poland) are still left behind and can't sell anyting to users in
> their own countries. That's lame.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Eclipse XML building super slow?

I'm finding that when editing XML files for layouts, it often takes
5-10 seconds to finish building the workspace after every change
before I can compile the application. Is this normal? Is there any way
to speed this up? My computer is very fast so I feel like something
strange must be going on.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

URL's and Multi Dimensional Filtering/Searching

Hi all,

I have a table with a list of data that I would like present to a user
and allow them to drill down into the data, but there are multiple
dimensions they may want to drill down into and I am not sure the best
way to do this with DJango URLs.

To give a bit of an example of what I am trying to do, say I have a
table of events which stores some information over time. I have
presented what I think is a reasonable way of designing URL's for
this.

Notice that this is basically single dimensional data, where the
dimension is time over which the data is to be presented:

/events/ (Lists all events over all time)
/events/YYYY-MM-DD/ (Lists all events since date)
/events/YYYY-MM-DD/YYYY-MM-DD/ (Lists all events in time range)

Also I want to allow users to optionally specify a offset + size to
any of the above so they can manually paginate the data (This is an
XML API). I am thinking the cleanest way to do this is allow optional
GET params like:
/events/?offset=0&size=100
/events/YYYY-MM-DD/?offset=0&size=100
/events/YYYY-MM-DD/YYYY-MM-DD/?offset=0&size=100

Now the tricky part comes if i want to filter on another dimension in
the data. Lets say the event is generated from a department within a
company. So we might have something like:

class Event(models.Model):
timestamp = models.DateTimeField()
company = models.CharField(max_length=128)
department = models.CharField(max_length=128)
event = models.CharField(max_length=128)

Now I was thinking of doing something like:
/events/ (Lists all events over all time, for all companies and departments)
/events/YYYY-MM-DD/ (Lists all events since date, for all companies
and departments)
/events/YYYY-MM-DD/YYYY-MM-DD/ (Lists all events in time range, for
all companies and departments)

/events/<company>/ (Lists all events over all time, for all
departments of the given company)
/events/<company>/YYYY-MM-DD/ (Lists all events since date, for all
departments of the given company)
/events/<company>/YYYY-MM-DD/YYYY-MM-DD/ (Lists all events in time
range, for all departments of the given company)

/events/<company>/<department>/ (Lists all events over all time, for
the specific department in a company)
/events/<company>/<department>/YYYY-MM-DD/ (Lists all events since
date, for the specific department in a company)
/events/<company>/<department>/YYYY-MM-DD/YYYY-MM-DD/ (Lists all
events in time range, for the specific department in a company)

Now because YYY-MM-DD is a valid company name, this scheme breaks.

Is there a more general or better way to do something like this?

Thanks,
Brendon.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[android-developers] Re: New countries !!!!

I registered an account in the United States (gave up waiting), and
now I would like to switch the country to my actual country, however,
it doesn't let me. Anyone know if this is possible?


On Sep 30, 5:37 pm, Yahel <kaye...@gmail.com> wrote:
> Effective today, developers from 20 additional countries (Argentina,
> Australia, Belgium, Brazil, Canada, Denmark, Finland, Hong Kong,
> Ireland, Israel, Mexico, New Zealand, Norway, Portugal, Russia,
> Singapore, South Korea, Sweden, Switzerland and Taiwan) can now sell
> paid apps on Android Market. Over the next 2 weeks, users from 18 new
> countries (Argentina, Brazil, Belgium, Czech Republic, Denmark,
> Finland, Hong Kong, India, Ireland, Israel, Mexico, Norway, Poland,
> Portugal, Russia, Singapore, Sweden, and Taiwan) will be able to
> purchase paid apps from Android Market.
>
> Is that awsome or what !!
>
> Good job Android !!
>
> Yahel

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Download the free and exclusive, without the participation of 25 Most Powerful program for the year 2010

Download the free and exclusive, without the participation of 25 Most
Powerful program for the year 2010
Download from here
http://prosoftantivirus.blogspot.com/2010/09/25-most-powerful-program-for-year-2010.html

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] New countries !!!!

Effective today, developers from 20 additional countries (Argentina,
Australia, Belgium, Brazil, Canada, Denmark, Finland, Hong Kong,
Ireland, Israel, Mexico, New Zealand, Norway, Portugal, Russia,
Singapore, South Korea, Sweden, Switzerland and Taiwan) can now sell
paid apps on Android Market. Over the next 2 weeks, users from 18 new
countries (Argentina, Brazil, Belgium, Czech Republic, Denmark,
Finland, Hong Kong, India, Ireland, Israel, Mexico, Norway, Poland,
Portugal, Russia, Singapore, Sweden, and Taiwan) will be able to
purchase paid apps from Android Market.

Is that awsome or what !!

Good job Android !!

Yahel

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Setting/Passing values

On Thu, Sep 30, 2010 at 6:09 PM, rb <rbsata@gmail.com> wrote:
> How do you set/pass values from one screen (activity) to another?

That depends on the nature of the "values".

> When you press the menu button, you get the options menu.  If you
> select "Setup", then
> it will display the setup screen.  Now what I need to do is take the
> values from the setup screen (radio button and text values)
> and place them in the main screen so that when you exit the setup
> screen and go back to the main
> screen, you can take those values and use them in your main code.

That sounds like:

-- the "setup screen" should be a PreferenceActivity
-- the main activity should load its preferences in onStart(), or use
a preference-change listener, to pick up the changed preferences

If, for whatever reason, you want to collect preferences by means
other than the preferences system, and so your setup screen is just an
ordinary activity, have the main activity use startActivityForResult()
and have the setup screen use setResult() to pass back the data via
Intent extras.

However, I really recommend that preferences be collected by the
preference system wherever possible. People bitch and moan about how
Android applications have no consistent UI. Preferences is one of the
few places where Android makes it relatively painless to offer a
consistent UI.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Setting/Passing values

How do you set/pass values from one screen (activity) to another?

What I have in the R.layout.main view labeled Calculator contains the
code for doing calculations.
The main.xml contains the layout (view) of the main screen.

I have created an options menu which has another screen which shows
you setup (R.layout.setup).
The dialogsetup.xml contains the layout (view) for it.

When you press the menu button, you get the options menu. If you
select "Setup", then
it will display the setup screen. Now what I need to do is take the
values from the setup screen (radio button and text values)
and place them in the main screen so that when you exit the setup
screen and go back to the main
screen, you can take those values and use them in your main code.

Any coding would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: Project works in development mode but compiled version fails!!!

Your regex is invalid and the unexpected quantifier is being ignored
in java, but javascript is throwing an exception. The '+' after the
{2,} is a quantifier after a quantifier, it needs some sort of
character class before it. Depending on the goal of your match here
are some valid regex strings:

replaceAll("((<br>\\s*){2,})+", "<br>") matches: <br> <br> \n<br> <br>
doesn't match: <br><br><br> (only multiples of 2)
replaceAll("(<br>\\s*)+", "<br>") matches: <br> <br> \n<br> <br> (any
number of <br>'s separated by white space)
replaceAll("(<br>\\ *)+", "<br>") matches: <br> <br> <br> doesn't
match: <br> <br>\n<br> (only spaces, not all white space)

On Sep 30, 1:24 pm, Jan <jan.morl...@googlemail.com> wrote:
> Hi,
>
> I just stumbled upon a very weird problem. My gwt project (GWT
> 2.1.0.M3/AE 1.3.6) worked flawlessly in development mode. However
> after compiling, it failed. I was able to reduce the problem to the
> following minimal example:
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.user.client.Window;
>
> public class Compiletest implements EntryPoint {
>
>         class AcceptorDTO {
>                 public String company;
>                 public String additionalInformation;
>         }
>
>         public void onModuleLoad() {
>                 AcceptorDTO acceptor = new AcceptorDTO();
>                 acceptor.company = "";
>                 acceptor.additionalInformation = "";
>
>                 String acceptorString = acceptor.company + "<br>" +
> acceptor.additionalInformation + "<br>";
>
>                 Window.alert(acceptorString);
>                 acceptorString = acceptorString.replaceAll("(<br> *){2,}+", "<br>");
>                 Window.alert(acceptorString);
>         }
>
> }
>
> In development mode, two popups appear as expected. However the
> compiled versions shows only one. This means that the program aborts
> during the replaceAll function!
> In my opinion, this must not happen. However before I file a bug
> report, I would like to know if somebody can confirm or even explain
> this behaviour.
>
> Thanks in advance
> Jan

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

[Rails] How to use a class, put it inside a model?

class Feeds
FEEDS = %W(
http://feed.kennisnet.nl/Basisonderwijs
http://feed.kennisnet.nl/Voortgezetonderwijs
http://wp.digischool.nl/nieuws/feed/
)

def load_feeds
@feeds_ds = feeds.first
@feeds = vopo? ? feeds.second : feeds.last
end

def feeds
@feeds ||= Feedzirra::Feed.fetch_and_parse(FEEDS).values.map { |
feed| feed.entries.first(6) }.entries
end

def vopo?
params[:vopo] == 'po'
end
end


This is my class.
I would like to display the feeds on every page. Where should i put
it? in a model or controller?
and how doe i use it?

def load_feeds
f = Feeds.new
f::feeds
f::load_feeds
end

This is what my view looks like

<%- for feed in @feeds[0..2] -%>
<%= link_to feed.title, feed.url -%>
<p><%=h feed.summary[0..60] %>...</p></li>
<%- end -%>

Thank you in advance.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

MathML support...

Greetings folks

How to add support for equations and MathML into your GWT
applications...

I proved to myself the faisability using the JavaScript library
ASCIIMathML.js from Peter Jipsen de Chapman University (GNU LGPL 2.1+
license).

http://www1.chapman.edu/~jipsen/mathml/asciimath.html

So, I'm working now on different issues.

Hope this will help somebody

Claude

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

10 dollars for 1 click

thies sites pay 10 dollars for waching a 1 minute ad's


http://www.tendollarclick.com/index.php?ref=kimomalcolmx
http://www.buxinc.com/index.php?ref=kimomalcolmx
http://www.richptc.com/index.php?ref=kimomalcolmx
http://www.fineptc.com/index.php?ref=kimomalcolmx

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] Anchors aren't working

In an HTML page, I have at one place, <a name="updates"></a>, but in a
WebView, when I click on <a href="#updates">updates</a>, it doesn't
jump to the correct place. It works fine if I load that page in a
browser. It does nothing but mark that link as visited in the WebView.
Is there some setting that I'm not correctly configuring?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Hi All, Please help me!!

On Thu, Sep 30, 2010 at 12:56 PM, Ulzii <terelj@gmail.com> wrote:
The certificate that signed this apk is not valid until the future.

This usually means the time on your computer, at the time you signed your app, was ahead of the real current time.

Try manually resetting your system clock to like a day in the past and try again.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Very hot-very sexy & jobs

http://www.photovediodating.com/Hindi-actress-hot-wallpapers.htm

For Jobs
http://www.interviewtips-jobs.blogspot.com

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

free proxy site for limited time

free proxy site for limited time
---------------------------------------
http://mypro.totalh.com/

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

[android-developers] Hi All, Please help me!!

When I upload my Android App to market it gives as next message:

The certificate that signed this apk is not valid until the future.
Create a new certificate.

Help me to solve this problem.

I setup my duration 50 years. I have signed my App from Eclippse.

Thanks,
Ulzii

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: VerifyError reloaded

On Sep 29, 11:32 am, Dirk <dirkb...@googlemail.com> wrote:
> In order to get around the problem, I tried to replace the whole
> switch-statement with lots of if-elseif statements.
> Unfortunately, another problem arose. The Verifyer now says:
>
> 09-29 18:02:44.058: WARN/dalvikvm(450): VFY: arbitrarily rejecting
> large method (regs=127 count=34916)

I fixed that one too while I was at it. The limit was intended to
prevent the verifier from soaking up huge amounts of memory, but (a)
the limit is too low, and (b) there are better mechanisms in the
system for doing that. So now it's just a warning that says, "hey,
this is huge".

With both fixes in place, the original code passes.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Interactive Touchscreen plays sounds twice

Two events are generated...
First : ACTION_DOWN
Second: ACTION_UP

Try something like this in your event handler:

if (event.getAction() == MotionEvent.ACTION_DOWN) {
//play sound here
}

Regards
Sarwar Erfan

On Sep 30, 4:11 am, ericmahlon <ericmah...@hotmail.com> wrote:
> I have an interactive image which uses OnTouchListener to get the
> coordinates.  In doing so...if a user places their finger on the area
> it may hit it multiple times thus getting new coordinates within the
> area that plays the sounds...thus playing the sound twice.  Any
> suggestions on how to clear up this issue?
>
> Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: PDF Libraries for android

But it does support Linux so an Android port seems at least feasible.

On Sep 30, 9:07 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Thu, Sep 30, 2010 at 12:03 PM, Bret Foremanbegin_of_the_skype_highlighting     end_of_the_skype_highlighting<bret.fore...@gmail.com> wrote:
> >http://www.icepdf.org/
>
> Note that this doesn't support Android, at least based on their list
> of supported platforms:
>
> http://www.icepdf.org/product/supported-platforms.html
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

How to Start News Paper ?

How to Start News Paper ? News Paper Registration details CD available
at Rs.3600/- Only! For details Contact by email: svrao333@gmail.com

--
You received this message because you are subscribed to the Google Groups "Work From Home Make Money Online" group.
To post to this group, send email to trgbests-home-base-business@googlegroups.com.
To unsubscribe from this group, send email to trgbests-home-base-business+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trgbests-home-base-business?hl=en.

Directing User to specific page after login

I am looking for either programming samples or specific documentation
that show how a user is redirected to a page specific to that user,
after login. Given I am just starting out with Django, if this is
really advanced, then I'll settle for getting people logged in and
give them the same page.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: [android-developers] Re: PDF Libraries for android

On Thu, Sep 30, 2010 at 11:41 AM, viktor <victor.scherbyna@gmail.com> wrote:
> I cant inform all app users that for viewing pdf from site, will need
> download additional application.
>
> It is not very comfortable to download app for simple thing.
>
> If you what to see YouTube video you don't need additional software,
> you can yous build-in.
>
> Am I right?

Sure. On the other hand, I am not aware of a PDF viewing library for
Android. And if one existed, there is a good chance it would be
commercial and priced well beyond your budget.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Slow Connection

Hi,

Does anyone know a tool which slows down the http connection to
simulate a slow internet connection?
I would like to have the impression as an internet user while testing

Stefan Bachert
http://gwtworld.de

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

CakePHP ignores notEmpty validation rule when the field's name is not a key in $data! (Bug or Feature?)

Hi everybody

I have baked the following very straight-forward model:

class Post extends AppModel {
var $name = 'Post';
var $displayField = 'name';
var $validate = array(
'name' => array(
'notempty' => array(
'rule' => array('notempty')
),
),
);
}

It only needs a value for "name" to be saved.

Now I've written the following 3 tests:

function testShouldNotBeValidWithEmptyName() {
$this->Post->create(array('name' => ''));
$this->assertFalse($this->Post->validates());
}

function testShouldNotBeValidWithoutName() {
$this->Post->create();
$this->assertFalse($this->Post->validates()); // Fails!
}

function testShouldNotBeValidWithNullName() {
$this->Post->create(array('name' => null));
$this->assertFalse($this->Post->validates());
}

I expect all three of them to work, but the 2nd one fails! So why does
it validate when there truly is no value for the "name" field? Is this
really the way it should be, or is it a bug?

I'm on version 1.3.4.

Thanks for help
Josh

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

TemplateSyntaxError at /accounts/register/ Invalid filter: 'apnumber'

Hello friends,

I have getting below error

TemplateSyntaxError at /accounts/register/

Invalid filter: 'apnumber'

i am working on simple user registration of page.any budy have idea
abt it?

http://www.stonemind.net/blog/2007/04/13/django-registration-for-newbies/

thanks
Prakash

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[Google Maps API v2] Mouseout event

I create GPolygon object and bind MouseOut event handler.

It fires correctly, when mouse leaving GPolygon, but it doesn't fire,
when mouse leaving map canvas element!

How i can force GPolygon MouseOut event?

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: Django app that uploads media files and servers them through a view?

On Thu, Sep 30, 2010 at 1:20 PM, Stodge <stodge@gmail.com> wrote:
> Is anyone aware of a Django app that lets you upload media files (not
> necessarily in the admin site) but serves them through a view instead
> of as static files via the web server? I need to control access to the
> media using permissions. Thanks

Serving media using views are very inefficient, but I`m facing the
same problem; how to serve media using better suited servers like
nginx for media but still having some way of checking
permissions/authentication etc. ??

I`m working on a project similar to Windows Home Server, where users
can upload and backup their media and access it through a web
interface. Serving static media using django was terrible and using
nginx was incredibly fast, but I lost all access control to the static
media.

Any help on this subject would be highly appreciated.

--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: [android-developers] Tablet programming

On 30 September 2010 06:28, pramod.deore <deore.pramod83@gmail.com> wrote:
> Hi, everybody
>           I want to develop application for Android Tablets, Please
> let me know that developing application for Tablets are different than
> Mobile application? It will be great if somebody provide me a link
> that is from where I should start?

No it's not. Beside bigger screen and (probably) some hardware features
that may or may not be available on certan devices you write your app
like for any other Android device

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

iPhone posting FILEs = "Invalid content length"

Hey there,
I've got a new error I'm totally stumped on. All searches are saying
it's a "http vs https" or similar.
I'd be keen to hear your thoughts.

Basically I've got an iPhone app sending a POST to a django app, it
contains one FILE.
Every now and then (very sporadically, about 1 in 5) one fails and I
get the below message.

<tr>
<th>Exception Type:</th>
<td>MultiPartParserError</td>
</tr>
<tr>
<th>Exception Value:</th>
<td><pre>Invalid content length: 0<pre></td>
</tr>
<tr>
<th>Exception Location:</th>
<td>/home/72999/data/python/django/django/http/multipartparser.py in
_init_, line 80</td>
</tr>

Any ideas?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

[Rails] Re: Rails3: ajax responds with js template text!

On Sep 30, 11:26 am, Naif Dalbahi <li...@ruby-forum.com> wrote:
> Frederick Cheung wrote:

> I am so angry that the extension change was never mentioned in rails 3
> documentation site... how are people supposed to know about that if the
> development team doesn't announce that?!

I thought the 'new' extensions were added in 2.0 and the old ones had
been vaguely deprecated ever since.

Fred
>
> Thank you again Fred,, very much appreciated.
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Re: Can I post text to facebook profile from my android application?

Make sure to do some testing and tweaking if you use the official one.
It isn't integrate and forget quality. I had to add a cancel listener
in FbDialog so my app knew when users left by the back button, for
example. Make sure the web view stops loading when they leave as well,
otherwise you get an error later. Also had weird problems with the
sizing when testing various screens/rotations, buttons were offscreen,
etc... Ended up making the thing full screen and scrollable. There's a
bunch of issues on github page you can check out.

On Sep 27, 4:58 am, Zarah Dominguez <zarah.doming...@gmail.com> wrote:
> Sure you can!
>
> You can get the official Facebook SDK for Android fromhttp://github.com/facebook/facebook-android-sdk
>
> There are also examples there to help you get started.
>
> Good luck!
>
> -Zarah.
>
> On Sep 27, 3:52 pm, rokson <kiranrepa...@gmail.com> wrote:
>
> > Hi Friends,
>
> > This is Rockson,
> > I am new to android. Here i am struggling with facebook posts from
> > android application.
>
> > I am developing a application in android from which i want to post
> > some text to my facebook profile.
>
> > Can i do that? Please help me.
>
> > Thanks and Regards,
>
> > Kiran.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

{smartbroker} 01 BR FULLY FURNISHED IN DIAMOND-2


MARINA DIAMOND -2
01 BR HALL
FULLY FURNISHED
RENT 60K
 
CALL 055-4259499

Regards,

 Farrukh Khan  

 

 If I'm in a meeting and not able to attend your call, please send me a message from your mobile with your contact details and i will call you back ASAP.




3akarat.com - عقار 3 اداور بمدينة السادس من اكتوبر (ابنى بيتك) -مميز جداً جداً جداً فرصة لن تتكرر

إعلان جديد من عقارات دوت كوم تفاصيل الأعلان : تفاصيل الإعلان . . .

عقارات دوت كوم
----------------------------------------------------------------------------------------

[Google Maps API v2] Re: 404 Error Loading Google AJAX API Loader

Hi there,

I have the same error on my website. I saw it this morning...

Some news about that ?

On 30 sep, 08:21, kjh <heal...@verizon.net> wrote:
> The request is not getting hung up but is making it all the way to
> Google who is (almost always) returning their customized 404 response
> page when the request emanates from my corporate subnet.  Every once-
> in-a-while, I'll get the desired response.
>
> When requesting from somewhere other than my corporate subnet, I
> always get the correct response.
>
> Is there anyway to verify what's happening on Google's end?
>
> As I work-around, I saved the API Loader code and I'm serving it up
> myself but that's not preferable.
>
> On Sep 29, 5:26 am, kjh <heal...@verizon.net> wrote:
>
> > It's a Google formatted 404 error response page and not some generic
> > result.  I'll do some additional tracing though to ensure the response
> > is actually coming from Google.
>
> > On Sep 28, 6:15 pm, Andrew Leach <andrew.leac...@gmail.com> wrote:
>
> > > On 28 September 2010 22:32, kjh <heal...@verizon.net> wrote:
>
> > > > I issued the
>
> > > >http://www.google.com/jsapi?key=my_key_here
>
> > > > request directly from my browser address window and got a 404 error
> > > > response.
> > > > If issue the request repeatedly  I eventually get the desired
> > > > response.
>
> > > > Thinking it might be a  network problem, I VPN'd to another network
> > > > and issued the same request from the browser - works every time.
>
> > > > Any thoughts on what is the problem?
>
> > > Did you actually get a 404 returned from the server? Or some other
> > > error like NXDOMAIN which indicates a DNS problem for that network? I
> > > suspect the latter, since there is obviously no problem at Google's
> > > end.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

Re: Loading GWT module after page is loaded

please propose a solution

On Sep 29, 5:54 pm, szebeni <kha...@gmail.com> wrote:
> Hy peps,
>  I have a GWT App which is loading perfectly on a host page, but I
> need to do some interaction before Its loaded, which cause this issue:
> I get only a loading blank screen if I'm writing the script tag for
> nocache.js into the document after the page loaded. Do you know why is
> it and how can I fix it?
> I checked and the path is fine, just the generated js code behaves
> differently (like the function from nocache.js is undefined in the
> browser specific one).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

[Rails] Re: Railroad problem with :through?

Ar Chron wrote:
> Sem Ptiri wrote:
>
> Is this a typo, or your problem source?
>
>> class Subscriber < ActiveRecord::Base
>> has_many :lists
>> has_many :lists, :through => :list_subscribers
>> end
>>
>
> class Subscriber < ActiveRecord::Base
> has_many :list_subscribers
> has_many :lists, :through => :list_subscribers
> end

My problem source.

Thank you.
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Launching application in Market

Hi, I want to launch my application in market. I ahd go to
http://market.android.com/publish/signup but there they are asking for
Website URL. But i don't have any website then what should I enter
there? or is it necessary to have our own website to launch
application in market?

Thanks in advance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Wednesday, September 29, 2010

[android-developers] Cannot install apk of huge size

Hi everyone
I have an issue with installing an apk of size 72 MB onto
devices like Samsung Galaxy i7500 and Nexus One .The entire size of
the application is 256 MB.The devices have enough memory say 600MB on
samsung galaxy.But still it does not install saying there is
insufficient storage.
Do the apk file gets uncompressed to the size of application after
installing.I mean if i am installing this 72 MB apk does it take 256
MB space of apllication.Does it work somewhat like a .zip file?
Please give me a solution as to why even after having enough memory
i cant install the apk?

Thanks
Neil

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] android ksoap2 Caused by: java.lang.RuntimeException: Cannot seralize (double data type)

Hi
In my project i am using ksoap2-android-assembly-2.4-jar-with-
dependencies.jar for web service purpose.

I got able to access the service and passing simple parameters and get
the objects and iterate it.

But the problem is i cant able to send the complex object. Can anybody
know how to pass the complex object with date and double values.

Employee object have string name, int number, double salary and Date
dateOfBirth.

And the employee object implements KvmSerializable
name="Mike"
number=2;
salary=20000
dateOfBirth = new Date();

and the code is

SOAP_ACTION = "http://xysed/GetHRA";
METHOD_NAME = "GetHRA";

TextView authenticate = new TextView(this);

SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);

PropertyInfo pi = new PropertyInfo();
pi.setName("employee");
Employee e = new Employee();
e.setNumber(4);
e.setName("Ananth");
e.setSalary(20000);
e.setDob(new Date());
pi.setValue(e);
pi.setType(Employee.EMPLOYEE_CLASS);
request.addProperty(pi);
request.addProperty("employee", e);


SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = true;
envelope.setOutputSoapObject(request);
Marshal dateMarshal = new MarshalDate();
dateMarshal.register(envelope);
//envelope.addMapping(Employee.NAMESPACE, "Employee", new
Employee().getClass());
try {
AndroidHttpTransport androidHttpTransport = new
AndroidHttpTransport(URL);
androidHttpTransport.call(SOAP_ACTION, envelope);

//String fullName = (String)envelope.getResponse();
Log.v("Full String :", envelope.getResponse().toString());
Log.v("body in :", envelope.bodyIn.toString());
Log.v("body out :", envelope.bodyOut.toString());

authenticate.setText(envelope.getResponse().toStri ng());
this.setContentView(authenticate);

} catch (IOException ioe) {
ioe.printStackTrace();
} catch (XmlPullParserException xpe) {
xpe.printStackTrace();
}

I pass this employee object as a request i got an error like

java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.oak.soap.test/com.oak.soap.test.WebserviceDisplay}:
java.lang.RuntimeException: Cannot serialize: 20000.0

here 20000.0 is a salary ( double value)

ERROR/AndroidRuntime(287): Caused by: java.lang.RuntimeException:
Cannot serialize: 20000.0


Can anybody provide samples for how to pass complex object as request
to web service

Thanks
mindus

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Pinch-Zoom for Gallery.

I'm trying to create a gallery that should allows user to pinch-zoom
the currently displayed image.
I can able to pinch zoom single image, but how to apply the same logic
for images in gallery view of android.


Thanks!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Tablet programming

Hi, everybody
I want to develop application for Android Tablets, Please
let me know that developing application for Tablets are different than
Mobile application? It will be great if somebody provide me a link
that is from where I should start?
Thanks in advance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: loading an html file from local res directory

I found the answer!

I should put the .html file in the assets folder and then use
mWebView.loadUrl("file:///assets/about.html");

Thanks!

On Sep 29, 8:46 pm, Saied <saie...@gmail.com> wrote:
> This should be very simple, but I can't find the answer anywhere.
>
> How do I load an html file (which I assume I keep in res/raw folder)
> into a webview?
>
> neither
>  mWebView.loadUrl("file:///raw/about");
>
> or  mWebView.loadUrl("file:///raw/about.htmal");
>
> works.
>
> What's the correct syntax or arrangement.
>
> Thank you.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] GREF count going to 301

hello all,
I keep getting the "GREF count to 301" in the LogCat, when i try to
run my code. Any solutions or suggestions on how to fix this error
would be really helpful .


Thanks
AAJ

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: Having problems with GWT and RMI for client-server communication

Hi,

I think that you're having a Google App Engine Problem rather than a
GWT problem: the class that you mention is not the white list of
Google App Engine. Hence the exception. http://code.google.com/appengine/docs/java/jrewhitelist.html

If your plan is not to run you app on Google App Engine but on a
regular java server, than the issue comes from the setup of your
project (uner Eclipse) where you probably ticked the GAE box when
defining it, then Eclipse included the gae environment.

Hope it helps

regards
didier

On Sep 29, 3:54 pm, "christophe.jour...@stambia.com"
<christophe.jour...@stambia.com> wrote:
> Hi,
>
> I'm having a problem with GWT and RMI.
>
> I'm trying to make this kind of application : (GWT Client)<->(GWT
> RPC)<->(GWT Server)<->(RMI)<->(external server)
>
> I know that I can't use RMI in the client side code but I do not
> understand why i'm having troubles on the server side code.
> The application compile correctly but it makes an error message when
> trying to do RMI request :
> "java.rmi.Naming is a restricted class. Please see the Google  App
> Engine developer's guide for more details."
>
> I have read lots of messages that say it is possible to use RMI and
> GWT like I want to, but I have also read lot of messages that say it
> is not possible.
>
> So my question is, how to make RMI requests working on the client side
> code ?
>
> Christophe.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

[Rails] Using Meta Data in a database field in a View

Hello...

Given a database with records like the following
Table: AuditLog
Fields: ID | USERID | TYPE | TIME | DATA

id:1, userId:1, type:PHOTO, time:2008-10-15 12:00:00, data:
{photo_id:2089, photoname:"A trip to the beach"}

Lets say the database had 50 records, with Rails How can I loop
through the results as follows:

<ul>
<li> id, user_id, data.photoID, data.PhotoName</li>
</ul>

The main thing I don't get is how to extract what's inside the data
column. Example given:
@mystuff = AuditLog.all
How to display something like mystuff.data.photo_id

Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[Rails] Problem with using oracle on Snow Leopard

Just today I completely wiped my hard drive and installed snow leopard
fresh. I've installed several libraries with success so far, but can't
seem to get oracle working with rails.

I've installed the instant client successfully and am able to connect to
the db using irb:

$ irb
>> require 'oci8'
=> true
>> OCI8.new('user_name', 'password', '//server/xe').exec('select column_1 from table_name'){|r| puts r.first}
"value1"


but I can't get it to work with a Rails 1.2.5 project:

$ script/console
Loading development environment.
/Library/Ruby/Gems/1.8/gems/activerecord-1.15.5/lib/active_record/connection_adapters/oracle_adapter.rb:537:NameError:
undefined method `define_a_column' for class `OCI8::Cursor'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/core_ext/module/aliasing.rb:28:in
`alias_method':NameError: undefined method `process' for class
`ActionController::Base'
/Users/kpeyton/projects/dfttracker/app/controllers/application.rb:8:NoMethodError:
undefined method `hide_action' for ApplicationController:Class

This is a little snapshot of what gems I have installed right now.

*** LOCAL GEMS ***

rails (2.3.4, 2.2.2, 1.2.6, 1.2.5)
rsim-activerecord-oracle_enhanced-adapter (1.2.1)
ruby-oci8 (2.0.4)

I'm not able to downgrade my ruby-oci8 install to 1.x because I need 2.x
for a different project with rails 2.3.4. Can anyone help me with
getting this oci8 to work here?

Thanks alot.

-Kyle
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

[android-developers] Tab Layout not working

Hi,

I am using the Tab Layout almost copied from the example provided. But
it's not working:

public class TabHolder extends TabActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setContentView(R.layout.main);

Resources res = getResources(); // Resource object to get
Drawables
TabHost tabHost = getTabHost(); // The activity TabHost
TabHost.TabSpec spec; // Resusable TabSpec for each tab
Intent intent; // Reusable Intent for each tab

// Create an Intent to launch an Activity for the tab (to be
reused)
intent = new Intent().setClass(this, ArtistsActivity.class);

// Initialize a TabSpec for each tab and add it to the TabHost
spec = tabHost.newTabSpec("artists").setIndicator("Artists",
res.getDrawable(R.drawable.ic_tab_info))
.setContent(intent);

// ok up to here
tabHost.addTab(spec); // barfs right here **************


// Do the same for the other tabs
intent = new Intent().setClass(this,
MessagEaseSettings.class);
spec = tabHost.newTabSpec("settings").setIndicator("Settings",
res.getDrawable(R.drawable.ic_tab_settings))
.setContent(intent);
tabHost.addTab(spec);

intent = new Intent().setClass(this, SongsActivity.class);
spec = tabHost.newTabSpec("how").setIndicator("How",
res.getDrawable(R.drawable.ic_tab_how))
.setContent(intent);
tabHost.addTab(spec);

tabHost.setCurrentTab(2);
}

}

seems that the problem happens when it adds the spec:

tabHost.addTab(spec);

But there is not much to this:

intent = new Intent().setClass(this, ArtistsActivity.class);

// Initialize a TabSpec for each tab and add it to the TabHost
spec = tabHost.newTabSpec("artists").setIndicator("Artists",
res.getDrawable(R.drawable.ic_tab_info))
.setContent(intent);

the activity (ArtistsActivity) exists and passes Eclipse's strict
checks.

the strings "artists" and "Artists" should not matter, and they are
taken from the exmple.

and the drawalbe.ic.tab.info does exist, exactly as the example
requires it:


<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- When selected, use grey -->
<item android:drawable="@drawable/tab_info_gray"
android:state_selected="true" />
<!-- When not selected, use white-->
<item android:drawable="@drawable/tab_info_white" />
</selector>


Can anyone give me a hint as to where to look for? Any help is much
appreciated.

Best,

Saied

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: 2.1 Documentation

On 30 sep, 00:18, Daniel Kurka <kurka.dan...@googlemail.com> wrote:
> I just started to take a look on GWT 2.1m3 and MVP and made a small blog
> post about it.
>
> Maybe this will help?
>
> http://blog.daniel-kurka.de/2010/09/testdriving-gwt-mvp-from-gwt-21-m...

Could you please switch your blog to english? I was able to figure out
what "Vorschau" means only because I've recently commented on other
Blogger blogs.

Looking forward to read the next blog post!

(note that your SimpleDisplay won't be needed in 2.1m4 as SimplePanel
implements AcceptsOneWidget –the new name for Activity.Display–; also,
views generally will be widgets themselves, rather than contain
widgets, again this is made a bit easier in 2.1m4 as Widget implements
IsWidget, returning itself, so you don't have to write the asWidget
method if your view is a Widget)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Real Estate