osdir.com
mailing list archive

Subject: [android-developers] Re: Installing the USB driver for HTC Magic on Vista - msg#03608

List: AndroidDevelopers

Date: Prev Next Index Thread: Prev Next Index

2009/5/22 Cédric Berger <cedric.berger74@xxxxxxxxx>:
>
> 2009/5/21 Cédric Berger <cedric.berger74@xxxxxxxxx>
>>
>> took me a LOT of trials before it worked !
>>
>> I finally have this rule and it is OK (did not have to edit user groups on
>> my system):
>>
>> SYSFS{idVendor}=="0bb4", SYSFS{idProduct}=="0c02", MODE="0666",
>> GROUP="plugdev"

Oh sorry, I forgot to mention that the syntax changes slightly with
the udev version. You know, just to make this more interesting :-)


> this was in /etc/udev/rules.d/50-android.rules
>
> But it seems to also work like this : (method for Ubuntu 9.04 :
> http://www.frandroid.com/2371/ubuntu-904-et-android/ ; )
> -> in /etc/udev/rules.d/51-android.rules :
> SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4", MODE=”0666"

Ubuntu 9.04 already has a rules/50-something file so you need to make
sure that the android rule is > 50. Otherwise whatever you define gets
reset. We should update the doc to just state rule/51-android.rules
which will work right now till the base configuration changes once
again :-)

> Also take care if you copy/paste this rule : looks like double quotes
> (") may be wrongly copied from html page, and then it did not work for
> me before I retyped them.

Hmm thanks for the info. That's a new one.

R/

--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

[android-developers] Re: Android Loading listview items from service results in hang

No, what you are supposed to do, is not return from onCreate until you are ready to show your GUI. I am not ready without these items. If it took, say, 2 or 3 seconds to load these items, maybe, but it takes a fraction of a second - the screen flashes 'LOADING' and then shows the items. It looks quite ugly. And then there is the losing of scroll position and focus too. On May 23, 8:23 pm, Marco Nelissen <marc...@xxxxxxxxxxx> wrote: > "hanging the UI thread" is the hack. I suggest you do it the right way > instead. > > On Sat, May 23, 2009 at 8:09 PM, Isaac Waller <ad...@xxxxxxxxxxxxxxx> wrote: > > > Even if I changed that, I would lose the saved list scroll position > > and selected item. > > I do not want to make some hack around running it in the UI thread - I > > want to hang the UI thread. > > > On May 23, 8:06 pm, Jason Proctor <ja...@xxxxxxxxxxxxxxxxxxx> wrote: > > > >If I do this, then I lose the benefits of running it in the UI thread. > > > >I want to hang my application until it gets these items, because if > > > >not, my view with id="android:empty" shows up for a second, and that > > > >looks ugly. > > > > >So put in another view, one that's not ugly. > > > > how about some kind of progress indicator to indicate that something > > > is happening? > > > > -- > > > jason.software.particle --~--~---------~--~----~------------~-------~--~----~ 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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to android-developers-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Date: click to view message preview

[android-developers] Re: Problem installing application onto HTC Magic

On Thu, May 21, 2009 at 6:20 AM, Android Users <androidmailer@xxxxxxxxx> wrote: > > Any help on this as this is stopping our work. Searched in all android > forums, but no luck.. You need to ask your carrier to provide the maps binaries in their system images (or did you create your own system images?) The SDK only helps you develop application that run with whatever API a given device has. Maps is not part of the "core" Android platform, it is part of the "Google Experience" devices with combine the Android system with a set of Google-specific applications. The SDK will not magically make these apps appear on a given device. Only a carrier can decide that. So the bottom line is: does your device have Maps on them? As you said, your device does not have it, so do not expect anything to work that requires the maps API. HTH R/ --~--~---------~--~----~------------~-------~--~----~ 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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to android-developers-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

Previous Message by Thread: click to view message preview

[android-developers] Re: Installing the USB driver for HTC Magic on Vista

2009/5/21 Cédric Berger <cedric.berger74@xxxxxxxxx> > > took me a LOT of trials before it worked ! > > I finally have this rule and it is OK (did not have to edit user groups on my > system): > > SYSFS{idVendor}=="0bb4", SYSFS{idProduct}=="0c02", MODE="0666", > GROUP="plugdev" this was in /etc/udev/rules.d/50-android.rules But it seems to also work like this : (method for Ubuntu 9.04 : http://www.frandroid.com/2371/ubuntu-904-et-android/  ) -> in /etc/udev/rules.d/51-android.rules : SUBSYSTEM==”usb”, SYSFS{idVendor}==”0bb4", MODE=”0666" Also take care if you copy/paste this rule : looks like double quotes (") may be wrongly copied from html page, and then it did not work for me before I retyped them. --~--~---------~--~----~------------~-------~--~----~ 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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to android-developers-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Thread: click to view message preview

[android-developers] Parsing atom information(google reader) using ROME--meet problem

Hi Guys: I'm using following code to analyse the atom xml content. But when run to "syndFeedInput.build(tmp);", an exception occured. It seems that the format of the xml is not right.(but the xml file is from google reader) Also there are some chinese words in the xml file, but I think it's not the problem is. Please help me to find the real problem. Thanks a lot. -------------------------------------------------------- public static SyndFeed getAtomFeed(String xmlContent) throws GoogleReaderException { try { StringReader tmp = new StringReader (xmlContent); SyndFeedInput syndFeedInput = new SyndFeedInput (); return syndFeedInput.build(tmp); } catch (IllegalArgumentException e) { throw new GoogleReaderException( "The provided xml content is not a valid Atom feed!", e); } catch (FeedException e) { throw new GoogleReaderException( "The provided xml content is not a valid Atom feed!", e); } } ------------------------------------------------------------------------------------------------ <?xml version="1.0" ?> <feed xmlns:idx="urn:atom-extension:indexing" xmlns:gr="http:// www.google.com/schemas/reader/atom/" xmlns:media="http:// search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom" idx:index="no"> - <!-- Content-type: Preventing XSRF in IE. --> <generator uri="http://www.google.com/reader">Google Reader</ generator> <id>tag:google.com,2005:reader/user/11079533016622235900/label/æäæé</ id> <title>Google éèåäéè xiao æåçâæäæéâ</title> <gr:continuation>COnNhcjkrpoC</gr:continuation> <link rel="self" href="http://www.google.com/reader/atom/user/-/ label/%E6%97%B6%E4%BA%8B%E6%96%B0%E9%97%BB" /> <author> <name>xiao</name> </author> <updated>2009-05-09T10:20:20Z</updated> <entry gr:crawl-timestamp-msec="1241864420611"> <id gr:original-id="http://go.rss.sina.com.cn/redirect.php? url=http://news.sina.com.cn/c/ 2009-05-09/180617780236.shtml">tag:google.com,2005:reader/item/ 64a9952927aad22f</id> <category term="user/11079533016622235900/state/com.google/reading- list" scheme="http://www.google.com/reader/" label="reading-list" /> <category term="user/11079533016622235900/label/æäæé" scheme="http:// www.google.com/reader/" label="æäæé" /> <category term="user/11079533016622235900/state/com.google/fresh" scheme="http://www.google.com/reader/" label="fresh" /> <category term="ååèé" /> <title type="html">ååææåååéååïååæçäæçä</title> <published>2009-05-09T10:06:30Z</published> <updated>2009-05-09T10:06:30Z</updated> <link rel="alternate" href="http://go.rss.sina.com.cn/redirect.php? url=http://news.sina.com.cn/c/2009-05-09/180617780236.shtml" type="text/html" /> <summary xml:base="http://news.sina.com.cn/491/2008/0827/1.html" type="html">ãã2009åâ5ã12âæåçååéäååçåååïãäèçæååãéèååæååäïæåæèâååççâäâååé åâãäääååçææåååéååçåèï ããååïååäççäïååääçäèããéåææååæâååäççäâï2009åâåäååæ çâï....</summary> - <author> <name>WWW.SINA.COM.CN</name> </author> - <source gr:stream-id="feed/http://rss.sina.com.cn/news/china/ focus15.xml"> <id>tag:google.com,2005:reader/feed/http://rss.sina.com.cn/news/ china/focus15.xml</id> <title type="html">ååèé-æææé</title> <link rel="alternate" href="http://news.sina.com.cn/ 491/2008/0827/1.html" type="text/html" /> </source> </entry> <entry gr:crawl-timestamp-msec="1241864420611"> <id gr:original-id="http://go.rss.sina.com.cn/redirect.php? url=http://news.sina.com.cn/w/ 2009-05-09/174517780234.shtml">tag:google.com,2005:reader/item/ 4b19e4c45ea8c7d8</id> <category term="user/11079533016622235900/state/com.google/reading- list" scheme="http://www.google.com/reader/" label="reading-list" /> <category term="user/11079533016622235900/label/æäæé" scheme="http:// www.google.com/reader/" label="æäæé" /> <category term="user/11079533016622235900/state/com.google/fresh" scheme="http://www.google.com/reader/" label="fresh" /> <category term="ååèé" /> <title type="html">ååçæééèååæèåææå</title> <published>2009-05-09T09:45:00Z</published> <updated>2009-05-09T09:45:00Z</updated> <link rel="alternate" href="http://go.rss.sina.com.cn/redirect.php? url=http://news.sina.com.cn/w/2009-05-09/174517780234.shtml" type="text/html" /> <summary xml:base="http://news.sina.com.cn/491/2008/0827/1.html" type="html">ããäæç5æ9æèææèåæåæçææïååçæééèåååéæèååïæåèæåééçäæèåäæèåææåïåæ åååææååéåèãèäæååèåäääåä âåéçâççåäã ããèæåèåäéæäèåäçæå3ååçååäïäçäåïåæåäåé å....</summary> <author> <name>WWW.SINA.COM.CN</name> </author> <source gr:stream-id="feed/http://rss.sina.com.cn/news/china/ focus15.xml"> <id>tag:google.com,2005:reader/feed/http://rss.sina.com.cn/news/ china/focus15.xml</id> <title type="html">ååèé-æææé</title> <link rel="alternate" href="http://news.sina.com.cn/ 491/2008/0827/1.html" type="text/html" /> </source> </entry> </feed> --~--~---------~--~----~------------~-------~--~----~ 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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to android-developers-unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by