Android : Need To Get PhoneGap Working

Sep 5, 2010

I'm trying to get PhoneGap working. I've hit a hurdle getting started. I've downloaded version 0.9.1. I've been following the instructions at http://phonegap.pbworks.com/Getting-started-with-Android-PhoneGap-in-Eclipse.

Using MacOS 10.5.8. Android SDK is already installed and working with Eclipse. My .bash_profile file looks like this:

$PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin

export PATH=${PATH}:/Applications/android-sdk-mac_86/tools
export PATH=$PATH:/Applications/phonegap-android/bin

(and I restarted my terminal window to make it take effect) I've tried the following command cd /Applications/phonegap-android/bin

ruby ./droidgap /Applications/android-sdk-mac_86 HelloPhoneGap com.myidentity.android /Users/myidentity/Documents/workspace/HelloPhoneGap/assets/www /Users/myidentity/Desktop

and I get the following error: ./droidgap:4:in `require': no such file to load -- /Applications/phonegap-android/bin/lib/generate.rb (LoadError) from ./droidgap:4

Android : Need to get PhoneGap working


Android :: Building Phonegap Example App?

Sep 16, 2010

I am trying to build android example app by using phonegap. Here are the the system details.
Operating System : Windows XP
Android Sdk : 1.5 ( Previously i had 2.2 but deleted suspecting problem was with that)
Ruby : 1.9.1-p430
Ant: 1.8.1
Java JDK 5
PhoneGap 0.9.1

System Enviroment Variables

ANDROID_HOME : D:workandroid-sdk_r3-windowsandroid-sdk-windows
ANT_HOME : D:workANTapache-ant-1.8.1
JAVA_HOME : C:SunSDKjdk
CLASSPATH : C:SunSDKjdklib
Path : D:workandroid-sdk_r3-windowsandroid-sdk-windows;C:Ruby191in;D:workANTapache-ant-1.8.1in;D:workandroid-sdk_r3-windowsandroid-sdk-windows ools;

I ran ruby script and get output as below
$ ruby ./droidgap "D:/work/android-sdk_r3-windows/android-sdk-windows" pgtest c
om.example.android.pgtest example/ "D:/work/droid_apps/output1"
Building the JAR...

BUILD FAILED
D:workandroid-sdk_r3-windowsandroid-sdk-windows oolsantant_rules_r3.xml:28
3: null returned: 1

Total time: 1 second
Creating Android project for target level 1
Adding www folder to project...
Generating manifest...
Copying over libraries and assets and creating phonegap.js...
c:/Ruby191/lib/ruby/1.9.1/fileutils.rb:1265:in initialize': No such file or dir
ectory - D:/work/phonegap/phonegap-android/framework/phonegap.jar (Errno::ENOENT)

CODE:......

I even changed ant to ant.bat at one place, android to android.bat at two places in ruby script. I also set target_id = 1 which is for 1.5 sdk.

View 3 Replies View Related

Android : Scan Barcode Using Phonegap?

Oct 8, 2010

I need to scan a barcode using phonegap in Android and iPhone.

Is there a way to do this? If yes, please share links.

View 2 Replies View Related

Android :: Possible To Implement Google Maps With Phonegap

Jun 19, 2010

i've read about phonegap which enables to write web-based apps for android and i was wondering:how is performance of phonegap compared to a "real" android app.what would NOT work in phonegap?i know it's possible to implement google maps with phonegap but i guess there's a lots of limitation compared to direct coding the maps under android?as a newbie to android (but intermediate in web-programming), should i rather go for direct android coding instead of phonegap? i'm planning to write an app which uses google maps service+gps, database access and such, and i'm afraid it's not really possible with phonegap.

View 2 Replies View Related

Android :: Load Dynamic Maps In Phonegap Framework?

Aug 9, 2010

Currently I've been using google's static maps to display maps in a phonegap app I'm developing. But I'm wondering if there's any way to load a google map that the user could scroll into and out of? I would want similar functionality as the maps app in most mobile environments. Is there any way to incorporate that type of service into my app?

View 2 Replies View Related

Android : Way To Communicate Between Droid Java / Phonegap Javascript?

Apr 28, 2010

I believe that it's possible to call Java methods from (PhoneGap) Javascript. Anyone knows how to do that?? (I know how to do it by changing the source code of PhoneGap, but I'd avoid that)

View 3 Replies View Related

Android :: Invalid Resource Directory Name When Create App With Phonegap In Eclipse

Jul 7, 2010

I followed the tutorial here but when I create the project in Eclipse, i get an error "invalid resource directory name. Resource: "drawable-hdpi" path "/HelloAndroid/res" type "Android AAPT Problem"

View 1 Replies View Related

Android :: Create A Php Based Iphone / Droid App With PhoneGap - Appcelerator?

Jul 28, 2010

I want to be able to make an iphone and android app using php. I have looked at phonegap and appcelerator and it seems like only html and javascript can be used. These frameworks want to make it easy to make apps using web technologies and PHP i would argue is one of the biggest web technologies, but I'm not seeing much (if any) support. I am new, so I could be wrong on multiple levels. So please enlighten me and let me know if what I am trying to achieve is possible.

View 2 Replies View Related

Developing Synchronized Offline Apps Using PhoneGap Sync Plugin

Mar 26, 2012

how to develop an offline sync app using the OpenMobster Sync Plugin for the PhoneGap framework. You can develop your App using HTML5 and Javascript instead of the native programming language.

Features:
-two way synchronization between the local sqlite database and the corporate backend in the Cloud
-Offline mode operation. All data changes are tracked and auto synchronized with the Cloud once the connection returns
-Use of Push notifications to push data changes from the Cloud to the device
-Support for replicating changes to multiple devices like iCloud does
-A Java based Channel Framework for integrating your backend with the Cloud

View 1 Replies View Related

Jelly Bean :: All Google Services Offline/ Sync Not Working (internet Is Working)

Nov 9, 2013

I cant sync my google accounts ('sync is currently experiencing problems, it will be back shorly)

Google maps says 'no network connection'
Play store says 'server error'
Gmail says 'waiting for sync, your emails will appear shorly'

Sounds like my internet is broken? ITS NOT. whatsapp and opera mini, web browser is still working 100% and able to connect

I have tried:
turning sync of and on
clear the cache of various google apps
turning the phone off and on

The last action I did before it worked was to uninstall the 'microsoft outlook app'.

View 2 Replies View Related

Sony Ericsson Xperia X10 :: WiFi Working Earlier Now Stopped Working?

Sep 3, 2010

Had WiFi working earlier now it has stopped but laptop still working ok?

View 1 Replies View Related

Android :: Android SQLite Insert Working / Query Not Working

Jul 25, 2010

I have an Android SQLite/ContentProvider problem that I have been beating my head against the wall for over the past 3 hours.

View 1 Replies View Related

HTC Droid Eris :: Youtube Survey App Working / Not Working

Jan 7, 2010

I know there have been other threads about the Youtube app no longer working (majority of the time), but it looks like it hasn't been commented on in awhile.SO, I really want to get this phone but won't until I know the bug is fixed.Can you Eris users let me know if your Youtube app is working or not working? (basically by not working I mean, almost every video you try to open you get a message saying: "Sorry, this video cannot be played")Also, does anyone have any logical ideas as to why not EVERY Eris user is affected by this bug?

View 22 Replies View Related

Motorola Droid :: SetCPU Not Working / SU Not Working

Feb 24, 2010

After finally getting ADC0.3BetaDark up and running, I can no longer access SetCPU.I uninstalled it, then reinstalled, let it search my phone automatically, and it freezes at the SU request.Also, when puttin SU into Terminal Emulator, I get stuck.

View 2 Replies View Related

Android :: Map Not Working

Sep 23, 2009

I just started another project that includes maps and just like in the previous project, I can't get the maps to work (the code is identical with the map view tutorial). In my last project, I never managed to make the maps display on one machine, and it worked right away on the other one. I have followed the same procedure in both cases and I have also followed in now.

View 3 Replies View Related

Android :: TTS Not Working Using 2.1 AVD

Jan 27, 2010

I am following all the steps in my Activity to check whether the TTS is available before call speak().I see the following in my LogCat which seems fine.But it's simply silent, no voice spoken.I also tried it on my Nexus One, with the TTS enabled in settings.

View 2 Replies View Related

Android :: Geo Fix Still Not Working In 1.6

Oct 22, 2009

I've tried the geo fix command to set coordinates for a program I wrote that provides the GPS coordinates. This program worked fine in 1.1.But the geo fix command got broken in 1.5 and appears to still have not been fixed in 1.6? When will it be fixed?

View 13 Replies View Related

Android :: App Not Working

Jun 14, 2010

i have two programmes ,a TextSpeaker in which i start a TTS engine and a SmsReceiver pgm where i use BroadcastReceiver to inform user of any incoming message . Both these pgms worked well when run separately ,but when i kept them in the same project so as to make the incoming msg in voice form i am getting runtime error .

View 3 Replies View Related

Android :: Can't Get LVL Working

Jul 30, 2010

I followed the offical guidelines, I copyed the LVL source into my project and added the correct manifest attribute.I also copyed from LVL sample folder the mainactivity.java into my project, changed the public key with the one from my developer console.When I launch my software the MainActivity tell me always the application is not licensed also if I specified that is Licensed from my developer console.In addition when I click on the buy now button after it told me that application is not licensed, it will redirect me on the android market and I got a 404 error. Probably because emulator isn't authorized to access the market, I don't know.

View 6 Replies View Related

Android :: Hello Aim App Not Working

Jul 13, 2009

For the past month or so my "hello aim" application won't connect anymore.It's killing me since it's by far the best aim app out there.Also, it will ocationaly tell me there's an update in the market, but when I click on the update, it goes to the market and tell's me that nothing matches my criteria. Can anyone help me out with this one?My phone hasn't been the same since.

View 7 Replies View Related

Android :: Qik App Not Working...

Aug 5, 2010

QIK app not working after downloading Froyo. It keeps telling me cannot connect to server. even if WiFi is off i get the same error.

View 3 Replies View Related

Android :: Hello App Not Working?

Sep 30, 2010

I followed the instructions on setting up the Android SDK by installing the java SDK first, then the Android SDK (including the various platforms), installed eclipse, set up the ADT for eclipse plugin, and typed in the code (I copy and pasted straight from the site too but still didn't work)

What I get when I run the app is the screen just saying ANDROID_

The emulator starts up fine and everything, but none of the code runs. I tried the xml and the hard code example but both resulted in the same thing.

View 2 Replies View Related

Android :: App Not Working?

Jun 15, 2010

I have written a simple app which would speak out to the user any incoming message. Both programmes seem to work perfectly when i lauched them as two separate pgms , but on keeping them in the same project/package only the speaker programme screen is seen and the receiver pgm doesn't seem to work .

The speaker pgm is:

CODE:..........

And the Receiver programme is:

COD:.....................

View 2 Replies View Related

Android :: OI Notepad Not Working?

Apr 24, 2009

Alright so i was using oi notepad to take some important notes I needed. Then I pressed menu and pressed 'Revert' and it converted my text into a whole bunch of random letters and numbers... Can anyone help me out? I really need to get these notes back theyre important

View 2 Replies View Related

Android :: GeoCoder Is Not Working In SDK 1.5

May 15, 2009

I have two problem regarding Location API for SDK 1.5

1) I have developed a location based application for SDK 1.0.

I have used Geocoder to get the location data. Its working fine on SDK 1.0 emulator and its supported devices.

Today I downloaded SDK 1.5, and tried to run the same app. But the Geocoder didn't give any result. I am getting

Geocoder.getFromLocation(loc.getLatitude(), loc.getLongitude(), 1) as null.

2) LocationManager.removeUpdates(location_listener) is not removed (I mean still the GPS icon is visible on emulator).

But the same worked fine on SDK 1.0.

View 2 Replies View Related

Android :: Pandora App Not Working?

Oct 8, 2010

Anybody having issues with their Pandora app? Mine gets stuck on loading and i have un installed it and installed it and still the same.

View 5 Replies View Related

Android :: Tab Layout Not Working

Sep 29, 2010

I am using the Tab Layout almost copied from the example provided. But it's not working: public class TabHolder extends TabActivity {/** Called when the activity is first created. */ @Override

View 6 Replies View Related

Android :: Tutorial Not Working

Nov 13, 2010

I'm on Mac OS X Leopard and installed the ADT plugin into Eclipse Galileo. I followed all these steps to get started:

http://developer.android.com/sdk/index.html

My SDK version is 2.2 API 8 revision 2 and I just used the Hello World tutorial found here:

[url]

When I first created the Android application, I saw this error in the Eclipse console:

[2010-11-13 18:20:43 - HelloAndroid] ERROR: Unable to open class file / Users/mydirectory/Documents/workspace/HelloAndroid/gen/com/example/ helloandroid/R.java: No such file or directory

I commented out this line to fill in the few lines from the tutorial:

setContentView(R.layout.main);

When I ran the app, it launched my emulator but all I saw was a vertical screen on the left that said "ANDROID" and phone buttons on the right. I did not see the "Hello, Android" text from the tutorial.

View 2 Replies View Related

Android :: DB Cursor Not Working

Oct 18, 2009

I've got this piece of code where I count words in a dictionary and then I try to query them:

CODE:.............

The SELECT_BY_LENGTH is defined this way: private static final String SELECT_BY_LENGTH = "select word._id, word.word from word where length(word.word) between ? and ? ";

And the count works perfectly but the cursor.move(1) always returns false. I've tried to get the column count and responds with the correct count and the column names map too. I mean that the method getColumnIndex works too but I can't get any data from the cursor. All such methods fail. Am I doin' something wrong? I'm using android 1.5.

View 5 Replies View Related

Android :: Selector Is Not Working

Oct 7, 2009

selector is not working.

CODE:.....................

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved