How to work with sound in iphone application developement?
Hi All
I have tried some thing written in the book.I have included AudioTool.framework to my project.But unable to hear the sound.
the code i have used is
NSString *path=[[NSBundle mainBundle] pathForResource:@"crunch" ofType:@"wav"];
SystemSoundID SID;
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath:path], &SID);
AudioServicesPlaySystemSound(SID);
the sound file has the name "crunch.wav".
Well as a starter i was just trying this in the mac with iphone simulator 3.1.3 to chek whether its working or not and to understand the keys and concepts of using these things. So I have tried this but not worked. Everything(all the resources and the methods) in this code has been being maintained according to their case in the bundle .
Similar Messages
-
How to work with Sonar in iPhone
Hello all,
I am trying to work with Sonar.For measure distance between two points using sound.How its possible it with iphone?
because as i know for that i required to send sound at velocity(reference to temperature). So in iphone how its possible & for that what i required?.
Thank you.
Message was edited by: diyora
Message was edited by: diyoraWell as a starter i was just trying this in the mac with iphone simulator 3.1.3 to chek whether its working or not and to understand the keys and concepts of using these things. So I have tried this but not worked. Everything(all the resources and the methods) in this code has been being maintained according to their case in the bundle .
-
How can I get a sim card for Japan and will it work with my locked Iphone 6
How can I get a sim card for Japan and will it work with my locked Iphone 6
You cannot use a SIM card on a carrier locaked phone, other than a sim from the carrier the phone is locked to. You must first get the carrier it is locked to, to unlock your phone. Apple does not unlock phones.
-
Only one of my earbuds on my bose headphones works with my ipad, iphone and macbook- if I hold them there the right earbud will work, but for the life of me, I can't get them to both work. Why is this? And is Apple doing anything about this? While Apple's headphones have (finally) admittedly gotten better of late, I still prefer the much more comfortable headphones & sound quality that Bose makes and that I spent the money for.
Bose Product Support
-
Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.
Hi ron1098,
Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
Best wishes
John M
As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link. -
How to work with DTR and CBS?
Hi
I have designed one web dynpro application. Now I want to work on this application through DTR. Means i want to do versioning and all. How to work with DTR..? I have gone through lot of blogs and help available in SDN but i am unable to understand how to work with it.
One more thing how to work with CBS. How to configure CBS. I have NWDS latest version 7.0.7. In window perspective i am unable to find JDI. can any one please explain me if u have worked on this with example
If possible can any one send me the screen shots how to work with these ?
Best Regards
Ravi Shankar BHi Ravi
For you to work with DTR and CBS, firstly u will have to configure JDI on server.
To configure the NWDI, please go through the links given below:
http://help.sap.com/saphelp_nw2004s/helpdata/en/07/f6bc3d42f46c33e10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/71/0369404c65587ee10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/26b84d6c823f66e10000000a11466f/frameset.htm
In Nutshell, following steps will be performed:
1) logon to Portal Devinf.
2) click on CMS
3) Go to landscape configurator
4) create domain
5) create tracks and add Software components in that track
6) runtime systems ( dev/qa etc are configured
7) in the transport studio, all the files listed are checked in through check - in tab.
8) they move to developement tab.
Once all these things are done, in your NWDS:
1) Setting the devbox host name and server port in Window -> Preferences -> SAP
J2EE Engine
2) Setting Portal URL in Window -> Preferences -> JDI -> DC Pool and ping server,
to check whether server is getting accessed from NWDS.
3) Once server is set, login to DTR and go to DTR perspective. Create a client there, by doing a right click and filling up the required details.
4) In the DC perspective, in the Local DCs view, perform import configuration.
5) the dev track is not configured
6) Under this, after logging into DTR, now you can create your project, check them in and create new versions.
Thanks & regards,
Anupreet -
I have Outlook 2011 installed on my Mac Pro, but I can not install it icloud. I can only get through imail, iCal and Address Book in Mac native anyone know teach me how to work with Outlook 2011 icloud? thank you
"iCloud requires iOS 5 on iPhone 3GS or later, iPod touch (3rd and 4th generation), iPad, or iPad 2; a Mac computer with OS X Lion; or a PC with Windows Vista or Windows 7 (Outlook 2007 or 2010 or an up-to-date browser is required for accessing email, contacts, and calendars). Some features require a Wi-Fi connection. Some features are not available in all countries. Access to some services is limited to 10 devices."
From here > http://www.apple.com/icloud/ -
JSR 296 - How to work with arguments?
Hi Everyone,
I am developing an application by using a JSR 296 Swing Application Framework but I don�t make any idea about how I could manage a line-command arguments.
Should I try through Application.getInstance().getContext().getResourceMap() or something like that?
My intention is to get access to arguments within the method startup(). However, note that they are not directly available for use unless I create a array member and explicitly assign them to this new member (I suppose it must have a suitable way for doing this instead of I mentioned):
I am using Netbeans 6.0 beta 1 to create this application, under the option File < New Project < Java Desktop Application
See below a snippet. As you can see, I would like to get a value of the first argument passed by user from line command.
* Main method launching the application.
public static void main(String[] args) {
launch(MyApplication.class, args);
@Override protected void startup() {
// here I would like to access the arguments
String firstArg = ?
// show main frame
show(new MyApplicationView(this));
}Does anyone know how to make it possible?
~Fernando
Edited by: [email protected] on Oct 17, 2007 10:08 AM
Edited by: [email protected] on Oct 17, 2007 3:18 PMOriginally Posted by skoltogyan
How to work with database in the Teaming ?
I need create some web-forms and store it in the database on the server.
Any example - how i can do this with Teaming ?
Please, Help me.
Serg
Hi Serg,
Not sure what you are looking for and I'm also no dev...
Maybe this link will help : Episode X: Teaming Templates | Novell User Communities -
How to work with BarTender software from LV ?
Hi,
I'd like to activate Seagull's BarTender Label printing software (version 7.71) from Labview.
Basically I need to create a new label, add text and pictures/icons to it and then send it to the printer.
I noticed an Active-X option exist but I'm not sure how to work with it. I started building something like the attached file but I don't know how to continue.
Does anyone have some examples ?
(Otherwise, is it possible to use command lines ?)
Thanks in advance,
Mentos.
Attachments:
Bartender_Example.vi 12 KBWhat type of printer are you trying to communicate with? Depending on the printer it may be possible to communicate directly with the printer itself. You would need to define the label or labels you would like to print and insert the data on the fly in your application and then send it to the printer.
I am not familiar with the BarTender application itself so I can't give you advice on interfacing with it. However if it does have an ActiveX interface you should be able to communicate with it directly.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
How to work with 360 video?
I am new to AE and am trying to work with a 360 equirectangular video I shot with a Freedom 360 and 6 go pros.
Are there any tutorials on how to work with 360 spherical videos? Do I need to download additional plugins?
Thank you,
PhilPhil,
Of course, the image needs to be big for this, but the plugin you would use is CC Sphere.
Drop your movie into a composition and apply CC Sphere to the video.
Then set the Render option in the effect to "Inside".
Under Shading set Ambient to 100% and Diffuse to 0%.
Then scale inside the effect until the image fills the screen.
Then you'll be able to use the Rotate Y controls in CC Sphere to spin around inside your video!
You can also add Optics Compensation and Reverse the Lens Distortion to straighten out your image.
Let me know if you have any questions!
Trent -
How to work with EEWB tool in CRM and how to assign it to PCUI
Hi Friends,
Can any body will suggest me how to work with EEWB tool in CRM to add new fields ,i need to attach the fields to a GUI screen and same to PCUI also,
And how to attach a search help for those fields,is the tool will automatically will create the search helps or it is similar as we do in abap,
So can any body suggest me to get a material on this ,
Thaking you
Regards
Raghavendra PrasadPrasad
Following are the steps involved in general :
1. Select the filter Worklist and enter your name in the input field of the object list selection. Press the enter key. Your object list is displayed.
2. Place your cursor on the highest node(PROJECT BY XXXXXX). Select Create project from the context menu by right-clicking on it. You see the dialog box Create project.
3. Enter a project name, description, packages, and namespaces for each system used. Leave the dialog box by pressing the enter key.
Specify transport requests. The Project is created and appears in the object list.
4. Place your cursor on the new project in the object list and select Create extension in the context menu. You see the dialog box Create extension.
5. Enter a name and description. Define a Business Object and extension type. Press the enter key.The extension is created and appears in the object list below the project.
6. Place your cursor on the new extension in the object list and select Call wizard in the context menu. The wizard for the extension action starts automatically.
7. Fill in the input fields following the notes on screen and end the wizard by clicking on Complete.The extension tasks have been created and appear in the object list.
Project and extension are created !
Also take care that you have the Transport Requests and Save the Project and Extensions against a Development Class !
In general , EEW will automatically puts the fields on the Screen. We donot want to worry abt that !
The generated BADIs can be implemented to do some Checks(for example) !
I hope this helps !
Thanks
<b>Allot points if this helps !</b> -
Hi,
We use OEM (12c),have db (11.2,10.2/1).
How OEM works with database?
When oem initated a job aginst db,What are the steps preformed by OEM?What are the info updated in OEM DB and Normal DB regading jobs?And Where?
BrAt what point do you get this message?
Have a look at the Windows Service. Ensure the EM Agent is running. Your database and Listener may be running, but if the Agent is not running, you will not be able to see correct status.
Stop and start the Agent -
Will the Stitchway UltraPower 1900 mAh Backup Battery Charger work with the Apple iPhone 4S?
Will the Stitchway UltraPower 1900 mAh Backup Battery Charger work with the Apple iPhone 4S?
I see no reason why it shouldn't. At prices I've seen down to $4.39, I wouldn't hesitate to give it a try. That's cheaper than a sandwich!
-
Can any one tell me how to work with field exit????
Hi
Can any one tell me how to work with field exit I know how to create them. I want to know how it works. Actually I want to create a field exit for T-CODE MIRO. Where I want to put the value ebeln of the PO Reference tab into the Assignment of details tab and make Assignment field disable.
Thanks in advanceHi,
Follow the Steps,
1. Go to CMOD transaction
2. From the menu "GOTO->TEXT ENHANCEMENTS->DATA ELEMENTS- ->NEW DE CUST DOCU".
3. In the displayed box specify the data element and
press either "CHANGE" or " Ref to screen" button
4. CHANGE button is for defining the documentation
5. "Ref. to screen" if for assigning the screen in which
a field has the this type data element.
Note: You should have used this data element for a
field in that screen.
6. Now it will ask for Function Module name, specify the
FM name and double click it. It will go to the editor.
7. Now using the Import parameters code accordingly
8. Activate and go back
9. Now "Assign the created program ( that is FM) to the
screen by specifying the Program name and Screen
number.
10. Now save and activate.
Note: No need to create a separate project for creating field exit through transaction CMOD.
I hope this is suffice.
Regs,
Venkat Ramanan -
How to Work with Composite Primary Key
Hi All,
I'm working with Toplink JPA. Here I have A problem with inserting into database table which have composite Primary Key.
What I'm doing is, I have two tables. to maintain many to many relation between these two tables I created another intermediate table which consists of foreign Keys (reference) of above two tables.
Now these two foreign Keys in the Intermediate table made as composite Primary Keys.
When I'm trying to the data in the Intermediate table I'm getting the foreign Keys values are null..
could anyone suggest me how to work with composite Primary Keys
Thanks,
SatishI have the same problem, I have 3 tables with a join table joining them all. I have created an intermediate table entity. When I go to create a an entry, it says that I cannot enter null into "ID". Here is the SQl toplink generates:
INSERT INTO Z_AUTH_USER_AUTHORIZATION (CONTEXT_ID, AUTHORIZATION_ID, USER_ID) VALUES (?, ?, ?)
bind => [null, null, null]
Here are the classes:
-----------------------Join Table-----------------------------------------------
@Entity()
@Table(name = "Z_AUTH_USER_AUTHORIZATION")
public class AuthUserAuthorization implements Serializable{
@EmbeddedId
private AuthUserAuthorizationPK compId;
// bi-directional many-to-one association to AuthAuthorization
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "AUTHORIZATION_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthAuthorization authAuthorization;
// bi-directional many-to-one association to AuthContext
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "CONTEXT_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthContext authContext;
// bi-directional many-to-one association to AuthUser
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "USER_ID", referencedColumnName = "ID", nullable = false, insertable = false, updatable = false)
private AuthUser authUser;
---------------------------------------User table--------------------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_USER")
public class AuthUser implements Serializable, IUser{
@Id()
@SequenceGenerator(name = "AUTH_USER_ID_SEQ", sequenceName = "Z_AUTH_USER_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_USER_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 10)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authUser", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
-----------------------------------Context table-----------------------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_CONTEXT")
public class AuthContext implements Serializable, IContext{
@Id()
@SequenceGenerator(name = "AUTH_CONTEXT_ID_SEQ", sequenceName = "Z_AUTH_CONTEXT_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_CONTEXT_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 8)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authContext", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
----------------------------Authorization table-------------------------------------------------
@Entity()
@Table(name = "Z_AUTH_AUTHORIZATION")
public class AuthAuthorization implements Serializable, IAuthorization{
@Id()
@SequenceGenerator(name = "AUTH_AUTHORIZATION_ID_SEQ", sequenceName = "Z_AUTH_AUTHORIZATION_ID_SEQ")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "AUTH_AUTHORIZATION_ID_SEQ")
@Column(name = "ID", unique = true, nullable = false, precision = 8)
private Integer id;
// bi-directional many-to-one association to AuthUserAuthorization
@OneToMany(mappedBy = "authAuthorization", fetch = FetchType.EAGER)
private java.util.Set<AuthUserAuthorization> authUserAuthorizations;
I have tried to create the new entity several ways. I have tried to create one with the default constructor then set this entity on each of the other entities, I have also tried to pass in the entities to the join entity and set them there, but this doesn't work. Any help would be very appreciated!
Thanks,
Bill
Maybe you are looking for
-
Excise duty change in PO after GRN posting
Dear Experts , we have have an issue like ,there is excise duty difference between PO and Invoice (from vendor) . We have posted the GRN (actually it is service PO , but we have same issue for material PO's also) but not posted the invoice and paymen
-
Flash Player wont install on my macbook pro
I have a macbook pro with Mac OS X 10.6.8 system, and each time i try to upload the latest version of flash player it will stop half way and tell me installation failed!!!! please someone help me, i need to get this installed
-
I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator. Not sure how to use Labview to control the PLL.
-
Multi-Master Replication Limits
I'm starting new project and would like ask your opinion. They like to have multi-master replication of a single table between Chicago and Denver. A record could be written in Denver, then same row read in Chicago. The opposite is also true. Replicat
-
Unexplained UnpublishNotify on Edge Server
I have and FMS (3.0.2) running as an edge server, republishing a stream from another ingest FMS that is recieving a stream from Adobe Flash Media Encoder (2.5). After almost exactly 5 minutes the edge FMS unpublished the stream even though I have a s