Animated GIFs?

by Eric Hekler » Tue, 20 Apr 2010 13:08:25 GMT


Sponsored Links
 Hi, all.

    We are doing some prototyping for an Android app and we wanted to use
Animated GIFs via webpages to get a sense of animation.  Unfortunately, we
have found that we can't do that on the Android's browser (or Opera for that
matter).  I've read some posting saying that this might get fixed but there
were never any specific dates.  Does anyone have some news on when we might
be able to use Animated GIFs in webpages?   If not, does anyone have any
suggestions on good ways to develop quick animated visual prototypes of apps
for Android?  In particular, our design folks (who are handling the visual
stuff) know HTML, Javascript, J-query but don't know Java and we would
prefer to NOT have them learn another language, if possible as this is
really just for rapid prototyping.

   Any help would be most appreciated!

Thanks,
Eric


-- 
Eric Hekler, Ph.D.
Post Doctoral Research Fellow
Stanford Prevention Research Center
Medical School Office Building: Mail Code 5411
251 Campus Drive
Stanford, CA 94305-5411
Office # (650) 721-2516
Fax:  650-725-6247
Email: ehek...@stanford.edu

--



Animated GIFs?

by Anonymous Anonymous » Tue, 20 Apr 2010 13:31:15 GMT


 As per issue tracker, this will be fixed in FroYo and will work on high
memory devices.




>


Sponsored Links


Other Threads

1. Retrieve Email Id from contacts

Hello All,

Does anyone know how to retrieve email ids from added contacts.

I was able to add email ids programmatically using the following code
snippet below, but I could not retrieve it ! :(

try {
                                ContentValues person = new ContentValues();
                                person.put(Contacts.People.NAME, "Smith John, 
Mr.");
                                person.put(Contacts.People.COMPANY, "Test 
Company");
                                person.put(Contacts.People.NOTES, "eNotes");

                                Uri newPerson = 
PhoneBook.this.getContentResolver().insert(
                                                Contacts.People.CONTENT_URI, 
person);

                                if (newPerson != null) {
                                        List pathList = 
newPerson.getPathSegments();
                                        String pathLeaf = (String) pathList
                                                        .get(pathList.size() - 
1);

                                        // add mobile phone number
                                        ContentValues number = new 
ContentValues();
                                        number.put(Contacts.Phones.PERSON_ID, 
pathLeaf);
                                        number.put(Contacts.Phones.NUMBER, 
"(408) 111-1111");
                                        number.put(Contacts.Phones.TYPE,
                                                        
Contacts.Phones.MOBILE_TYPE);
                                        Uri phoneUpdate = 
PhoneBook.this.getContentResolver()
                                                        
.insert(Contacts.Phones.CONTENT_URI, number);
                                        if (phoneUpdate == null) {
                                                throw new Exception(
                                                                "Failed to 
insert mobile phone number");
                                        }

                                        // add fax number
                                        number = new ContentValues();
                                        number.put(Contacts.Phones.PERSON_ID, 
pathLeaf);
                                        number.put(Contacts.Phones.NUMBER, 
"(408) 111-1111-1");
                                        number.put(Contacts.Phones.TYPE,
                                                        
Contacts.Phones.WORK_FAX_TYPE);
                                        phoneUpdate = 
PhoneBook.this.getContentResolver().insert(
                                                        
Contacts.Phones.CONTENT_URI, number);
                                        if (phoneUpdate == null) {
                                                throw new Exception("Failed to 
insert work fax number");
                                        }

                                        // add email
                                        ContentValues email = new 
ContentValues();
                                        
email.put(Contacts.ContactMethods.PERSON_ID, pathLeaf);
                                        email.put(Contacts.ContactMethods.KIND,
                                                        
Contacts.ContactMethods.EMAIL_KIND);
                                        email.put(Contacts.ContactMethods.DATA,
                                                        "[EMAIL PROTECTED]");
                                        email.put(Contacts.ContactMethods.TYPE,
                                                        
Contacts.ContactMethods.EMAIL_KIND_PRIMARY_TYPE);
                                        Uri emailUpdate = 
PhoneBook.this.getContentResolver()
                                                        .insert(
                                                                        
Uri.withAppendedPath(newPerson,
                                                                                
        Contacts.ContactMethods.CONTENT_URI
                                                                                
                        .getPath().substring(1)),
                                                                        email);
                                        if (emailUpdate == null) {
                                                throw new Exception("Failed to 
insert primary email");
                                        }

                                        // add postal address
                                        ContentValues address = new 
ContentValues();
                                        
address.put(Contacts.ContactMethods.PERSON_ID, pathLeaf);
                                        
address.put(Contacts.ContactMethods.KIND,
                                                        
Contacts.ContactMethods.POSTAL_KIND);
                                        
address.put(Contacts.ContactMethods.DATA,
                                                        "Baker Street 14\n54123 
New Hampshire");
                                        
address.put(Contacts.ContactMethods.TYPE,
                                                        
Contacts.ContactMethods.POSTAL_KIND_POSTAL_TYPE);
                                        Uri addressUpdate = 
PhoneBook.this.getContentResolver()
                                                        .insert(
                                                                        
Uri.withAppendedPath(newPerson,
                                                                                
        Contacts.ContactMethods.CONTENT_URI
                                                                                
                        .getPath().substring(1)),
                                                                        
address);
                                        if (addressUpdate == null) {
                                                throw new Exception("Failed to 
insert primary email");
                                        }
                                }

                        } catch (Exception e) {
                                Log.e("GuiAndroid", "Failed to add contact due 
to:" + e, e);

                        }



--~--~---------~--~----~------------~-------~--~----~

2. Lost sheep finder in the white spaces, please.

Being a motivated non-expert. I understand that higher frequencies
carry more data, are more line of sight,and are absorbed by smaller
conductive bodies - like rain drops AND that lower frequencies carry
less data, go through and around buildings and are not as easily
absorbed by small conductive bodies. People are also more comfortable
with, and have more history with, television signal frequency
radiation than cell phone radiation.  I understand there is some white
space around 54 MHz.

We talked about an Android appliance type location reporting phone
that kids could wear laced into their shoes. In the interest of not
slighting such a phone, parents could use the same device to find
missing children in public places where vision may be obscured. To
avoid ad nauseum.

I cannot think of a better, more technology (physical characteristics
of spectrum and public acceptance of spectrum) matched, use of white
space than lisensed appliance spectrum where the appliances use modern
signaling and can triangulate off known towers to reliably get
position in the interest of reliable location of children by their
parents.

There has to be enough subscription service to pay for the radios, but
first reliably determine and communicate location in these
environments.  I think that means low frequency spectrum that is
licensed.



--~--~---------~--~----~------------~-------~--~----~

3. Android tracing and profiling

4. Read and modify and write back contacts

5. Android javadoc downloadable

6. Running a program when emulator start

7. License Question...