Has anybody got Arduino to Work in ArchLinux?

I've tried via the aur and yaourt but it spits a load of errors out for me.
I've also tried
http://www.nongnu.org/avr-libc/user-man … r_binutils
but when trying to make gcc i get
libgcc/./_eprintf.o
cc1: error: unrecognized command line option "-march=i686"
make[3]: aurpage PKGBUILD [libgcc/./_eprintf.o] Error 1
make[3]: Leaving directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/gcc'
make[2]: aurpage PKGBUILD [stmp-multilib] Error 2
make[2]: Leaving directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/gcc'
make[1]: aurpage PKGBUILD [all-gcc] Error 2
make[1]: Leaving directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir'
make: aurpage PKGBUILD [all] Error 2
I have no idea why it says /home/firewalker.
I'm a little surprised that the word "arduino" returned with no hits at this forum.
It was a piece of piss in Ubuntu but i don't want to use that distro anymore.
Last edited by regomodo (2007-10-17 00:06:12)

I just got the makefile to work at long last! I followed PenguinFlavored's instuctions to install everything but i was still having problems (I get the feeling that since they posted that makefile they've made a few changes) so I played around with a modified makefile a bit (got it from here: http://www.arduino.cc/cgi-bin/yabb2/YaB … 1187984620 ) and ended up with this:
# Arduino makefile - Modified again by Stephen Hodgson
# This makefile allows you to build sketches from the command line
# without the Arduino environment (or Java).
# Previous work on this file was done by mellis, eighthave and probably
# many others.
# Last State: 28.08.2007 | 15:00 CEST
# -- oli.keller ][ gmail.com
# This is a fork of the original makefiles shipped with Arduino 0009.
# It tries to reassemble the preprocessing which the Arduino IDE does.
# This makefile even allows to create an automatic reset,
# like the Arduino IDE does on an Arduino Diecimila board!
# No no, you don't have to push that tiny button again and again... ;)
# You should only have to check the first six variables below for
# propper settings. That's it.
# Detailed instructions for using the makefile:
# 1. Copy this file into the folder with your sketch. There should be a
# file with the ending .pde (e.g. foo.pde)
# 2. Below, modify the line containing "TARGET" to refer to the name of
# of your program's file without an extension (e.g. TARGET = foo).
# 3. Modify the line containg "INSTALL_DIR" to point to the directory that
# contains the Arduino installation (for Arduino installations in
# Mac OSX, this could be /Applications/arduino-0009 ).
# 4. Modify the line containing "PORT" to refer to the filename
# representing the USB or serial connection to your Arduino board
# (e.g. PORT = /dev/tty.USB0). If the exact name of this file
# changes, you can use * as a wildcard (e.g. PORT = /dev/tty.USB*).
# 5. Set the line containing "MCU" to match your board's processor.
# Older one's are atmega8 based, newer ones like Arduino Mini, Bluetooth
# or Diecimila have the atmega168.
# 6. At the command line, change to the directory containing your
# program's file and the makefile.
# 7. Type "make" and press enter to compile/verify your program.
# In TextMate you can just hit Command-R to trigger make.
# 8. Type "make upload", reset your Arduino board, and press enter to
# upload your program to the Arduino board.
# $Id$
# project specific settings
TARGET = blink
INSTALL_DIR = /usr/share/arduino/hardware/cores/arduino
# serial uploader settings
PORT = /dev/ttyUSB0
UPLOAD_RATE = 19200
AVRDUDE_PROGRAMMER = arduino
# HINT: If you want to use the automatic reset feature which comes with Arduino
# Diecimila, put the follwoing in your avrdude.conf:
# (Use the systemwide $(INSTALL_DIR)/tools/avr/etc/avrdude.conf or create a
# local $HOME/.avrduderc file)
# programmer
# id = "arduino";
# desc = "Arduino Serial Bootloader";
# type = stk500;
# reset = 7;
# # since Arduino Diecimila the serial DTR line can be used to trigger a reset!
# After this you can specify AVRDUDE_PROGRAMMER = arduino, above.
# On older boards you can manually ad this reset feature. Wire a cable from the
# FTDI 232 Chip's DTR pin (the number differs from package to package, see datasheet)
# to the RESET line of the ATmega. Inbetween this connection must be a 100nF capacitor.
# hardware dependent settings
MCU = atmega168
F_CPU = 16000000
# F_CPU sets the clock speed in Hz. So far its 16MHz on all standard boards.
# Below here nothing should be changed...
#I changed this one
#ARDUINO = $(INSTALL_DIR)/lib/targets/arduino
ARDUINO = /usr/share/arduino/hardware/cores/arduino
#and this one
#AVR_TOOLS_PATH = $(INSTALL_DIR)/tools/avr/bin
AVR_TOOLS_PATH = /opt/avr/bin/
SRC = $(ARDUINO)/pins_arduino.c $(ARDUINO)/wiring.c \
$(ARDUINO)/wiring_analog.c $(ARDUINO)/wiring_digital.c \
$(ARDUINO)/wiring_pulse.c $(ARDUINO)/wiring_serial.c \
$(ARDUINO)/wiring_shift.c $(ARDUINO)/WInterrupts.c
CXXSRC = $(ARDUINO)/HardwareSerial.cpp $(ARDUINO)/WRandom.cpp
FORMAT = ihex
# Name of this Makefile (used for "make depend").
MAKEFILE = Makefile
# Debugging format.
# Native formats for AVR-GCC's -g are stabs [default], or dwarf-2.
# AVR (extended) COFF requires stabs, plus an avr-objcopy run.
DEBUG = stabs
OPT = s
# Place -D or -U options here
CDEFS = -DF_CPU=$(F_CPU)
CXXDEFS = -DF_CPU=$(F_CPU)
# Place -I options here
CINCS = -I$(ARDUINO)
CXXINCS = -I$(ARDUINO)
# Compiler flag to set the C Standard level.
# c89 - "ANSI" C
# gnu89 - c89 plus GCC extensions
# c99 - ISO C99 standard (not yet fully implemented)
# gnu99 - c99 plus GCC extensions
CSTANDARD = -std=gnu99
CDEBUG = -g$(DEBUG)
CWARN = -Wall -Wstrict-prototypes
CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
#CEXTRA = -Wa,-adhlns=$(<:.c=.lst)
CFLAGS = $(CDEBUG) $(CDEFS) $(CINCS) -O$(OPT) $(CWARN) $(CSTANDARD) $(CEXTRA)
CXXFLAGS = $(CDEFS) $(CINCS) -O$(OPT)
#ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs
LDFLAGS = -lm
# Programming support using avrdude. Settings and variables.
AVRDUDE_PORT = $(PORT)
AVRDUDE_WRITE_FLASH = -U flash:w:applet/$(TARGET).hex
#This got modified as well
#AVRDUDE_FLAGS = -V -F -C $(INSTALL_DIR)/tools/avr/etc/avrdude.conf -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) \
# -b $(UPLOAD_RATE)
AVRDUDE_FLAGS = -V -F -C /usr/share/arduino/hardware/tools/avrdude.conf -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) \
-b $(UPLOAD_RATE)
# Program settings
CC = $(AVR_TOOLS_PATH)/avr-gcc
CXX = $(AVR_TOOLS_PATH)/avr-g++
OBJCOPY = $(AVR_TOOLS_PATH)/avr-objcopy
OBJDUMP = $(AVR_TOOLS_PATH)/avr-objdump
AR = $(AVR_TOOLS_PATH)/avr-ar
SIZE = $(AVR_TOOLS_PATH)/avr-size
NM = $(AVR_TOOLS_PATH)/avr-nm
AVRDUDE = $(AVR_TOOLS_PATH)/avrdude
REMOVE = rm -f
MV = mv -f
# Define all object files.
OBJ = $(SRC:.c=.o) $(CXXSRC:.cpp=.o) $(ASRC:.S=.o)
# Define all listing files.
LST = $(ASRC:.S=.lst) $(CXXSRC:.cpp=.lst) $(SRC:.c=.lst)
# Combine all necessary flags and optional flags.
# Add target processor to flags.
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS)
ALL_CXXFLAGS = -mmcu=$(MCU) -I. $(CXXFLAGS)
ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target.
all: applet_files build sizeafter
build: elf hex
applet_files: $(TARGET).pde
# Here is the "preprocessing".
# It creates a .cpp file based with the same name as the .pde file.
# On top of the new .cpp file comes the WProgram.h header.
# At the end there is a generic main() function attached.
# The ne .cpp file will be compiled. Errors during compile will
# refer to this new, automatically generated, file.
# Not the original .pde file you actually edit...
test -d applet || mkdir applet
echo '#include "WProgram.h"' > applet/$(TARGET).cpp
cat $(TARGET).pde >> applet/$(TARGET).cpp
echo 'int main(void) '\
' init(); '\
' setup(); '\
' for (;;) '\
' loop(); '\
' return 0; '\
'} ' >> applet/$(TARGET).cpp
elf: applet/$(TARGET).elf
hex: applet/$(TARGET).hex
eep: applet/$(TARGET).eep
lss: applet/$(TARGET).lss
sym: applet/$(TARGET).sym
# Program the device.
upload: applet/$(TARGET).hex
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH)
# Display size of file.
HEXSIZE = $(SIZE) --target=$(FORMAT) applet/$(TARGET).hex
ELFSIZE = $(SIZE) applet/$(TARGET).elf
sizebefore:
@if [ -f applet/$(TARGET).elf ]; then echo; echo $(MSG_SIZE_BEFORE); $(HEXSIZE); echo; fi
sizeafter:
@if [ -f applet/$(TARGET).elf ]; then echo; echo $(MSG_SIZE_AFTER); $(HEXSIZE); echo; fi
# Convert ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB.
COFFCONVERT=$(OBJCOPY) --debugging \
--change-section-address .data-0x800000 \
--change-section-address .bss-0x800000 \
--change-section-address .noinit-0x800000 \
--change-section-address .eeprom-0x810000
coff: applet/$(TARGET).elf
$(COFFCONVERT) -O coff-avr applet/$(TARGET).elf $(TARGET).cof
extcoff: $(TARGET).elf
$(COFFCONVERT) -O coff-ext-avr applet/$(TARGET).elf $(TARGET).cof
.SUFFIXES: .elf .hex .eep .lss .sym
.elf.hex:
$(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@
.elf.eep:
-$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O $(FORMAT) $< $@
# Create extended listing file from ELF output file.
.elf.lss:
$(OBJDUMP) -h -S $< > $@
# Create a symbol table from ELF output file.
.elf.sym:
$(NM) -n $< > $@
# Link: create ELF output file from library.
applet/$(TARGET).elf: $(TARGET).pde applet/core.a
$(CC) $(ALL_CFLAGS) -o $@ applet/$(TARGET).cpp -L. applet/core.a $(LDFLAGS)
applet/core.a: $(OBJ)
@for i in $(OBJ); do echo $(AR) rcs applet/core.a $$i; $(AR) rcs applet/core.a $$i; done
# Compile: create object files from C++ source files.
.cpp.o:
$(CXX) -c $(ALL_CXXFLAGS) $< -o $@
# Compile: create object files from C source files.
.c.o:
$(CC) -c $(ALL_CFLAGS) $< -o $@
# Compile: create assembler files from C source files.
.c.s:
$(CC) -S $(ALL_CFLAGS) $< -o $@
# Assemble: create object files from assembler source files.
.S.o:
$(CC) -c $(ALL_ASFLAGS) $< -o $@
# Target: clean project.
clean:
$(REMOVE) applet/$(TARGET).hex applet/$(TARGET).eep applet/$(TARGET).cof applet/$(TARGET).elf \
applet/$(TARGET).map applet/$(TARGET).sym applet/$(TARGET).lss applet/core.a \
$(OBJ) $(LST) $(SRC:.c=.s) $(SRC:.c=.d) $(CXXSRC:.cpp=.s) $(CXXSRC:.cpp=.d)
depend:
if grep '^# DO NOT DELETE' $(MAKEFILE) >/dev/null; \
then \
sed -e '/^# DO NOT DELETE/,$$d' $(MAKEFILE) > \
$(MAKEFILE).$$$$ && \
$(MV) $(MAKEFILE).$$$$ $(MAKEFILE); \
fi
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.' \
>> $(MAKEFILE); \
$(CC) -M -mmcu=$(MCU) $(CDEFS) $(CINCS) $(SRC) $(ASRC) >> $(MAKEFILE)
.PHONY: all build elf hex eep lss sym program coff extcoff clean depend applet_files sizebefore sizeafter
It seems to work with Arduino 0010 but it wants to be run as root. Maybe I'll get that sorted at some point if it's easy to do.

Similar Messages

  • EZDrummer and Leopard compatability. Has anybody got it to work.

    Just got my Mac mini and have been trying to get EZDrummer to work in garageband 08. I open up garage band and use a software track, but when I drop down the instrument generator there is no EZDrummer option anywhere.
    Has anybody got this to work? If so what version and am I doing everything right in Garageband?

    While I'm not on Leopard (got the disc, still waiting till the coast is clear) I did hit a few bumps in the road w/ EZD initially. I believe I had to update to the latest version, but now that that's cleared up, the program works great. Try dropping an email to Toontrack, their Customer Service is outstanding.
    -d

  • Has anybody got avelsieve to work with Snow Leopard Server?

    I have been trying (in vain so far) to get avelsieve running on 10.6.server. When I add the plugins to squirrelmail (avelsieve 1.9.9 with or without javascript_libs 0.1.2), logging into web mail hangs and the web error_log has lines like
    [Sat Sep 25 16:43:18 2010] [error] [client 192.168.2.66] PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/share/squirrelmail/plugins/avelsieve/setup.php on line 179, referer: https://certified.rna.nl/webmail/src/webmail.php
    Any ideas?

    In addition: I noticed I was running Avelsieve 1.9.6 on my Leopard Server. This is somewhat better as I can use Squirrelmail now, but managing server side filtering stilld oes not work. Squirrelmail times out on connection to the timsieved on port 2000 on localhost.
    With telnet I can connect to that port fine. It reports that it can handle
    "SASL" "GSSAPI CRAM-MD5"
    and
    "STARTLS"
    My avelsieve config has been set to use CRAM-MD5.
    (PS, I generally use only encrypted logins as I want to be certain no password whatever goes unencrypted anywhere).

  • Has anybody got their 808 to work on Consumer Cell...

    Has anybody got their 808 to work on Consumer Cellular?
    Consumer Cellular uses the AT&T network.
    My phone works making or answering phone calls.
    I can access the internet from Wi-Fi.
    But I cannot access the internet from 3G.
    Consumer Cellular emailed the settings to my phone.
    I saved them and made them the default.
    I re-booted my phone.
    But I get “Connection failed.  Connection unavailable.”

    Have Consumer Cellular send you a configuration text message.
    When you open the text message:
    Your Pin Code is the last 4 digits of your phone number
     select SAVE from Options
    Set as Default Settings? Yes
    Then:
    Settings
    Connectivity
    Settings
    Network Destinations
             (you can copy to another destination, change Priority, etc.)
    Internet
       your home Wi-Fi
       ConsumerCellular
    WAP Services
       your home Wi-Fi
       ConsumerCellular
    If you see AT&T anywhere, delete it.
    Moderator's notes: You can get the micro SIM card from your operator, it is not advisable to cut it yourself as it may not work or cause damage to the device.

  • Nation advanced search on my IMac, which I think is a spyware. When I want wo go to google chrome it redirects me to this ominous nation search engeen. Has anybody got some information about it and how I can get rid of

    I just caught a thing called nation advanced search on my iMac computer, which I think is a spyware. When I want wo go to google chrome it redirects me to this ominous nation search engeen. Has anybody got some information about it and how I can get rid of it? What does can it do to my data and is it really a spyware? I just found information in youtube, that it is a spyware, and that it has to be removed, but the information they give for the removal is just working for PCs not for Macs.
    Please help!

    Thank you all for the friendly assistance provided.
    I have found a solutiton to the problem I was having.  I hope that many more can benefit from the information I will provide.
    I started at Finder, then went to GO selected COMPUTER and then Machintosh HD, then Library, Scripting Additions folder and trashed all that was there. This is what worked for me, if you choose to not delete your content its up to you.  Happy Computing.
    God Bless!!
    This solved my question 

  • Has anybody got soda snap ??

    has anybody got soda snap ??
    i think its quite good its just that the postcards don't save into my photo album like they should has anybody else got it to work ???
    cheers

    I have it and it is working fine, if you take a photo with the camera to send in a post card it saves it to my photos...the picture not the whole post card.
    Now there is a setting you have to select under the settings for this app.
    Hope this helps you.
    Whit

  • My music files etc were all located on my old laptop which was stolen. I have just plugged my iphone in to my new computer and it has deleted all my files. Has anybody got any ideas on how to retrieve the files?

    My music files etc were all located on my old laptop which was stolen. I have just plugged my iphone in to my new computer and it has deleted all my files. Has anybody got any ideas on how to retrieve the files?

    WINDOWS?
    Connect the iPod to your PC. If iTunes starts syncing (ie erasing) your music automatically, hit the X in the upper right hand corner of iTunes display, to the left of the search box, to stop it.
    In Control Panel, Portable Media Devices, double-click your iPod.
    In the Tools menu -> Options, in the View Tab, check "Show hidden files and folders."
    Navigate to the Music folder. On my 'pod, the full path is
    Portable Media Devices\NAME of IPOD (F:)\iPod_Control\Music
    Select all the music folders, and drag and drop them into a folder on your hard drive, or directly into iTunes.
    And you're done! The iPod music folder structure is strange and inexplicable, but once you move your files into iTunes you can set it to automatically organize your folder by artist and album to clean that up. (To do this, in iTunes Edit menu, choose Preferences and in the Advanced tab, check "Keep iTunes Music Folder organized."
    might be out of date worth a try

  • Has anyone got NVrotate to work under Win98SE?

    I installed the latest driver for this card for Win98
    NVrotate is not available as an option in Win98SE
    Display properties-->settings -->GeForce FX5200
    I temporarily moved a drive with WinXP Pro onto this machine.
    NVrotate is an available option in
    Display properties-->settings -->GeForce FX5200
    and works fine.
    But for various compatibility reasons this machine has to been running Win98SE.
    Has ANYONE got NVrotate to work under Win98 ??????
    MSI FX5200  TD128
    Gigabyte GA-7VAX
    AMD 2400+
    17" Analog LCD & 18.1" Analog LCD

    I managed to get it to work, you have to install two files
    the first for the actual python script files.
    the second for the user interface.
    you might have installed the user interface, but without installing python, and that's why its not loading up the application, also make sure you install python to phone memory.
    On my N96 I installed:
    Python for S60 1.4.4
    Python script shell 1.4.4
    if you get an 'update error' when installing its because you have not un-installed all of the old python stuff, open app manager on the handset and un-install all python relating files
    one last thing, install python and the shell to the phone memory (c drive)
    Hope it helps
    Tony

  • Anybody got a better work flow for backing up multiple shoot day projects?

    Many of my projects are shot over multiple days. I import media at the end of each day and back up the event to another drive before deleting media from cameras/cards. So on day 2 I have one of three work flows for updating my back-ups.
    1. If I'm feeling lucky. I delete the previous back-up project from the back-up drive. And then make a new copy of the original event and add the date to the title after the word copy.
    2. I make a new copy of the event to the backup drive and date it. When it's done copying and been verified I delete the back-up event from the same back-up drive.
    3. I've just started copying new clips from the original media folder in the original event to the back-up project. It's more work keeping track of all the newly added media files and there is more chance of making an ommision.
    Anybody got a better work flow for backing up multiple shoot day projects?

    What you need:
    You will need two identical external drives and a copy of Carbon Copy Cloner. CCC is free. The drives could be USB 2 if all you are doing is backing up. If you plan on editing with the drive(s), you'll want firewire. Each needs to be large enough to contain the raw card contents for the duration of your gig.
    The Process:
    At the end of the first day's recording, connect the two drives to your computer (if firewire, daisy chain them / if USB, you'll need two USB 2.0 ports)
    On the first hard drive (Drive 1) create a folder - call it BigDealLecture
    Inside of BigDealLecture, create a folder and use the nameing convention  "BDL_Date_card number for that day" - so if you used 2 cards today, you should create BDL_2012-02-15_01 and BDL_2012-02-15_02
    Attach your card reader or camera to the system.
    Lock the cards so they can not be erased
    Insert Card 1 into the reader
    Select ALL contents of the card and copy them to the folder you created for the first card for today
    When it is complete, eject the card, insert card 2, copy its contents to the folder for card 2
    eject the card
    Launch CCC and do a clone of Drive 1 to Drive 2. You can set it to do a complete block by block clone or an incremental backup. Either will work.
    When finished cloning, test a random sample of the clips on both drives to make sure they work.
    When satisfied the copies work, put Drive 2 in the hotel safe.
    Put the Drive 1 in a place where you can grab it if there is an emergency in the night and erase the cards to get ready for the next day.
    Take Drive 1 with you to the lecture site the next day.
    Rinse and repeat daily.
    When the conference is over, send one of the drives via FedEx or some other same day service to your office. Pack the second drive in your bags for the trip home.
    A note: If you have enough downtime durning the conference between obligations, you can do the transfer from the cards to Drive 1 on site and do the clone when you get back to your room. Don't unlock and erase the cards until you are satisfied the copy/clone process was without incident.
    Have fun.
    x

  • Has anybody got a labview driver for Lecroy 9410 ?

    Has anybody got a labview driver for Lecroy 9410 ?

    Unfortunately I was unable to find a driver for this instrument either. This leaves you with one of a couple options. First, I would like you to submit a request for this driver at:
    http://zone.ni.com/idnet/other.htm
    We develop drivers based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one.
    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://zone.ni.com/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would sugges
    t contacting one of the Alliance members at:
    http://www.ni.com/alliance
    If you have any further queries, please let me know

  • TS1702 Hi there! Am I alone having troubles with kids' app Little Pets Shop? Crazy invoices with €89,99 the "Wonderful Mountain"!! Has anybody got an idea? Thanks a lot

    Hi there! Am I alone having troubles with kids' app Little Pets Shop? Crazy invoices with €89,99 the "Wonderful Mountain"!! Has anybody got an idea? Thanks a lot

    One of your kids made an in app purchase that you did not know about. Some apps include in app purchase and games do this quite often. The game itself is free, but you might have to purchase additional items to enhance the game or to unlock certain levels.
    You can prevent this from happening in  Settings>General>Restrictions>In App Purchases>Off.

  • HP 2510p WWAN (64bit) - has anybody got it working?!

    Hi
    I have an HP2510p with a WWAN onboard (03f0:171d). I googled it and tried different solutions (mostly ubuntu related) but haven't got any luck to get it going.
    Has anybody successfully installed a modem driver for that device? (64bit)
    Cheers
    Last edited by drd (2009-11-02 22:42:19)

    http://www.amd.com/us-en/assets/content_type/utilities/cpudriver.EXE
    thats for windowsXP,its what i'm using and works great
    enable Cool 'n' Quiet in bios make sure you processor ends in "letter O" or higher on lthe line with 13 characters
    then in windows set power management properties to "Minimal Power Managment"
    right clcik desktop - select properties,goto screen saver tab - click Power button,select Minimal Power Managment from drop down in power schemes box

  • RegisterAlarm - has anyone got this to work?

    I'm trying to get the registerAlarm function to work on a real phone, but it only works one time. I want the Midlet to be executed once every 30 sec, but after the first reschedule it stops rescheduling.
    Does anyone have a clue on what's wrong? I do everything according to the book as far as I know.
    I've looked everywhere, and have not been able to find anyone that actually has got this to work. Is it a bug in Midp 2.0? Does registerAlarm work more than once?
    Below is some of my code that SHOULD work (<My midlet...> is replaced with the full name of my midlet class)
    protected void startApp() throws MIDletStateChangeException {
    try {
    //some code...
    destroyApp(false);
    } catch (Exception e) {}
    protected void destroyApp(boolean unconditional) throws MIDletStateChangeException {
    try {
    scheduleAlarm(30000);
    notifyDestroyed();
    } catch (Exception e) {}
    protected void scheduleAlarm(long nextAlarmTime) throws ClassNotFoundException,ConnectionNotFoundException, SecurityException {
    long nextAlarm = new Date().getTime()+nextAlarmTime;
    try {
    long t = PushRegistry.registerAlarm("<My midlet...>", nextAlarm);
    } catch (Exception e) {}
    }

    ...even starting the Midlet manually to force a rescheduled task won't work, but what is strange, is that if I turn the phone completely off and back on again, I can get it to work one more time.
    I'm confused.

  • Has anybody got a solution?

    My ipod touch works very well accessing the you-tube using the factory built in browser[you-tube widget].
    I tried to go to the you-tube account of mine logging on through the google account using the safari.-No problem in getting to my account.
    However once I am in my you-tube account and when tried to play my favourites [selection of clips], I am prompted to down-load the "Adobe Flash Drive" to play my favourites.
    To cut the long story short, I could not play my favourites through this route.
    This is a big dissapointment.
    Has anybody with a solution to play your favourites from the You-Tube account on your iPod Touch?/
    Thanking you

    iPod touch does not play flash, there is no plugin or program to do so.
    The youtube widget takes you to a customized version-where the videos are encoded in h.264 for viewing on the iPhone/Touch. Not all the videos have been encoded for the site.
    Who knows what will happen once the SDK comes out.

  • Has anyone got Safari to work with Kerberos (SPNEGO) ?

    Has anyone got Safari to with using Negotiate (SPNEGO with Kerberos) when the system is not bound to ActiveDirectory or Macs OpenDirectory?
    I can load Firefox and it works fine, but Safari does not work. I keep hearing that Safari works out of the box, but its looks like its somehow tied to AD or Macs Opendirectory and its deployment of Kerberos.

    I am having the same problem and checked out the Apple Discussions for a solution.
    I too am meticulous with my addresses.
    Seeing no solution I went back to testing.
    I have tried:
    From Shrewsbury
    To Telford
    The result was a trip in the US taking 14 hours.
    Then I tried:
    From Shrewsbury UK
    To Telford UK
    This worked.
    When on the "Get Directions" screen there is a "Globe" icon by the "Space" icon. Pressing this brings up "English (US)". Press again and you get "English (UK).
    Any ideas?
    When I use the "Contacts" to get the Start and End fields the iPhone is bringing up the correct address but with "United States" at the end of the address.
    Again any ideas?
    In my Address book I never use the "Country" field as all my contacts are in the UK. I wonder if this is the problem and the iPhone is defaulting to US in the absence of no "Country"?
    Help!

Maybe you are looking for

  • Connecting a SPA2102 with a D-Link DIR-655

    Hi, I'm currently having trouble with getting the internet and voip to work simultaneously. Internet and voip adaptor (SPA2102) work without a router connected, but when I add the router (DIR-655), internet no longer works. The voip telephone still w

  • File sizes saved in MAC much bigger than saved in PC-is there a fix?

    HI everyone - I searched and couldn't find an answer for this specific issue so Im hoping I can be pointed in the right direction.  Appreciate any help with this issue. About a month ago got a MAC (I upgraded everything and have 12GB RAM so I know it

  • Error: 1042013: Network error [10014]: Cannot Receive Data

    HI, I have installed Essbase 7.x into my system newly, when i am trying to add server from admin console and connecting to server, i will be getting the below error, i have incresed netdelay for both client and server in .cfg file, still the proble i

  • IDOC Message Type LOIPRO (Production order)

    Hi All,          How I can setup Process code for inbound Production order (Message Type LOIPRO) I receive idoc file from external SAP system I try to use "BAPP" , "ABI_AIDN_IN" , "APLI" it not work for this message type. Idoc error message "Function

  • Why can't I import my Walmart music files?

    I have bought a lot of Walmart music, the files end with .wma and ITunes won't let me add it to a playlist. Is there someway to sync that folder with my Ipod shuffle? I'm irritated beyond belief...I'm not buying all that music a 2nd time!