Sunday, July 31, 2011

[android-developers] Re: Changes in Developer Console - longer time for app update to appear in Market?

Hi,

Yes, if you do this too frequently you do not see your app appear in
'just in', how frequently is something like once about every 12 days,
but that is just a guess.

Regarsd

On Jul 30, 8:49 am, pawpaw17 <georgefraz...@yahoo.com> wrote:
> Has anyone else noticed a much longer latency for your app update to
> appear in the Market? Usually I see the update in the "Just In"
> section within a few minutes of clicking "publish".
>
> With the recent changes that partition the developer console into two
> tabs, and the removal of the "publish" button, I think I've saved my
> APK update correctly, but I still don't see my app in "Just In" or
> even the new version in my product description.
>
> Anyone else noticing this?
>
> Thanks
>
> pawpaw17

--
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: Comms with Intent

Thanks for the response Nikolay ---

> Assuming the servlet runs in a separate thread, no. Not directly
> at least.

That's what I was afraid of ...

> You could launch the activity using the FLAG_ACTIVITY_SINGLE_TOP
> flag. Then when you call startActivity() again, a new instance
> won't be created, the intent will be delivered to onNewIntent().

Worth trying.

> Alternatively, you could use a Handler to send messages to
> the GUI thread. The hard part may be how to get a GUI-thread
> Handler to your servlet container though. Assuming the whole
> app server is started from the GUI thread, you have to create
> a Handler (on the GUI thread) and find a way to stuff it in a
> globally accessible place (Application static field, etc.)

Yes I agree, not sure how I can get the Handler but I will look into
it. Not a bad idea at all! Thakns

--
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] OnClick error

Dear All :

I install eclipse & Android SDK under the Windows/XP successful. If
I test a program using onClick that I want to click a button, it
displays an error. But the code is ok on an another pc. Can anyone
help me?

my code is that :

btnNumberOne.setOnClickListener(new ImageButton.OnClickListener()
{
@Override
public void onClick(View v) { <=====error line

Thanks.

BR,
mark

--
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: [Lovers India] Chulbul Panday Vs Bajirao Singham Who Is Best?

Chulbul Panday is comedy man, Egoistic, Dashing but currept

Bajirao Singham is helpful, Dashing, Kartwydksh




--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

Re: How can I get the "Expenses" sample up and running?

It works now though I don't know why.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rfjTaKUS4ioJ.
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.

[android-developers] App not visible in Android Market

Hi,

we have published an app on market, but its not visible in the market,
even if isearch the package name of the app name, nothing is visible.

I can see 464 devices supported.
selected thrioughout the world, and its free, its been 6 hrs and still
cant c it.

What could be the issue?

please help.

Regards
Parag

--
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] Comms with Intent

Hi all,

I launch an Intent from a servlet once a request for it comes in. The
Intent launches
a SnapPic activity that puts the phone into a preview mode and then
snaps
a pic and send it back to the requester. This works fine - I am now
truing to keep
the phone in the preview mode (I don't call the finish()) on the
activity and for
any subsequent requests I am trying to snap more pictures. Can calls
to methods
of the launched Activity be made from the servlet? In other words, how
can one
app communicate with an activity that it launches? I think this is a
matter of
communicating threads so I am wondering if there's an alternative way
to approach
this problem.

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

Re: newbie question about databases

On Mon, Aug 1, 2011 at 5:25 AM, dewolfe001 <mikedewolfe@gmail.com> wrote:
> Is there a way that I can generate app/config/schema PHP files from
> the SQL or MySQL database tables? I tried "cake schema generate node"
> from the console (node being the name of the table I wanted to pick
> up). But that just gives me the "blogs" table that ships as an example
> in CakePHP.

The following command will dump the whole schema by looking at the DB,
rather then the models.

cake schema generate -f

--
Simon Males

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

Re: USE_I18N vs. USE_L10N

I read Wikipedia and Django docs. Now, after all this debate, I see that I _did_ understand the definitions when I first read it.

Given those definitions however, the meaning of USE_I18N and USE_L10N are not obvious. Far, far, far from obvious. There _absolutely_ has to be some additional explanation of what those two settings does. How can you even think that it is obvious???

So since I could not figure that out, I started looking for explanations. And somewhere I found, that the settings meant respectively: translation and localized formatting. And that is why I sent this post on quite a detour. Sorry about that.

Do you people realize that if a newbie reads a) Wikipedia on I/L b) Django on I/L, c) this thread. They will still not understand what those two settings do!

@ Russell: I would not hesitate to help writing the documentation. But I simply don't know what those settings do. So I can't write it. (tragicomic smiley)

Lucy

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/d9ShQzQ7tnsJ.
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: Ang.: Re: Add virtual attribute

Linus Pettersson <linus.pettersson@...> writes:

> So I can use the List.unfinished.... But how do I add it as attributes to
the json output?
>
>
>

Seems you are confusing search patterns with object output. Your JSON output
should already include a "status" field.

--
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.

Re: How to use RequestFactory: .with(propertyRefs) for composition of objects

Hi there:

Assuming that your lists are named listB, listC, listD, then you would
write:
.with ("A.listB", "A.listB.listC", "A.listB.listC.listD")
to cause your various proxies to be populated by a single call to the
server.

Hope that helps,
Ryan

On Jul 31, 3:31 pm, basilboli <basilb...@gmail.com> wrote:
> Hello,
>
> I am newbie to GWT and  I need your professional advice.
>
> My question is :
>
> how to use RequestFactory: *.with(propertyRefs)* for kind of "tree"
> structures when
>
> these propertyRefs itself contains list of items I would like to retrieve.
>
> Some details:
>
> On the server-side I have hierarchy of four domain objects A,B,C,D:
>
>    - A object contains (or I'd better say keep reference to)  List <B>
>    - B contains List <C>
>    - C contains List <D>.
>
> All mentioned domain objects have its corresponding proxy interfaces AProxy,
> BProxy, CProxy, DProxy to use on the client side.
>
> On the client side I would like to get all that hierarchy of objects
>
> by once requesting AProxy object so I would profit from the easiness of data
> access using "get" methods and wouldn't be obliged to make looping server
> requests for every sub-object, sub-sub-objects etc.
>
> Due to specification I should use smth. like  .with("property ref") to get
> one level of hierarchy
>
> but what about retrieving following levels of compositions (in my case List
> <C> for every object B and List<D> for every object C).
>
> Thanks in advance.

--
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] Guard v. Autotest

It seems like Guard and Autotest do about the same thing. Is there a
reason that they would be used together? Can they both be used against
Spork? If I'm using Rails 3.1, is one preferred over another?

--
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.

Re: [android-developers] Refunds in App-Billing

That's nice. One good thing of In-app billing :)
And I suppose that in any case no comission is aplied, isn't it?

Cheers,

--
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

[Rails] Re: Question about Helpers

> 3. I didn't understand your justification of getter and setter.Since
> instance variables work fine why would you need to define a setter and
> getter.

>>Because it's good programming practice.

Ok, I took my own advice an read some articles about 'why getter and
setters' and there are enough people that think it's actually bad
programming practice. But as far as I can tell the reasons I stated are
why the book is is using getters and setters--however, the book does not
always use the getters and setters, so it is being consistent.

--
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.

Re: GWT/GPE 2.4.0 RC1 is available

Will it be possible to use @Category on Proxies? Is there a way to
realize additional logic for RF proxies, with @Category or another
way? Currently I super sourced some RF core classes and replaced the
generator. I'am able to use @Category as described in AutoBeans. But
this means a lot of merging work on new releases. Did I miss something
with RF too implement additional logic in RF? It wouldn't be that much
work to enable @Category for proxies in a proper manner.

Another thing are all the private methods in RF / AutoBean generators
and in Service Layer logic on server side. These private methods
forces us to copy/paste a lot of code whenever we want to extend some
logic. What's the reason for this private restriction? Why not
protected?

--
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.

newbie question about databases

Is there a way that I can generate app/config/schema PHP files from
the SQL or MySQL database tables? I tried "cake schema generate node"
from the console (node being the name of the table I wanted to pick
up). But that just gives me the "blogs" table that ships as an example
in CakePHP.

Thanks in advance,

Mike

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

Re: [Rails] Add virtual attribute

On 31 July 2011 20:00, Linus Pettersson <linus.pettersson@gmail.com> wrote:
> Hi!
> Let's say I have an app that handles a TODO list. The list has finished and
> unfinished items. Now I want to add two virtual attributes to the list
> object; the count of finished and unfinished items in the list. I also need
> these to be displayed in the json output.
> How do I achieve that?

Define two scopes on List that return the finished and unfinished items then use
List.unfinished.count

Colin

> Best Regards
> Linus
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/aFmyk69tHdUJ.
> 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.
>

--
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] Hi Alireza

Your work is nice.

--
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: Emulator has Alzheimers (forgets who it is)

I didn't read your long message, but the title is really original and
made me roll on the ground laughing :D

-Ali

--
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: 2D Live Wallpaper Tutorial

You can use the sample from the SDK.
http://developer.android.com/resources/samples/CubeLiveWallpaper/index.html
Yes, it's a cube which is 3D, but it's actually using the ordinary 2D
graphics features of Android (http://developer.android.com/guide/
topics/graphics/2d-graphics.html
), so it's probably a good start for
what you want to do.

On 29 Juli, 03:32, "Dr. House" <rominu...@gmail.com> wrote:
> I've seen plenty of examples of how to do a 3D Live Wallpaper but
> nothing for 2D.
> I used to create and code 2D video game fighting stages. I would like
> to make them into Live Wallpapers.
>
> I'm very new, minimal understanding so far.
> I have all the images created, now I need to know how to implement
> them.
> I would greatly appreciate any help or direction toward an example or
> tutorial.

--
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: CakePHP Modified and Created GMT Time

You could write a behavior for GMT-ifying the timestamps in
beforeSave.

On Jul 30, 4:50 am, ecommy <bstdevelopm...@gmail.com> wrote:
> not necesary true in my case, I need to change the timezone depending on
> country but still keep the time in the database inGMT
>
> what is your aproach in this case? There are several solutions not sure
> what's best and cleanest.
>
> --
> View this message in context:http://cakephp.1045679.n5.nabble.com/CakePHP-Modified-and-Created-GMT...
> Sent from the CakePHP mailing list archive at Nabble.com.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

[android-developers] Re: Converting to xlarge layouts

Using drawable-xlarge is probably a bad idea. It might work for the
current wave of 1280x800 10" tablets, but what about xlarge tablets
with other resolutions?

Android is not designed to simply scale up the user interface. Your
dialogs probably look just fine one a real tablet. You can compare
this with the message dialogs on a normal laptop.

Tablets have a larger screen and the normal way to deal with that is
to show more information at the same time. Sometimes this just works
and sometime you have to adjust the layouts, specify layout-xlarge or
rethink the UI completely (like the Android Market app). But this
obviously depends on what kind of app you have.


On 29 Juli, 15:44, Neilz <neilhorn...@gmail.com> wrote:
> Hi all. I'm altering my app so that it fits nicely into a tablet, by
> specifing layout-xlarge and drawable-xlarge resources.
>
> One thing I don't seem to be able to alter is the dialogs. I have a
> number of these in my code:
>
> AlertDialog.Builder alert = new AlertDialog.Builder(MyActivity.this);
> alert.setTitle(R.string.dialog_title);
> alert.setIcon(R.drawable.icon);
> alert.setMessage(R.string.dialog_desc);
> // add some buttons and actions
> alert.show();
>
> These are appearing very small, with tiny text, and don't seem to be
> being re-sized according to the device type. How can I achieve this
> please?
>
> I'm using the standard emulator for testing this, by the way.

--
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

[Google Maps API v2] Re: help wanted - google map

Hi, i can do this work if u will provide complete requirement .After
getting the requirement only i will tell you actual cost.
U can mail the details on csingh03@gmail.com

On Jul 30, 10:36 pm, MichaelHosto <michaelho...@gmail.com> wrote:
> I need to find somebody who can put all of my office locations on
> Google maps public search.  See private map.  WWW.1-800BOARDUP.com.
> please provide price proposal for map

--
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.

Broken INTERNAL links related to django.contrib.auth

I get a lot of 'broken internal links' mails daily from a Django
application I
am hacking: http://grical.org

They look like this::

Referrer: http://grical.org/accounts/login/e/show/580/
Requested URL: /accounts/login/e/show/
580/
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
TheFreeDictionary.com; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET
CLR
2.0.50727)
IP address: ...

Any idea where can be the problem?

--
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: Spurious "Location ... not been setup" error message on Window>Android SDK and AVD manager

Try moving your SDK to a path without blanks.

--
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] Annoyingly-persistent error in live wallpaper + prefs code

On Sun, Jul 31, 2011 at 09:50:15PM +0530, Raghav Sood wrote:
> Also when I suggested adding <uses-permission
> android:name="android.permission.SET_WALLPAPER" /> I meant to add it between
> in the <manifest> element. You don't add permission elements inside service
> ones.

Yeah, I had it outside before. By the time I moved it, I was willing to
at least TRY anything.... :-(

I moved it back where it normally goes. :-)

> I have been thinking over it a little more and also suggest
> changing android:name="BouncingBuckies" to android:name=".BouncingBuckies"
> or android:name="com.jdgapps.BouncingBuckies.BouncingBuckies".

Well, it does change thing.... Now it force-closes the instant you
select it in the preview.

Thanks,
--jim

--
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurr.: 30.44406N 86.59909W

Seen in alt.sysadmin.recovery: "Priceless; that's better than telling
him to use the Read Manual command with the Real Fast option."

--
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

[Rails] Re: Question about Helpers

Frederick Cheung wrote in post #1013993:
> On Jul 31, 1:03pm, 7stud -- <li...@ruby-forum.com> wrote:
>> It follows that the line:
>>
>> <%= current_user.name %>
>>
>> actually does this:
>>
>> <%= current_user().name %>
>
> Punctuation is usually optional in ruby when this doesn't introduce
> ambiguities.
>
>>
>> What I found to be a new concept in this section of the book is that we
>> can
>> call methods in the view that are inherited by the
>> controller:
>
> You can't. The reason why the methods in SessionsHelper can be used in
> the view is that (by default) all the helpers in app/helpers are
> included in views.
> When you add the method directly to the controller then this no longer
> holds and so the view can't find the method


Ahh. Okay.


What do you think about this:


> def current_user
> @current_user ||= user_from_remember_token
> end
>
> I see two problems with that function. First off, that is a getter
> function, yet it can set the @current_user variable. Getter functions
> should not set instance variables. Secondly, the function directly sets
> the @current_user variable instead of calling the current_user= setter
> function.

--
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: How do we get Google's attention regarding the problems around randomly sorting comments in the Android Market?

I really hope google is watching.. the value of market comments cannot be understated. Done wrongly as now , it can hurt good apps and boost bad ones.

--
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

[Rails] Re: Question about Helpers

On Jul 31, 1:03 pm, 7stud -- <li...@ruby-forum.com> wrote:
> It follows that the line:
>
> <%= current_user.name %>
>
> actually does this:
>
> <%= current_user().name %>

Punctuation is usually optional in ruby when this doesn't introduce
ambiguities.

>
> What I found to be a new concept in this section of the book is that we
> can
> call methods in the view that are inherited by the
> controller:

You can't. The reason why the methods in SessionsHelper can be used in
the view is that (by default) all the helpers in app/helpers are
included in views.
When you add the method directly to the controller then this no longer
holds and so the view can't find the method

Fred

--
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] Re: Question about Helpers

I'm going to use these methods in my app instead of the current_user
method in the book:

#getter method:
def current_user
@current_user
end

#setter method:
def current_user=(user)
@current_user = user
end


def update_current_user
user = current_user #calls getter method
return user if user

cookie_arr = cookies.signed[:remember_token]

if cookie_arr
self.current_user = User.authenticate_with_salt(*cookie_arr)
#calls setter method

return current_user #calls getter method
else
return nil
end

end


Any time the book calls current_user, I plan on calling
update_current_user
instead.

--
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.

[Rails] Importing LinkedIn Contacts

Hi,

After an user signs up in my website, I have to

1. Give him a linkedin button, clicking it the user will be redirected
to linkedin website for authentication.
2. once Authenticated and user returns back to my webpage, I need to
import the user's contacts from Linkedin.
3. Display the users's linkedin contacts in a page.
4. User selects some contacts and clicking submit, will send a invite
message to those selected contacts.

Is there any Gem or plugin in rails 3 to achieve this?

Regards,
Srikanth Jeeva

--
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: Which sdk to compile against?

Interesting. So you are saying that is ok to compile against api 4 and
target api 11? That is so confusing - I would never have thought of
doing such a thing.

Thanks a lot

> > Which sdk should I set as the 'android:targetSdkVersion' ? Should it
> > always be the one I am compiling against?
>
> If you want your application to adopt the Honeycomb look-and-feel
> (e.g., action bar, holographic theme) when run on a Honeycomb device,
> choose 11.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!

--
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] Resources.getColor() return type is too small

On 07/31/2011 03:40 PM, Marcin Orlowski wrote:
> On 31 July 2011 15:13, Olivier Guilyardi <list@samalyse.com
> <mailto:list@samalyse.com>> wrote:
>
> How comes Resources.getColor() returns an int? This can't hold the
> maximum value
> of 0xFFFFFFFF because Java int is signed.
>
> Java does not offer "unsigned" so you're right, you will get negative
> value if you i.e. Log.i(() it, but that's not really important as it's
> just matter of *interpretation* of the value. All bits of 0xFFFFFFFF are
> the same no matter if you *treat* it as signed or unsigned int and this
> is what matters.

Ok, thanks, let's call that a subtlety then.

--
Olivier

--
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] Resources.getColor() return type is too small

On Sun, Jul 31, 2011 at 9:45 AM, Olivier Guilyardi <list@samalyse.com> wrote:
> I know it's 32bit, but using a signed int to hold a value higher that 0x7FFFFFFF
> seems like perverting the sign bit IMO. It can lead to subtle bugs.

That ship sailed about two decades ago.

http://stackoverflow.com/questions/430346/why-doesnt-java-support-unsigned-ints

> Maybe it's a
> common case for Java programmers but it would be cleaner to use a long I think,
> since there is no unsigned integers available.

A long will perform worse than an int, except on 64-bit CPUs, none of
which power Android devices AFAIK.

Java developers have survived this long having to deal with this, and
it's not like the Internet has brok.........CARRIER LOST

--
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] Re: How to make an alarm live even when the application which set it is killed?

On Sun, Jul 31, 2011 at 9:19 AM, Ali Chousein <ali.chousein@gmail.com> wrote:
> Thank you for the information Mark, that's very helpful. Apparently
> simulation the OS behavior is not straightforward in this case.

Other than waiting for the OS to do its thing.

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

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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] How to make an alarm live even when the application which set it is killed?

On Sun, Jul 31, 2011 at 9:02 AM, Ali Chousein <ali.chousein@gmail.com> wrote:
> Next I manually kill my application through
>
> Settings - Applications - Manage applications - <MyApp> - Force stop
>
> When I re-issue the command "adb shell dumpsys alarm" I see that my
> alarm is gone.

Correct. Force-stop removes alarms, as do task killers (at least
pre-2.2). The application is in a semi-disabled state until the user
launches an activity again.

> This makes me think that when my application goes into
> the background and the framework kills it to free resources, my alarm
> will also be killed.

I don't think so. More accurately, AFAIK, a force-stop does not
reproduce what the OS does when it stops a service to free up RAM or
due to old age.

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

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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] How to make an alarm live even when the application which set it is killed?

Hi,

I have a little confusion with setting an alarm. If anyone could give
feedback or some hints it'll be greatly appreciated. In summary here
is my situation:

Inside my application I set an alarm:

////////////////////////
// Set an alarm

// Actually I set a unique id here. The hardcoded value is for
simplicity only.
int id = 123454321;

Intent intent = new Intent(context, MyAlarm.class);
PendingIntent sender = PendingIntent.getBroadcast(context, id, intent,
0);

long firstTime = SystemClock.elapsedRealtime();
firstTime += 10*1000;

AlarmManager am =
(AlarmManager)context.getSystemService(Context.ALARM_SERVICE);
am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, firstTime,
15*1000, sender);

////////////////////////


////////////////////////
// MyAlarm implementation

public class MyAlarm extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
// Do some periodic work here
}
}

////////////////////////

When I set the alarm everything is fine and good. I can see my alarm
when I use the command:

adb shell dumpsys alarm

I can see the alarm even when my application goes to the background.

Next I manually kill my application through

Settings - Applications - Manage applications - <MyApp> - Force stop

When I re-issue the command "adb shell dumpsys alarm" I see that my
alarm is gone. This makes me think that when my application goes into
the background and the framework kills it to free resources, my alarm
will also be killed. However, I would like to have an alarm which will
live independent of whether the application is running or not. Does
anybody have hints how to do this?

Thank you in advance guys,
-Ali

--
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: How to implement the long click event for the ExpandableListView

Hi, I tried your solution in my app and it doesn't work properly. I still get null pointer exception because ContextMenuInfo object passed as an argument to the function is null. When I remove fetching info from ContextMenuInfo context menu appears but after second long click (not the first one). I use Android 2.2 version. Does anyone know how solve this problem? 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

[Rails] Re: Question about Helpers

The part that really confused me on p. 345 is where the
author says:

==
self.current_user = user

The purpose of this line is to create current_user, accessible in both
controllers and views which will allow constructions such as:

<%= current_user.name %>

and

redirect_to current_user
==

The author says "current_user" not 'the current_user function". He
refers to current_user as if it's a variable. In addition, up to that
point
in the book we have been using @ variables in the view. So it seems
clear
to me that the real purpose of that line is to set the instance variable
@current_user, whose value can be retrieved with the 'function'
current_user, or whose value can be set with the 'function'
current_user=. I am quoting the word 'function' because in ruby, defs
are called methods--not functions.

It follows that the line:

<%= current_user.name %>

actually does this:

<%= current_user().name %>


However, the current_user function can be rewritten like this:


def current_user

#If for some reason @current_user already
#exists, return its value:

return @current_user if @current_user

#Check if the browser request contains a
#cookie named remember_token:

cookie_arr = cookies.signed[:remember_token]

if cookie_arr.nil?
return nil
else
return User.authenticate_with_salt(*cookie_arr)
end

end

But that function can return nil, so writing the following in the view:

<%= current_user.name %>

or writing this in an action:

redirect_to current_user

will cause errors if current_user is nil.


What I found to be a new concept in this section of the book is that we
can
call methods in the view that are inherited by the
controller:

SessionsHelper
...
...

def current_user
...
end

end


class ApplicationController < ActionController::Base
...
include SessionsHelper
end


class SessionsController < ApplicationController
def new
end

def create
end

def destroy
end

end


Interestingly, if you put the method directly in the controller, e.g.


class SessionsController < ApplicationController
def new
end

def create
end

def destroy
end

def current_user
...
...
end

end


...then rails will throw an error.


*****


Something else I found very confusing was this on p. 348:

==
def current_user=(user)
@current_user = user
end

def current_user
@current_user
end

...
...
The problem is that it utterly fails to solve our problem: with the code
[above] the user's sign in status would be forgotten: as soon as the
user went to another page--poof!--the session would end and the user
would be automatically signed out.
==

Huh? It's my understanding that the created sess_controller object
which rails uses to call the methods defined in the SessionsController
class, including the inherited methods like current_user, is going to go
poof! anyway, along with all its instance variables like @current_user.
No code we write can prevent that.

The trick is to store the signed in status of the user in a cookie on
the browser before the sess_controller object goes poof!, and then every
time the browser makes another request for a page, we check to see if
the cookie named 'remember_token' gets added to the request (a browser
adds all cookies from our app to the request before sending the
request). If the cookie is present and contains the right information,
then we know the user is signed in; and if the cookie isn't present,
then the user isn't signed in.

So what I think the author is trying to say about this function:

def current_user
@current_user
end

is that the function will always return nil when the browser goes to
another page, so need to define it so that it checks for a cookie in the
browser request.

--
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.

Re: [android-developers] Re: Windows 7, emulator, and orientation changes

On Sun, Jul 31, 2011 at 7:23 AM, H <me@howardb.com> wrote:
> Alternatively, just edit the "default.keyset" file in the root of the
> .android folder. This holds the mappings for keys to functions. If the
> laptop doesn't support various key combos, you can change them in here and
> they take effect the next time you start an emulator. Since it's got
> "default" in the name, I guess it's possible you could put a different named
> file in the avd folder to override the default as well, if need be.
> Just tried this and remapped the Ctrl-F12 to F10, bounced the avd and now
> the screen rotates when I press F10.

Now *that* is a fascinating solution, causing me to take a quick trip
to the docs.

The class in question is over -- we determined the problem was general
(i.e., the keys didn't work in Eclipse either), and she didn't seem
that interested in trying to figure out how to reconfigure her
notebook, so she let it drop.

If you launch the emulator from the command line, you can create your
own keyset file, apparently, if you do not wish to mess with the
current one. Run emulator -help-keyset-file for more.

Heck, you can even use this to do something with those SysRq and
ScrollLock keys that nobody doe anything with... :-)

Many thanks!

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

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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] SVG Library

On Sun, Jul 31, 2011 at 2:25 AM, rael_yoni <yoni.stoffman@gmail.com> wrote:
> I might be missing something altogether, is there alternative to SVG that
> android support natively?

ShapeDrawable, but it is a tiny subset of SVG.

> With all the hard work that android dev tools puts
> into supporting different form factors and resolutions there suppose to be a
> simple 2D vector library?!

Android is designed to run on devices an order of magnitude slower
than the current crop of smartphones. They deemed that vector graphics
would be too slow to render.

Bear in mind that Google has released an SVG library for Android:

http://code.google.com/p/svg-android/

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

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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] How do I can take a photo in Android and show it in an ImageView?

I tried this code, but it didn't do anything, with my phone:

import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.hardware.Camera;
import android.hardware.Camera.PictureCallback;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.FrameLayout;


public class camera_surface extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.camera_surface);


Button scan_it = (Button)
findViewById(R.id.camera_button);
scan_it.setOnClickListener(new View.OnClickListener() {

FrameLayout fl = (FrameLayout)
findViewById(R.id.preview);
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
takePicture();
}

private void takePicture() {
// TODO Auto-generated method stub
Camera camera = Camera.open();
Camera.Parameters parameters =
camera.getParameters();
parameters.setPictureFormat(PixelFormat.JPEG);
camera.takePicture(null, rawCallback, null);
camera.release();
}

PictureCallback rawCallback = new PictureCallback() {
public void onPictureTaken(byte[] data, Camera
camera) {
// TODO Do something with the image RAW data.
byte[] picture;

picture = data;

Bitmap pic = BitmapFactory.decodeByteArray(data,
0, data.length);
Canvas c = new Canvas(pic);
fl.draw(c);
}

};
});
}
}

Thanks for any reply,

--
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

[Google Maps API v2] Re: where is te code generator for the API V2

> No...I am not hotlinking Google's CSS.
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
</style>
...
<style type="text/css">
@import url("http://www.google.com/uds/solutions/mapsearch/
gsmapsearch.css");
</style>
etc.
Not the problem here, but your page does use CSS you don't control

> Regarding the duff copy stuck in the browser cache...I get the same behavior
> in IE Firefox and Chrome

Fair enough, so do I. To re-confirm, I get a map (albeit with size
issues) and no javascript errors. I cannot see your problem happen.
I'm pretty sure there is a timing race somewhere, but I can't see
where.

--
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: No modelue name localeurl ( ">_<)

oh, im estupid, i put the rosetta and transmeta in my site path but
not localeurl...

but, i like to put in a generic path and not duplicate in every
proyect =/

On 31 jul, 03:43, Kase <dark.k...@gmail.com> wrote:
> i  try  internationalization whit    transmeta,  localeurl and rosette
>
> transmetta and rosette works ok
>
> all  put in path  /usr/local/pytho27/site-pakage
>
> but localeurl dont work!
>
> manage.py runserver  trow    Error: No module named localeurl
>
> =/

--
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: Custom controller name

but almost as easy:
CalController extends ...
var $name = 'CalController';

and make sure you post all forms to themselves (which is the default
thing for cake2 anyway!)


On 31 Jul., 02:58, Roland Pish <rolandp...@gmail.com> wrote:
> Thank you Sam!
> I'll use the route.
>
> Cheers
>
> On 30 jul, 17:42, Sam Sherlock <sam.sherl...@gmail.com> wrote:
>
>
>
>
>
>
>
> > For an easier life I would stick with conventions and set the route cal to
> > route to the CalsController
>
> > Router::connect('/cal', array(
> >         'controller' => 'cals',
> >         'action' => 'index'));
>
> > but you can have the model useTable an 'some_unconventional_name'
> > with the following in the model
> >     public $useTable = 'cal';
>
> >  - S
>
> > On 30 July 2011 23:43, Roland Pish <rolandp...@gmail.com> wrote:
>
> > > I have a model named "Cal". I wanted its table name to "cal" (not
> > > "cals").
>
> > > Now, I would like that its controller could be accessed as: mysite.com/
> > > cal/* <http://mysite.com/%0Acal/*>  (and avoid being accessed as
> > > mysite.com/cals/*).
>
> > > A plus would be that I can declare the controller as: class
> > > CalController extends...
>
> > > Is this possible?
>
> > > Thanks in advance.
>
> > > --
> > > Our newest site for the community: CakePHP Video Tutorials
> > >http://tv.cakephp.org
> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
> > > others with their CakePHP related questions.
>
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscribe@googlegroups.com For more options, visit this group
> > > athttp://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

[Google Maps API v2] Question about Maps API and Fusion Tables.

I want to use Google Maps on a website to have people mark their
location and enter some other data and store that in a table or
database, and then be able to query and filter that data.

I'm new to web development and I haven't really worked with databases.
My first thought was to use SQL, but then I found out about Google
Fusion Tables. Could I make something like this work with Fusion
Tables?

It seems like with Fusion Tables you can only make the table public or
private and share with select people. But I want to have it private to
everyone except my website. I looked into this and it seems like you
have to have Maps API Premier... Which costs like $10,000. Is that the
only way to go about this?

It would probably be best to just use a database on my server, then?

--
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: upgrade Django 1.2.3 to 1.3

Thank You very much, Kev !!!
You helped me.
Vladimir Vanin

--
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.

[Lovers India] Love Tips - Funny things

Hi Folks,

For love related funny things, Tips and many more

Browse the link Below.....


http://nanduthutipalli.blogspot.com/search/label/For%20Youth

--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

Re: GWT/GPE 2.4.0 RC1 is available

DataGrid may have a fixed header and footer rows. In CellTable all
rows scroll together.


On Jul 28, 6:40 pm, James Wendel <jmwen...@gmail.com> wrote:
> To ask, does the DataGrid differ from CellTable only in the content
> area being scrollable?  Are there are differences I'm not seeing?
>
> Thanks,
> -James
>
> On Jul 27, 12:55 pm, David Chandler <drfibona...@google.com> wrote:
>
>
>
>
>
>
>
> > GWT 2.4.0 adds a new DataGrid widget with scrollable data area and
> > many enhancements to RequestFactory (seehttp://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4).
>
> > Google Plugin for Eclipse 2.4.0 introduces a wizard to publish your
> > application to Google Apps Marketplace.
>
> > SDK:http://code.google.com/p/google-web-toolkit/downloads/list
> > Eclipse update sites:http://code.google.com/eclipse/beta/docs/download.html
>
> > gwt-2.4.0-rc1 will appear in Maven Central shortly. Docs, Javadocs,
> > and release notes will be published with the final release.
>
> > --
> > David Chandler
> > Developer Programs Engineer, GWT+GAE
> > w:http://code.google.com/
> > b:http://turbomanage.wordpress.com/
> > b:http://googlewebtoolkit.blogspot.com/
> > t: @googledevtools

--
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: Layout and styling of HorizontalPanel/VerticalPanel

If you use "myPanel" class for a Vertical or Horizontal panel, you can
set the style for <td> elements of these panels directly in the CSS
file:

.myPanel td {
margin: 6px 0;
}

On Jul 28, 8:41 pm, clay <claytonw...@gmail.com> wrote:
> The "setStyleName" method sets the CSS class of the generated <table>
> element. Is there any way I can set the CSS class of the generated
> <td> elements within the <table>?
>
> What I want to do is add spacing *between* HorizontalPanel/
> VerticalPanel cells but not around the outer edge of the
> HorizontalPanel/VerticalPanel itself. I don't believe you can do this
> at the <table> level in HTML. BTW, the "setSpacing" method sets the
> "cellspacing" attribute of the <table> element which doesn't produce
> the result that I'm looking for.
>
> Also, if I may ask, why does VerticalPanel use <table> rather than
> <div>? It seems to be there should be a Panel layout class that
> generates a sequence of <div> elements, which is a very common layout
> approach in raw HTML.

--
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.

{smartbroker} Urgent required 1 B/r & 2 B/r in JLT for Cash Buyer.

Dear Colleagues,

My client and cash buyer is looking for 2 Units of 1 Bedroom & 2 Units
of 2 Bedrooms
in any Tower on higher floor with good view.

Budget Market Price

Viewing today between 2:00pm to 4:30pm

Bipin Pattni
050-8787430

--
member of
(almadani real estate - abu dhabi)-to join send email to
{saifemail@yahoo.com}

{smartbroker} Stuido for Rent International City S11- 0509712166

Stuido for sale in Spain cluster international City, Give me your offer at 1 , 2, 3 or 4 chq. 

--
Arif Mehmood 
+971 50 9712166
Email: pakconsultant@gmail.com 
Phone No: +971 4 4356811 
 Fax No:     +971 4 4356812

--
member of
(almadani real estate - abu dhabi)-to join send email to
{saifemail@yahoo.com}

Saturday, July 30, 2011

Re: [android-developers] Spurious "Location ... not been setup" error message on Window>Android SDK and AVD manager

On Sun, Jul 31, 2011 at 3:18 PM, Indicator Veritatis <mej1960@yahoo.com> wrote:

> BTW: adb.exe is on the system, but in a surprising location, I am not
> sure how it got put there, it must have been done during the upgrade
> attempt: it is in <path>\temp\ToolPackage.old01\adb.exe.
>
> Did he SDK & AVD manager create this directory?

Upgrading on Windows is messy. Did you get any 'file in use'
errors? The upgrade process creates and renames/deletes those
directories. If all goes well they should be gone by the time
it finishes.

> I am running the Eclipse Galileo IDE under Win7, where I include
> Cygwin for convenience.
>
> So what am I supposed to do now? I don't see any other way to update
> the ADT other than the manager, and I can't run that without running
> up against this error message.
>

adb.exe now lives in platform-tools/ so maybe that is the problem.
You can try running the SDK update directly (not from within Eclipse),
to make sure it's properly updated. Then update the ADT from Eclipse
Help->Check for updates.

--
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] SVG Library

I might be missing something altogether, is there alternative to SVG that android support natively? With all the hard work that android dev tools puts into supporting different form factors and resolutions there suppose to be a simple 2D vector library?! 

--
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] Spurious "Location ... not been setup" error message on Window>Android SDK and AVD manager

The exact text of the error message is "Location of the Android SDK
has not been setup in the preferences", which is simply false: it HAS
been setup. But when I go to Window>Preferences to verify this, I see
another error message, which appears to be the real problem: it is
"Could not find <path>\tools\adb.exe!" where <path> expands to my
Location of the SDK, which really does have the 2.2 SDK in it, C:
\cygwin\home\Matthew Johnson\andSDK\android-sdk-windows.

I got into this mess by trying to upgrade, using the same Android SDK
and AVD manager, to Tools 12. I rebooted just like the directions
said, and now I get this error message, with no obvious workaround or
any other way forward.

BTW: adb.exe is on the system, but in a surprising location, I am not
sure how it got put there, it must have been done during the upgrade
attempt: it is in <path>\temp\ToolPackage.old01\adb.exe.

Did he SDK & AVD manager create this directory?

I am running the Eclipse Galileo IDE under Win7, where I include
Cygwin for convenience.

So what am I supposed to do now? I don't see any other way to update
the ADT other than the manager, and I can't run that without running
up against this error message.

--
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] context menu

HI 
i given buttons in xml file and onclick listener in java.
1).when i click on button (projects)menu has to appear(allprojects,myprojects,myfavorites)....it appearing but when i click allprojects it has to show the next acitvity(allprojects class) but its not displaying the activity......
2)context menu is displaying at the centre of the screen ...how to make it to display at the bottom of the layout...



  <Button android:text="Projects" android:textColor="#ffffff" android:textSize="17dip" android:background="#bebebe" android:layout_weight="1" android:layout_alignLeft="@+id/rl1" android:clickable="true" android:id="@+id/t1" android:layout_height="wrap_content" android:layout_width="wrap_content"></Button>
           <Button android:text="Seminars" android:textColor="#ffffff" android:textSize="17dip" android:background="#bebebe" android:layout_weight="1" android:layout_centerHorizontal="true" android:id="@+id/t2" android:layout_height="wrap_content" android:layout_width="wrap_content"></Button>



 final Button bt1=( Button)findViewById(R.id.t1); 
bt1.setOnCreateContextMenuListener(new OnCreateContextMenuListener() {
       public void onCreateContextMenu(ContextMenu menu,
                                    View v, ContextMenuInfo menuInfo) {
                                // TODO Auto-generated method stub
                                      menu.add(0,1,0,"All Projects");
                                      menu.add(0,2,0,"My Favorites"); 
                                      menu.add(0,3,0,"My Projects"); 
                                  
                                    
                            }
       public void onContextItemSelected(MenuItem item) {

            if (item.getItemId() == 1) {
                 Intent intent=new Intent(WelcomePage.this,AllProjects.class);
                    
                    startActivity(intent);
            }
            else{
                
            }
            }  
                     });

plz tell me where am making mistake....

--
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: Cell Table, Remote Paging Issues


I didn't think of overriding last Page & first Page. Thanks for the pointer.. I shall look into the link.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/S4Q4OUsM4y8J.
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.

[Lovers India] just visit and know what you want.........

www.pakistaniactresses.blogspot.com
www.bollywoodectresses.blogspot.com
www.softwareescrow2011.blogspot.com
www.injurylawyerpk.blogspot.com
www.pakistanifashionstyle.blogspot.com

--
You received this message because you are subscribed to the Google
Groups "Lovers India" group.
To post to this group, send email to loversindia@googlegroups.com
To unsubscribe from this group, send email to
loversindia+unsubscribe@googlegroups.com
http://groups.google.co.in/group/loversindia

[Google Maps API v2] Re: where is te code generator for the API V2

Note:there is a speklling error in the URL...the word resources:
 
Should be: 
 
 
Sorry for the error.
 
Mike

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/d0abXiEt9wcJ.
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.

Celltable & Cell Grouping (Rowspan, Colspan)

Hi,

any tips on how to implement this?

brgds.

Papick

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CfRqwR3K7E0J.
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: mysql2 and swedish characters

On Jul 30, 9:50 pm, jeb <jo...@ibiz.se> wrote:
> No encoding set in database.yml, cp1252 set in mysql. By it self I
> guess.
>

that sounds like you should change the encoding for your existing
tables/columns to utf8

One way of doing this is to alter the columns to blobs and then back
to a text column with the correct encoding (as documented at the
bottom of http://dev.mysql.com/doc/refman/5.0/en/alter-table.html)

Fred
> On 30 Juli, 22:37, Frederick Cheung <frederick.che...@gmail.com>
> wrote:
>
>
>
> > On Jul 30, 9:21 pm, jeb <jo...@ibiz.se> wrote:
>
> > > That seems to work, the problem is when reading the data using mysql2.
> > > In the database å is stored as å.
> > > When I write to the database using mysql2, without having changed it,
> > > it writes å.
>
> > What does mysql think the column types are ? Before using mysql2, what
> > encoding was set in your database.yml ?
>
> > Fred
>
> > > On 30 Juli, 22:17, Frederick Cheung <frederick.che...@gmail.com>
> > > wrote:
>
> > > > On Jul 30, 8:31 pm, jeb <jo...@ibiz.se> wrote:
>
> > > > > I think it's more a question of how the data is stored in the
> > > > > database.
> > > > > In my layout i have:
> > > > > <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
> > > > > and in application.rb:
> > > > > config.encoding = "utf-8"
>
> > > > Also possible. If previously the database connection was configured as
> > > > some latin1 variant and your columns were also latin1 but you were
> > > > stuffing utf8 data into them then switching to mysql2 would cause data
> > > > to appear messed up.
>
> > > > Fred
>
> > > > > :-) j
>
> > > > > On 30 Juli, 20:15, Frederick Cheung <frederick.che...@gmail.com>
> > > > > wrote:
>
> > > > > > On Jul 30, 7:00 pm, jeb <jo...@ibiz.se> wrote:
>
> > > > > > > When using the mysql2 gem with my excising databases all non-standard
> > > > > > > chars gets messed up:
>
> > > > > > > från is shown as från in the browser
>
> > > > > > > Is this possible to fix or do I have to continue using the old mysql-
> > > > > > > gem?
>
> > > > > > IIRC mysql2 forces use of utf8. If you're elsewhere telling the
> > > > > > browser that you're using a different character set then you'd get
> > > > > > unwanted results.
>
> > > > > > Fred

--
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.

[Google Maps API v2] Re: where is te code generator for the API V2

The reason you are getting that response is because you did not enter the entire URL. The URL you entered stopped at the 'm' in human.
 
Here is the entire URL:
 
 
Thanks!
 
Mike

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/ClfuIopbkIcJ.
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.

[Rails] Sqlite manager

Me pueden recomendar algún manager para Sqlite, free de ser posible?
Gracias

--
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] Re: Rails and Service Oriented Architecture (SOA): any downsides?

One potential problem is providing satisfactory security. The
traditional security model has all the protection features built into
individual applications, but opening access to all applications as
services can and is likely to result in structural vulnerabilities. This
problem is being researched; however, the technologies are still, for
the most part, emerging.

--
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] How to integrate Google Earth with android application?

Hi All,

Is it possible to  integrate Google Earth with android application? If possible then please show me a link.

Thanks in advance.

Regards
Goutom

--
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: CakePHP 2 beta migration issues

I am upgrading cake 2.0 myself

I am looking at tests for help
https://github.com/cakephp/cakephp/blob/2.0/lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php

I have not had cake upgrade all working due to loads of plugins

 - S




On 29 July 2011 23:21, handsofaten <bjudson@gmail.com> wrote:
Hi-
I've been starting to move a 1.3 site into 2.0 beta, and run into some
migration issues I'm hoping folks here can help with.

AuthComponent has been changed quite a bit, and as far as I can tell
there is absolutely no documentation of this. I saw a link from Mark
Story on this list, but it leads to a 404, and there's nothing in the
migration guide other than "The AuthComponent was entirely re-factored
for 2.0, this was done to help reduce developer confusion and
frustration. In addition, AuthComponent was made more flexible and
extensible."

Can we get more explanation of this? I've figured out from the source
where some functions were made static, which has helped, but I'm still
struggling to get Auth code I had working 1.3 to work correctly in
2.0.

thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
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

[android-developers] Re: Multiple Activities within a Tab

Thank you so much for the link.
I will read the above link and if i have any queries please be there
to help me.

I actually follow your coding structure from the github

On Jul 31, 12:24 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Sat, Jul 30, 2011 at 3:17 PM, RobinDroid <librain.ro...@gmail.com> wrote:
> > Can you just give me link or a small demo ?
>
> To... what?
>
> Here is a project that shows a TabHost that uses Views as children:
>
> https://github.com/commonsguy/cw-android/tree/master/Fancy/Tab
>
> Here is another project:
>
> https://github.com/commonsguy/cw-lunchlist/tree/master/06-Tabs
>
> > public class Inbox extends ActivityGroup {
>
> As I wrote, and as you are ignoring, do not write a subclass of ActivityGroup.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.1 Programming Books:http://commonsware.com/books

--
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


Real Estate