Im very new to app development and am doing this as a school project but i was wondering if i was able to access the data from the microphone in realtime at the same time that the phone calling app is running?
Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini
The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad
iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool
Apple announces 4th generation iPad packing an A6X CPU
Im very new to app development and am doing this as a school project but i was wondering if i was able to access the data from the microphone in realtime at the same time that the phone calling app is running?
One day, I wanted to do something with Xcode, so I opened it, and it wanted to install the Mobile Device Connectivity Framework. I don't actually have a mobile device, and I never do any iOS programming, but it requres this somehow. I select Install, but nothing happens other than a barber pole status bar under "Installing Files." Ever. No activity whatsoever. I did not attach gdb to Xcode to try to find out hat was going on, although you probably didin't need to know that. What is going on, why is it going on, and how can I make it not go on?
I am currently writing an applescript xcode project.
How do you set up the ns popupbutton?
For example:
on buttonClick_(sender)
set goodBad to (I want to set this variable by a ns popupbutton)
say goodBad
end buttonClick_
Thanks for your help!!!!
All I had to do is wait a long time, and the problem is fixed! Thank you (said reflexively)!
Im very new to app development and am doing this as a school project but i was wondering if i was able to access the data from the microphone in realtime at the same time that the phone calling app is running?
I am trying to make an apple script that will detect when an application (minecraft) is open and then bring up a dialog that wont go away so that only I.T. can remove it.
It's a school project that im working on, we have to figure out a way (through applescript) to help students be more productive, everyone else has no experience with apple script but me. I managed to create this in a couple of minutes but there is a couple glitches and problems i cant solve.
here's the script:
repeat
if appIsRunning("Minecraft") then
display dialog "Gaming is not allowed, Your log of your computer programs running has been emailed to the I.T. department. Please visit the I.T. department immedietly to remove this message" buttons {"Report To I.T."} default button 1 with title "Gaming Alert" with icon stop
end if
tell application "Minecraft"
quit
end tell
end repeat
on appIsRunning(appName)
tell application "System Events" to (name of processes) contains appName
end appIsRunning
end
it works ok...
exept for the fact it works on every application exept minecraft...
Minecraft just freezes and then the script just says error.
Im also trying to design a way that applescript will send an email to the school I.T. desk with the students user name. I have this so far...
tell application "Mail"
set theNewMessage to make new outgoing message with properties {subject:"Gaming Alert [username here]"
, content:"[username here] has been gaming, he is to report to I.T. by the end of the day", visible:true}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"itdesk@blahblahblah.net"}
send
end tell
end tell
exept the school uses office 365 mail not inbuilt mail, is there any way to make this work?
My key issues are
1. how to fix the bug
2. how can i combne the scripts?
3.will this work for other games?
4.Can this work with online email bases
5.any other genreral comments on the scripts.
Very doubtful as that would enable recording of the users part of the phone call and that most definately is NOT allowed.
on a site I just built http://***.buko.net I'm using javascript to trigger an mp3 sound on a rollover. it works fine on a regular computer in a browser. but on the iPhone there is no sound. using both Safari and Chrome.
You can see the rollover works the key looks as if its depressed. One tap seems to trigger the rollover second tap is the click that takes you to the link. the links are on the bottom left.
I was hoping that someone might be able to point me in the right direction.
Buko
Hi, the same thing happened to me this week as well, I am using the Firefox browser so while waiting for a reply from Apple I cleared the history and cache etc. From there I was once again able to log in to my iTunes Connect account as usual.
I hope this helps.
As always, for betas or releases, registered devs should feel free to use Report a Bug for any fixes, samples, doc additions, feature requests or enhancements you'd like to see as well. Provide detailed information for the issue, including the system and developer tools version information, and any relevant crash logs or console messages. Be prepared to submit a sample project that demonstrates the issue(s).
• Each top level issue deserves a unique report.
• Posting in the Developer Forums is not reporting. Apple does not read those comments nor harvest information from them, so file bugs if you want to be heard. Add your report # to your thread for reference, thanks.
General notes about bugs:
• Devs should not typically expect followup unless (a) the engineer working on the issue needs more information and reaches out or (b) the/your issue has been fixed and the bug is sent back to you to please verify.
• Don't worry about category too much as the reports are checked when received and routed to the proper Engineering section involved.
• Know that devs can only see their own bugs.
• For additional info, see Bug Reporting Best Practices.
• Duplicates - Understand that Apple uses 'amount of duplication' in bug reports as a way to gauge the 'severity' of an issue.
• Also note that during betas, bug reporter can be dealing with heavy loads, so be patient.
Bug Reporter Connection Issues:
• For problems connecting to the Apple Bug Reporter, let Apple know by submitting your issue via the: Connection Problems Form.
To report security issues w/Apple products: https://ssl.apple.com/support/security/
-=-
?????????????,??,DOC??,??????????????????#??????,???????
???????????:????????????,??(a)???????????????????????(?)/?????????bug?????,????? ?,???????????????????,?????????????
For one of the tutorials it asks me to compare the two files words and propernames. I have to list out the matching words from both files.
#import
int main(int argc, const char * argv[])
{
@autoreleasepool {
//Read in a file as a huge string (ignoring the possibility of an error)
NSString *nameString = [NSString stringWithContentsOfFile:@"/usr/share/dict/propernames"
encoding:NSUTF8StringEncoding
error:NULL];
NSString *wordString = [NSString stringWithContentsOfFile:@"/usr/share/dict/words"
encoding:NSUTF8StringEncoding
error:NULL];
//Break it into an array of strings
NSArray *names = [nameString componentsSeparatedByString:@"\n"];
NSArray *words = [wordString componentsSeparatedByString:@"\n"];
//Go through the array one string at a time
for(NSString *n in names){
for(NSString *w in words){
if ([n caseInsensitiveCompare:w] == NSOrderedSame) {
NSLog(@"The words %@ and %@ matches", n, w);
}
}
}
}
return 0;
}
This is how I approach it however it didn't work as I planned it. Anyone can help with this?
my iPhone 4 verizon 16GB that I bought from someone, is Disabled saying to connect to iTunes. Im trying to restore it but I can't. I had tried different ways to restore it. I tried the power/wake button with connector and still nothing. When trying to put in DFU mode the iTunes logo disappears and a line goes right through it. Does anyone knows how to restore the iPhone with these issues?
For one of the tutorials it asks me to compare the two files words and propernames. I have to list out the matching words from both files.
#import
int main(int argc, const char * argv[])
{
@autoreleasepool {
//Read in a file as a huge string (ignoring the possibility of an error)
NSString *nameString = [NSString stringWithContentsOfFile:@"/usr/share/dict/propernames"
encoding:NSUTF8StringEncoding
error:NULL];
NSString *wordString = [NSString stringWithContentsOfFile:@"/usr/share/dict/words"
encoding:NSUTF8StringEncoding
error:NULL];
//Break it into an array of strings
NSArray *names = [nameString componentsSeparatedByString:@"\n"];
NSArray *words = [wordString componentsSeparatedByString:@"\n"];
//Go through the array one string at a time
for(NSString *n in names){
for(NSString *w in words){
if ([n caseInsensitiveCompare:w] == NSOrderedSame) {
NSLog(@"The words %@ and %@ matches", n, w);
}
}
}
}
return 0;
}
This is how I approach it however it didn't work as I planned it. Anyone can help with this?
Hi,
I am having a breake down. I had the folowing problem:
Code Sign error: The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in your keychains
So i folowd the steps to solve this problem:
1) Open up Keychain Access app within /Applications/Utilities and click "All Items" under the Category sidebar. Type "iPhone" into the top-right search bar.
If you are replacing your Developer Certificate, delete your "iPhone Developer:
If you are replacing your Distribution Certificate, delete your "iPhone Distribution:
2) Clean out your profile library according to the steps in section: Keep Your Profile Library Clean.
3) Log into the iOS Provisioning Portal. Click the Certificates sidebar. Click the DEVELOPMENT tab if you are replacing your Developer Certificate, and pick the the DISTRIBUTION tab if you are replacing your Distribution Certificate. Click Revoke in the Action column.
4) Perform the steps in section Provisioning Profile Refresh. Xcode will prompt to create the new certificates; choose "Submit Request" to allow Xcode to create the certificates.
After step 4:
I folowd this steps:
"To invoke Provisioning Profile Refresh, open Xcode's "Window" menu > Organizer > Devices tab > "Provisioning Profile" sidebar under Library and click the Refresh button. The first time refresh is pressed, a prompt appears requesting your team member credentials. It is important to answer positively when asked to create your signing certificates if they are needed. To do that, click "Submit Request" when you are prompted and Xcode will create, download and install the certificate(s)."
I had no button "Refresh" so i clickt "add device to Profsioning Portal" and get a device with this muber already exists. When i login to Portal, i dont see my developer Certificate>Development anymore. Before revoke i downloaded the certificate!!!.
How do i get it back? How do i solve this problem?
alix
Is iTunes Connect working for anyone else today?
I either get "An Internal Server Error Has Occurred.", or I get "An error has occurred processing your request. Please try again later or send an e-mail for assistance."
There is no support email listed. If someone has the support email I would appreciate it if you could share it.
The following script application should combine your previous examples and allow for multiple applications - save it as a stay-open application. You should also add a LSUIElement key set to true in the application Info.plist so that it doesn't show a menu or appear in the Dock.
property illegalApps : {"MineCraft"} -- add application names as needed
property longName : missing value
property shortName : missing value
on run -- setup
tell (get system info)
set longName to long user name -- for use in the email message
set shortName to short user name -- for use in the shell script
end tell
end run
on idle -- repeatedly executes after the run handler completes
tell application "System Events" to set appList to get name of processes whose background only is false
set editedList to {}
repeat with anApp in appList -- filter for illegal apps
set anApp to contents of anApp
if anApp is in illegalApps then set end of editedList to anApp
end repeat
if editedList is not {} then notifyAndQuit(editedList) -- illegals found
return 60 -- do it again in 60 seconds
end idle
on notifyAndQuit(quitList)
tell application "Mail" -- send mail
set theNewMessage to make new outgoing message with properties {subject:"Gaming Alert [" & longName & "]", content:"[" & longName & "] has been gaming, he is to report to I.T. by the end of the day", visible:true}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"itdesk@blahblahblah.net"}
send
end tell
end tell
repeat with anApp in quitList -- kill user processes with extreme prejudice
do shell script "killall -9 -u " & shortName & " -c " & quoted form of anApp
end repeat
activate me
display dialog "Gaming is not allowed, Your log of your computer programs running has been emailed to the I.T. department. Please visit the I.T. department immedietly to remove this message" buttons {"Report To I.T."} default button 1 with title "Gaming Alert" with icon stop
end notifyAndQuit
Very doubtful as that would enable recording of the users part of the phone call and that most definately is NOT allowed.
Thanks. All I had to do was disable the auto-locate feature in the project.
Very doubtful as that would enable recording of the users part of the phone call and that most definately is NOT allowed.
Is there any updates when the apple developer forum will be back up. I got dev questions that I would like to be answered.
One day, I wanted to do something with Xcode, so I opened it, and it wanted to install the Mobile Device Connectivity Framework. I don't actually have a mobile device, and I never do any iOS programming, but it requres this somehow. I select Install, but nothing happens other than a barber pole status bar under "Installing Files." Ever. No activity whatsoever. I did not attach gdb to Xcode to try to find out hat was going on, although you probably didin't need to know that. What is going on, why is it going on, and how can I make it not go on?
Since I apparently can't post my questions about iOS 7 here, I can't seem to get into the paid developers forums. Is anyone else having this problem?
Generally speaking, like 2 to 3 versions of iPhones are supported by new iOS versions, how many generation iPod touches are supported by new iOSes. I am asking this because i newly enrolled for the $99 developer program and Apple says its better to install betaiOS on a test device. So I was planning to buy a current generation ipod touch. However, I dont wanna be buying new iPod touches each year.
Neerav
I am currently waiting on my Developers account becoming active, I have now been waiting 24 hours does anyone know how long this takes for the UK?
Hey ADiNozzo,
I just tried those steps and it worked i.e. it got me past the seemingly infinite loop on the agreement page.
Thanks for your help
Bob
Hello,
Trying to sign up for an Apple Developer Account with my existing apple id.
I get to this page: https://developer.apple.com/register/developerAgreement.action tick the box for terms and conditions and click on the ACCEPT button.
Next I get redirected back to the terms and conditions page with no error or alert message. I tick the box again and click on ACCEPT and it redirects back again.
I have now tried this on 3 different browsers but cannot get past this terms and conditions page.
Any ideas?
thanks,
Matt
I was just curious if the AirDrop between my Iphone 5 running iOS 7 beta can file share with my MacBook Pro running Mountain Lion. Is this possibe, even though the cloud sync between the two works very well and there is little need? is this something that requires OS X Mavericks? Or is there a setting on either device that im missing and the reason they are not seeing each other?
Just getting familiar with the new iOS and wanting to check out the features.
trying to get a dev account. I am stuck at the Registers as an apple developer, no matter how many time I select the radial agreeing and click "Agree" I have tried with different browswers IE9, Chrome, Safrai, Firefox, differnet OS's 10.8, Win7, iOS. I always get the same problem. has anyone else run into this issue or even better figured out how to get to it accpet your acceptance.
Thank you
Similar to iosmo, I created a new user account on my mac and a new Apple ID and it worked. Just changing the Apple ID did not work.
Just check out UserVOD - www.uservod.com - it allows to record video sessions with minimal effort.
Hi GlobalTele, I have been waiting nearly since 48 hours now. I am sure your's is already through. Could you please let me know how long did it take ? I have applied to enroll a company account.
Thanks
To have an Apple ID doesn't mean that you are a developer.
Are you registered as an Developer ?
To be registered as a Developer isn't free so if you never payed money (about 90 bucks) you don't have access to the developer Portal
HI,
Can anyone please tell me how to test my unit tests that i,ve written for web services response ,at runtime.
How do i come to know that whatever test i,ve implemented is working or not.
thanks in advance.
I've had my iOS dev account for a while and just registsed my new iPhone. When I try and install the iOS7 ipsw I get the following error:
We’re unable to complete your activation.
This device is not registered as part of the iPhone Developer Program.If you are a member of the Program, please register your device in the iPhone Developer Program Portal.
Is there something I can do to push the activation, or do we have an ETA for when this will be available?
You need at least one test device to install betas on.
You need at least one development device running the current version iOS to build and test for deployment.
Never, ever install a beta on the only device you have as there is always the chance that it could be bricked.
Never, ever try to downgrade from a beta to the previous non-beta version of iOS. This procedure is not supported nor recommended by Apple.
Development isn't cheap.
You may have to buy some new devices each year.
That's part of the cost of development.
Hi GlobalTele, I have been waiting nearly since 48 hours now. I am sure your's is already through. Could you please let me know how long did it take ? I have applied to enroll a company account.
Thanks
Hi! I'm a software developer and author.
First off, I'd need to know what platform(s) you want to target whe writing code (you seem to want to write Apple software, but for which OS: iOS or OS X)?
When you say "my knowledge of code is very basic," what code do you slightly know?
If you are intrested in writing native iOS or OS X apps and submitting them via their respective app stores, then I suggest you consider learning Objective-C. However, Objective-C is a tricky language for beginers as it is a subset of the C language. For a beginner, I would first advise you learn a simpler programming language: JavaScript. C, Java, C++, Objective-C, etc. are what I feel more difficult languages to grasp. However, a third party, PhoneGap offers develoeprs without knowledge in Objective-C to program native iOS apps using HTML, CSS, and JavaScript.
If you don't know HTML, CSS, and JavaScript already, then I hope to point you in the right direction with the following books: HTML & CSS (after reading this book to hone my skills with HTML5, I honestly thought it was fantastic). JavaScript: The Missing Manual is an excellent beginer's book on JS (although I would suggest that you read HTML & CSS first). If you want to learn Objective-C, then this is an excellent beginer's book as well. Although it is aimed at a beginer, I do want you to recognize that Objective-C is still going to be a more difficult language than JavaScript.
Also, search Google for anwswers to tricky problems which you may encounter. Watch videos on YouTube.
Let me know what you think and if you need any further assistance. I'm more than happy to help. Happy WWDC week!
Is their any way if I had a UDID registered to update to iOS 7 b1 without pc?
Hi, I'm new to the forum so I'm not sure where to ask this but hopefully you can help me.I'm fifteen I've been looking into being a software engineer for a while and I've wanted to work with apple. My question is where do I start my knowledge of code is very basic I'm just starting so if you could please help that would be awesome thanks.
When I try to install MAcPorts v 2.1.3 I get the message. Xcode is not installed, or was installed without UNIX Development. When I try to open Xcode to install I get a choose application message. Running a MacBook Pro on OSX 10.6.8, what application do I open it with to install?
Hi,
I've just registered as an iOS developer and I can't access the dev forums (http://devforums.apple.com). From the url it's on, it looks like it should be loading an agreement page but it's just the Member Center outer frame with nothing in the inner frame. Any ideas? I've tried in Safari and Chrome.
Cheers
Hi, I'm new to the forum so I'm not sure where to ask this but hopefully you can help me.I'm fifteen I've been looking into being a software engineer for a while and I've wanted to work with apple. My question is where do I start my knowledge of code is very basic I'm just starting so if you could please help that would be awesome thanks.
Hi,
I've just registered as an iOS developer and I can't access the dev forums (http://devforums.apple.com). From the url it's on, it looks like it should be loading an agreement page but it's just the Member Center outer frame with nothing in the inner frame. Any ideas? I've tried in Safari and Chrome.
Cheers
When I try to install MAcPorts v 2.1.3 I get the message. Xcode is not installed, or was installed without UNIX Development. When I try to open Xcode to install I get a choose application message. Running a MacBook Pro on OSX 10.6.8, what application do I open it with to install?
hello again, i seem to have various 'yellow warning bars' in my IDE highlighting a problem where there is actually no code?, or its highlighting a line in an area of commented out code?. whats going on. I have tried
why is this happening?. something is obviusly out os sync
any thoughts appreciated.
Hi,
I have a few questions about the development program from Apple. If I become a registered developer...
1- Will I be able to install my app in my iPhone directly from my computer/XCode without having to upload it to the app store?
2- What happens to applications added to the app store after canceling your membership?
Thanks a lot.
What i want to do is when i open one of this button that the tab bar still comes up on the page. See page
^ This is what i want it to look like when i click on the button But it looks like this.
help please!!
In a better world, no one would have to use Java anymore. Sadly there are still university programs where people are expected to use Java. Rather than cast people into the world of Eclipse, here are instructions on how to get Xcode building Java. These instructions are current as of Xcode 4.6.2. You will need to download a JDK from somewhere.
This is a basic environment meant only for writing simple school programs. It has no debugger. Replace
1) In Xcode, File > New > New Project > Other > External Build System
2) Give it a meaningful name
3) File > New > New File > Other > Empty
4) Give it a Java-friendly name. In my example, use
5) Copy the contents below into the file and save.
6) File > New > New File > Other > Empty
7) Save as Makefile.
8) Copy the contents below into the file and save.
9) The "Run" (>) button should at least compile your Java now.
Now it gets tricky. You don't have to do the next part. You could just open a Terminal to your project directory and run java
9) Project > Scheme > Edit Scheme > Debug > Info tab
10) Executable > Other > type ^?g > type /usr/bin > choose java
11) Change Debugger to None
12) Arguments tab
13) For Arguments Passed on Launch, add $(TARGETNAME)
14) For Environment Variables, add CLASSPATH with a value of $(PROJECT_DIR)
15) For Expand Variables based on, use
16) Click the "Run" (>) button.
PS: I have no idea how to run the Java debugger in Xcode. But then, I have no idea how to run the Java debugger at all.
Here are some starter file contents:
HelloWorld.java:
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hello, World!");
}
}
Makefile:
# A simple makefile for a Hello World Java program
# Define a makefile variable for the java compiler
JCC = javac
# Define a makefile variable for compilation flags
# The -g flag compiles with debugging information
JFLAGS = -g
# typing 'make' will invoke the first target entry in the makefile
# (the default one in this case)
default: $(subst .java,.class,$(wildcard *.java))
# this target entry builds the Average class
# the Average.class file is dependent on the Average.java file
# and the rule associated with this entry gives the command to create it
#
%.class : %.java
$(JCC) $(JFLAGS) $<
# To start over from scratch, type 'make clean'.
# Removes all .class files, so that the next make rebuilds them
#
clean:
$(RM) *.class
NOTE: Those indentations are true tab characters. Ugh!
Good luck on your class. Hopefully you can progress onto more complicated projects and eventually use a real language like Objective-C.
Hi,
I have a few questions about the development program from Apple. If I become a registered developer...
1- Will I be able to install my app in my iPhone directly from my computer/XCode without having to upload it to the app store?
2- What happens to applications added to the app store after canceling your membership?
Thanks a lot.
I'm pretty sure that such thing is banned from the Apple Store.
It is possible to buy credits for PokerStars inside their Apple APP without using the AppStore.
Apps cannot have their own built-in way to charge people for their services.
Apps should only use AppStore to sell stuff with their apps.
Am I wrong ?
I sense something wrong here.
Looks like they are avoiding the 30% fee that should go to Apple.
hi, as part of an app I'm writing(my first) I need to constantly convert NSDates to NSStrings and vice-versa. So I thought I would write the 2 functions but include them as methods with the main controller and call them with something like
[self convertToDate:stringToConvert]
However , I'm experiencing problems and getting warnings all over the place - may be because I'm calling them from within 'proper' methods in the class. The functions themselves are pretty straight forward and I've copied them from forums like this one
I realise this is probably not best practice , but how else would I do it? Would I create a separate .h and .m files.
Any thoughts would be gratefully received. I have posted threads about mixing normal functions and methods on this forum and I am grateful for all your feedback , and this relates to this matter , but I'm starting to wonder if my approach is wrong?
I found a recent corruption in the urls provided by the apple hotnews rss feed, or at least what appears to be corruption. Can anyone shed some light on this?
The link I am using is:
http://images.apple.com/main/rss/hotnews/hotnews.rss
Pastebin of rss contents (since it will likely change)
The error appears in the format:
$true_link$ ?sr=hotnews.rss
The expected value should be:
$true_link$?sr=hotnews.rss
it appears to simply be a referral parameter, and as such one can simply tokenize the input and take the first token, but it is a bit of a bummer to have to clean (some of) the data manually.
-Christophe