Package Missing 2.3 Sample Application

by gopu » Thu, 09 Dec 2010 20:39:27 GMT


Sponsored Links
 I tried to build the  NFC sample application FakeTagsActivity .

I am getting the error for the packages  starts with
com.google.common.base

import com.google.common.base.Charsets;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Iterables;

i am using the Google Apis [Android 2.3]  .What packages should i need
to add more ?

android.jar & maps.jar are currently in the Eclipse path...

-- 



Re: Package Missing 2.3 Sample Application

by Abhilash baddam » Fri, 10 Dec 2010 01:50:34 GMT


 Hi,

     iam new android..can any one tell how to do email validation in
android...
      actually i have one edit text where the user have to enter email id..
       how can i validate whether the user entered proper mail id or not.







Regards,
Abhilash.B





-- 


Sponsored Links


Re: Package Missing 2.3 Sample Application

by gopu » Fri, 10 Dec 2010 13:36:08 GMT


 After adding the library from the below path able to build
properly .Why this lib not coming with sample application itself ?!!
 http://code.google.com/p/guava-libraries/downloads/list 




-- 



Re: Package Missing 2.3 Sample Application

by peaceinmind » Wed, 29 Dec 2010 10:05:14 GMT


 I got the same error. Thanks Gopu for your suggestion. It worked.





-- 



Re: Package Missing 2.3 Sample Application

by ryd » Wed, 05 Jan 2011 03:46:01 GMT


 You can also find this Classes in you <android-sdk-path>/tools/lib/
guavalib.jar

But I still miss Classes like "android.nfc.Tag" and a couple of
others. Can anyone
help? (They are shipped with the git repo, but there is no jar file in
the sdk I found).

Cheers,
Jens.

-- 



Other Threads

1. Help: Boot failed when enabled Android_Power in 2.6.24 on Marvell Board

Hi, all

I'm porting Android 1.0 (2.6.25 based) to Marvell PXA9xx board with
2.6.24 kernel. Considering the workloads of drivers porting, I degrade
the android to 2.6.24.  At present, Many necessary features (ASHMEM,
BINDER...) and drivers have been ported successfully and Android
homescreen and applications can be displayed. But when I enabled the
ANDROID_POWER( of course, some modification also have been performed
accroding to the kobject/kset difference between 2.6.24 and 2.6.25 to
register subsystem 'android_power' in /sys),  the system stopped at
kernel compression done like below:
------------------------------------------------------------------------------------
Uncompressing
Linux.............................................................
................................................................................
................ done, booting the kernel.
-------------------------------------------------------------------------------------

I have checked the kernel source code carefully and thought that
ANDROID_POWER shouldn't be the reason of system boot failure but it
did. No other choices but turn to help in developer forum.  Doesn't
anybody account with the similar problems? and could anyone help me
out?

Thanks a lot!

BR/Mark
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Roadmap of GPS support in Android

Right now, Android GPS library only supports standalone GPS, Does
anyone know when Android library will support MS-Based AGPS?

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

3. How to have two different fonts within the same ListView item?

4. I really, really, need help with the android emulator sensors, HELP PLEASE!

5. 2008 Top Google Android Skins

6. Perl on Android Emulator

7. How to build Android.jar from the source code