IPad - SUP connection questions

The import works perfectly on device but I'd like to have more control on that. here are different questions I'm asking myself concerning that :
1) I'd like to check if the connectivity is ok before deleting the local DB ?
       When using the code above the locale db is deleted before launching SUPMessageClient start. It is recommended to do that in the documentation BUT, if the connection does not succeed, the locale db is empty and the iPAd app can not be used anymore. IS there a way to check connectivity before launching the sync process ?
2) On the other hand, I've got a method creating new elements and I'm calling submitPending, but nothing happens in terms of update to the server. Should I do a subscribe to the package each time I want to interact with the remote SAP server ?

Hi again,
yes, you can search for records in the local (iPad) database. Contrary to Apple's core data you don't have to use predictives but you have to define the query for a database search on the SUP. When modelling the attributes of your MBO in the Unwired Workspace, you can define the syntax of the query on right-most tabsheet (named "Object Queries"). The "findAll" and "findByPrimaryKey" query are the 2 default ones.
For instance, if you have a MBO called "TimeRecord", a query could look like:
SELECT x.* FROM TimeRecord x
WHERE x.WBS_ELEMENT = :wbsNumber
AND x.WORKDATE = :Workdate
where you have to define the parameters wbsNumber and Workdate which are mapped to the MBO-fields WBS_ELEMENT and WORKDATE respectively. The name of the query could be LookForTimerec
In xCode you can now simply type:
objTimeRecordList* timerecordlist = [objTimeRecord LookForTimerec:wbsElement withWorkdate:workDate];
where wbsElement and workDate are Objective-C variables (which you have to define).
objTimerecord is the class-Name of the MBO and objTimeRecordList is the SUPObjectList of Timerecords: both objects will be generated by SUP and are imported with the source code into your xCode project.
During runtime, the variables wbsElement and workDate will be mapped onto the query-parameters wbsNumber and Workdate.
Best regards
Herwig

Similar Messages

  • Ipad wireless connection question

    I cant connect ipad to a particular wireless network. I have the password but the ipad won't offer the password box. It just says unable to join. This is after I entered the incorrect password once.

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Why does iTunes no longer open automatically when iPad is connected?

    Why does iTunes no longer open automatically when iPad is connected? and iPhone as well?  Setting to "auto open" is selected, but iTunes will not open automatically. Problem seems to have begun with upgrade to Lion.

    Good luck getting an answer...I posted the same question a day ago.   I can only assume it's a glitch in iTunes 10.5.

  • IPad camera connection kit is working on ios 6.1.3 or no?

    Hello everyone,
    I'm trying to find an answer to this question
    Is iPad camera connection kit working on the new update iOS 6.1.3?
    I need to know this kinda urgent now, because my iPad has been acting really weird, but I hadn't update yet, because I'm scared my camera connection kit won't work anymore, and I need it alot because I work with cameras.
    Anyone who already update and the camera connection kit still working? Please
    I have an iPad 2 currently iOS 6
    Have a great day!

    Works on my iPad 2 also. I transfer pics/videos using an SDHC card and also using a USB flash drive.
    To use a flash drive, Plug the  flash drive (works the same with an SD card) into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • Camera Connection questions...

    I have a couple questions about the iPad Camera Connection that I have not been able to find answers for on the forum:
    1. Does the Photo app recognise already imported images if you leave images on your camera after importing and want to import newly shot ones? or does it import them all again?
    2. I use a Canon 5D Mk2 - I've read that the iPad cannot play the movies, however does it still import them from the camera and then allow you to transfer them to your laptop later?
    thanks!

    For your first question, the answer is no. It will ask if you want to import an old (already imported) image just like it asks for a new image. At least that is how it works with my ipad.

  • ITunes doesn't open when iPad is connected

    iTunes doesn't open when my iPad is connected although the box is checked on the summary page of iTunes

    Hey saxmanswife,
    Thanks for the question! I was able to find a document that goes over the same issue you're encountering, iTunes not opening automatically when connecting your device. Check it out here and see if that resolves it:
    iTunes for Mac won't open automatically when connecting device
    http://support.apple.com/kb/TS3927
    Best,
    David

  • IPad Internet connection preference

    Simple question:
    I have an iPad 2 WiFi & 3G model with SIM card installed. If, say, I'm in my apartment and my iPad is connected to my home WiFi network (which has access to the internet), how will it prefer to connect to the internet: through WiFi or directly through its 3G connection?
    Thanks

    verizon has a glitch so that turning 3G on and off often requires a reboot of machine, so prefer to leave both wi-fi and 3G on at same time -- so resolving which preferentially serves data is valuable to me (and perhaps to other verizon iPad users)

  • IPad 3 Charging question

    I just got my iPad 3 today, and it seem like the charger have some problem at first (but now okay, the charger is not charging my iPad 3 at first and I did a reboot, now all good.)
    Well my question is, when you turn off your iPad 3 while charging, is that normal that the screen do not display any battery sign?
    Just nothing? Or there will be a battery sign (like a green battery telling that you are charging the iPad 3?)

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • HT1695 I have owner my iPad for approx six months. I have been connected to the Internet from my home thru my Wifi with no problems. Suddenly four days ago I have not been able to get my IPad to connect to my home wireless. All other computers in my home

    To follow up on my question. Only because this is the first time I am using this forum.
    I have owned the iPad for approximately six months.
    I have been using the iPad at home thru my wireless network, no problems.
    In addition to my IPad I connect to the intent with my laptop, and my cell phone. No problem.
    Suddenly approximately five days ago I have not been able to connect my IPad to the Internet. Laptop and cell phone still connect.
    However when I leave my home I am able to connect my IPad from the Public Library and from Starbucks.
    Can anyone give me some advice on how to get connected from my home.
    Not sure how or when I can expect a response to this problem.
    Thanks
    Bill
    <Email Edited by Host>

    Thanks, however I am not familiar with the Sleep and Homekey buttons on my IPad.
    What I plan to do when I get home from Starbucks is, Settings/general/Reset/reset network
    I have rebooted my router no luck.
    Am I missing something on not knowing about the Sleep and Homekey?
    Thanks,
    Bill

  • Can multiple iPads be connected to show presentations

    Scenario:
    Making sells calls, doing presentations, Power Point slides, demo's with prospective customers.  Making the best first impression possible.
    Issue:
    Hitting prospects with great information, a great format and in a way that gets their attention leaves an impression with them.  The issue is that you can't always insure you have a room with a projector, etc.  You also have firewall issues that would require IT support to resolve. This limits your ability to deliver the wow factor.
    Question:
    If I had 4-5 iPads that I could hand out to the prospects that would connect to my iPad (the Master) it would let me do all of the above.  It would be similar to WebEx or GoToMeeting.  Can iPads be connected to allow screen sharing and if so, how ?

    Well, you can't link one iPad to another... what you can do is upload the presentations/slides for prospective customers on those iPads, therefore they will be able to see just what you want them to.

  • IPad wifi connection help

    I just spent 15 minutes holding and 20 or more minutes on the phone speaking to incompetent tech help people two days in a row. They asked the same questions and went through the same useless steps trying to get my iPad's wifi to work. Nothing worked and neither tech even remotely understood that it was a Verizon problem not an iPad problem (connected fine to 3 outside networks). Finally I just hung up and reset my router to factory specs. Miracle! that worked! Needless to say that I am totally underwhelmed by Verizon's tech help.

    MSM wrote:
    Thanks for your input but WPA2 worked (barely) with my MB air, the connection was iffy. It did NOT however work with my iPad 2 and THREE Verizon techs could not fix it. So, until someone comes up with a solution for that I will stay with factory settings. 
    Maybe it would be worthwhile bringing your iPad to the genius bar to see if an Apple tech might have a clue what the problem is.
    For whatever it is or isn't worth, I have an Actiontec Rev I router set to WPA2.  All our devices connect with no problem, including an iPad2, MacBook Pro with Mavericks, an iPhone 5 and a 5s and a couple of Windows 7 machines.  Frequent guests' devices also connect with no problem.

  • Apple iPad Camera Connection Kit With Mini

    I have the Apple iPad Camera Connection Kit for my New iPad (broad connection), and I am wondering if it works on my mini iPad using the apple adapter. If anyone have tried it, please inform me.
    Thanks for any help.
    Amnon

    I don't see why it wouldn't. contact the apple on line store
    Questions? Call 1-800-MY-APPLE

  • TS1398 I tried all solution but still i am unable to connect to my wifi. It started yesterday when my ipad cant connect to wifi.

    I tried all solution but still i am unable to connect to my wifi. It started yesterday when my ipad cant connect to wifi.

    It's hard to provide help when your question starts out with, "I tried all solutions" however here is some troubleshooting advice.
    If you are having WiFi problems it is necessary to isolate whether the problem is with your network or your iPad. Note: Do NOT consider your network to be blameless if some other devices can connect to it.
    First, test your iPad on some other WiFi networks: a friends, Starbucks, Barnes &amp; Noble, etc.
    If it works well there then the problem is probably with your network. Try restarting your WiFi router by removing power for 30 seconds. If that does not help check for a firmware update for your router. If none exists which corrects the problem consider replacing the router.
    If your iPad does not function well on other networks it possibly has a hardware problem. You could try Settings > General > Reset > Reset Network Settings to see if that corrects the problem. If not, contact Apple Support or visit an Apple store for evaluation. They can provide a replacement if your iPad is bad.
    If you need more help please give the make, model, and version of your WiFi router and how you have it configured.

  • My ISP requires a http login. I can use the iPad fine if I am logged in on a PC connected to the same wifi network, but if I login on safari on my ipad, the connection drops after some time.. any workaround?

    My ISP requires a http login. I can use the iPad fine if I am logged in on a PC connected to the same wifi network, but if I login on safari on my ipad, the connection drops after some time.. any workaround?

    TJBUSMC1973 wrote:
    The iPhone is working, as designed and advertised.  In this case, the user failed to educate themselves properly, either by proper research or asking the right questions, before purchasing the device.
    I understand that the OP failed to do research. But then, I wasn't replying to the OP. I was replying to Chris. I have Verizon. I can talk and use data at the same time with my Droid Maxx. Therefore, the problem is not just with the network. It would be technically possible for an iPhone to do that on Verizon/Sprint if Apple had chosen to use a different chip, such as the kind other phone manufacturers have elected to use.
    Of course, this is probably all irrelevant to the OP's issue. It was merely a point of clarification, especially for those people who are used to being able to use both voice and data at the same time on Verizon. When they switch to an iPhone, they are often surprized at the limitation.
    Best of luck.

  • HT204023 Why cant my ipad auto-connect to my phone hotspot?

    Why cant my ipad auto-connect to my hotspot? Whenever I turn my HS on I always have to go into my wifi settings on my ipad and manually connect. Its kind of a  pain to always have to do this.

    That seems to be a hot topic question which no one seems to have an answer to, including Apple. I too have this problem. I just signed up for hotspot this past weekend and am already regretting it and thinking about cancelling it. Not worth the hassle. One can only hope Apple with actually listen to it's users and fix the problem with a future update. Hopefully sooner rather than later.
    It SHOULD reconnect automatically after the initial set-up, just like the wifi.
    Not a very smart smartphone if you ask me.

Maybe you are looking for