Thursday, March 31, 2011

GWT designer for Netbeans

May it's possibile to get a designer like Eclipse GWT-designer ?

--
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: WxPython and django

On Thursday, March 31, 2011 06:34:42 pm Aref Nammari wrote:
> Hi Calvin, I think that there is some misunderstanding about what my
> question was about. Let me try to clarify. Wxpython is a module which is
> run just like any other python module. It is great for rendering forms,
> widgets, frames etc...and it has within it an html module. You can embed
> wxpython within html code.
> Since wxpython is a python module and if you can run python code in django
> apps then you should be able to run wxpython code provided the right
> modules are imported--just like any other python module. What I was
> thinking of doing is either embed some wxpython code within html to render
> the different pages of the django app or call wxpython functions from the
> html template. All the code resides on the server of course. The user
> interacts with the app through the web page. So the forms would be
> rendered by wxpython instead of html. I don't know if this is clearer or
> if what I am thinking of is feasible at all.
>


It's not feasable at all. Thing is, wxPython is a python bindings to
wxwidgets, which is a c++ gui framework. The browser will not know how to
handle them, this is on purpose. The browser itself does all the actual
rendering of widgets from within its html engine, the browser should not know
about wxwidgets, even if it itself is written in wx, this way.

Don't let how the code is written fool you. wxpython is not going to work the
way you think it is. Browsers for security reasons do not execute random code
and you can not send the widgets over the network that way, You'll need to
rewrite the gui code.

Mike

--
* LG loves czech girls.
<vincent> LG: do they have additional interesting "features" other girls don't
have? ;)
-- #Debian

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

[android-developers] Re: ListView leaks memory II

> If I am understanding you correctly, then, it is merely a matter of
> them not having been GC'd yet. Bear in mind that the Dalvik GC
> implementation does not try to reclaim all unreferenced objects in a
> single pass.

So how useful HPROF is? If it's impossible to tell if an object is
sitting there because the VM hadn't gotten around collecting it yet or
because it's being leaked, I'd say it's not very useful.

I've had this same issue once and then I stopped using HPROF
altogether because there was just so much to look at.

It really needs a "RECLAIM ALL MEMORY NOW!!!" button.

--
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 create a sublist?

thank you for your criticism because I download a course and it works but I do not know why the group never helped me

--
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: Need help: request.POST.copy() ?

Hi hank23
request.POST would be immutable.

"QueryDict instances are immutable, unless you create a copy() of
them. That means you can't change attributes of request.POST and
request.GET directly."

http://docs.djangoproject.com/en/dev/ref/request-response/


So I'm
> wondering if there is something else going on or if this problem is
> some kind of side effect of using request.POST.copy()?

I dont know what you mean by side-effect.

I copy/instantiate querydicts all the time never had any problems.
Dont forget if you can use python to clone objects :)

cheers

sam_W


On Fri, Apr 1, 2011 at 11:48 AM, hank23 <hversemann@stchas.edu> wrote:
> I need to know when I can or should use request.POST.copy() when
> processing screens, as opposed to when not to use it. I've used it
> some, on one screen in particular, which seems to work fine for
> displaying the data that I want to display, when I put the data on the
> screen programatically from within a view. However when I try to alter
> the data manually by keying it in from my keyboard, or selecting an
> option from a dropdown, nothing seems to show up changed the next time
> that submit the form to the view and look at the data posted. So I'm
> wondering if there is something else going on or if this problem is
> some kind of side effect of using request.POST.copy()?
>
> --
> 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.
>
>

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

[android-developers] Re: Dev Console profile edit page??

It seems as if the entire developer console is offline. I guess
someone tripped on a cord and didn't notice.

-John Coryat

--
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: lost the password of the keystore

Only problem is when your a business owner and you buy an application
from a developer, they should make it mandatory that the cert is
changed so that when the app transfers to your account you can assign
it a new cert so that the old programmer cannot get into it or hack it
in some way. Also Google should have a way to verify the owner and
then reassign a new one so that apps don't go hanging out in the ether
when a developer loses the keyphrase/pwd.

John

--
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] Unable to upload to Market

I started getting "The server could not process your apk. Try again."
Today while uploading APK's to market.
Looks like this issue appeared before and got resolved.
Is anyone else having the problem today?

--
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] Can hashmap be returned from aidl

Hi,

I want hashmap as my return type from aidl file.
But it is giving error as unknown return type.
My code is -

interface IRemoteservice {
HashMap<String,CharSequence> getMapValues();
}

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: Change the Position for a drawed bitmap on a canvas

put the bitmap into its own imageview

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

WANTED: GWT developers for Part-Time or Full-Time Contracts

Hey folks,

My name is Daniel and I'm looking for a few talented engineers to work
(remotely) on a short term contract for my company. Candidates can
work part-time or full-time, but must be proficient with GWT.

The initial project we're looking to staff is for the development of a
GWT chat application that will be used within our website to allow
visitors to chat with our sales operators. We'll be using comet and
Glassfish.

If you're interested, please email me along with your resume (or
similar) at daniel.cowx@gmail.com and I will provide more details on
the project. We're looking to start this project immediately.

Qualified candidates *will* be considered for our other GWT projects
as well.

Thanks,
Daniel

--
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: OSS Software Using Widgets?

You can check out how the internal apps use them also at
http://android.git.kernel.org/
They start with platform/packages/apps/
(for example platform/packages/apps/AccountsAndSyncSettings.git)

On 31 мар, 14:51, Jake Colman <col...@ppllc.com> wrote:
> Can anyone recommend some OSS software that I can download that makes
> good use of widgets?  I'd like to study some techniques.
>
> Thanks.
>
> --
> Jake Colman -- Android Tinkerer

--
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: read multiple sqlite query from file

BEGIN TRANSACTION
...loop...
COMMIT TRANSACTION

--
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: Android sqlite and multithreading

If you plan on using threads to access a database, then I believe there is no other way to alleviate the exceptions being thrown except with some sort of synchronization like you have. I do the same sort of things with my databases and use semaphores to ensure exclusivity of my database.

As to your question: "How do you use sqlite in Android?" -- I would say that if you're already accessing your database from different threads with no exceptions being raised, then you already know more than the average bear.

Nick

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

How to know if a user has left a particular page

Hi Guys,
I want to know is there any way of knowing if a user has left a
particular page.

What i mean is, suppose a user is on a page game/start, and he just
closes his browser without logging out of the game than how do i get
to know if he left the game or not??

Thanks in advance!!!

--
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: seemingly misleading verbiage in the documentation...

parseLenient only uses eval(), not only as a fallback. This is because JSON is stricter than JavaScript's object literal notatio: in JSON, object property names must be quoted; JS can include comments, etc. JSON.parse cannot parse those JS literal objects that do not quote property names and/or include comments, for instance.
And of course, parseLenient could execute code, including both "safe" things such as new Date(sometimestamp) and "unsafe" ones such as alert("hello") or much, much worse!

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

3akarat.com - للراغبين شقه مفروشه تشطيب سوبر لوكس باعلى مستوى

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

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

execute query twice in a short time is a problem?

I have a problem saving model in a loop. I am not sure the problem is
executing
a query twice in such a short time or how I am calling is the problem.
I tried with $this -> controller -> Notification -> save but didn't
work so i am trying to do with
maunally query instead but still get the same result. only the first
get saved but not the second one.


foreach( $arrEmp as $employeeObj ){
$options = array( "survey_name" => $surveyObj[ 0 ][ 'Survey' ]
[ 'survey_name' ] );
$this -> Notification -> create( 'Report card is realeased','',
$currentUser[ 'Account' ][ 'id' ], $employeeObj[ 'e' ]
[ 'accounts_id' ], 7, "HR Department", $options );
}

/**
* create function in Notification Component
*/
function create( $subject, $message="", $creator, $recepient, $type =
0, $from, $options=null ){
$this -> controller -> loadModel('Notification');
$this -> controller -> Notification -> create();
$notification[ 'subject' ] = htmlentities( $subject );
$notification[ 'message' ] = htmlentities( $message ) .
$defaultMessage;
$notification[ 'from' ] = htmlentities( $from );
$notification[ 'creator' ] = $creator;
$notification[ 'sentto' ] = $recepient;
$notification[ 'type' ] = $type;

foreach( $notification as $key => $value ){
$arrKey[] = $key;
$arrValues[] = $value;
}

$sql .= "INSERT INTO notifications (" . implode( ",", $arrKey ) . ")
values (" . implode( "," , $arrValues ) . " )";
$this -> controller -> Notification -> Query( $sql );
}

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

Strange admin changelist bug with list_editable and FK to User in 1.2.3

Hi folks...

I've got a model that looks roughly like so:

class Account(admin.ModelAdmin):
type = models.ForeignKey(AccountType, help_text='Type of account.
Determines what features are available to the user.')
user = models.ForeignKey(User, unique=True, primary_key=True)
design = models.ForeignKey(Skin, blank=True, null=True)
....

And a ModelAdmin that looks like so:

class AccountAdmin(admin.ModelAdmin):
list_display = ['__unicode__', 'user', 'type', 'design', ...]
list_editable = ['type', 'design', ...]

The User column is showing up blank in the admin changelist
(containing nothing but a hidden form field). I've tried eliminating
other options on the AccountAdmin, changing field order, and narrowed
it down to some sort of odd interaction with list_editable.
Commenting out the list_editable property entirely fixes the problem,
but any value (even an empty list) for list_editable that does not
include 'user' causes the problem to recur.

Any idea what might be going on? I'm using 1.2.3 at the moment, and
the client doesn't want to authorize the work to upgrade to 1.3 just
yet, so I can't determine whether it's version-specific.

Thanks.

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

Re: [Google Maps API v2] Re: UTF 8 encoder Google Maps

On 31 March 2011 20:00, MaxCaro <m.vietmeier@gmx.de> wrote:
> just one more question,
>
> it may not really concern to this problem, but you helped me out so
> much, you probably know this aswell:
>
> how can i get the created sql database to my server?

You're right, it's a question for your hosting company.

You should be able to export the database locally and then import it
on your server, but the mechanisms for doing depend on what client
software you're using to manage your database -- eg phpMyAdmin,
SQLyog, whatever.

--
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: check for the users who are logged in

On Thu, Mar 31, 2011 at 1:03 PM, Rishab Jain <jairishab@gmail.com> wrote:
> Hi,
>
> Since cake is taking care of the session, I want to know who all members of
> the site are currently logged in.
>
> Has anybody ever written code something similar to this? It would be great
> if you could help me here.

Rishab, have a look at this recent thread:
http://groups.google.com/group/cake-php/browse_thread/thread/fda520971695ce5d

--
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: ListView leaks memory II

Ok I just tested the api demo again.

I went in and out of List1.java 15 times, and only saw 8 instances
still on the heap.

So, clearly "some" are being GC'd.

My question still remains... Why doesn't this happen with other views?

On Mar 31, 11:50 am, ivan <istas...@gmail.com> wrote:
> So to reiterate ...
>
> I can see every instance of a ListView/ListActivity (ever created)
> sitting around in memory, even though I force a GC in every call to
> onDestroy().
> ... And this is the expected behavior, because the Dalvik GC will
> "eventually" collect them.
>
> Why isn't this the case with other views?
>
> On Mar 31, 10:28 am, Mark Murphy <mmur...@commonsware.com> wrote:
>
> > On Thu, Mar 31, 2011 at 11:58 AM, ivan <istas...@gmail.com> wrote:
> > > Incoming references and path to GC root show only the TmpTestActivity.
>
> > If I am understanding you correctly, then, it is merely a matter of
> > them not having been GC'd yet. Bear in mind that the Dalvik GC
> > implementation does not try to reclaim all unreferenced objects in a
> > single pass.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > Android Training in NYC:http://marakana.com/training/android/

--
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: security of the framework

Thank you all for your kind attention on my problems. I think it is
better to follow the Hari Edo's advise and split my problem into
smaller parts and solve them.
What I really need is to save the information which will
come in xml format in a way that only the application can read them,
(in application specific format) to avoid any hacking or data
misusing by the user himself. I searched about the encryption in so
many sites and blogs, and found information about symmetric
algorithms like DES, AES & Blowfish and asymmetric encryption
algorithms like RSA, DSA & PGP.

I need to know what kind of method I should follow in order to
achieve my necessity.

• Whether I should use asymmetric or symmetric algorithms which
are available?
or
• Do I need to develop an algorithm? If so from where I should
start?

As Hari Edo mentioned asking this kind of questions may not good.
Actually I need to do this my own, but I don't know from where to
begin. So I REALLY NEED and APPRICIATE your helps. 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: about url tag

On 31 March 2011 18:50, Lic. José M. Rodriguez Bacallao
<jmrbcu@gmail.com> wrote:
> well, I don't know if this is ok, but I solved the problem adding a
> name='help_subject' tu the urlconf line

Sorry, I couldn't answer earlier, but yes - that is exactly what you
should do. Class-based views can't be referenced by using dot
notation, so you must name them and reverse them by name.

Django expects a string in form of "<module_path>.<function_name>". A
class-based view is not a module, so it has no chance of success. Even
if it somehow was able to get the as_view method from the class, there
is no way to tell to which URL it was bound (look at how as_view()
works for more details).

Naming all your URLs is a good practice anyway.

--
Łukasz Rekucki

--
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: authentication switching mid-session

there's no cacheing in front of the application server, if that's what you're asking.  The app server does do some cacheing on its own, but not related to sessions or users.

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

Thousands Make More Money, With Those 6 Proven Secrets

Everywhere People Are Raving About These Amazing 6 Proven Secrets

Proven Techniques Help You Make More Money, Guaranteed!

Greatest Gold-Mine Of Advice

Don't Wait Another Moment!

You Deserve To Make More Money

http://tellme-about.com/realguys/for31

Only For Limited Time
Michel Leger
.
.
.
.
.
.
.
.

http://michelleger.com

http://tellme-about.com/making-up

http://tellme-about.com/realguys

http://www.myspace.com/promiketattoo

http://promiketattoo.wordpress.com

https://mytattooblog.wordpress.com

http://michelleger.com/wp-content/uploads/2010/12/Michel-Leger-150x150.jpg

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

Re: seemingly misleading verbiage in the documentation...

Can't you have a look at the javadoc and the source code?

See http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/json/client/JSONParser.html

(in other words, the doc is outdated)

--
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: seemingly misleading verbiage in the documentation...

Any thoughts on this would be much appreciated. I am trying to validate my understanding of JSONParser class and also highlight the misleading verbiage in the documentation.

--
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: Reading From Serial Ports Disrupts Bluetooth

Yeah, thanks. After reading your post it does make sense that there
might be some conflict there.
So I'm going to have to agree with you that messing with those ports
is a bad idea.

Just to hopefully satisfy your curiosity, we're actually porting PC
software to Android. The serial ports were from the PC version, and
aren't really needed in the Android version. But they were already
there in the code and we didn't know they would mess anything up. :)

--
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: RequestFactory with parameter

I'm not sure, but I guess it is always required.

--
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: Reading From Serial Ports Disrupts Bluetooth

I don't need help porting Android to different hardware. I am using
JNI to read the serial ports, and the sdk to open a bluetooth
connection.
This is a device that is already running Android.

--
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] Reading From Serial Ports Disrupts Bluetooth

I have an app that checks for data on the serial ports. It uses JNI to
read from /dev/ttys*. When it does not find the data on the serial
ports, it then uses the Java APIs to open a bluetooth socket and check
for the data via bluetooth.

The problem is that the BluetoothSocket.connect call fails with
"java.io.IOException: Connection timed out".

If we change the code, such that we don't first check the serial port,
then the bluetooth connection succeeds.

We were also testing with a second bluetooth app, the bluetooth chat
sample, that consistently worked. However, when we ran the first app,
followed by the bluetooth chat, then the bluetooth chat also failed. A
reboot of the phone, or toggle of the bluetooth, allowed the bluetooth
chat to succeed.

So all I can gather, is that somehow, reading from the serial ports is
causing bluetooth to fail. Please note that not all Android phones
have support for /dev/ttys*.

Does anybody have any idea why the serial ports would mess with
bluetooth?

--
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] I Need Multiple Marker in google map, and use the code had for very fast.

Please,
 
I Need Multiple Marker in google map, and use the code had for very fast.

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

[Rails] link_to with hidden parameters

Hi All,

Sorry if this has been asked before, I'm just looking for a pointer on
the 'standard' or accepted way to get around this issue, as oppose to
some 'bodges' that would seem workable.

Dead simple:

I have an index page for model 'properties' which needs a per-property
link to create a new 'lease'. A link_to is fine for jumping to the
'new' page of the 'lease' model, however I want to pass the
property_id for the lease to the controller, without it appearing in
the url (Presuming I will thus have to POST it)

I know that I could do a javascript function or create a hidden form
but was wondering if there is a more elegant way to solve this, as it
must crop up all of the time.


Thanks in advance for any helpers with this


Paul

--
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 - للبيع قطعة أرض 2000م مبانى قابل للتجزئة

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

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

Re: redirect after delete not working

Found my problem: my server sets page expires to 60 seconds by
default. If I wait 60 sec. after the page is loaded to delete an item,
it works correctly.

I have added $this->disableCache() to my admin controller methods (or
you can add it to the beforeFilter if your controller deals only with
admin methods).

See http://book.cakephp.org/view/988/disableCache

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

making a script on python.
(android 2.2, ase sl4a-v2-base, r-25,) environ ment.

not able to run .......
'smsDeleteMessage( ??)'
& isSMSReceive(String fromPhone??,String text??)


need the agrument to pass?
with a simple code.

it is not running, showing no error.. but not able to delete the msg
from inbox.
& in case of isSMSReceived it is always show "{'result': False, 'id':
0, 'error': None}

what shoud i do, plz tell me with a example & passing proper argument

--
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: [Google Maps API v2] Re: UTF 8 encoder Google Maps

On 31 March 2011 13:04, MaxCaro <m.vietmeier@gmx.de> wrote:
>
> but, it now displays nothing if i open the  php in my explorer.
>
> could this be because there is no header added in the php?

Possibly. What does "View source" show you?

I think this is the point that a link is needed.

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

RequestBuilder don't store coockies?

Hi,

I'm making some test about CORS and trying to make a POST to a server,
to make login, and the server send me a message with a 200 state ( the
login was correct ) , but the browser don't save the coockies. this is
my code:

RequestBuilder rb = new
RequestBuilder(RequestBuilder.POST, Url);
rb.setHeader("Content-type", "application/x-www-form-
urlencoded");

try {
Request response = rb.sendRequest(postData, new RequestCallback()
{

public void onError(Request request, Throwable exception) {
}
public void onResponseReceived(Request request, Response
response) {
Window.alert(response.getText());
}
});
}
catch (RequestException epa) {
Window.alert("Failed to send the request: " + epa.getMessage());
}


The response.getText() show me the "ok, you are login" but there are
no coockies en my browser with this ... If I use XMLHttpRequest() with
JSNI, the browser save it the coockies.

Any Idea... I'm getting tired about this task jeje, when I find a
way ... I will upload the code and made some guide! Lol

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

[Google Maps API v2] Re: UTF 8 encoder Google Maps

Just to make sure we are talking about the same thing again, here is
again what i did so far in deail:

i wanted to create a store locatot. with the phpfinder from google
maps.

therefore i need a sql database.

1.) i created the database with the rows (ID, name, address, lat, lng)
name=shopname
address= address

lat/lng= coodrinates for google maps.

2.) i copied the phpsqlsearch_genxml.php from google maps store
locator guide and tested it, just as described in the guide.
first, everything was fine, because i only had 2 addresses not
including special characters such as (Ä,Ö,ß,Ü..)

3.)when i started to fill the database with all addresses, i realized,
that the phpsqlsearch_genxml.php dindt work anymore. because it can
not read the "unknown characters" given in my database.

so first of all i though there would be an easy way (for instance just
changing the format of the database, or adding a line in the
phpsqlsearch_genxml.php, saying the php, that the caracters are in
ISO-8889 and not only in UTF8),

thats where i am so far.


--
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: com.google.gwt.junit.client.GWTTestCase can not be found in source packages

Please see this link
http://forums.instantiations.com/viewtopic.php?f=11&t=1381

On Mar 7, 9:22 pm, Sai <dhana....@gmail.com> wrote:
> Hi,
>
> I have down loaded StockWatcher to understand GWT RPC better.
>
> I have imported the project into my eclipse work space and I get the
> following problem:
>
> " com.google.gwt.junit.client.GWTTestCase can not be found in source
> packages. Check the inheritance chain from your module; it may not be
> inheriting a required module or a module may not be adding its source
> path entries properly "
>
> Tried doing:
> 1. Exceptionally added gwt-user.jar and gwt-dev.jar to the classpath
>
> 2. added <inherits name="com.google.gwt.junit.JUnit"/> to .gwt.xml
> file
>
> still the problem persists.
>
> I use GWT2.1.1, I dont think version matters for this problem, shared
> for the information.
>
> Appreciate your reply!
>
> Thanks and Regards,
> -Saida Dhanavath.

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

make_messages verbosity

Just a small thing, I've noticed the default verbosity in the
make_messages function is the string '1'. The function never converts
this to an int, so if the function is called elsewhere without
specifying a verbosity level then when it checks to see if verbosity
is > 1 it always returns true.

Where should I report this?

Cheers,
Tavis

--
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: can't get tabLayout with 100% size

thank you very much,

since hours i try this :-)

On 31 Mrz., 12:44, Jens <jens.nehlme...@gmail.com> wrote:
> Put your TabLayoutPanel in a RootLayoutPanel instead of a RootPanel. Then it
> should work and you do not need to set any width/height.

--
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: can't get tabLayout with 100% size

Put your TabLayoutPanel in a RootLayoutPanel instead of a RootPanel. Then it should work and you do not need to set any width/height.

--
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] Time.class in Android an locales...

Hi,

In one of my activities i am implementing my DatePicker using the
Time.class. Since according to the api
The Time class is a faster replacement for the java.util.Calendar and
java.util.GregorianCalendar classes.

http://developer.android.com/reference/android/text/format/Time.html

I have managed to set my applications locale programatically by
extending Application
and setting Locale.setDefault(locale); The datepicker dialog are in
my activity are now showing up in my preferred locale.

However if a try and format it.....

Time mytime = new Time();
mytime.format(%x);

The formatted text is always my systems locale i.e Greek,Spanish
etc...
I see that upon format() method... it calls

final Locale locale = Locale.getDefault();
final Resources r = Resources.getSystem();


Is there any way to fix this...

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

[Google Maps API v2] Re: UTF 8 encoder Google Maps

> have you tried saving your database as iso-8859-1 or iso-8859-2? from
> what I understand, they can cope with German characters


Yes i tried so , but i cant choose it.
I mean i can decide between:
-armscii8
-ascii
-big5
-binary
-cp1250
-cp1251
-cp1256
-cp1257
-cp850
-cp852
-cp866
-cp932
-dec8
-eucjpms
-euckr
-gb2312
-gbk
-geostd8
-greek
-hebrew
-hp8
-keybcs2
-koi8u
-latin1 (here there are two options german-1 and german-2 but both
dont work)
-latin2
-latin5
-latin7
-macce
-macroman
-sjis
-swe7
-tis620
-ucs2
-ujis
-utf16
-utf-8
-utf32
-utf8mb4

Maybe you know something about it.
Thanks for your help, i am happy that somebody relpies at all :)

Not a mainstream topic probably :)

--
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: UTF 8 encoder Google Maps

No, where exactly?

i can not find this line in my document :)

Should this be in the php to generate the xml
(phpsqlsearch_genxml.php)
or in the map it self (phpsqlsearch_map.html).

But if i understand it correctly the PHP cant create a XML, because it
cant read the charts Ü,Ä,ß or others, so it should be somewhere in the
PHP, but where? i posted the PHP above.

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.

[android-developers] Help on creating a web service for an android application

Hi,
I'm new on this Android developpement thing. I just started 2 weeks
ago.
But i'm stuck on how to creat a WS which will retrive and send Json
object then persest it on an SQLite DB.
I know that using Gson help me parse Json object but i didn't find how
to parse my own created object and then save them on to DB.
Can any one help me creat this WB (client and serveur) or send me a
tutorial ???
Thanks in advance!!!!! :D

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

GWT library to wrap the W3C file API

Hello,
I have developed a new library to address the problem of loading files
which are on the local filesystem of the end-user into GWT
applications. Actually the library is just a simple GWT wrapper for
the W3C file API and some parts of the HTML5 drag and drop API. If you
are developing an application where you want your users to open files
on their local filesystem without having to upload them to a server
first, this might be of interest to you.

The lib is published under LGPLv3.

More details can be obtained here:
http://www.vectomatic.org/google-web-toolkit/a-file-api-for-gwt
The lib itself is available here:
http://code.google.com/p/lib-gwt-file/
A demo is also available here:
http://www.vectomatic.org/gwt/lib-gwt-file-test/lib-gwt-file-test.html

Regards,

Lukas

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

[Lovers India] My New Blog..

Hai friends...

i am started a new blog... (shyjithm.blogspot.com).. please join this blog and share ur opinions and comments...

expecting ur supports..

Shyjith M

jithu.m1984@gmail.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

Wednesday, March 30, 2011

[android-developers] Huawei Ascend

Can someone tell me if the Huawei Ascend works for Android
development?

I got one, and I'm stuck here in Eclipse:

http://i1190.photobucket.com/albums/z449/m75214/ascend-phone.png

Any ideas?

--
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: How to store multiple instances of a single object in the database

The method works perfectly. Thanks once again.

On Mar 30, 5:36 pm, rohan <rohan.juvv...@gmail.com> wrote:
> Hey Ryan,
>
> That seems very helpful. I will try using this argument.
> Thanks a lot.
>
> Rohan
> On Mar 30, 5:10 pm, Ryan Osborn <ryan.osbor...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Have you considered using the 'through' argument for the many to many
> > field?  This lets you specify your own intermediate table to which you can
> > add extra data.  So you could add in a quantity field so you would know how
> > many of each molecule you need.
>
> > Here is the documentation:http://docs.djangoproject.com/en/1.3/topics/db/models/#intermediary-m...
>
> > Hope this helps,
>
> > Ryan

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

multiline TextField

Hi. I write blog application. I want multiline TextField.
Sample : paragraph or tab or return
thanks.

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

[android-developers] References to Fragments and memory footprint

Is keeping a reference to fragment that has been removed an anti-
pattern?

If the Fragment is on the backstack it seems like I have observed that
the system can GC fragments and create them later when needed. So if
the Activity keeps a reference to a removed Fragment does it inhibit
that GC?

Trying to understand what the best practice is, and application
designs to avoid (if any).

--
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: UTF 8 encoder Google Maps

Hi, thanks for the quick reply,

sorry if that is a stupid question, but i am trying my best :)
Do you mean directly in my sql database? so edit one of those lines
and putting the name and the address manually in <![CDATA[ ]]>?

before doing so, will it influence any other function?

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.

How to store multiple instances of a single object in the database

Hi,

I am creating a chemistry database using django's admin interface in
Sqlite3.

The database has a simulations table which has a many to many
relationship with the compounds table.
Each simulation needs to start off with a fixed number of compounds
that it has and each simulation can have 1 or more compounds. suppose
a simulation has water molecule and hcl molecule, it must start off
with 25 water molecules and 10 hcl molecules. Is there anyway in
Django to define this within the database? Please let me know if the
question is not clear and I will post my models here.

Thank you

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

[android-developers] Re: uses-feature glEsVersion

I think your uses-feature element is missing the android:name
attribute.

On Mar 28, 3:54 pm, brian7t7 <br...@7twenty7.com> wrote:
> Hi all--
>
> Sorry if this has been addressed--I couldn't easily find anyone else
> with this issue.
>
> Anyway, I'm about to publish my first app.  In the manifest XML, I've
> declared:
>
> <uses-feature android:glEsVersion="0x00020000" />
>
> (This app requires FBOs which are part of GLES 2.0)
>
> When I upload the signed APK file, that requirement doesn't show up as
> one of the filters.  The app's entry developer portal only notes the
> following:
>
> This apk requests 1 features that will be used for Android Market
> filtering:
>   * android.hardware.touchscreen
>
> I would have expected the glEsVersion to be noted there too.  I just
> want to verify that either I'm doing something wrong or that there is
> a problem with the website.
>
> Thanks,
> Brian

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

redirect after delete not working

My delete method don't redirect after execution.

The record is deleted but the redirect doesn't occur. If I reload the
page, the flash message appears and the record is not there anymore.

It used to work and I can´t find why that stopped working. I tried
setting debug to 0 and 1 without any more success.

I'm using Cake 1.3.7 and testing in Firefox and Chrome.

function delete($id = null) {
if (!$id) {
$this->Session->setFlash(__('invalid.', true), 'flash_message',
array('msgclass'=>'error'));
$this->redirect(array('action'=>'index'));
}
if ($this->MaterialQuantity->delete($id)) {
$this->Session->setFlash(__('deleted', true), 'flash_message',
array('msgclass'=>'confirmation'));
$this->redirect(array('action'=>'index'));
}
$this->Session->setFlash(__('not deleted', true), 'flash_message',
array('msgclass'=>'error'));
$this->redirect(array('action' => 'index'));
}

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

Getting database results from server to client

I am passing 2 Dates from the client to the server via RPC. The server
will then take these 2 dates and query the database for the results
between these dates, something roughly along the lines of "select *
from table where date_attribue between date1 and date2". Now when I
get the result set, what is the best or maybe simplest way to pass
back the results so that I can display the rows in something like a
celltable widget? I'm wondering what options I have. I've read a
little about code sharing but I've never used it before. Any
suggestions and advice is greatly appreciated.

--
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] 2 records getting inserted in two different tables using one database call

how would you execute 2 insert calls in just one database call in
controller...eg Inserting a record in Users and Blogs tables using just
one database/active record call.

--
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: new subpage in django

Le 30 mars 2011 à 21:16, jay K. a écrit :

> Hello,
>
> How do you create a new subpage in django?
>
> thanks

Hi,

What do you mean or I'd rather ask, what are you trying to do ?

Regards,
Xavier.

--
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: check for existence in bulk

On Mar 30, 2011, at 9:47 AM, Calvin Spealman wrote:

> I think your best bet is
>
> MyModel.objects.filter(some_field__in=ok_values).count() == len(ok_values)
>
> On Wed, Mar 30, 2011 at 12:44 PM, dmitry b <dmitry.maven@gmail.com> wrote:
>> Hi,
>>
>> is there a way to check in bulk for record existence and get back a
>> map of results similar to what's returned by in_bulk(). In my case, I
>> need to look up records by a unique field which is not the primary key
>> and I don't want object instances back, just true or false.

You could use values_list and flat as in:

User.objects.filter(username__in =['jason', 'was', 'here']).values_list('username', flat=True)

returns a list:

[u'jason', u'was']

After that you can figure out the best way to perform the lookup.

Jason


>>
>>
>> Thanks
>> Dmitry

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

[android-developers] Re: security of the framework

thank you all for your kind attention on my question. I think it is
better to follow the Hari Edo's advise and split my problem into
smaller parts and solve them. What I really need is to save the
information which will come in xml format in a way that only the
application can read them, (in application specific format) to avoid
any hacking or data misusing by the user himself.
I searched about the encryption in so many sites and blogs, and found
information about symmetric algorithms like DES, AES & Blowfish and
asymmetric encryption algorithms like RSA, DSA & PGP.

I need to know what kind of method I should follow in order to
achieve my necessity.

• Whether I should use asymmetric or symmetric algorithms which are
available?
or
• Do I need to develop an algorithm? If so from where I should start?

As Hari Edo mentioned asking this kind of questions may not good.
Actually I need to do this my own, but I don't know from where to
begin? I REALLY appreciate your helps. 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

model manager and request

Is there a way to use the "request.user" attributes in a custom model
manager? So I could filter by certain attributes the current logged
in user has? This is the preferable way I would like to filter the
objects the user sees, so if there is a way, I would appreciate the
help. If there is no way to do it like this, I would be open to other
suggestions although, the way my project is structured I dont want to
do this in my view functions.
thanks for any help

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

[android-developers] Re: SSL Load

A web browser popping up.

On Mar 30, 9:53 am, Marcin Orlowski <webnet.andr...@gmail.com> wrote:
> On 30 March 2011 16:41, bob <b...@coolgroups.com> wrote:
>
> > Is there an easy way to silently load an SSL page in Android?
>
> And "not silently" means what exactly?
>
> Regards,
> Marcin Orlowski
>
> *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
> WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and
> *Twitter<http://webnetmobile.com/twitter/>
> *

--
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: ListView leaks memory II

onDestory has been called every time, which I've tested with a break
point .

On Mar 30, 11:23 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Wed, Mar 30, 2011 at 1:18 PM, ivan <istas...@gmail.com> wrote:
> > I accidentally posted that last one before I was done.
>
> > I have read copious posts on this, but no solution.  After using MAT
> > extensively on a simple ApiDemo list view sample, I am ABSOLUTELY
> > convinced that the ListView/ListActivity is leaking memory.  I say
> > this because I can see every instance I've created persisting in
> > memory -- regardless of forcing a garbage collection.  To repeat copy
> > the code below into a project, create another simple Activity and go
> > back and forth between the two a few times.  Then in DDMS force a GC
> > and dump the heap hprof file.  Open the OQL tab in MAT and type the
> > following query "select * from com.<package name>.TmpTestActivity" and
> > run... you'll notice multiple instances of TmpTestActivity in memory.
>
> Has onDestroy() been called on the "multiple instances of
> TmpTestActivity in memory"?
>
> If not, they are not leaked. Android just hasn't kicked them out of
> RAM yet. That is perfectly normal behavior.
>
> --
> 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.2 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

Re: [android-developers] Re: Binder Invocation to an Incorrect Interface

Could just be someone with non-standard, buggy firmware. I, too, see
weird ones like that from time to time.

-- Kostya

30.03.2011 20:54, Mark Murphy пишет:
> :: shrug ::
>
> Beats me. I thought I might learn something from the source code, but
> I got nuthin'.


--
Kostya Vasilyev -- http://kmansoft.wordpress.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

[Rails] Dextra oferece curso gratuito de Ruby On Rails em Abril

Evento organizado pela Dextra Sistemas será quinta-feira (14/04/2011)

A Dextra oferecerá um minicurso GRATUITO sobre programação Ruby on
Rails em São Paulo. O curso colocará o participante em contato com os
fundamentos de Ruby on Rails, uma das mais promissoras tecnologias
para projetos web e que, em conjunto com técnicas ágeis, tem gerado
grandes ganhos de produtividade em projetos de desenvolvimento.
http://bit.ly/hXfAQG

--
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: Import/Export data file

This one is perfect:
http://www.roseindia.net/java/beginners/CopyFile.shtml
I just don't know how to specify the location of the import/export
operations, where to copy and where to past :\ !
Thank you for your help.

On 30 mar, 17:26, Marcin Orlowski <webnet.andr...@gmail.com> wrote:
> On 30 March 2011 18:19, Alaeddine Ghribi <alaeddineghr...@gmail.com> wrote:
>
> > Yes, i'm just using a file to store data, but how can i copy the file
> > in data/data/..... to the SDCARD? How doing it in JAVA/Android ?
>
> http://developer.android.com/reference/android/os/Environment.html#ge...http://www.google.pl/search?q=how+to+copy+files+java
>
> Regards,
> Marcin Orlowski
>
> *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
> WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and
> *Twitter<http://webnetmobile.com/twitter/>
> *

--
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: Import/Export data file

I thinked about this function, i just copy the file in a directory in
the SDCARD and then to import just copy the file to /data/data/.......
But how doing it ?
Thanks.

On 30 mar, 17:08, Marcin Orlowski <webnet.andr...@gmail.com> wrote:
> On 30 March 2011 16:57, Alaeddine Ghribi <alaeddineghr...@gmail.com> wrote:
>
> > Hi,
> > I built an app that calculates fuel consumption, my data are well
> > stored in a file, however, i often flash my phone and want to add the
> > import-export feature on it !
> > How can i make this ?
>
> You keep your data set in file not DB? Then just copy it to SD card.
>
> Regards,
> Marcin Orlowski
>
> *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy...
> WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and
> *Twitter<http://webnetmobile.com/twitter/>
> *

--
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: How to properly return persisted ID with RequestFactory+Editor

Thanks and apologies for duplicate post. Did a search but that thread was not present in the results.

--
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: saveAll and validate=>only

thx for the clarification!
makes sense

but since i cannot use transactions (mysql, isam), atomic is set to
false (wouldnt make sense),
therefore the individual results

I now do it this way:
if (CommonComponent::logicalAnd($this->BoardTopic->saveAll($this-
>data['BoardTopic'], array('validate'=>'only')))) {...}


On 29 Mrz., 20:43, 0x20h <k...@informatik.uni-marburg.de> wrote:
> Am 29.03.2011 19:07, schrieb euromark:> i would expect saveAll to return either true or false
> > but instead it returns an array with the individual results
>
> The return value depends on the 'atomic' option. You should get a
> boolean return value when
> 'atomic' is set to true (which is the default) and an array with the
> individual results when set to false.
>
> hth
> Jan

--
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: Amazon Appmarket is now open!

On Mar 29, 7:09 pm, Kevin TeslaCoil Software <ke...@teslacoilsw.com>
wrote:

> Some more details, it was WidgetLocker 1.2.2, which is from July 2010
> and several versions out of date. It was named "WidgetLockr" (Pirate
> spelling?). It was an unmodified APK signed by me, the one I had
> posted to the Android Market (no LVL at that time).

Now this is interesting — I did not know the Pirates are that
unabashed. Of corse that can happen with any shop where you did not
upload the app yourself. So no need to bash Opera for 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

Re: manage.py command not found

Check the permissions on manage.py. I'm guessing it's not executable.

Either use chmod +x on manage.py or execute it with Python: python manage.py.

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

[Google Maps API v2] HELP! - FL Township Range Section (TRS) Gecoder from Lat/Long inputs

Can any one HELP PLEASE ! !

Since the BLM has decided to REMOVE the GeoCommunicator data and web
http://www.geocommunicator.gov/TownshipGeocoder/TownshipGeocoder.asmx
services from the publics access I need to located a REST/SOAP style
interface that can take lat/long and spit out a FL TRS data point ie:

We take and get a lat/long from GMAPS API from the address then submit
the lat/long to the processor and it spits out a FL TRS.

Input:
27.616536 -80.400918

Would result in:
33S39E11

This can be via REST, SOAP type web services in plain text or CSV,
preferred or XML is acceptable.

Any one have a source of a server that can do this now that the BLM
GeoCommuicator is dead?

Alternatively php based scripts which can convert this would work too.

Note, we do not use win based systems nor would a stand alone software
work. We need to be able to do this via LAMP server via php in a real
time batch type process.

Any thing???

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.

Re: [android-developers] Changing ImageView's image

On Wed, Mar 30, 2011 at 9:54 AM, Raghav Sood <raghavsood@gmail.com> wrote:
> Thanks. I have already tried that. The code I used was:
> button.setImageResource(Drawable m1s.png);
>
> That  didn't work. Is there something wrong or am i using the wrong part of
> the api.
>

setImageResource() takes an image resource (e.g., R.drawable.my_image).

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

GWT Maven Build - Repository Info

Dear All,

I'm trying to build GWT using Maven.

Plugin used: gwt-maven-plugin

But it fails to download the jars from http://repo1.maven.org. Is there a repository which hosts the required libs for GWT 2.2.0, if so kindly share it.

Thanks in advance,
-sowdri-

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

I think it's a little off-topic, but if someone has some experience
with it and could give me some help I appreciate.

I need a SIP softphone to run on Android with zRTP protocol.
I found CSipSimple, an open-source, C software.
In my tests works fine, but I need one built on Java.

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: session management

the timeout you can set in core.php file

--
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: SUMIF in Cakephp

yeah i have used the SUM mysql function just like Jeremy said above and it worked great 

--
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: [Lovers India] 9 facts still hidden from us

On 3/30/11, Faizal A <faizaltma@gmail.com> wrote:
> 9 facts still hidden from us-
>
> 1) 90% of people in Australia
> don't drink milk.
>
> 2) Snake's vision
> is up to 5 km....
>
> 3) A man can touch
> sun if his body is completely surrounded by mercury.
>
> 4) No twins have been born up till now
> in Greenland.
>
> 5) Zebra doesn't
> have a liver.
>
> 6) All the above
> details are false.
>
> 7) Thanks for
> believing for a while.
>
> 8) Today is not
> April 1st.
>
> 9)But a fool is a fool on any day. :-)
>
>
>
>
>
>
>
> [image: renjee] *
>
>
>
> "I'm not Miles away, Just a 'mail' away"[image: image001]*
>
> * *
>
> *[image: n i d o k i d o s][image:
> http://rashaelaraby.com/Sharings/11_8_3.gif][image: n i d o k i d o s]*
>
> * **[image: image005] faizaltma@gmail.com *
>
> [image: i love you]
>
> --
> 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

Django Web Application Cost So Many memory

Hello Everybody:
I encounter a problem that my Django project, it has more than 60
app modules, and some models are very large, more than 30 fields . And
when I startup my project, regardless of in development server, fast
cgi(flup),or mod_wsgi. i found it cost at least 60M memory per
instance. I guess this has some relation with that "django will load
all models on startup" . but how can I deal with my problem? Because
if an instance cost 60M memory, when I deploy my project in prefork
web server with 100 instance, i will cost 6GB memory. I don't think
this is a normal state.

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


Real Estate