Arjav Jain | 31 Jan 13:59 2015
Picon

General help for a text input application

Hey
So my app is a keyboard text input application like Swiftkey and deploy it on Android, WP and iOS.

I'm very new to Phonegap and have no idea how stuff works here. How do I get started to making such an app? 

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
har ya | 30 Jan 21:53 2015
Picon

Receiving data from BLE peripheral using the bluetoothserial chat example

Hello All, 

I have gotten the chat example found here to successfully connect to my BLE Arduino peripheral. I currently have two sensors attached to my arduino on analog pins 0 and 1. I wanted to know how I would go about reading the sensor values from my arduino within the chat app. I have added this to my arduino code. 


if (bleSerialPort.available()) {
 
int sensorValue1 = analogRead(A0);
 
int sensorValue2 = analogRead(A1);


 bleSerialPort
.write(sensorValue1);
 bleSerialPort
.write(sensorValue2);
 
}


but have had no luck getting it to work i would appreciate the help THANKS

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
kajol patel | 30 Jan 17:01 2015
Picon

Database in Phonegap

I want to know how to use sqlite database in phonegap.Where does it create the db file.
I have added the plugin of sqlite through the command "phonegap plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git".
It was successfullly added.But now how to use it?How to store the values here?
Please help me.
Below is my index.html code:

<!DOCTYPE html>
<html>
  <head>
  

  
    <script type="text/javascript" charset="utf-8">

    // Wait for PhoneGap to load
    //
    document.addEventListener("deviceready", onDeviceReady, false);

    // PhoneGap is ready
    //
var db;
   function onDeviceReady() {
  db = window.sqlitelugin.openDatabase({name: "DB"});
}

    // Populate the database 
    //

 db.transaction(function(tx) {
        tx.executeSql('DROP TABLE IF EXISTS test_table');
        tx.executeSql('CREATE TABLE IF NOT EXISTS test_table (id integer primary key, data text, data_num integer)');
});
    

    </script>
  </head>
  <body>
    <h1>Example</h1>
    <p>Database</p>
  </body>
</html>

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Canado | 30 Jan 15:38 2015
Picon

resolveLocalFileSystemURL / success but no folder created

Hi

I had to open this new post because I'm having hard times with the filesystem
Here is are my plugins once compiled 


de.appplant.cordova.plugin.hidden-statusbar-overlay  pgb 1.2.0
net.bgta.phonegap.plugin.appversion  pgb 1.1.1
org.apache.cordova.device  pgb 0.2.12
org.apache.cordova.file  pgb 1.3.1
org.apache.cordova.file-transfer  pgb 0.4.6
org.apache.cordova.splashscreen  pgb 0.3.4


once I have deviceready I do ( as an example )

window.resolveLocalFileSystemURL(cordova.file.dataDirectory, function(dir){ dir.getDirectory("myfolder", {create: true},function(e){alert("good")},function(e){alert(e.code)} ); });

I have alert good poping up so it should be fine, but
when I look into the device though, I see in Android/data/com.example/files
but nowhere around ( in cache, or in files etc ...) I see the myfolder directory
the folder I want to create does not exists

What I am missing. ( especially since the success function is triggered !)

Thanks for your help

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
manoj kumar Srivastaw | 30 Jan 13:14 2015
Picon

append json response on listview

Dear guys,
               how to append ajax JSON response dynamically on jquery mobile "list-view".  i'm posting some code please help me .

 <script>
        $(document).ready(function(){
           $.ajax({
               type:"GET",
               url:"http://localhost/doctor_details.php",
               dataType:'JSON',
               success:function(response)
               {
                
                     rowArray = new Array();
                     if(response.length !=0){
         for (var i=0;i<response.length;i++) 
 {        
                         var docname1 = response[i].docname;   //  so i want to append this dynamic variable on listview (jquery-mobile).
                           alert(docname1);
        }
                                 }
                      });              
                                                 
        });
</script>
 

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
JL Griffin | 30 Jan 01:57 2015

Empty Context menu

I have just begin my first mobile application and it has been working very well so far. one persistent problem is this context menu at the bottom of the viewing area. its a fat black bar with a "..." turned sideways on it. Ive seen this used for context menus in other applications. The problem is, it doesnt belong there. i dont want it there. i have no idea how it got there.

If anyone could let me know how to get rid of this thing that would be fantastic. I am using phonegap build.

Thank you. Attached is a screenshot


--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Jacky Chan | 30 Jan 03:19 2015
Picon

Plug-ins for wifi hotspot?

Are there any plug-ins that are able to configure and enable/disable the wifi hotspot?

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Yama Farooq | 29 Jan 16:30 2015
Picon

cordova 3.7.0, iOS8, jQuery Mobile page content not loading on on first visit

I am using jQuery Mobile and Phonegap to develop a new app for iOS devices.

  • jquery mobile-1.3.2
  • Cordova 3.7.0

Im having an issue loading the main content of a page, the main page load normally without any problem however if i click navigate to anther page the main content of page dose not load. If I visit another page on my application or simply go back and revisit all the contents load without any problem whatsoever.

Page on the first visit 


Page after first visit 



Going into my logs there is no error, The application work fine in < iOS8.


Regards,

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Simon Tin-Yul Kok | 29 Jan 07:24 2015

Running PhoneGap Desktop Without Network Connectivity

Hi there.

Is there an easy way to run PhoneGap Desktop without network connectivity on my Mac?

I currently get the error message "Server is running on http://unknown:8000".

I was hoping to do some coding using PhoneGap Desktop while on the airplane this Friday.

- Simon

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Ben Hill | 29 Jan 00:15 2015
Picon

Splash screen

Hey Guys.

I'm wondering how to remove the splash screen from displaying. It doesn't display on android but on Ipad/Iphone it displays. I've put a custom splash screen which is just a html page and redirecting from there.

Here is my config.xml.

Any help would be awesome.

Ben

"
<?xml version='1.0' encoding='utf-8'?>
<widget id="neocom.adme" version="1.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<name>AdMe</name>
<description>
This App provides Daily Deals
</description>
<author email="ben-w4YxxxuVMZBo8maWJSynUg@public.gmane.orgz" href="http://www.neocom.co.nz">
Neocom Team
</author>
<preference name="iosExtraFilesystems" value="cache" />
<preference name="permissions" value="none" />
<preference name="phonegap-version" value="3.6.3" />
<preference name="orientation" value="default" />
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="true" />
<preference name="webviewbounce" value="true" />
<preference name="prerendered-icon" value="true" />
<preference name="stay-in-webview" value="false" />
<preference name="BackupWebStorage" value="none"/>
<preference name="ios-statusbarstyle" value="black-opaque" />
<preference name="detect-data-types" value="true" />
<preference name="exit-on-suspend" value="false" />
<preference name="disable-cursor" value="false" />
<preference name="android-minSdkVersion" value="13" />
<preference name="android-installLocation" value="auto" />
<gap:plugin name="org.apache.cordova.file"/>
<gap:plugin name="org.apache.cordova.console" />
<gap:plugin name="org.apache.cordova.device" />
<gap:plugin name="org.apache.cordova.device-motion" />
<gap:plugin name="org.apache.cordova.device-orientation" />
<gap:plugin name="org.apache.cordova.dialogs" />
<gap:plugin name="org.apache.cordova.globalization" />
<gap:plugin name="org.apache.cordova.inappbrowser" />
<gap:plugin name="org.apache.cordova.media" />
<gap:plugin name="org.apache.cordova.network-information" />
<gap:plugin name="org.apache.cordova.core.file-transfer" />
<gap:plugin name="nl.x-services.plugins.calendar" version="4.2.4" />
<gap:plugin name="com.phonegap.plugins.pushplugin" version="2.4.0" />
<gap:plugin name="nl.x-services.plugins.toast" version="2.0" />
<gap:plugin name="com.ohh2ahh.plugins.appavailability" version="0.3.1" />
<gap:plugin name="com.millerjames01.sqlite-plugin" version="1.0.1" />
<icon src="icon.png" />
<icon gap:platform="android" gap:qualifier="ldpi" src="res/icon/android/icon-36-ldpi.png" />
<icon gap:platform="android" gap:qualifier="mdpi" src="res/icon/android/icon-48-mdpi.png" />
<icon gap:platform="android" gap:qualifier="hdpi" src="res/icon/android/icon-72-hdpi.png" />
<icon gap:platform="android" gap:qualifier="xhdpi" src="res/icon/android/icon-96-xhdpi.png" />
<icon gap:platform="blackberry" src="res/icon/blackberry/icon-80.png" />
<icon gap:platform="blackberry" gap:state="hover" src="res/icon/blackberry/icon-80.png" />
<icon gap:platform="ios" height="57" src="res/icon/ios/icon-57.png" width="57" />
<icon gap:platform="ios" height="72" src="res/icon/ios/icon-72.png" width="72" />
<icon gap:platform="ios" height="76" src="res/icon/ios/icon-76.png" width="76" />
<icon gap:platform="ios" width="120" src="res/icon/ios/icon-120.png" height="120" />
<icon gap:platform="ios" width="152" src="res/icon/ios/icon-152.png" height="152" />
<icon gap:platform="ios" height="114" src="res/icon/ios/icon-57-2x.png" width="114" />
<icon gap:platform="ios" height="144" src="res/icon/ios/icon-72-2x.png" width="144" />
<icon gap:platform="webos" src="res/icon/webos/icon-64.png" />
<icon gap:platform="winphone" src="res/icon/windows-phone/icon-48.png" />
<icon gap:platform="winphone" gap:role="background" src="res/icon/windows-phone/icon-173.png" />
<gap:splash gap:platform="android" gap:qualifier="port-ldpi" src="res/screen/android/screen-ldpi-portrait.png" />
<gap:splash gap:platform="android" gap:qualifier="port-mdpi" src="res/screen/android/screen-mdpi-portrait.png" />
<gap:splash gap:platform="android" gap:qualifier="port-hdpi" src="res/screen/android/screen-hdpi-portrait.png" />
<gap:splash gap:platform="android" gap:qualifier="port-xhdpi" src="res/screen/android/screen-xhdpi-portrait.png" />
<gap:splash gap:platform="blackberry" src="res/screen/blackberry/screen-225.png" />
<gap:splash gap:platform="ios" height="480" src="res/screen/ios/screen-iphone-portrait.png" width="320" />
<gap:splash gap:platform="ios" height="960" src="res/screen/ios/screen-iphone-portrait-2x.png" width="640" />
<gap:splash gap:platform="ios" height="1136" src="res/screen/ios/screen-iphone-portrait-568h-2x.png" width="640" />
<gap:splash gap:platform="ios" height="1024" src="res/screen/ios/screen-ipad-portrait.png" width="768" />
<gap:splash gap:platform="ios" height="768" src="res/screen/ios/screen-ipad-landscape.png" width="1024" />
<gap:splash gap:platform="winphone" src="res/screen/windows-phone/screen-portrait.jpg" />
<content src="/pages/splashscreen.html"/>
<access origin="*" />
</widget>"


--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Alberto GR | 29 Jan 00:48 2015
Picon

Open certain html file from android main activity

Hi, i have a project that i made with phonegap it have 2 html files:

- index.html
- services.html

On eclipse i set that first open an android activity with 2 buttons, this is a native app, it suppose that:

button1 open index.html
button2 open services.html

¿How can i do this?

Thanks i hope someone can help me

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phonegap-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Gmane