• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: state of apns?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: state of apns?


  • Subject: Re: state of apns?
  • From: Jesse Tayler <email@hidden>
  • Date: Wed, 29 Jun 2011 16:41:47 -0400

thanks for the insights - still able to send from eclipse without error but I've not quite gotten a push through just yet.

On Jun 29, 2011, at 3:44 PM, Farrukh Ijaz wrote:

The purpose of the url is to store deviceToken in your application so you could retrieve it for notifications. This doesn't need to be part of your WO application. It can be a .php url as long as you can retrieve the deviceToken.

I see, so the NSURLConnection code there is just to send to my own server app (WO) the device's ID so the server is aware. I think get the idea there.

just for test, the app sends the push to the hard coded device id returned from the iphone for now - I removed the ID's spaces as you noted earlier.

ClassDefNotFound erros are raised when you don't have the .jar file exported as part of your application and it's not available any any of the classpath of your jvm running the application. If it's part of your WO app, make sure you've marked it exported.

ahh, I hadn't checked anything about the export -- 

I kinda see that I've not checked much, even the mysql adaptor isn't checked...

So, I went ahead and checked the jar for export, and the path looks ok to me but I still get an error

Could not initialize class com.notnoop.apns.internal.Utilities

not sure if utilities was the same class as last error, but the jar suggests it has all it's own dependencies - aside from the jar, I've not installed anything on the server and I include frameworks in the app and install as one big ball of WO, as I think most people do.

here's a screen of what Ive got for eclipse config - look ok to you?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: state of apns?
      • From: Farrukh Ijaz <email@hidden>
References: 
 >state of apns? (From: Jesse Tayler <email@hidden>)
 >Re: state of apns? (From: Amedeo Mantica <email@hidden>)
 >Re: state of apns? (From: Jesse Tayler <email@hidden>)
 >Re: state of apns? (From: Jesse Tayler <email@hidden>)
 >Re: state of apns? (From: Farrukh Ijaz <email@hidden>)
 >Re: state of apns? (From: Jesse Tayler <email@hidden>)
 >Re: state of apns? (From: Farrukh Ijaz <email@hidden>)

  • Prev by Date: Re: state of apns?
  • Next by Date: ISE With WO 5.4.3
  • Previous by thread: Re: state of apns?
  • Next by thread: Re: state of apns?
  • Index(es):
    • Date
    • Thread