Beginner to Phonegap

IAM a beginner to phonegap and I did a lot of research on this work, I need help, first of all, I managed to configure phonegap on my laptop and also to connect my mobile phone to call on the cell phone after viewing the useful video (tutorials), now I have to do the coding real unfortunately I do not know what files to use in my project files should I use the index file which is the html format , or which others should I use guide kindly. I have been using Adobe Dreamweaver CS6 as my text editor.

The task that I need to implement is implement box that a user can push a button to ring a Bell of confirmation dialog and another button to vibrate.

Here is the code that I met but I'm failing to implement this assistance kindly task me.

Code

A sound signal

Navigator.notification.Beep (1);

Vibrate

Navigator.notification.VIBRATE (2000);

Thanks in advance for your help.

First of all, DO NOT use the phonegap with Dw, it has not been updated for a few years, (and is no longer supported in Dw). Download the app instead.

http://PhoneGap.com/getstarted/

Then read the documentation and work through the tutorials.

http://docs.PhoneGap.com/

Tags: Dreamweaver

Similar Questions

  • There is a blue box with a white padlock in the middle of my screen. Happened when I was exploring Security FF as a beginner. How it go down?

    Happened while exploring safety FF as a beginner. Don ' t know what I did but how do I get it off there?

    It occurs when you are using Firefox or any time. Because it looks like you have changed some settings on your monitor. However, try this: http://www.paulstravelpictures.com/Dell-LCD-Monitor-Flashing-Padlock-Icon/index.htm

  • How is it possible to reset the game Burble Place from beginner, intermediate or advanced?

    Hello

    My son likes to play instead of Burble games and has fairly well mastered the beginner... There are other levels (intermediate and advanced).  I tried to reset the level, but when he enters one of the Burble games after resetting the scores, it is always configured for beginner - I would have thought I could choose a new level as intermediate or advanced... but no option to be able to do this...

    any ideas?

    Thanks in advance...

    Laptop HP ENVY 17-j005tx, HP ENVY 27 - k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server tilt, HP MediaVault 2020, HP ENVY 120 AiO Printer

    You must open the game first. Then you can select the game in the menu at the top, then press Options. Make sure you click OK.

  • Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    This can help (from turingtest2):

    Fix iTunes for Windows security permissions

  • [Beginner] Start button run sub vi only once

    Hi, I am very confused by what it seems, very simple task.

    I have a piece of code and I need to connect it to 'start' button that will run once when the button is pressed, run once more, if I press the button again and so on.

    I tried with 'while' loop and true/false button connected to him, but, as you know, code inside the loop runs continuously as long it is true which is incorrect, it does not stop when it should.

    I woul hold it like this: press start-> code in the block runs once and that's it, no more unsless I press the new button...

    Please advice.

    PS: I have attached the vi piece I need to connect with button. He is currently working as intended but I can't seem to make it executable with button.

    An event loop is the way to go, but since you're a beginner. This is the Basic, simple way:

    You must click with the right button and change the mechanical action of lock when you press on (or exit) to run only once.  If you set it to spend it will switch.

  • Somehow, I got an incredibly high score from 1292 to Spider Solitaire (Beginner)

    Somehow, I got an incredibly high score from 1292 to Spider Solitaire. I was playing on beginner level. Looks like a bug. What should I do?

    Hi IanCandy,

    If you think you have found a bug in a Microsoft product, please contact our Department of Support technique Microsoft to report a bug to Microsoft product.

    Hope the helps of information.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Download or unlock code? Beginner question

    Hello world

    It's a bit silly question from beginner on in-app purchases bare with me please

    Basically...

    Do you want to download content when you make a purchase or do you just unlock code? If you download content RIM hosts it similar to the file of the application bar? Or do I need to have my own downloadable content server host? (or maybe a 3rd party like scoreloop)

    So, for example, if I make a game with 50 levels and the basic version is only from 30. Can I code upwards and release all 50 in a folder bar but wrap access to 20 of these levels within some type of if statement where I check the receipts of payment?

    OR you release the game with 30 levels and then once the user makes the payment that they download the 20 extra on their phone?

    I am currently looking by making payments in application, that is why I ask. Initially I thought that you have downloaded the content (like xbox DLC) but the code example / documentation doesn't mention anything about downloading content.

    Thanks in advance

    Jason

    It's 100% up to you. If the files are large, so it may make sense to build them in the application so that the user doesn't have to wait to download.

    All downloads need to be hosted by you, the App World servers only host apps.

  • PhoneGap Application signature question for BB 6.0

    Hello

    I'm trying to sign my application phonegap from yesterday, but is still not signed.

    Error: general failure of .  Please try again. Server is maybe not available.

     

    Let me know by when the server is available. As it is urgent to get out.

    It's working now.

    Thank you.

  • Cordova/Phonegap for WebSQL Storage API does not not on BB10

    I use the API of storage for WebSQL to Phonegap with BB10 but his does not work.

    And not able to see the logs in the web Inspector. I have test code on system Z10 bb OS 10.2.

    And cordova 3.1.

    Is there a sdcard is required in the device? Currently, there is no SD card in my camera.

    Or is there any other requirements. Please help me as soon as POSSIBLE.

    Please find my code below:

    index.html

    Sample contact

    Example of

    Database

    You use the document originally of a variable

    window.addEventListener('load', function () {
        document.addEventListener('deviceready', onDeviceReady, false);
    }, false);
    
  • Display alert to phonegap android code construction

    I get an alert from emulator technology phone gap in android.

    "Building coredova globals js exception: ReferenceError: can't find variable: for key"exec"org."

    in fact I don't understand why this code come.same works on blackberry.

    Help, please

    Hello. Are you using the Phonegap/Cordoba even for both platforms? You shouldn't have given that the platforms could operate different and that's why Phonegap/Cordova offers different files for all supported platforms.

  • DB file for phonegap

    Hello world

    I ask for the key for the version of the app, but phonegap also ask me a db file, how can I get it?

    Thank you very much.

    C.

    I think you need to use the old method (WebWorks 1.0) of the registration of code signing keys (for example LSB files) which creates both CSK and DB files:
    https://developer.BlackBerry.com/HTML5/documentation/v1_0/signing_setup.html

  • question of payment in 10 blackberry gateway webworks to phonegap

    Hi all

    I'm working on PhoneGap app for Android, iOS, BB, WM. In that I have a problem with the payment for BB 10 webworks gateways. I have made in Android and iOS when I'm doing this feature in BB, WM, it only is not implemented correctly some forums shows as Cordova is not suppaort payments in BB, WM so can someone help me please respect the web 10 BB payment gateways work.

    Thanks and regards,

    We have a new payment API sample on GitHub as well as a new blog post (with links) http://devblog.blackberry.com/2014/04/make-money-with-your-webworks-2-0-app/

    Probably worth it. I show how to apply a basic payment.

  • Plugin Google Analytics for phonegap webworks

    Hi team

    is there a Google Analytics plugin for webworks or phonegap?

    because I searched there just for android and ios

    Best regards

    Adha dimas Lemasson

    CASE CLOSED

    I use this

    https://github.com/ggendre/GALocalStorage

  • Get the .csk for PhoneGap Build .db file

    Hello

    I am trying to build my app with PhoneGap Build, but it requires two a. CSK and one. DB file.

    I had the. CSK folder but now I have no idea how to get the. DB one. I tried searching the Internet, but all the information I got is different and not clear. I have received no other files by email.

    Is it possible to get the. File DB without installing any SDK? It is nearly 300 MB (I use Windows XP). And I really don't need, I want just that file.

    Please, I would appreciate your help.

    Thank you much in advance.

    See you soon,.

    Joan

    Hello. You are not able to build for BBOS with WebWorks 2.0 product. BBOS is a separate architecture even to WebWorks.

    To build to BBOS, you will need to use the tools BBOS here:

    http://developer.BlackBerry.com/BBOS/HTML5/

    Thank you.

  • BB10, Phonegap 3.0.0 + InAppBrowser

    Hello

    I'm developing an application with Phonegap 3.0.0 and I have a problem with the InAppBrowser, it just doesn't work. I added the plugin and still getting the 404 error. Then, I inspected the plugin and found that a readme file in the blackberry10 folder, indicating that the plugin is not necessary for BB10. However, it does not.

    I also tested in Phonegap 2.8.0 and oddly enough it does not work there.

    Suggestions?

    Thank you!

    Hey,.

    Thanks for your response!

    I have just solved the problem myself. :-)

    It seemed that the configuration of the automatic plugin of phonegap kept a reference to the InAppBrowser plugin in the file blackberry10.json, whereas it should not. Deleted manually and the problem was solved!

    The other 2 problems I posted are not yet resolved.

Maybe you are looking for

  • Is it possible to print timestamps with iMessages via MacBook Pro?

    I was happy to know that you can print right from your MacBook iMessages until iCloud is turned on and synchronized. However, one small downside is not having each individual meter print with it. It will be displayed on the screen if you place the cu

  • Windows 8 on Satellite C660 - 1 M 0

    HelloI'll download this Preview of Windows 8 news...He will accept the drivers for my laptop?My laptop is TOSHIBA * MODEL NAME *: SATELLITE C660 - 1 M 0* PART NO. * PSC1GE - 029002AR* NO. SERIES * 6B206893K

  • Toshiba Satellite A60 302 begin, please help!

    First of all, Hello! :-) I'm new to this forum, so welcome to everyone. I have some problems with my A60-302, when I try to turn it on, nothing happens, only black screen and "Toshiba - contact tomorrow" is not shown. The leds seems to be normal, no

  • Satellite A505-S6922 - how to install Windows 7 drivers?

    I have an A505-S6992 and I try to do a clean install of Windows 7 Ultimate. I created the recovery with drivers and applications disc. In what order should I install and how to install Windows 7 ultimate? I tried to install by going just to the botto

  • DV4T-1400: IEEE-1394 Firewire

    My Sony camera will only download using IEEE-1394 Firewire Is it possible to make the DV4T-1400 accept the Firewire cable? There is a white card push. Under hardware it is said: slot ExpressCard/54 card (also supports ExpressCard/34) Can I do with it