Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
My application hangs. Pressing the home button doesn't return to the springboard anymore. Additionally pressing the power button for 10 seconds doesn't turn the iphone off at all.
Is there any way to force a shutdown?
1 - To 'Force Quit' an iPhone application, hold down the Home button for up to 5 seconds.
2 - To force a reset (in rare occassions when 1 does not work), hold down the Power and Home buttons together for 10 seconds.
(this is documented in a Apple Support article - http://support.apple.com/kb/HT1430)
To force shutdown the iPhone 3G, just press down the power button first, followed by the home button. Hold the 2 buttons down until your screen changes.
That's it... A simple, but undocumented solution. Oh well. So far my iPhone has crashed in a few ways and this worked all the time.
If your application reproducibly hangs the phone, please file a bug report at bugreport.apple.com and attach a copy of your application. This is something Apple would be very interested in debugging. Thanks!
My iPhone hanged during boot when it tried to reset & erase all the iphoe contents.
Following are the steps to get your iPhone booting in Recovery Mode:
Step 1: Before getting the iphone in recovery mode, Open iTunes on your MAC or PC & attach the cable to iPhone.
Step 2: Hold down the Power & Home buttom simultaneously until the screen changes (around 10 secs.).
Step 3: Release the Power Button and keep pressing the Home Button for at least 30 secs.
Folow the instructions on your iTunes to restore the firmware of iPhone.
Hope, that this solution works for all who had problems like me.
Thankfully my problem is Solved.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
I'm new about Pepper robot. At the first beginning of Pepper using it's tablet shows three circles include Retail,Office and tourism. Now, the Pepper's tablet just show something such as screensavers. How I can change it's tablet's mode to first configuration?
I also did reset factory but It doesn't return to my desire mode instead of showing screensavers.
if you installed all application back after factory reset then the application should be available in Choregraph among the Robot Applications List. (if the Application is configured for your Robot in the Aldebaran Store) Unfortunately i have not seen your application before, so i cant guess which one it is. You can try to start each one.
On the other Hand the Application might also be an android app.
To check that option start the Robot Application
j-tablet-browser
Now you should be able to see the standart Android on the Tablet.
You can check now what Android Apps are installed.
This first application was probably installed by your reseller, you can ask him to give you the details. But pepper normal operation mode is what you call the screensaver. Then it's up to you to develop the activities specific to your case. See http://doc.aldebaran.com/2-5/
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am currently writing an IOS app that uses Cloud Firestore as a database. One of the app's functions is a ticking down timer that needs to be shown on the screen for users to show how much time is left for a function. Problem is I am currently using a timer, but that doesn't work as when I exit the app it will stop updating the database on how much time is left . Any suggestions on how I could solve this problem?
There's no way you would be able to interact with your code while your app is closed. iOS is strict, once your app is closed, you have 30 seconds to process anything necessary. your app is suspended from regular activities,
As #matt mentioned:
A timer can run in the background only if both the following are true:
Your app for some other reason runs in the background. (Most apps
don't; most apps are suspended when they go into the background.) And:
The timer was running already when the app went into the background.
I also suggest a look over here:
Swift 3 - How to make timer work in background
Set a date and time in Database when the function for Timer is called.
You can then check whenever the app is open to calculate the amount of time taken.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I was curious as to whether it's possible or not to "wrap" and app inside another. For example, insert the code of YOUR app (hereafter referred to as cookie cutter) into an existing app (hereafter referred to as wrapper) with the wrapper app designer's permission, of course. and have your app sit latent for x amount of time. After x amount of time, the cookie cutter app pulls up and initiates its code. From that point on, the cookie cutter app is accessible by pressing a button in the top left corner of the wrapper app, which will switch views to the cookie cutter. My question comes in two parts.
Part A: is this something that apple would allow? I know there's a certain level of red tape regarding what apple allows and doesn't allow
Part B: Would this be possible, even if Apple allowed it? Would the way that apps are designed allow for this functionality to be part of an app in the first place?
By asking this question, i'm more looking for articles on the subject. It's hard to fit this entire question into a couple words that can be searched for on google. Any ideas? Thanks for the help.
I think this is not possible (I don't know whether it is possible in Jailbroken devices). In iOS each app is sandboxed, so you can't run an app inside an app.
Also running app, terminating it these kind of things are managed by SpringBoard (Simply os). So you can't do this.
Suggestion:
Why can't you simply display the Second app's icon (in imageView or in button) inside the First app ? When useer tap on that icon open that app using URLScheme.
Like:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:yourSecondAppURL]];
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am trying to get my webcam running on the raspberry pi. I am using a logictech quickcam for notebooks. Via lsusb I see that the device is connected.
When i am starting motion I am getting this error "corrupt JPEG data: premature end of data segment".
I tried fswebcam as well but I just get black pictures out of it.
any advice? (should i use another programme/doesn´t work with raspberry?)
thanks in advance
I also had problems with my oldish Logitech QuickCam Express, but a different one. First make sure you have at least one scenario where your webcam does work. You've asked about other programs. Try e.g.
mplayer tv://
or
cheese
or
guvcview
from your X desktop. I got errors which indicated video4linux v2 did not support my cam, only v1, for which I had to add
LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so
before launching the commands that failed. (I found it at http://ubuntuforums.org/showthread.php?t=1476423.) However, again, I did not get the same error as you (mine was tumbling over palette formats). But different webcams may trigger different symptoms, even if the root of the problem is the same or similar.
I had that with my cheap webcam. The error went away when I selected a different image size to be captured.
I am not sure if you still need help on this. I found that:
A) Using the verified peripherals list for Pi was the first key: I had a crappy no-name webcam and it just wouldn't work. I ended up using a microsoft HD3000.
B) A powered USB hub was necessary and cleared up a lot of issues.
In the default motion.conf file you will note that the default resolution is something like 352x288. It does run at 640 but puts a big load on the little pi. In the end I turned the resolution back down to default until I had every other piece working and then turned it back up when I was ready to sit back and capture video.
If you haven't done so already I suggest browsing the Raspberry Pi forum. Many others have struggled with this before. Start with the smallest possible resolution and experiment with different palettes. It may also be that you are running in USB related issues (see the USB redux thread in the linked forum for further discussions). Make sure to have the latest firmware.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
We have developed an iPad application and submited it to the apple store for review after properly testing at our end. Apple rejected our app giving the following reason:-
We found that your app failed to launch on iPad running iOS 5.0.1, on
both Wi-Fi and cellular networks
We encountered the issue when selecting the application on the Home
screen - the app displayed a launch image then quit unexpectedly. This
may be because iOS 5 uses a watchdog timer for applications; if an
application takes too long to complete its initial startup, the
operating system terminates the application.
For information about the watchdog timer, please see Technical Q&A:
Application does not crash when launched from debugger but crashes
when launched by user..
Another possibility could be a missing entitlement. For more
information, please see the Technical Note: Resolving "0x800003A",
applications not launching and "missing entitlement".
We are not able to understand why Apple has rejected the app since we are not able to reproduce this issue at our end, and Apple's feedback is not very descriptive.
So what can we do to workaround this problem and resubmit it to apple store?
When Apple tested your app, they tried to launch it, and it never finished launching. If it takes too long to launch (5-10 seconds) it will be terminated by springboard and never finish. That's likely what happened. It's also possible that you had bad entitlements, but you probably would have run into that problem sooner.
Is there any chance you're doing synchronous network access on the main thread when your app is launched? This could easily cause this problem. If so, you should fix your app to never do synchronous network access on the main thread.
you need to remove all the synchronous UI/WEB update calls which blocks applicationDidFinishLaunching:
to return YES;
applicationDidFinishLaunching must return asap without blocking application thread for lets say - 1 second.
move your blocking code to a method and use performSelector afterDelay for that.