pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
07/07/13 04:18 PM (12 years ago)

Eclipse AirPush integration - Airpush cannot be resolved...

Hi guys! I'm having a problem when trying to integrate airpush in one of my projects. After adding these two lines of code in activity base.java: airpush=new Airpush(getApplicationContext(), null); airpush.startPushNotification(false); I have the errors messages in eclipse: Airpush cannot be resolved / Airpush cannot be resolved to a type / Airpush cannot be resolved to a variable Thanks in advance! Pedro
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
07/07/13 05:19 PM (12 years ago)
try this: Airpush airpush=new Airpush(getApplicationContext()); airpush.startPushNotification(false);
 
pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
like
07/07/13 11:13 PM (12 years ago)
Hi mysps, changing for your suggestion gives the error message "Airpush cannot be resolved to a type" repeated, and eliminates the other two messages... Any other suggestion? Thanks.
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/08/13 02:19 AM (12 years ago)
Did you import airpush in the java file?
 
pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
like
07/08/13 02:37 AM (12 years ago)
Hi Suvinay pawa, No, I didn't, as haven´t found it in the instructions provided in Airpush website (http://manage.airpush.com/docs/index.php?title=Android_SDK_6.0_Documentation), or here in BT (Sandeep / Rishav). Could you help me doing that? I have added the airpush jar file to my project previously. Thanks in advance!
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/08/13 06:02 AM (12 years ago)
 
pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
like
07/08/13 03:04 PM (12 years ago)
Many thanks Suvinay pawa, solved!!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.