Wednesday, August 31, 2011

[android-developers] Re: Android installer strange issue

But,
When you install and press "done" instead of "open"
and repeat this testing, the activity will resume form the place you
pressed menu button.
only when you press "open" and repeat it wont resume,it will restart.

So its not as per design I guess.else teh application should have
behaved the same way in both the scenarios.

--
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: Missing required argument 'module[s]' error

Resending. Please help.

On Wed, Aug 31, 2011 at 9:14 AM, Pham Tran Quoc Viet <phamtranquocviet@gmail.com> wrote:
Hi all,

I follow instruction in this page (https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse) to setup my first maven project for ext gwt. I got to the part called "Test So Far" and ran into this error when doing " Run As -> Web Application". I have been searching and trying different posts for couple of hours now without any progress. Attached is my pom.xml. Please help. Thanks.

Missing required argument 'module[s]'
Google Web Toolkit 2.2.0
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] module[s]

where
 -noserver        Prevents the embedded web server from running
 -port            Specifies the TCP port for the embedded web server (defaults to 8888)
...
and
 module[s]        Specifies the name(s) of the module(s) to host

Here is what appears in "Program arguments" text box of "Arguments" tab of "Run Configuration" window:
-war C:\Users\phamtranquocviet\Downloads\iip\target\iip-1.0 -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl Iip.html -logLevel INFO -codeServerPort 9997 -port 8888

--
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] dynamic flush

How to update the google maps markers without having to refresh the
entire page?

--
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] Anyone notice app usage down since early July for High Maturity apps?

Hi Guys,

I have an app that has been in the Market since June 2009. I had been
seeing a steady build of users and pageviews for many months, but in
July the trend reversed and I'm down almost 20% both for visitors and
pageviews since then. Some of my users told me the app seemed the
"disappear" from the market - I think google twiddled with the default
maturity filter for some versions of the market, and users - without
knowing it - all of a sudden were filtering for "Everyone" rather than
'All Apps". This might have been fixed now, but I'm not sure.

Anyway, my app might be just sucking wind right now, but I wonder if
any of you have noticed a similar trend since early July.

Thanks!

pawpaw17

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

A call for resumes

Seasoned, senior level Python / Django users please contact me for a gig opportunity pr forward your resume.

Thanks.

Sent from my iPhone

--
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: Manipulate a <div> section in the html page

Jeff & Thomas,

Thanks to both of you, both of your solutions work great.

Jeff, from what I've played with it so far, I tend to agree with you
that I'll want to use a GWT widget to display to the user the final
output instead of this HTML in my home page.

But I think this is going to allow me to get that HTML in the home
page so the search engine robots will parse it. Everything I've been
reading about SEO is that one of the major keys is to have HTML that
the robots will see. Using GWT, we seem to have very little HTML for
the robots.

Thanks again for your help,

Kevin


On Aug 29, 11:55 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> On Monday, August 29, 2011 8:03:21 PM UTC+2, jchimene wrote:
>
> > HTML.wrap(Document.get().getElementById("theId")).setVisible(false);
>
> I didn't follow the thread, but you should wrap an element in a widget just
> to call a few methods. For setVisible, use the static method in UIObject:
>
> UIObject.setVisible(Document.get().getElementById("theId"), false);

--
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: use listview get web data

public class Tab1Activity<Listview> extends Activity implements
OnClickListener{

private Button get;
private TextView tv;
private DefaultHttpClient client;
private HttpPost request2;
private HttpResponse response;
private ListView listview1;

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.tab1main);

tv = (TextView)findViewById(R.id.tv);
client = new DefaultHttpClient();
request2 = new HttpPost();

try {

List<NameValuePair> nameValuePairs = new
ArrayList<NameValuePair>(2);
request2.setEntity(new UrlEncodedFormEntity(nameValuePairs));
request2.setURI(new URI("http://172.16.152.152:8081/dking/
not_returnt.php
"));

response = client.execute(request2);

HttpEntity entity = response.getEntity();

byte[] buf = new byte[5000];
BufferedInputStream bin = new
BufferedInputStream(entity.getContent());
bin.read(buf);
bin.close();

String result = new String(buf);


tv.append(result);

} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


public void onClick(View v) {
}
}


this is my source code
but I don't know how to put data in listview

--
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: use listview get web data

public class Tab1Activity<Listview> extends Activity implements
OnClickListener{

private Button get;
private TextView tv;
private DefaultHttpClient client;
private HttpPost request2;
private HttpResponse response;
private ListView listview1;

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.tab1main);

tv = (TextView)findViewById(R.id.tv);
client = new DefaultHttpClient();
request2 = new HttpPost();

try {

List<NameValuePair> nameValuePairs = new
ArrayList<NameValuePair>(2);
request2.setEntity(new UrlEncodedFormEntity(nameValuePairs));
request2.setURI(new URI("http://172.16.152.152:8081/dking/
not_returnt.php
"));

response = client.execute(request2);

HttpEntity entity = response.getEntity();

byte[] buf = new byte[5000];
BufferedInputStream bin = new
BufferedInputStream(entity.getContent());
bin.read(buf);
bin.close();

String result = new String(buf);

tv.append(result);

} catch (URISyntaxException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}


this is my source code
data don't put in listview......

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

Titanium Java Desktop Development with GWT4TiDesktop is almost HERE!

Titanium Java Desktop Development with GWT4TiDesktop is almost HERE!

http://www.emitrom.com/comment/4#comment-4

Stay tuned for more updates.

Regards,

Alfredo

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

fireOnResponseReceivedAndCatch on invoking setElement of Label in gwt v1.5.3

When I upgrade my GWT applicaiton from version 1.4.60 to 1.5.3, I
encount a exception when invoking setElement method for Label, please
see my Label class:

public class CLabel extends Label implements CWidget {
public CLabel() {
super();
}

public CLabel(ContentPanel p, String id) {
p.addInline(this, id);
}

public void onAddInline(Element elem) {
Element parent = DOM.getParent(elem);
int index = -1;
if (parent != null) {
index = DOM.getChildIndex(parent, elem);
}
if (index != -1 && DOM.getParent(elem) != parent) {
DOM.insertChild(parent, elem, index);
}
setElement(elem);
sinkEvents(Event.ONCLICK | Event.MOUSEEVENTS | Event.ONLOAD |
Event.ONERROR);
}

public void setHTML(String html) {
DOM.setInnerHTML(getElement(), html);
}
}

When I create Label at a HMTLPanel like below:
loginLabel = new CLabel();
addInline(loginLabel, "header_loginName");
if (loginName != null) {
loginLabel.setText(loginName);
}

when executing
addInline(loginLabel, "header_loginName")
an exepction as below will throw on executing setElementof in the
method of onAddInline:
fireOnResponseReceivedAndCatch():227, Request
{com.google.gwt.http.client}

please note this excepton throws only in hosted mode in gwt version
1.5.3, and it worked fine in old version 1.4.60 hosted mode and web
mode as well.

Thanks,
David

--
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 - للبيع

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

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

[android-developers] Re: onLocationChange never get called

Hi,

If the gps is blinking it is waiting for a first fix, go outside in
clear sky and wait for a few minutes for a fix. It also helps if the
device has a working internet connection to reduce time to first fix.

Regards

On Aug 31, 5:32 pm, Bipin Sutariya <bipin.sutar...@gmail.com> wrote:
> Has any one have any solution for this? Its bit urgent.
>
> On Aug 28, 5:09 pm, Sumedh <sumedhjos...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
> > I m also trying to do the same application.
> > And managed to get lat-lon,date ,time. But this code works on
> > emulator(eclipse)
> > when i install the same apk on android phone it doesn,t work
>
> > my code is:
> > public class TestBroadcastActivity extends Activity implements
> > LocationListener
> > {
> >         private LocationManager myManager;
> >         private LocationListener loc;
> >     private TextView tv;
> >     @Override
> >     public void onCreate(Bundle savedInstanceState)
> >     {
> >         super.onCreate(savedInstanceState);
> >         setContentView(R.layout.main);
>
> >         tv = (TextView) findViewById(R.id.TextView01);
>
> >        myManager =
> > (LocationManager)this.getSystemService(Context.LOCATION_SERVICE);
>
> >         myManager.requestLocationUpdates(myManager.GPS_PROVIDER, 3000,
> > 0, locationListener);
> >     }
> >      LocationListener locationListener = new LocationListener()
> >     {
> >     public void onLocationChanged(Location location)
> >     {
> >                 try
> >                 {
> >                 String s = "";
> >                 s += "\tTime: "+location.getTime() + "\n";
> >                 s += "\tLatitude:  " + location.getLatitude()  + "\n";
> >                 s += "\tLongitude: " + location.getLongitude() + "\n";
> >                 s += "\tAccuracy:  " + location.getAccuracy()  + "\n";
> >                 tv.setText(s);
> >                 }
> >                 catch (Exception e)
> >                 {
> >                         System.out.println("Exception------>"+e);
> >                 }
> >     }
>
> >     public void onStatusChanged(String provider, int status, Bundle
> > extras) {}
> >     public void onProviderEnabled(String provider) {}
> >     public void onProviderDisabled(String provider) {}
>
> >     };
>
> >         public void onLocationChanged(Location location) {}
> >         public void onProviderDisabled(String provider) {}
> >         public void onProviderEnabled(String provider) {}
> >         public void onStatusChanged(String provider, int status, Bundle
> > extras) {}
>
> > }
>
> > On Aug 28, 1:38 pm,BipinSutariya<bipin.sutar...@gmail.com> wrote:
>
> > > OK one change Toast.makeText requires show() method to show toast. I
> > > added it and still onLocationChange not called.
>
> > > On Aug 28, 1:32 pm,BipinSutariya<bipin.sutar...@gmail.com> wrote:
>
> > > > Hi,
>
> > > > I am trying to develop application in which i need current lat/lang.
> > > > However onLocationChange method never get called.
>
> > > > Following is my code, and note that i have given all required
> > > > permission like android.permission.ACCESS_COARSE_LOCATION,
> > > > android.permission.ACCESS_FINE_LOCATION, android.permission.INTERNET
> > > > in manifest file. I can see gps icon on status bar that keep blinking
> > > > to find location, but never get success.
>
> > > > Can any one please help me on this.
>
> > > > public class LocationServiceActivity extends Activity implements
> > > > LocationListener{
> > > >     /** Called when the activity is first created. */
> > > >     @Override
> > > >     public void onCreate(Bundle savedInstanceState) {
> > > >         super.onCreate(savedInstanceState);
> > > >         setContentView(R.layout.main);
>
> > > >         LocationManager lm =
> > > > (LocationManager)this.getSystemService(Context.LOCATION_SERVICE);
>
> > > >         Boolean isGPSEnabled =
> > > > lm.isProviderEnabled(LocationManager.GPS_PROVIDER);
> > > >         Boolean isNetworkEnabled =
> > > > lm.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
>
> > > >         if(isGPSEnabled)
> > > >         {
> > > >                 lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
> > > > this);
> > > >         }
> > > >         else if(isNetworkEnabled)
> > > >         {
> > > >                 lm.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
> > > > 0, 0, this);
> > > >         }
> > > >         else
> > > >         {
> > > >                 Toast.makeText(this, "NO SERVICE ENABLED", 5000);
> > > >         }
>
> > > >     }
>
> > > >     public void onLocationChanged(Location location) {
> > > >         Toast.makeText(this, location.getLatitude()+"---
>
> > > > >"+location.getLongitude(), 5000);
>
> > > >     }
> > > >     public void onProviderDisabled(String provider) {
> > > >         // TODO Auto-generated method stub
>
> > > >     }
> > > >     public void onProviderEnabled(String provider) {
> > > >         // TODO Auto-generated method stub
>
> > > >     }
> > > >     public void onStatusChanged(String provider, int status, Bundle
> > > > extras) {
> > > >         // TODO Auto-generated method stub
>
> > > >     }
>
> > > > }

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

http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/FileUpload.html

On Aug 31, 4:17 pm, IHateSoda <mguillaum...@gmail.com> wrote:
> Hello,
>
> I need to browse folder in my GWT application, I tried to implement an
> applet (Gwt-AI, HTML applet = new HTML()applet.setHTML("<applet bla
> bla bla">") but not success. Neither Gwt-AI (it seems that doesn't
> work with gwt 2.3, I got a deferred binding error) nor the other
> solution (no errors but no results).
>
> Someone has a solution for browse a folder with any methods.
>
> Any help would be 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.

Re: RequestFactory don't play nice with guice?

Wow, that works fine for me. Thanks a lot!


--
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: How to P2P between with the phone and reader?

See http://groups.google.com/group/android-developers/browse_frm/thread/8afb4b3dff5461f7

On 31 Aug, 03:43, xiaodai <zsbitxiao...@163.com> wrote:
> Can you tell me how to enter NFC state for the Reader??
> On 8月29日, 下午11时14分, rich friedel <rich.frie...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Check out the NFCDemo sample code to get started...http://developer.android.com/resources/samples/NFCDemo/index.html

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

Once you publish the app on the Android Market you will get complaints
from people who have devices with other screen resolutions. Then you
can go back to Eclipse and see exactly where the problems are since
those classes are crossed out.

To prevent these complaints read http://developer.android.com/guide/practices/screens_support.html

On 31 Aug, 03:49, bob <b...@coolgroups.com> wrote:
> Am I a naughty boy for wanting to use AbsoluteLayout?
>
> I have an iPhone app that needs conversion to Android ASAP.
>
> Also, is there a way to make Eclipse stop crossing out my layout code?
>
> Here's what Eclipse did:
>
> https://sites.google.com/site/coolfonne/_/rsrc/1314755045012/abs/abs.png

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

JFileChooser

Hello,

I need to browse folder in my GWT application, I tried to implement an
applet (Gwt-AI, HTML applet = new HTML()applet.setHTML("<applet bla
bla bla">") but not success. Neither Gwt-AI (it seems that doesn't
work with gwt 2.3, I got a deferred binding error) nor the other
solution (no errors but no results).

Someone has a solution for browse a folder with any methods.

Any help would be 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.

Extra Outer ScrollPanel in Firefox

Mac OS X 10.5
Java 6
GWT 2.3.0

I'm having difficulty with my application rendering in Firefox. I've
created a ListBox that will contain names and I've placed it in a
ScrollPanel.

ListBox list = new ListBox();
ScrollPanel scrollpanel = new ScrollPanel( list );
VerticalPanel main = new VerticalPanel();
main.add( scrollpanel );

When the component appears in the Firefox browser, horizontal and the
vertical scrollbars appear on some sort of "outer" component, as an
extra ScrollPanel even before the list is populated with names.
Moreover, when the listbox becomes populated, I see the proper
Vertical scrollbar for the list box but the outer scrollbar remains.
That is, I can see a properly configured ListBox within a ScrollPanel,
within some form of unknown ScrollPanel.

By contrast, In Safari I observe the desired behavior. That is, the
scroll bars do not appear until the list is populated with names. At
that time, the vertical bar appears and it functions in the desired
way, scrolling the list so that the names become visible. There are
no other scroll bars other than what are expected.

I've come across a thread somewhere that suggested I must resize the
ListBox because it is too wide. But too wide for what? What is
causing the extra ScrollPanel to appear in Firefox and how can I
remove it? Many 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.

[Google Maps API v2] License - my data behind a password.

Its quite feasible to create a map where the map page itself and all
googles content and so on are all exposed to the world.. you think
click a button to add private data and you get a password prompt and
only get the data if you have permission... I had in the past accually
assumed this was fine and dandy

but based on the following well no its not I cannot restrict my
content

9.1 Free, Public Accessibility to Your Maps API Implementation.

9.1.1 General Rules.

(a) Free Access (No Fees). Your Maps API Implementation must be
generally accessible to users without charge and must not require a
fee-based subscription or other fee-based restricted access. This rule
applies to Your Content and any other content in your Maps API
Implementation, whether Your Content or the other content is in
existence now or is added later.

--
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] two icons for the same app

I have an application that I "install" via the Eclipse IDE toolbar
icon "run package.name.app". My phone shows two icons for this app.
(only one icon until recently) The icons look identical but the name
is long and I cannot see the end of either icon labels. Even if I
uninstall the app via Settings > Applications > Manage Applications,
the next time I run it from Eclipse, the two icons are both there
again. The app is only listed one time under Manage Applications. The
first time I noticed the second icon was after I included a second
activity that displays a WebView. Everything seems to work OK. I can
launch the second activity and close it just fine.

Why do I have two icons? (I did not include code because I do not know
which code might be relevant.)

Thanks, John Brown

--
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: with_options and Rails 3

I havent tested it yet but thanks for response

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

Bing Maps in a GWT project

Hi all, I just want to know if someone is currently using Bing API in
a GWT project. I'm on the path of doing It but I haven't found any
clue of working implementations.
Thanks,
Jésica.

--
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: Unable to have a template NOT show up

On 31-08-11 22:39, Yves S. Garret wrote:
> When I said you're right, I meant your insight into my spelling
> error.

That is the one thing that's hard in every web framework: find the spots
where something can be wrong when everything *seems* right.

Four common spots in django:

- Typo in urls.py (like you had).

- A circular import. Your models.py imports from views.py and views.py
imports from models.py. You get an error like "cannot import
yourproject.views", even though ``yourproject/views.py`` is right there
before your eyes :-)

- A url higher up in the urlpatterns that matches *before* the url you
*think* is matching. The url should match perfectly, but you get a
strange error because the wrong view is being called.

- You're depending on some application in your setup.py's
"install_requires" list. The application is installed. Why doesn't it
show up? You probably forgot to add it to your INSTALLED_APPS list in
your settings.py. At least, that happened to me a few times. "I can
import it, why doesn't it work?!?"


Reinout

--
Reinout van Rees http://reinout.vanrees.org/
reinout@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

--
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: django setup.py access denies

So far today I've gotten two useless messages from you, and no spams.

On Wed, Aug 31, 2011 at 4:24 PM, Elie Obeid <elieobeid7@gmail.com> wrote:
> I know how to unsubscribe i don't need your link, I don't trust any of you,
> i don't know why this is the official group, this is the official spammers
> group
>
> --
> 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.

[Rails] Re: Rails 2 to 3 routes question

Tim Shaffer wrote in post #1019291:
> Give this a whirl:
>
> resources :oker_training, :path => '/oker-training'

wow... that worked, and I have no clue why I didn't try using path....

Thanks! Time to go clean up all of my routes files (yes, I have more
than 1 >_< )


~Jeremy

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

django setup.py access denies

I am having this issue with django

http://bit.ly/pTSSyY

you could answer it here or there, if you are actually stackoverflow
users then answer it there because I opened a 50pts for this question.

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

Re: Custom Validation on Inline Generic Foreign Key

I went ahead and hardcoded checks for fields that as of today I know
will only be in one of the models. I would still love to hear any
cleaner solutions if anyone has them.

On Aug 26, 10:12 am, John <johnschra...@gmail.com> wrote:
> Any ideas?
>
> In the inline model's validation I could hardcode checks for data that
> I expect will only be in one of the models, but that does not seem
> like the best option. I am still hoping for a simpler alternative to
> this.
>
> 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.

Mystery... Faked Referrer Generates 500 Instead of 404 Error

Hello. I hope someone can provide some clues.I have begun receiving
regular 500 errors from a page that does not exist. Without providing
the entire error page, here are the essentials:

[Django] ERROR (EXTERNAL IP): Internal Server Error: /sample/
path/calendar.pl

IOError: request data read error

'HTTP_REFERER': 'http://mydomain.org/calendar.pl',
'PATH_INFO': u'/sample/path/calendar.pl',

If I visit the page http://mydomain.org/calendar.pl, I get a 404
error, but the error message referencing the same page generates an
internal server (500) error.

QUESTIONS:
Should I be concerned?
Why do I get a 500 error instead of 404 error?
Any suggestions for troubleshooting?

This has been driving me nuts for a few days. Any help is very
appreciated.

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] Re: HTTP - Check whether server is up & running?

Maybe you could try a "HEAD" request for a well known page?


-blake
Programming Android, FTW!
http://oreilly.com/catalog/0636920010364


On Aug 31, 11:00 am, TreKing <treking...@gmail.com> wrote:
> On Wed, Aug 31, 2011 at 12:59 PM, TreKing <treking...@gmail.com> wrote:
> > If it doesn't, it's probably not.
>
> Also, there are error codes servers respond with you can check.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

How to exclude JUnit test files to be converted to javascript inside /src/test/java/ folder when the Project is using Maven.

/src/test/java/ and /src/main/java/ folders are created by maven when
you mavenised the GWT project. I also have <source path="client"/>
statement in my gwt module XML file.

I have package name as com.mycompany.project.client.activity inside /
src/test/java/ folder which has files to test my activity classes.

I get source code not found error when the module is loaded in running
an app Development mode.

I am thinking since I have "client" name as a package in my test
folder GWT is shouting.

Why would GWT should even try to convert my JUnit test files into
javascript? And what is the solution to fix this?


--
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: 3.1 development and the asset pipeline

I understand the difference between dev and prod.

The issue here is that in 3.0, a dev page load took half a second or
less. It now takes upwards of 5 seconds.

On Aug 31, 2:15 pm, Dieter Lunn <coder2...@gmail.com> wrote:
> In development it recompiles with every reload. In production it only
> compiles when the files change and serves up the cached version
> otherwise.
>
> Dieter Lunnhttp://ubiety.ca
>
>
>
>
>
>
>
> On Wed, Aug 31, 2011 at 1:12 PM, Josh <josh.m.sha...@gmail.com> wrote:
> > With the release of 3.1, it seems that things have drastically changed
> > in the development workflow.
>
> > With the asset pipeline enabled, and the likes of this in my layouts:
>
> > = stylesheet_link_tag 'application', :debug => Rails.env.development?
> > = javascript_include_tag 'application', :debug =>
> > Rails.env.development?
>
> > ...every single css, js and image gets re-compiled on every single
> > request.  This takes forever.
>
> > My dev log is mostly comprised of this:
>
> > Started GET "/assets/jquery-ui-1.8.16.custom.css?body=1" for 127.0.0.1
> > at 2011-08-31 14:04:04 -0400
> > Served asset /jquery-ui-1.8.16.custom.css - 304 Not Modified (0ms)
>
> > It seems to me that the dev rails server (both webrick, and
> > passenger), is handling the request of every asset.  It didn't work
> > this way in 3.0.x. While it clearly says 304 (0ms) I can attest that
> > the overall time to process a page (and all its assets) is
> > *significantly* longer.
>
> > Here's my application.rb and development.rb - they're basically the
> > 3.1 defaults.
>
> >http://stackoverflow.com/questions/7248911/rails-3-1-force-developmen...
>
> > So is there a solution here?  Even if I didn't have :debug => true in
> > my javascript/stylesheet tag, the JS and CSS files would still have to
> > be complied/generated as well as every image - which is still a
> > significant regression.
>
> > --
> > 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 athttp://groups.google.com/group/rubyonrails-talk?hl=en.

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

[android-developers] HTTP - Check whether server is up & running?

Hello,
My app makes frequent HTTP request to a server. How do I check
whether server is up and running or available?


Thanks in advance..

-DK

--
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: Census Data 2010: Getting it and Using it

This might interest you: http://maps.webfoot.com/demos/demographics/
I know these are generated tiles, although I'm not sure how, I assume
it is dynamic since she lets you change the colors.
It's one of the coolest Google API maps I've seen.

On Aug 30, 6:46 pm, Aaron Kreider <aa...@campusactivism.org> wrote:
> I want to start a thread for people who are interested in mapping the
> US 2010 Census Data - for sharing ideas and free data sources.
>
> My goal is to make a map of the US that shows Race at the block
> level.  So I'd like to color code areas for the major race groups:
> black, white, hispanic, asian, and native american.  I'm also
> interested in income data - which is available down to the census
> tract level.
>
> There are several problems trying to do this with Google Maps. These
> problems include
>
> -Census Data set is very large - 200 GB for the entire summary file
> 1.  It'll be smaller if I filter out all the variables I don't need,
> but it still is going to be huge.
>
> -Google Maps has trouble displaying large KML files. I'd like to
> convert the Tiger Shapefiles (which define the boundaries of census
> tracts, block groups, etc) into KML.  This is probably feasible if I
> do it for a single state and only down to the census tract level. But
> if I try to do it for block groups or blocks - it will be harder.
>
> -I could generate tiles.  But if I want to show blocks on tiles I need
> to go to zoom level 14 or more.  I either need to statically generate
> a huge number of tiles (to cover the entire US at zoom level 14) or do
> it dynamically.  For generating static tiles I think GMapCreator looks
> like the best solution:http://www.casa.ucl.ac.uk/software/gmapcreator.asp
> Does around 1000 tiles/minute on my computer.
>
> -Census Data is in a hard to use format.   The Census Bureau
> recommends using a Microsoft Access tool to access it.  If you do not
> need the block groups and block level data, an *excellent* resource
> is:http://census.ire.org/
>
> How can I display block level data?
>
> For Census Geographical Areas my guess is there are around
> -3000 counties
> -40,000 zip codes
> -75,000 census tracts (1 per 4000 people)
> -210,000 block groups
> -8 million blocks
>
> If I were to use KML I think I could display counties for the entire
> US map, zip codes when zoomed in to the state, census tracts when
> zoomed into the state (might be slow for big states), block groups
> when zoomed into a county, and blocks for medium and small counties.
> To do this I'd need to generate 3000+ KML files (one for each
> county).  Is there a better way?
>
> Note: I'm using this county KML file (which you are free to use):http://www.energyjustice.net/map/kml/county_boundaries.kml
>
> Also: Are there any good Census 2010 data APIs?

--
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: WindowBuilder/GWT Designer error

Thank you, your example was helpful.
I've fixed problem in WindowBuilder trunk.

Problem is that you use old style Java project, when *.java and *.class files are directly in project folder, instead of separate "src" and "bin" folders.
So, as work around until you will have new version of WindowBuilder and GWT Designer, create these folders, move Java files and tweak .classpath file.

--
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/-/hfrr4bjBLSkJ.
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: [Rails] Re: skinning the app


@Curtis Schofield: The customer is asking for more than just changes to
the CSS -- he wants different content and some additional views.  And I
agree that this could become a nightmare -- I plan to maintain a bill of
materials, SKUs and ECOs for each variant of the app.  That should help
some.


that will help you recoup costs - it will not help you maintain and scale your codebase - you are going to create yourself a nightmare the direction you are heading. 

I know it seems like Git can do this - but this is not what Git is for this is what software is for - skip to making new and
original mistakes - don't make the obviously avoidable ones.

 - see the following.

As far as running a biz around this :


As far as software patterns:

Check out the work on 'feature flags' 


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

Re: GWT 1.52 Compile error

You can try regenerating the jar index by running this command:

jar i some-jar-file.jar

--
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/-/TkdaLOGtQDAJ.
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] godaddy

Hi:

I've been trying to get a very simple app running on godaddy
Do you think using godaddy for rails hosting is a good idea?

Thanks

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

[android-developers] How to read data from external device using android USB Host Api ?

Hello ,

I've written an app to connect an USB Device and read data from
external usb device to my android USB Host 3.1 root tab device.
i used http://developer.android.com/guide/topics/usb/host.html android
USB Host Api. But every time read data value got
zero value in every byte from external device.

can anyone send me demo or proper documentation how to read data from
external device ?
any encoding require for reading data ?

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: Gwt Editor Framework and value change notification

No.

The Editor framework follows a "flow synchronization" pattern; see http://tbroyer.posterous.com/gwt-21-editors for more details.

--
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/-/iQo18I7FltoJ.
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] http://www.electronicswebworld.com/

http://www.electronicswebworld.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

3akarat.com - ارض مميزة 210 متر2 للبيع- بميت غمر- فرصة ممتازة للاستثمار السكني و التجاريارض مميزة 210 متر2 للبيع- بميت غمر- فرصة ممتازة للاستثمار السكني و التجاريارض مميزة 210 متر2 للبيع- بميت غمر- فرصة ممتازة للاستثمار السكني و التجاري

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

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

[Rails] Routing Question

I have the following problem:
- I have a controller called UsersController and I need to restrict
the show URL to use only numbers, How can I do that?
my routes.rb has this line:
resources :users, :except=>[:destroy]
How I add this constraint in this line?
I know that there is a command :constraints, but I dont know how to
use in resources ;/
Thanks :D

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

Re: how to render context like this :

thansk Evans , it worked . =)

On Aug 31, 6:48 pm, Tom Evans <tevans...@googlemail.com> wrote:
> On Wed, Aug 31, 2011 at 11:40 AM, kele <gisx...@gmail.com> wrote:
>
> > c = Context( {'teams':
> >                 {1: ['a', 'b'] , 2:['c', 'd']}
> >       } )
>
> > i have try like this :
>
> >        {% for k in teams %}
> >        <li> {{k}} {{k.0}}    # also try teams[k]  ... etc.  but also
> > dosent work
> >        {% endfor %}
>
> > sorry for my noob question , but pls show me how to to this .
>
> {% for k,v in teams.items %}
> {{ k }}: {{ v.0 }} , {{ v.1 }}
> {% endfor %}
>
> Cheers
>
> Tom

--
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] Fragment Pager Support sample

I am trying to run the sample "Fragment Pager Support" but I get the
error:
"The import com.example.android.supportv4.R cannot be resolved"
at this line:
import com.example.android.supportv4.R;

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

[Rails] Problem deserialising attribute between 1.9.2-p290 and p180

Hello,
In the process of updating from 1.9.2-p180 to 1.9.2-p290 I found
that deserialising a serialised attribute as a Hash, which contains
other models, stopped working. If I reference the models which are
included in the hash prior to deseralising everything works fine.

Instantiating the model in p290 without referencing the models
raises:
ActiveRecord::SerializationTypeMismatch: combination was supposed to
be a Hash, but was a String

This is on Rails 3.0.10, the database field holding the attribute
is large enough to hold the serialised attribute. The models in the
hash are Price and a bunch of Shop models.
RVM is used to switch between p180 and p290. The gem versions are
identical (gemset was copied from p180 to p290).


class ListPrice < ActiveRecord::Base
## Referencing the models before deserialising the attribute makes
deserialising work in 1.9.2-p290, but is not needed in 1.9.2-p180
Price
Shop.all.each {|shop| shop}
serialize :combination, Hash

...
end


Any thoughts on what's happening here?

Cheers,
Dan

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

Requestfactory : best practice for persisting updates with Locator

Hi,

I finally did a first try at RF and am wondering what is the best way
to implement the persist method on a Locator class in order to deal
with only the deltas send from the client?

As right now my persist(T objectToPersist) method on the Locator is
doing a create if the object has no id associated to it. This use case
is pretty similar to what i would have done with RPC as the whole
object is being sent evidently. But when i then reload the object from
the server, change some properties on it and call persist again a
pretty 'light' objectToPersist appears in that method which seems to
even have lost the PK on the associations in that object.

So am i missing something or is there a good way to implement those
updates especially when dealing with associations in that object?

Thanks

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

[Rails] Rails 3 - Require - Path Not Found

I have:

Windows XP Professional SP3
Ruby 1.8.7
Rails 3.0.10
Bundler 1.0.15
ImageMagick 6.5.6 Q8
Rmagick 2.12.9

My gemfile:

gem 'rmagick-2.12.0-x86-mswin32', '2.12.0', :path => 'c:/sites/
uplodify/vendor'

My controller:

require 'RMagick'

Here I have installed my rmagick gem:

c:/ruby/ruby187/lib/ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/

But when I launch the controller, there is a message:

no such file to load -- RMagick

Then, I change require 'RMagick' to require 'c:/ruby/ruby187/lib/ruby/
gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb', and it's
working!!!

Question:

why require 'RMagick' is not working, but require 'c:/ruby/ruby187/lib/
ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib/RMagick.rb' is
working????

Thanks a lot!

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

Re: [android-developers] Re: Can't get same log as other testers.

On Wed, Aug 31, 2011 at 8:24 AM, cellurl <gpscruise@gmail.com> wrote:
> I mean, is there any more logging info available other than Eclipse/
> Logcat?

They gave you LogCat output.

> Is there a way to get more verbose logging?

They appear to have only given you warnings and errors. There are
other logging levels that they did not supply you.

> Perhaps Amazon has
> their own test/plugin/whoknows??

They appear to have broken firmware, considering that
com.android.internal.app.ResolverActivity is part of the operating
system and therefore should not need to be registered in the manifest:

http://www.google.com/codesearch#cZwlSNS7aEw/frameworks/base/core/java/com/android/internal/app/ResolverActivity.java

If they are going to hand you crash logs with no means of reproducing
whatever they created, that's not going to be especially useful.

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

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

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

[android-developers] Re: Can't get same log as other testers.

I mean, is there any more logging info available other than Eclipse/
Logcat? Is there a way to get more verbose logging? Perhaps Amazon has
their own test/plugin/whoknows??

Any guidance appreciated.
-cellurl


--
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: 3.1rc8 - posting files in a test no longer works

> Rails 3.1 enforces that parameters should look like what you'll
> actually get in a test - you used to be able to stick arbitrary
> objects in there which of course doesn't reflect what happens in the
> real world.
> fixture_file_upload should still work


I have a similar problem. Until now I used to assign a
ActionDispatch::Http::UploadedFile to my parameter, which now doesn't
work anymore in rails 3.1.

Unfortunately I cannot use fixture_file_upload because it creates a
Rack::Test::UploadedFile, which doesn't provide #tempfile:

irb> params[:file].class
=> Rack::Test::UploadedFile
irb> params[:file].tempfile
NoMethodError: undefined method `tempfile' for #<Tempfile:0xb6591b70>

There already is a bug report about this problem with
fixture_file_upload: https://github.com/rails/rails/issues/799

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

remove cache from requestfactory. it is possible?

at the dev guide
"Note: RequestFactory caches ServiceLocator and service instances, so
make sure both are thread-safe. "

it is possible eliminate this?
I would like use ejb

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.

Tuesday, August 30, 2011

3akarat.com - فيلا بالشيخ زايد

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

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

Re: [Rails] Polymorphic Associations

Image class belongs_to :image_interface, polymorphic => true

Other classes has_many :images, :as => :image_interface

Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/
real fastcgi rails deploy process! Check it out now!


On 31/08/2011, at 1:16 PM, Walter Lee Davis <waltd@wdstudio.com> wrote:

> I have Titles and People, and I want a single Image class that can apply to either. I'm reading the Rails API on Polymorphic Associations, and I'm getting confused by the example. Can anyone explain how to do this:
>
> Title
> has_many :images
>
> Person
> has_many :images
>
> Image
> belongs_to [either :image or :title]
>
> Thanks very much 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.
>

--
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: WindowBuilder/GWT Designer error

Can you send your project "projdata" directly to me, or open GWT issue and attach it?
I don't need any Java files, or database configs, etc.
Only structure on project with .project and .classpath files.

--
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/-/drFQ4hd56_4J.
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: Re: redirect_to with params for a nested resource?

Jim ruther Nill wrote in post #1019226:
> On Tue, Aug 30, 2011 at 10:29 PM, 7stud -- <lists@ruby-forum.com> wrote:
>
>> > Post model, controller, etc., and I want this controller to redirect
>> >
>>
> As 7stud pointed out, you might want to resort to using named_routes.
> But I
> think 7stud's syntax
> is a bit wrong.
>

Whoops. You're right.

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

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

Re: [android-developers] AbsoluteLayout

On Tue, Aug 30, 2011 at 6:49 PM, bob <bob@coolgroups.com> wrote:
> Am I a naughty boy for wanting to use AbsoluteLayout?

Yes...

> I have an iPhone app that needs conversion to Android ASAP.
>
> Also, is there a way to make Eclipse stop crossing out my layout code?
>
> Here's what Eclipse did:
>
> https://sites.google.com/site/coolfonne/_/rsrc/1314755045012/abs/abs.png

Open the Preferences panel and search for Syntax Coloring; there's a
Deprecated members style you can choose in the Java category.

But of course that will hide ALL deprecation warnings, and they're
usually giving you advice that it's best not to ignore.

-- Tor

--
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: "Unable to open log device '/dev/log/main': No such file or directory"

run the command "logcat" in the shell,

On Aug 4, 8:35 pm, devgeeks <to...@devgeeks.org> wrote:
> Hi,
>
> I am fairly new to Android development.
>
> I was working on a simple app and it was working great in the emulator, so I
> decided it was time to get a device to test it on.
>
> I am just a hobbiest and didn't want to spend a lot of money so I bought an
> incredibly cheap Huawei Sonic (U8650 apparently?) running Gingerbread.
>
> This is where my trouble began. I enabled Settings -> Development -> USB
> debugging, but whenever I try to use logcat on the device it just spits
> back:
>
> "Unable to open log device '/dev/log/main': No such file or directory"
>
> Searching Stackoverflow, etc most of the answers turns out they were using
> some custom kernel or something that had logging disabled. This is a stock
> phone right outta the box, however.
>
> Is there any way for me to get logging working so I can debug my
> applications on this device or did I waste an admittedly small amount of
> money on this phone?
>
> Any help at all would be GREATLY Appreciated :(

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

Using Auth WIth Another Table instead of Users

I am not using the User table for authentication instead I am using an
artiste table but the problem is that I havent been able to lgoin
using the username and password I registered with. I have already
hashed the password using Security::hash($this->data['Artiste']
['password'], null, true). Would like to know how to hash the password
a user is using to login before checking if his details is right.

Would also like ot know how to use auth with another table.
I have already added this to the beforeFilter but I still cant login,

$this->Auth->authorize = 'controller';
$this->Auth->userModel = 'Artiste';
$this->Auth->fields = array('username' => 'email','password'
=> 'password');
$this->Auth->loginAction = array('admin' => false,
'controller' => 'artistes', 'action' => 'login');
$this->Auth->allow('login','add','view');
$this->Auth->loginRedirect = array('controller' => 'artistes',
'action' => 'home');

--
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 - للبيع صيدلية الزيتون شارع رئيسي علي 3 سنين فرصة

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

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

3akarat.com - بمقدم 35 % شقق بالزيتون شارع رئيسي قسط 30 شهر

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

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

manage.py test app can't find tests

Using Python 2.7 and Django trunk I can run

python tests.py

successfully in the app directory or in /app/tests subdirectory where it
says (no setup or teardown required yet)

.........................
----------------------------------------------------------------------
Ran 25 tests in 0.141s

OK


but in the project directory can someone tell me why this runs zero tests?

python manage.py test app

says


Creating test database for alias 'default'...

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
Destroying test database for alias 'default'...


Maybe there are no database related tests just yet????

On the other hand broadening the scope seems to run a whole mess of
contrib app tests.

python manage.py test

says

Creating test database for alias 'default'...
.............................................................................s............
..........................................................................................
..........................................................................................
........................................................
----------------------------------------------------------------------
Ran 326 tests in 33.157s

OK (skipped=1)
Destroying test database for alias 'default'...


My settings.py says in part ...

INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes', # keeps track of labels and tables
'django.contrib.sessions', # keys, values, expiry
'django.contrib.sites', # for connecting content to 'a' site
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.staticfiles',
'django.contrib.comments',
'commoninfo',
'ldap_groups', # Novell login for auth
'app',
)


Thanks for any hints

Mike


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

Eclipse, CVS, and GWT

Hi,

This is one of those annoying things that I hope someone knows how to
fix. I'm using the Eclipse plugin with GWT 2.3 and Eclipse Indigo. I
don't get errors committing source code but with the various manifests
and maps that create created I get lots of errors like the examples
below:

The server reported an error while performing the "cvs add" command.
AccountRequest: cvs add: war/WEB-INF/deploy/accountrequest/
rpcPolicyManifest/manifests/124EDCC6DEDA3D912D5F5A44C8EDB709.txt added
independently by second party
AccountRequest: cvs add: war/WEB-INF/deploy/accountrequest/
rpcPolicyManifest/manifests/0E3F046170EA92BE0D5EA6E9B1893FF7.txt added
independently by second party
AccountRequest: cvs add: war/WEB-INF/deploy/accountrequest/
rpcPolicyManifest/manifest.txt added independently by second party
AccountRequest: cvs add: war/WEB-INF/deploy/accountrequest/
rpcPolicyManifest/manifests/727E5E730CDF0420034B483232BA36AD.txt added
independently by second party

Any idea how to avoid these errors in the CVS commit?

~ Rob

--
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] skinning the app

Good news everyone: a customer wants to license our Rails-based app!
(Maybe we'll be able to afford something fancier than ramen noodle for
dinner!!!) The bad news is that they want a custom logo, custom color
scheme and "a few tweaks here and there".

What are the established techniques for managing "a few tweaks here and
there"?

Creating branch in git seems like it will do almost everything
necessary. The only complication I see is that we'll have to
back-merge enhancements and bug fixes in the main branch, but that would
be true for any approach.

Simply stated: is there a compelling reason NOT to use git for creating
multiple 'skins'?

- ff

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

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

[Rails] Re: Rails 2 to 3 routes question

Give this a whirl:

resources :oker_training, :path => '/oker-training'

--
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/-/5rMvpZxTN48J.
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: Counld not open GVIM

This doesn't really seem like a problem/question about rails at all.

But have you made sure you actually installed gvim?

--
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/-/057ssz1Y9BAJ.
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] UI Design Pattern

Hi,

I'm looking for something article or any information about best way to
implement UI design pattern for login screens on tablets !!

Thanks in advance !

Igor Nesralla Ribeiro

--
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: Argh: templates, admin, and app loading order

Can you use the filesystem loader as the first template loader, then
set TEMPLATE_DIRS in settings.py to specify a template directory
outside any app? Use this location for all of your overrides, just
make sure the path is right... ie each app you override would have its
own subdirectory.

--
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: Is cakephp 2 beta ready for small web development?

Thanks

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

Re: Custom implementation of the EventBus

Well, I can come with number of reasons. The first one is that the
whole "firing depth" implementation does not work for me. Another
reason could be that one may want to have an event bus that talks to
the server as well. In other words there are might be a number of
reasons the one would have to do a custom event bus. Right now, the
only way to do this is to use the same package. It works but from a OO
perspective it may not be the best approach.

- Stefan B

On Aug 29, 6:32 pm, Stefan Ollinger <Stefan.Ollin...@gmx.de> wrote:
> Why do you want to create your own event bus?
>

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

Login based in url for user

Hej I am new and trying to make a login for mysite.
I have written a basic login which validates against another site and
is working fine atm.

I would like to make the auth related to the url.
So that user a with permission 1 can access www.test.dk/1/content but
he is not allowed to access www.test.dk/2/content
user 2 with permission 4 can access www.test.dk/4/content but he is
not allowed to access www.test.dk/1/content

It there a good way to solved this?

Is it possible extend the or use the @login_required tag to this solution.

Hope for some input so I can find a solution.

Regards
Carsten

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