Thursday, June 30, 2011

3akarat.com -

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

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

[android-developers] Samsung Galaxy S kill my app

Hello Boys and Girls!

 I had wrote an app which plays the backgournd music with MediaPlayer. I had tested the app, and it is works on Htc Desire perfectly, but when I try to test it on Samsung Galaxy S it dies with nullpointer exception on the following part: 

mp_bg_music.play();

Yes, I had used the Mediaplayer.create and as I said it work on Htc Desire! Any idea why not would my Samsung Galaxy S run the same program as HTC Desire ? Are there any additional thing what I should do before try to play the music ? Need more ueses-permission to app ? 

 Thank you so much: Károly from Hungary

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

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

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

[android-developers] Re: Can I get x and y positions of Bitmap after Rotating, How????

if you are setting a bitmap in a image view
you can use getlocationonscreen method
or getLocationInWindow

--
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: Setting up Eclipse for android source

can u post whats your error message!......


On Jun 30, 9:54 pm, PPCS <mailtored...@gmail.com> wrote:
> Hello All,
>
> I am a newbie to Android and I am trying to setup Eclipse with the
> downloaded Android repository.
>
> All the documents/links found in Internet explain setting up Eclipse
> for a new project or importing an existing project.
>
> I have downloaded froyo repo but when I am importing a project,
> SoftKeyboard, into Eclipse, it is giving errors. So, could you plz let
> me know if I am doing anything wrong.
>
> Also, I want to be able to modify the stack (framework and libraries).
> Is it possible to do that from Eclipse?
>
> Thanks,
> PPCS
>
> PS: I am new to Java-based coding.

--
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] back button problem

hi every one,

im new one for in android. im developing one application. im using
database if i calling new activity to store the values in database it
working fine. but when i came back to previous activity it not
reloaded that previous activity. it will display same as old content.
i need when im clicking back button it reloaded (refresh) all content
in the activity.. can any one help me pls..

advance thaks...

--
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] Cursor in EditText not visible

Hi,

I am having a strange issue where the cursor in the EditText is not
visible but I can type and can do all stuff with the editText. The
scenario is I am giving background image to the editText and and
setting the textColor to white. The focus is there, then only we can
type.

I put cursorVisible="true" and tried with lot of trial and error
methods to make the cursor visible but of no use. From this I came to
know, if we can color the cursor other than the default color, it will
be better.

Anybody else have this issue earlier

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: are ads worth the effort?

Fine, 5000+

Whatever, a large number. My point was that it's not worth it for
apps getting 100 downloads a day.

On Jul 1, 11:52 am, Greg Donald <gdon...@gmail.com> wrote:
> On Thu, Jun 30, 2011 at 9:48 PM, Zsolt Vasvari <zvasv...@gmail.com> wrote:
> > I'd say the apps are only worth it as a money-making venture purely
> > from the clicks if you create an app that gets a 10+ thousand
> > downloads a day.  But they are a good incentive for people to upgrade,
> > in my experience.
>
> Why 10+ thousand?  Revenue generated from 5K downloads/day is not zero
> simply because it is not 10+ thousand.
>
> Your thinking reminds me of people who only play the lottery when it
> gets up really high.  $10M is more than you have, same as $1M is more
> than you have, so what's the difference?  Money is money.
>
> --
> Greg Donald
> destiney.com | gregdonald.com

--
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] Intents for performing Touch events

Are there any intents for generating touch events on android at a
particular point on the screen?

I would like to generate touch events on the screen using a background
service on the screen.


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: How to play with shoulda with functional testing

There's a Teach me to code screencast which may be helpful - http://teachmetocode.com/screencasts/shoulda-on-rails/
And some basic documentation on Rails wiki - http://wiki.rubyonrails.org/testing/shoulda

Some of the official documentation here:
https://github.com/thoughtbot/shoulda#readme
https://github.com/thoughtbot/shoulda-context#readme
https://github.com/thoughtbot/shoulda-matchers#readme

--
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/-/_mX-YwrABIUJ.
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] Change Grid Size of Home Screen

I am facing issue that, some of my application's name is not getting displayed completely on the Home Screen. like music player, last 'r' is not displaying properly. So I want to adjust the grid size so that I will be able to do it. I tried to change the cell-width attribute in dimes.xml, but still I am not able to do that. can some one suggest me some other 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

Re: Implementing a User Search Feature

If you just want a simple user search (which seems to be what you are
asking for), it really depends on your models - but a basic approach I
usually use is to define a django form to use for the search, and
instead of defining a save method, make a method that returns a
queryset. As an off the top of my head example for a django auth user
(untested, I might have screwed something up):

class UserSearchForm(forms.Form):
first_name__istartswith=forms.CharField(label="First name",
required=False)
last_name__istartswith=forms.CharField(label="Last name",
required=False)

def queryset(self):
from django.contrib.auth.models import User
filters={}
for k,v in self.cleaned_data.items():
val=v.strip()
if val: filters[k]=val
return User.objects.filter(**filters)

Then use it in your view like any other form:

def user_search(request):
usf=UserSearchForm(request.GET or
request.POST,prefix='usersearch')
users=usf.queryset()
return render_to_response('sometemplate.html',{'users':users})

Now if you really do want to do text indexing and have full text
search capabilities then you should look at the other suggestions.
For many things those are either overkill or too generic.

--
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] SurfaceView zooming

I have a SurfaceView which is used to play a video much like the MediaPlayer_video demo Java file

Plays I can Zoom In, but really this reduces the screen size and Zoom out will only to to the original max size in my case 1120 x 720

Because it is a SurfaceView I have had to use View.setScaleX and View.setScaleY and not use a matrix as I can't access the setImageMatrix

How can I zoom beyond the initial size, so I can truly zoom into an area of the video and watch it enlarged ?

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: Is it possible to fix the orientation of a particular view in Honeycomb?

Yes. I do this all the time.

Let's say you have a vew "A"

layout:

Create a A-port layout, which is just a copy of the portrait oriented
A
Create a new A layout that <include> A-port

layout-land:

Create a A-land layout, which is just a copy of landscape oriented A
Create a new A layout that <include> A-land

layout-xlarge-v11 (or just layout-xlarge):

Create a new A layout that <include> A-land. It's a copy of the A
from layout-land


So, with this setup, on Honeycomb (or any XLARGE device, depending on
the folder you used), the layout used will always be layout-land. On
other devices, it will use the appropriately oriented layout.


On Jun 28, 6:10 pm, Neil <wan...@gmail.com> wrote:
> Hi guys,
>
> In my activity I have a SurfaceView which I want to lock the
> orientation when rotating the device. But I still want other views in
> the activity to be rotated with the device which means I can not use
> Activity.setRequestedOrientation to lock the orientation. So is there
> a way to achieve this?
>
> 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

Different urlpatterns for different subdomains

Is there any way of conditionally choosing an urlpatterns set in
urls.py depending on the subdomain requested?

I would like to configure different Django behaviors maintaining the
same url structure according only to the subdomain.
Please let me know if this is not a good approach to achieve this.

Thanks.
--
Vinicius Massuchetto
http://vinicius.soylocoporti.org.br

--
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: Single Quotes

h() isn't being deprecated or removed. neither is am(). Both
actually provide some utility above and beyond simple aliasing.
However, methods like r(), up(), e() and low() have already been
removed from 2.0. h() however will stick around.

-Mark

On Jun 30, 5:12 pm, Miles J <mileswjohn...@gmail.com> wrote:
> They are being removed because they are slower than the original
> counter-parts. But like you said, you can place them yourselves if
> they get removed :P
>
> On Jun 30, 1:44 pm, euromark <dereurom...@googlemail.com> wrote:
>
>
>
> > some convenience functions do make sense to get rid of
> > but not h()
> > -1 from me
>
> > On 30 Jun., 22:32, Miles J <mileswjohn...@gmail.com> wrote:
>
> > > I think it was supposed to be 1.3, but most likely 2.0 now. Any of
> > > these convenience functions like h() or r() are removed.
>
> > > On Jun 30, 12:43 pm, Ryan Schmidt <google-2...@ryandesign.com> wrote:
>
> > > > On Jun 30, 2011, at 14:13, Miles J wrote:
>
> > > > > h() is being deprecated in later versions
>
> > > > Oh? By "later versions" I assume you mean CakePHP 2? If so, what are we being recommended to use instead?

--
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: MapView Overlay problem

I haven't had to use the Douglas-Peucker algorithm, but I understand
others have so with success.
http://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm
This algorithm will thin out the number of poly lines.
Apparently there's an open source implementation in the Android
MyTracks app, licensed under Apache 2.0.
http://code.google.com/p/mytracks/source/browse/MyTracks/src/com/google/android/apps/mytracks/util/LocationUtils.java
It's in the method decimate().
JP


On Jun 30, 2:46 pm, Felix Garcia Lainez <fgarcialai...@gmail.com>
wrote:
> Hello,
>
> The case is that i want to show a route on a MapView. Something simple
> at first sight, simply i created a class that extends overlay and
> implement draw method. On this method i iterate over an array of
> GeoPoints and using a canvas y connect all points. It works fine more
> or less, but i am having issues when drawing long routes with many
> points. The problem is that application is very slow, and sometimes
> MapActivity is closed simply doing a zoom in or zoom out on the map
> with the route drawn...
>
> My question is how to improve performance on this situation....
>
> 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

Stay on a step in a form wizard until the user is ready to move on.

I'm working on a site that uses a form wizard as the main user interface. I've got one step however that I'd like to have a user be able to complete it several times if needed, storing the data bound to the user's session. Is there a way to do this using the FormWizard class, or am I asking too much? Thank you for your consideration and have a good day.

--
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/-/jeDVROAr610J.
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: I want to design a video file player, which takes in file name first and then play the video, I am not sure how can I use setcontentview to do this,pls help!

Hey, I am in Singapore, too. What company do you work for? Maybe
they are looking for a competent developer.

On Jul 1, 8:57 am, Jiabin Qin <jiab...@gmail.com> wrote:
> I this in the onCreate(), I need to first
> setContentView(R.layout.main); to take input from user, but what shall
> I do after that.
> I have a button which I think I can use setOnClickListener() to switch
> to another view onclick, I think that what most apps do like in the
> game, click on the button start, and the game will start.
>
> How shall I achieve?
> Thanks in advance for your kind help!
>
> Jiabin
> singapore

--
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] I want to design a video file player, which takes in file name first and then play the video, I am not sure how can I use setcontentview to do this,pls help!

I this in the onCreate(), I need to first
setContentView(R.layout.main); to take input from user, but what shall
I do after that.
I have a button which I think I can use setOnClickListener() to switch
to another view onclick, I think that what most apps do like in the
game, click on the button start, and the game will start.

How shall I achieve?
Thanks in advance for your kind help!

Jiabin
singapore

--
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: Drag and Drop file upload in GWT

For drag and drop , Pleae try these.
http://code.google.com/p/gwt-fileapi/
http://code.google.com/p/lib-gwt-file/

J.Ganesan
www.DataStoreGwt.com

On Jun 30, 9:05 pm, Alexander Maximov <sasha.maxi...@gmail.com> wrote:
> I am building an app that will allow users to fill forms and attach
> supporting documents. I was wondering if there any way to implement
> Drag and Drop file upload in GWT?
>
> Many thanks in advance for your response!

--
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: CanCan with Devise Invitable

Walter Lee Davis <waltd@...> writes:

>
> Has anyone used this combination before? I am curious how I am going
> to enforce my authorization rules beyond the view layer w/r/t
> invitations.
>
> Certain groups of users will be able to invite new users, but most
> will not. When one group of users makes invitations, that magically
> sets the role of the invited user to a particular group, and locks
> that invited user into a Practice inherited from the person who
> invited them.
>
> Since the Devise Invitable controller lives in a gem, how can I reach
> in there and extend it to be aware of these restrictions?
>
> Thanks in advance,
>
> Walter
>


Since all requests must be handled by a Controller, you can simply bake your
business logic into the controller in question. For example:

load_and_authorize_resource # Be sure to specify who can create Users in
ability.rb

def create
user = User.create params[:user]
user.roles << current_user.roles # Or whatever floats your boat
end

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

3akarat.com - للبيع أو للإيجار بدياموند مول أمام جامعة 6 أكتوبر

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

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

Re: OperationalError: no connection to the server using Django and gunicorn

Hi Adrian,

Have you solved this weird issue?

if yes, please tell me how.

Best regards,
Andrey Makhnach

On May 27, 12:53 pm, Adrián Ribao <ari...@gmail.com> wrote:
> I'm doing it manually because I'm just testing:
>
> ./manage.py run_gunicorn -c gunicorn.conf.py
>
> where gunicorn.conf.py
>
> # -*- coding: utf-8 -*-
> import multiprocessing
>
> bind = "127.0.0.1:8000"
> workers = multiprocessing.cpu_count() * 2 + 1
> worker_class = 'gevent'
>
> On 27 mayo, 02:23, Shawn Milochik <sh...@milochik.com> wrote:
>
>
>
>
>
>
>
> > What's the command you're using to run it?
>
> > Are you in screen? Are you using supervisor or anything like that?

--
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] CanCan with Devise Invitable

Has anyone used this combination before? I am curious how I am going
to enforce my authorization rules beyond the view layer w/r/t
invitations.

Certain groups of users will be able to invite new users, but most
will not. When one group of users makes invitations, that magically
sets the role of the invited user to a particular group, and locks
that invited user into a Practice inherited from the person who
invited them.

Since the Devise Invitable controller lives in a gem, how can I reach
in there and extend it to be aware of these restrictions?

Thanks in advance,

Walter

--
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: gwtc -optimize set to 0 causes out of memory error in ant build.

Ok, well, after updating my OS (Mac OS X from 10.6.6 to 10.6.8), the
issue disappeared. It is likely due to an updated java : from
1.6.0_22 to 1.6.0_26


On Jun 30, 9:01 am, Jorel <joel.re...@gmail.com> wrote:
> Hi.  I recently had an issue with the ant build for our GWT project in
> which I got out of memory errors using -optimize 0.  If I changed it
> to 1 (or higher) it worked fine.
>
> Does anyone know how optimize works?  Why it might use more memory at
> 0 than other settings?

--
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] form_for routing issue

I defined a renew route for membership resources as following :

scope 'users' do
....
resources :memberships do
member do
post 'renew'
end
end
....
end

which leads to:
renew_membership POST (/:locale)/users/memberships/:id/
renew(.:format) {:action=>"renew", :controller=>"memberships"}

and in my view , my form helper is written as :
= form_for membership, :url => renew_membership_path(membership) do |
f|
...
generating the following HTML code :

<form accept-charset="UTF-8" action="/en_GB/users/memberships/1034/
renew" class="edit_membership" id="edit_membership_1034"
method="post">

<div style="margin:0;padding:0;display:inline">
<input name="utf8" type="hidden" value="✓">
<input name="_method" type="hidden" value="put">
<input name="authenticity_token" type="hidden" value="MDNH/
VmfJHBTgur3lksWEEuU5Rp02v70s8UFGR3hxG4="></div>

submitting the form, I get a routing error :

Started POST "/users/memberships/1034/renew" for 127.0.0.1 at
2011-06-30 16:33:08 +0200
Processing by ErrorsController#routing as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"MDNH/
VmfJHBTgur3lksWEEuU5Rp02v70s8UFGR3hxG4=", "commit"=>"Renew this
Membership", "a"=>"users/memberships/1034/renew"}

what could be wrong ?

--
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: Activities does not get de-registered..

Well, actually that is the cause of the problem. Just remove the click
handler in the onStop and onCancel otherwise disposed activities will
continue to receive click events

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

Best way to disable a specific validation rule

I have a certain validation rule that I don't want to apply in one
particular cirumstance.
The rule is based on allowing a user to create something, if they are
the 'owner' of an assoicated model.

The rule works fine most of the time, but I want to override it for a
certain usertype. This user type has its own set of actions defined by
routes.

So, to disable the particular rule, I am doing this, in the action
'usertype_add'

unset($this->Model->validate['other_model_id']['userOwnsModel']);

Where userOwnsModel is a custom validation rule I have setup in the
model.

This seems to work fine, but feels a bit 'hacky'.

Is this an accepted soution in cakePHP, or are there any better ways
to handle this?

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

3akarat.com -

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

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

[android-developers] Flash player access camera

Earlier of the year, I found out that flash player can not access
camera and microphone in Android. So any cool flash site using camera
and microphone can't be used on Android devices.

Does anyone know when this will be available?

Thanks,
Kevin

--
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: Aw: Rebind

For more information, see http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html

--
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/-/2sNpcx4fozwJ.
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] calling services from broad cast receiver

Hi all

I need some help. In application,I need a service.
The scenario is like this, my application runs after a specied time
laps or interval as set by user through an alarm manager and do some
recording of GPS and store upto 10 location and send to the server.
But some time connection to server takes a long due to server
congestion and my application goes to ANR state. To avoid ANR I need a
service class for location updation to the server from broadcast
receiver and notify the completion of service to the broad cast
receiver when result is OK from the server.

Please suggest me how can I accomplish this task.
The main question is how to notify the broad cast reciver that service
has completed its task?


Thanks and regards
Sapna Srivastav

--
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: More than one project using the same database

Hi Andres, that's what I was hoping was the case. I just wasn't sure.
ALJ

On Jun 30, 1:53 pm, andres.osin...@gmail.com wrote:
> In theory, unless you've disabled transactions, the database should be able to manage all contention issues.
> Enviado desde mi BlackBerry de Movistar (http://www.movistar.com.ar)
>
> -----Original Message-----
> From: ALJ <astley.lejas...@gmail.com>
>
> Sender: django-users@googlegroups.com
> Date: Thu, 30 Jun 2011 04:46:15
> To: Django users<django-users@googlegroups.com>
> Reply-To: django-users@googlegroups.com
> Subject: More than one project using the same database
>
> I have an extranet type project that has been running for a year. It
> only has a maximum user base of about 50 people of which probably only
> a few are using it at any one time. The users can add, edit and delete
> items within the application
>
> However, we need to expose the data in that extranet application to a
> another group of users but through another domain. Anonymous users
> will be able to register requests to be contacted, and another group
> of known users  will be able to log in with read only access to see
> the status of those requests.
>
> My question is, what are the issues that I need to think about (are
> race issues one?), is it possible to detect if these issues could
> occur in my particular situation, and how do you mitigate against
> these.
>
> ALJ
>
> --
> 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 athttp://groups.google.com/group/django-users?hl=en.

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

Rebind

What is the purpose of com.google.user.rebind package?
Are they server-side classes? I ask this because they contain
references to BufferedImage.

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

[android-developers] Re: Screen sizes and precise element placement.

I think Kostya is right - the dp and dip is the same thing... so this
doesn't solve my problem, because I need to change (scale) the dp I
use in my app...


On 30 Cze, 12:31, Kostya Vasilyev <kmans...@gmail.com> wrote:
> "dip" and "dp" are exactly the same thing.
>
> http://developer.android.com/guide/topics/resources/more-resources.ht...
>
>  >>
> The compiler accepts both "dip" and "dp", though "dp" is more consistent
> with "sp".
> <<
>
> -- Kostya
>
> 30.06.2011 14:16, Marcin Orlowski пишет:
>
> > Why not start using dip instead of dp?
>
> --
> Kostya Vasilyev

--
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 same using monkeyrunner tool and python lib?

I using monkeyrunner in the Eclipse but now need using python lib PIL
to comparing monkeyrunner cutting image

code like this:

import Image
from com.android.monkeyrunner import MonkeyRunner
device = MonkeyRunner.waitForConnection()
image1 = device.takeSnapshot()
image1.writeToFile('./getimage.png', 'png')
oi = Image.open('./getimage.png')


even in eclipse added pythonpath preferences can't do that
http://goo.gl/suKLm

--
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] Looking for rails hacker and partner

I am looking for a self driven rails hacker who also has business
sense for a project that I am working on. Can be of any nationality,
gender or location but willing to participate full time, and possibly
travel half way around the world, a few times, to set up the thing in
California.

If interested, please write in to 'robertandy1980 at gmail dot com' .

- Coolno9.

--
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: [Google Maps API v2] Re: this.map is null or a is null

On 30 June 2011 11:28, rejeesh tj <rejeeshtj1986@gmail.com> wrote:
Sorry..
Now getting the error 'a is undefined'


Link please.

Please note that I do have a day job as well. But posting a link will allow others to have a look too.

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

RequestFactory and JSNI

Hi,
I have ran few tests and wrote Hello World style RequestFactory code
for understanding.
I am wondering, how we can pass EntityProxy to native Javascript
(using JSNI) and setting changed values from native javascript to
EntityProxy?

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.

[android-developers] Re: AlarmManager - list of alarms set?

Hi Kostya.

This is basically a revival of this old thread, in which you helped me
some time ago.

http://groups.google.com/group/android-developers/browse_thread/thread/b2abad03be3467c0/d73f3780fbdd08f9

In my case, the onReceive method calls an ASyncTask which does some
network calls, so continues on for longer than the life of
onReceive(). I've implemented a Wakelock in my Receiver as you
suggested, which releases the lock once the network task has done its
stuff. However, the process *still* sometimes dies before it gets as
far as releasing the lock. It's definitely better now, just not 100%
reliable.

It's fine on 'good' phones, but on those with lower memory
capabilities (HTC Hero, Samsung Galaxy Europa for example) I still get
this problem. There's no errors, I'm sure of that, it's just being
killed before the task has completed.

On Jun 30, 10:31 am, Kostya Vasilyev <kmans...@gmail.com> wrote:
> There isn't.
>
> You process should not be dying inside an receiver's onReceive, as being
> inside onReceive makes your process least likely to be killed by the
> process killer:
>
> http://developer.android.com/guide/topics/fundamentals/processes-and-...
>
> Perhaps you have a bug where the code crashes or takes too long? AFAIK,
> crashes or ANRs inside receivers are not reported to the user, the
> process is silently killed.
>
> -- Kostya
>
> 30.06.2011 13:14, Neilz пишет:
>
> > Hi all. I'm using AlarmManager to, well, set an alarm which then calls
> > a BroadcastReceiver at specified times.
>
> > Is there a way, in my code, I can get hold of a list of the alarms
> > that have been set, and then identify in some way if my alarm is in
> > the list?
>
> > (I want to do this because sometimes, the process dies in the
> > onReceive() method so the next alarm never gets set, and it would be
> > useful when the app is running to do a double check - and if it's not
> > in the list, then set it again).
>
> > Thanks.
>
> --
> Kostya Vasilyev

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

uibinder with textbox focus and lostfocus

hi all,

how do you guys implement focus and lostfocus handler on uibinder? I
can't seems to get it right..

How to have two handler on one UiField?

@UiHandler("textbox1")
public void onFocus(ClickEvent sender)
{
textbox1.setText("Focus");
}
public void onLostFocus(ClickEvent sender)
{
textbox1.setText("Gone");
}


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

[android-developers] How to perform Pinch zoom out or zoom in using MonkeyRunner

Hi,

I would like to perform multi touch zoom in and zoom out operations
using monkeyrunner.
Could someone give me pointers for doing the same.

Thanks in advance.

Thanks
--Karthik

--
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] AlarmManager - list of alarms set?

Hi all. I'm using AlarmManager to, well, set an alarm which then calls
a BroadcastReceiver at specified times.

Is there a way, in my code, I can get hold of a list of the alarms
that have been set, and then identify in some way if my alarm is in
the list?

(I want to do this because sometimes, the process dies in the
onReceive() method so the next alarm never gets set, and it would be
useful when the app is running to do a double check - and if it's not
in the list, then set it again).

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

3akarat.com - كافى شوب للأيجار بالهرم رئيسى

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

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

[android-developers] Re: Urgent need for Web Methods developer @AZ

Some people have no concept of private information....

On Jun 30, 10:17 am, Zsolt Vasvari <zvasvari@gmail.com> wrote:
> "I can suggest his resume of you want a good laugh...." -- Indian
> Resume Review Guide
>
> On Jun 30, 1:58 pm, tushar sahni <tusharsahn...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Respected Sir
>
> > I am sending you my latest Resume For Post Of Android Application
> > Developer..
>
> > Regards
> > Tushar Sahni
>
> >  Tushar_Sahni.doc
> > 86KViewDownload

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

Single Quotes

Hi,

addslashes(Sanitize::html($this->data['Post']['content'],array('remove' => true)));

This is the line I have before saving the record. But single quotes becomes &#039;
What have i done wrongly?

--
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: How to bind multi-layer Java class to JavaScript by using addJavascriptInterface() on WebView

Thanks Mark's reply.

Now I'm sure that I can't bind a "multi-layer" java class to
javascript by using addJavascriptInterface()

I got another plan : I create a js file to define and create the
"multi-layer" class and using java to create function only.
This is a sample:
====demo.js begin====
function AClass() {
this.B = new Object();
this.B.func = function() { return JavaA.func(); }
}
A = new AClass();
====demo.js.end====

====demo.html begin====
<html>
<head>
<script type="text/javascript" src="demo.js"></script>
</head>
<body>
<script type="text/javascript">
document.write("A.B.func1() return " + A.B.func());
</script>
</body>
</html>
====demo.html end====

====demo.java begin====
public class MyDemo extends Activity {
private WebView mWebView;
public void onCreate(Bundle savedInstanceState) {
...
mWebView = (WebView)findViewById(R.id.webView1);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.addJavascriptInterface(new AClass(), "JavaA");
mWebView.loadUrl("file:///android_asset/demo.html");
}
final class AClass {
AClass() {}
public int func() { return 1; }
}
}
====demo.java end====

It could work fine.

But then I found another question: I'm trying to create an app to load
a Company's Web page. There are some self-define javascript class and
interface on the target page and I should let my app to support them.
I make a xxx.js to define all of them. The I aware I can't modify the
Web page's source document, so I can't add "<script type="text/
javascript" src="xxx.js"></script>" to the <head> block of html
document. That means I should add and excute my javascript define(such
as the "demo.js" below) after loadUrl().

Can anyone tell me which android interface could help me?
If there are any function to load javascript code after
WebView.loadUrl()?

Thank you!

On 6月30日, 上午7时37分, Mark Murphy <mmur...@commonsware.com> wrote:
> On Wed, Jun 29, 2011 at 8:06 AM, marco li <marcoli872...@gmail.com> wrote:
> >  So my question is:
> >  1. if I want to bind javascript interface format as "A.B.func()" to
> > my java class, how can I do it?
>
> I am not aware that this is possible.
>
> >  2. if I want to get javascript class's property directly, not by
> > function calling, how can I do it?
> >     a javascript sample to show Q2
> >     use "var prop = A.property"
> >     not use "var prop = A.getProperty()"
>
> I am not aware that this is possible.
>
> --
> 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.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

[android-developers] Re: Fireworks app

Congratulations!!! I also uploaded to Youtube the most fantastic goal
I ever scored in indoor soccer. Would you like to watch it?
----------
Ali Chousein
Geo-Filtered Assistant
http://geo-filtered-assistant.blogspot.com/


On Jun 29, 3:17 pm, July 4th fireworks <joeyk....@gmail.com> wrote:
> Hi my name is Joe. I have been looking into android because of it's
> comparability with the majority of pc owners.  I just published my
> first iPhone app called " July 4th Fireworks " Check it out if you
> have an iPhone, iPod touch, or an iPad. Make your own virtual firework
> show. Press the app store icon, go to categories, then entertainment
> and search July 4th fireworks.

--
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: Disable HDCP in Android 3.1

Ok, so nobody wants to answer this question, whatever the perfect spot
where I ask ...

--
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, June 29, 2011

Re: [android-developers] Memory leak with setAdapter + ArrayAdapter

Grr.

--
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 - للايجار مكاتب وسط البلد ش عدلى حتى 1500/م

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

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

Re: [android-developers] Memory leak with setAdapter + ArrayAdapter

You think debugging should come for free or something?

--
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: Install % not updating?

> Pretty slick I'd have to say.

I hope you are being sarcastic -- but I am not sure.

--
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] Share Page

What I want to do is basically have an application run in the
background. So what the user would basically do is open the
application and then switch to a browser. After the User has opened up
the browser he would go on to clicking menu - more - share page and
would find the application name on the "To:" textfield. They would
then press send and then the application would redeem focus again and
the application would now have the url and it would proceed to do
whatever is needed.

My Question is how do I add a listener to the application and how do i
add the application name so you are able to see it into the "To:" so
when you press send the application would recieve the url and would
would do whatever the application needs. Can you guys please help me
out with this? I have looked at sever ways to go about doing this, the
most common "Intent Filter" but i am not able to see the name of the
application on the "To:".

Thanks in advance for the help.

--
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: (urgent) How to install shoulda

Make sure that all references to culture model are removed.

You can use rails destroy model culture

If that still doesn't solve the issue, then please post your test here along with the controller and the model used in the test.

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

[Lovers India] when y............

When you're away from me
I long for you...
in my thoughts,
in the center of my soul.
I yearn to see
the affection in your eyes...
blue depths of love for me.
I crave the safe warmth
of your arms around me...
my cave of comfort, ease and peace.
My body aches with hunger for you...
the exquisite torture
of delayed ecstasy,
coming soon, coming soon.
I long for you, I yearn for you,
I ache for you...
Please, bring all that I crave
in your incomparable self.
Come to me.

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

[Lovers India] hi

Dil ni vaat hoth pr aavi ne atke 6e,

Aansu bani aankh thi koi tapke 6e,

Khusnasib 6e jen koi samajnar male 6e,

Baki sachi lagni mate to Lakho Tarse 6e.....


tej

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

[android-developers] Re: Bitmap Rotate Help!!!

And after Rotating the Bitmap.... Can i get x and y position of
Bitmap.... How???

On Jun 29, 9:03 pm, Mustajab <vcoolmu...@gmail.com> wrote:
> @ Streets of Boston: Thanx for Help...... But i still need an
> example.... Because i am not done.
>
> On Jun 29, 7:57 pm, Zsolt Vasvari <zvasv...@gmail.com> wrote:
>
> > Is "cannon" a nickname for your junk?
>
> > On Jun 30, 2:55 am, Mustajab <vcoolmu...@gmail.com> wrote:
>
> > > I want my cannon to point to the direction i am clicking..... The
> > > problem is that in the following line of codes:
>
> > >  matrix=new Matrix();
> > > matrix.postRotate(theeta);
> > > canvas.drawBitmap(cannon, matrix, null);
>
> > > I can not set position of the cannon.... Even if I can...... I can not
> > > rotate the cannon about a fix point...... Can anyone help please :(
>
> > > Regards
> > > Mustajab

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

[Lovers India] gm

Apne pyar ko chupana chah pr chupa na sake,

Diwane dil pe kabu ha pa na Sake,

Aaj itne karib se gujar gaye wo,

Phir gaye wo, phir b unka hath

hum tham na sake................


tej

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

[Rails] Re: Trying to upgrade a rails app from 2.3.2 to 2.3.11

Rename your template from new.rjs.js to new.js.rjs and it should work

--
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/-/rxdCYx2GXiwJ.
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: Error of DEPRECATION WARNING

can u help me about this question http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/f277b0fadde17bda?hl=en

--
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/-/vzKcJQvbnigJ.
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] (urgent) How to install shoulda

Hi,

I have trouble about install Shoulda, can someone give me some
instruction to install it
I try some .. it ask me to add those code

Rails::Initializer.run do |config|
config.gem "shoulda", :lib => "shoulda"
end

then i cannot do rake to test units.
it gives me error of

/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/
application.rb:63:in `inherited': You cannot have more than one
Rails::Application (RuntimeError)
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/
deprecation.rb:7:in `initialize'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/
deprecation.rb:7:in `new'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.7/lib/rails/
deprecation.rb:7:in `run'
from /home/joanne/Desktop/2/config/environment.rb:7:in `<top
(required)>'
from /home/joanne/Desktop/2/test/test_helper.rb:2:in `require'
from /home/joanne/Desktop/2/test/test_helper.rb:2:in `<top
(required)>'
from test/functional/languages_controller_test.rb:1:in `require'
from test/functional/languages_controller_test.rb:1:in `<top
(required)>'
from /usr/local/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `load'
from /usr/local/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `block
in <main>'
from /usr/local/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `each'
from /usr/local/lib/ruby/1.9.1/rake/rake_test_loader.rb:5:in `<main>'
Errors running test:units, test:functionals!

thanks for help

--
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: Screenshots taken by Google+ App

> I assume/hope that it is only using APIs that are documented and available.

I absolutely wouldn't assume that. As long as the API had existed on
all the supported platforms, they are maybe using it.

--
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] Picture can be drawn but not be shown corrently on the Android Tablet?

I save my information in a Picture,the draw the Picture in the
canvas with "canvas.drawPicture(mpagePicture.m_pagepic)".The Picture
can be shown correctly in the mobile with android 2.3 or below,but not
correctly in the tablet with android 3.0.
Anybody can tell me why and how to solve the problem?
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: [Lovers India] Facebook Vedeos

if the video is from then copy and paste the url on the youtube
downloader n download it

On 6/28/11, anoop gs <anoopgs007@gmail.com> wrote:
> download and install realplayer latest version
> after that u can download videos from facebook,youtube................
> On 28 June 2011 15:04, sunil tripathi <suniltripathi30@gmail.com> wrote:
>
>> You may use www.down*facebook*.com <http://www.downfacebook.com/>
>> Regards
>> On Tue, Jun 28, 2011 at 3:24 PM, rupali 123
>> <rupali.akola@gmail.com>wrote:
>>
>>> Dear All,
>>>
>>> Anyone can specify me that how will download on facebook vedeos.
>>>
>>> Regards
>>> Rupali. 9049589907.
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Sunil
>>
>> --
>> 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
>>
>
> --
> 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
>


--
RAHUL PRIYADARSHI
B.E. 8TH SEM MECHANICAL ENGINEERING
R. K. COLLEGE OF ENGG. & TECH. RAJKOT
GUJARAT-360020
SAURASHTRA UNIVERSITY

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

[android-developers] Re: unknown android module

On SDK, I install SL4A - Script layer for android which is allow me
run file .py on emulator.
When i run emulator on window 64 bits, everything is ok.
The problem just happened on win xp.
The same python app.

On 30 Tháng Sáu, 04:24, Indicator Veritatis <mej1...@yahoo.com> wrote:
> How do you expect it to recognize and run a python project?? The SDK
> supports Java only. If you want more than that, you need something
> more than the SDK.
>
> On Jun 27, 9:33 pm, huru <hungdang1...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi all,
>
> > I'm a newbee and i've just investigating about android SDK emulator.
> > I have a problem when copy an python project to sdcard and run it.
>
> > When i trying to run that code, there announcing that android module
> > unknowned.

--
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: Comparing ManyToManyFields

You'll first have to explain what you mean by 'reading from a file'
and 'comparing'.

Are we comparing against serialized model exports? Is the user
importing data from a csv file? What column(s) is(are) you using as
keys for matching db objects against the file?

Give us a little more details and we'll try giving some suggestions in return =)


Sincerely,
André Terra

On 6/28/11, Josh Lothian <lothian@ornl.gov> wrote:
> So I'm working on my first Django application, and I've run into a
> stumbling block. In simplest terms, I've got two objects:
>
> def Package(models.Model):
> name=models.CharField(max_length=255)
> version=models.CharField(max_length=128)
>
> def Machine(models.Model):
> hostname=models.CharField(max_length=255)
> installed_packages=models.ManyToManyField(Package)
>
> I'm reading in information from some file, and need to compare against
> objects already in the database. Ideally, I could just create these
> objects in my code, compare to the existing Django objects, and add a
> new entry if it's different from anything that exists already.
>
> However, I've got that dang ManyToManyField in there, meaning I need
> to first commit a Machine to the DB, and then add Packages to it.
> Otherwise, of course I get:
>
> ValueError: 'Machine' instance needs to have a primary key value before a
> many-to-many relationship can be used.
>
> This seems non-ideal, since there's a pretty good chance I'll just
> need to delete it from the database as a dupe of an existing Machine.
>
> I see a couple of ways around this:
>
> - Instantiate a Machine and a list of Packages, and compare them
> separately. This isn't ideal, as my real objects likely have more
> than 1 many-to-many relationship.
>
> - Do database queries and whatnot directly. Yuck!
>
> - Punt and just add/remove things from the database. This would
> probably work fine now, but later on could definitely lead to scaling
> issues.
>
> Am I missing an obvious solution here? I've scoured the docs and
> can't seem to come up with anything that doesn't make me feel icky.
>
> -josh
>
> --
> 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.
>
>

--
Sent from my mobile device

--
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] Error of DEPRECATION WARNING

Hi,

I Have a strange error when i type the command "rake db:migrate "
Can you help to solve this error or give me some advices

the error is:

DEPRECATION WARNING: Rake tasks in /home/joanne/Desktop/picto/vendor/
plugins/prawnto/tasks/prawnto_tasks.rake are deprecated. Use lib/tasks
instead. (called from <top (required)> at /home/joanne/Desktop/picto/
Rakefile:7)


thanks for help

--
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] How do you test for something in a certain area of the page with RSpec / Capybara? (view test)

I'm used to doing 

it "displays the controls link" do
  render
  rendered.should have_selector("a#controls")
end

..or using rendered.should have_content, but how would you test for something specifically in an area of the page?  e.g.
rendered.should have_content("Admin") in the "div#logo_area" or something?

I kind of wish there were many clear examples online...

--
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/-/iJ8DxcqjshsJ.
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: RSpec with Rails 3.1rc4: spec test won't recognize <%= %> (should be simple)

Thanks again - I just used the model directly.

--
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/-/i6n0tRJJ69kJ.
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] Logs not appearing in 3.1?

Ever since my tab 10.1 got upgraded to 3.1, I no longer see my
application's log in logcat. Does anyone know the reason for this and
how I can see it again?

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: [android-developers] How to add item on Android music options context menu ?

On Wed, Jun 29, 2011 at 11:27 AM, Petko Petkov <krstekrste@gmail.com> wrote:
> When long pressed some mp3 on my android phone I am prompted with
> Music Options context menu and I have options to chose to play the
> song or to set as a ringtone. But how can I add some items in this
> context menu, what kind of intent filter should I register for this
> thing

You cannot "add some items in this context menu".

First, there is no context menu associated with your described
actions, at least on Android 2.3. There is a popup window that appears
when long-pressing on an MP3 file on my Nexus S.

Second, you cannot add items to a context menu in general. You might
be able to hook into select context menu items (e.g., implement
ACTION_SEND to show up in "Share" menu items).

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

[Rails] Beginner's question: Rails 3 and MySQL on Windows

Hello,
I've failed to get Rails 3 to connect to MySQL and have read that
the current MySQL ( which is MySQL2) doesn't work with Rails 3. It
isn't clear to me, from looking at the primarily *nix instructions on
the net, how to do this in Windows: settings in database.yml, gems to
install, where to get a MySQL database that works and where to put it,
etc. What are the proper steps?
Thanks,
Barney

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

Hi,

How does cake know whether it is a normal user or an admin user?
There are only two types. Admin and Normal User

Both are stored in users table

--
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] Re: Need Delivery Area Help

yes, something like that :D

--
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] After using the camera all the activities become horizontal

Hi group,
when i use the camera in my first activity all activities become
horizontal, is that the result of the camera configuration?
Peace,
Gaara

--
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: Need Delivery Area Help

How can this be accomplished?

one way I could think of would be to set up your delivery areas as
polygons on the map like this:
http://econym.org.uk/gmap/inside.htm

then geocode the address given and test which of the polygons contains
the address.

but there may be a better way.

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

Login

Hi,

How to mingle user and admin login?
users table have both users and admin. type field differentiate admin and user.

for user login,

function login() {   
}

here how do i know, admin has logged in? How to set additional session for admin?

--
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] Need Delivery Area Help

I have a google maps api key that I signed up for and need to define
a delivery area that will return results when a user types in their
address. For instance, if 30 stores deliver to users of my site but
all have delivery areas, I need a way to define their delivery areas
so when a user types in the address to be delivered to, only the
stores that deliver to that area will be displayed in the search
result. How can this be accomplished?

Can someone please assist me? I need to find a solution asap

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

[Google Maps API v2] Re: Google Embed maps usage in Intranet site

On Jun 29, 2:06 pm, CHANDRA SHEKAR <sheka...@gmail.com> wrote:
> Does the T&C say that i cant use the API?

Yes, it does say that you can't. See Term 9.1.1(b). Term 9.1.2 waives
that term if you have an Enterprise/Premier licence.

I think that's what I said first time round; the Terms are quite
explicit on that point. http://code.google.com/apis/maps/terms.html

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

[Google Maps API v2] Google Embed maps usage in Intranet site

Hi Team,

I would like to use the Google map in one of our Intranet site. It is
the embedded maps where user can move the map and locate a point. Is
this allowed as per the terms and conditions, please let me know.

Many thanks

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


Real Estate