Help with yet another droplet app

I've come to love these forums because I can get help so quickly!
I want to make an droplet app that uses a simple terminal command "adb push *filename /sdcard/"
I have a few apps that are similar, but don't quite work. I was able to make it push the file but not to the directory /sdcard/ like i wanted. Also the way i was doing it was only allowing me to distinguish one type of file (.zip for example).
this is what i have so far, but when i try to add the /sdcard/ the command doesnt work right.
on open these_items
repeat with this_item in these_items
set this_item to this_item as text
tell application "System Events" to get (class of disk item this_item) as text -- get the type of the item
if the result is "file" then -- files only
set this_item to quoted form of POSIX path of this_item
do shell script "adb push {} /sdcard/" & this_item & space & signed_item
else
display dialog this_item & " is not a file"
end if
end repeat
end open

Is that your entire script? If so at least one of your problems is the line:
do shell script "adb push {} /sdcard/" & this_item & space & signed_item
For one, nowhere is signed_item defined, so AppleScript is going to error out when it tries to run this command (posting whatever error message you get when the script fails goes a long way to help identify the problem, BTW).
The second problem I see is that this line won't match your original goal:
I want to make an droplet app that uses a simple terminal command "adb push *filename /sdcard/"
From this it sounds like the input filename has to be specified between push and /sdcard. However, in your AppleScript you put this_item after /sdcard/, so you've reversed the parameters.
To match your original request your AppleScript command should look more like:
do shell script "adb push " & this_item & " /sdcard/"
but I still don't know where signed_item comes into play.

Similar Messages

  • Can you please help with yet "another" Sync problem?

    I have recently changed from windows xp. I have a new computer with windows 7 and I loaded Itunes 10. There have been nothing but problems with my 5th gen nano since I have changed to my new computer.
    I am unable to sync new songs; In the device section, if I click on
    MUSIC; I get an error; "are you sure you want to sync music? all existing content on the Ipod will be removed and replaced with songs and playlists from your Itunes library.
    It has been frustrating, because I would like to add my playlists and sync automatically and for some reason, I am not able to. Thank you for any light you may be able to shed on this situation; Tawney.

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Note: iTunes Gift Cards are only Valid in Country of issue

  • I need help with the iPad Remote app to connect to apple TV 2

    I need help with the iPad Remote app to connect to apple TV 2 I have the app already on my ipad and when I open it only shows my itunes library and not the small black Apple TV 2 icon! How do i fix this and i know it's something 

    Get the manual at http://manuals.info.apple.com/en_US/AppleTV_SetupGuide.pdf
     Cheers, Tom

  • Help with Find my Iphone app

    Just set up my find my Iphone app and it doesnt have me in the right roads ( im at work and it has me 3 roads away from where I am sitting at my desk) was wondering if its something I did or if I need to do something else.

    Shelly Friedman1 wrote:
    Hi -
    I downloaded Apple's free "Find My iPhone" app and would appreciate help getting it to work. I don't have a paid Mobile Me account, but I understand I can set up a free account to use the app. I signed up for the free MobileMe account in the iPhone 4's settings, and signed into it using my Apple ID. It seemed to work except that, when I went to sign into the app, I got an alert saying that my MobileMe account had not yet been verified, and I should check my Mobile Me email. The problem is, I can't seem to get the the mail screen. When I go to the Mobile Me sign-in page and enter my Apple ID, all I get is an alert saying that no device has been registered. Can anyone provide any help with this? Thanks very much for your help.
    Shelly
    Follow the steps here and you should have no problems setting it up.
    http://www.apple.com/iphone/find-my-iphone-setup/

  • Need help with a Spreadsheet style app

    I was just wanting some help in working with developing an app for my iphone... i had previous experience in microsoft visual basic but i don't quite understand this code....
    I am in flight school and trying to develop an app that reflects the weight an balance forms we do... I am stuck on how to do basic multiplication and division with xcode, i have viewed several videos and tutorials but they each do things differently and i can't seem to bring it together into this app.
    So in the picture below.... what i need help with is how to do the following
    from
    aircraft weight * arm = Moment outbound
    front seats * arm = Moment outbound
    to fuel @ landing
    "0" fuel weight = aircraft weight + front seats + rear seats+ Baggage 1 + baggage 2
    If anyone has any ideas or can lend me some tip or places that deal with stuff like this that would be great

    A character class [...] robs some otherwise special codes from their magic. The +, for instance, is interpreted as a plus, not as "repeat ad nauseum" anymore.
    So your try [\d+] will simply match either a single digit or a single plus. The solution is to move the + outside of the character class
    [\d]+
    .. and in that case there is no reason anymore to create a class for just digits, as you got it already.
    The period *needs* to  be escaped, because otherwise it will match *any* character.
    Try this for a change:
    \d+\.\d+

  • HT204053 help with iphone and downloading apps

    I have set up an apple ID. but when I try to download an app from my iphone it just says that my account has not yet been used in the itunes store and wont let me go any further. can you help?

    Raghu do you have access to high speed Internet access at all?  If so then you can download the installation files by following the directions listed at http://prodesigntools.com/adobe-cc-direct-download-links.html.  Please make sure to complete the Very Important Instructions prior to clicking on the download link.
    If you do not have regular access to high speed Internet access then I would recommend that you purchase and continue to use Creative Suite 6.  While it is possible to request DVDa from our support team high speed Internet access is a system requirement.  Without regular access you will face difficulty downloading and applying updates and new versions of the software as they are made available.
    If you wish to request a DVD with the installation files from our support team you can contact them at http://adobe.ly/yxj0t6.
    If you would prefer to cancel your membership and proceed with Creative Suite 6 then please see http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html?start=10.

  • How to get help with refund for in app purchase

    I downloaded the free app "Bakery Story" without realizing it was an app that allowed the user (in this case, my child) to run up a bill very quickly with in-app purchases (using my real money instead of the play money within the game). As soon as I received the statement from Apple about these unexpected purchases, I enabled the parental controls that block purchases from within apps like this. I am trying to use Apple website to find the rightbplace to request a refund on those purchases, but I only get so far with the express lane before I get a "server not responding" message. Any ideas for how to get help? (clicking the Report a Problem" link in the invoice email doesn't work either (and my WI fi Internet connection seems fine).

    These Links may be Helpful
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    iTunes Customer Service Contact
    http://www.apple.com/support/itunes/contact.html

  • Help with photo studio pro app purchase

    Hi purchased the photostudio pro app , but when the device restarted it was nowhere to be seen when i search on app world for it there is no button to re-download and in my app world it shows up as unistalled, but again no option to re-install
    Please help, how can i get my money bqck from these rob dogs

    Hello!
    I suggest that you clear the AppWorld application cache:
    1. Open App World
    2. Go to My World
    3. Follow one (and only one!) of these steps:
    3a. For keyboard-based BB's -- Hold down the ALT key and then press, in sequence R, then S, then T
    3b. For Touch Screen Only BBs -- Hold the num-lock (!?123) button so it locks and then press, in sequence 3, then 4, then (
    3c. For newer (e,g., OS6 and 7) BB's, see this KB:
    KB24714 How to clear the BlackBerry App World cache
    4. AppWorld should close.
    5. If your BB locks after issuing the cache clear, perform a battery pull reboot
    6. Return to AppWorld/MyWorld (it may be sluggish while it re-synchronizes).
    If step (4) does not happen as listed, then the clear cache did not work.
    As for refund request, you seek that via your formal support channels, which always begin with your mobile service provider, who can escalate cases into RIM at no cost to the end user.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help with third-party Atari App from AppStore

    Not sure anyone knows but I thought I'd take a stab at it. You download the Atari app for free, then you cam buy game packs. Example, one game pack includes Centipede, Millipede, etc... So, the games are awesome... Look great, made specifically for iPad.. So the sound in settings, they're not turned down... They're up. Sounds on each game show that they're up. Yet, when I play, no sound whatsoever! Can anyone help?known glitch perhaps?

    I'm an idiot. Kid moved the mute switch on side of iPad

  • Please help with purchased application on app world....

    Hi. I hope someone can help me. I purchased an application (shazam encore) on bb app world, I clicked on the price tag, and then entered my password 2 start the purchase and downloading. When it was supposed to start the download, it gave me an error message of insufficient funds, while I had R160.83 in my account. When I checked my balance, I found that app world billed me for the application which I can't download. What can I do?
    Solved!
    Go to Solution.

    Hi and Welcome to the Community!
    I suggest that you clear the AppWorld application cache:
    1. Open App World
    2. Go to My World
    3. Follow one (and only one!) of these steps:
    3a. For keyboard-based BB's -- Hold down the ALT key and then press, in sequence R, then S, then T
    3b. For Touch Screen Only BBs -- Hold the num-lock (!?123) button so it locks and then press, in sequence 3, then 4, then (
    3c. For newer (e,g., OS6 and 7) BB's, see this KB:
    KB24714 How to clear the BlackBerry App World cache
    4. AppWorld should close.
    5. If your BB locks after issuing the cache clear, perform a battery pull reboot
    6. Return to AppWorld/MyWorld (it may be sluggish while it re-synchronizes).
    If step (4) does not happen as listed, then the clear cache did not work.
    Hopefully that will allow you to download the app you paid for. If not, then you need to contact your mobile service provider (vodacom, according to your profile) for resolution of this...they may have to escalate you into RIM so that teh records can be properly checked. Please be aware that if the vodacom rep tells you they can't help or that you need to contact RIM directly, then you need to either ask for their supervisor or hang up and call back. There is no method for you to contact RIM directly on this...only via escalation from your carrier can your case receive formal attention from RIM.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help with Re-installing an app through app manager after after accidental uninstalled?

    Okay - I've purchased lightroom 4, with the intent to upgrade my creative suite from 5.5 to 6 a week or so ago... Adobe was kind enough to credit me back as at time of upgrade, CS6 was no longer available and lightroom 4 would have been included in my CC membership.
    I've installed all the CC apps, and received a weird german email about LR4 intalls... So I uninstalled my current copy of LR4 and went to re-install from the CC app manager... It says that it is already installed and won't let me download it from the site... The trouble is that it isn't really installed anymore, and now I really need to use it... Any help would certainly be appreicated.
    Thanks.

    If you are using Windows Mahcine then go to control panel and uninstall the lightroom properly from there.
    If you are using MAC then go to /Applications/Utilities/Adobe installers and find the uninstaller of lightroom and double click the same to uninstall.
    If still you are not able to uninstall the application completly then use CS cleaner tool to uninstall the software. you can download CS cleaner tool from : http://www.adobe.com/support/contact/cscleanertool.html

  • Help with a BB Playbook App- strings and variables

    hello, i hope ive come to the right place for help.
    let me give u some background:
    im developing an app for the blackberry playbook, which in fact just came out today! yay. so anyway, im making an app that will decode fringe glyphs, from the show "fringe." unless u watch it, u prob wouldnt get it, but everyso often they show a symbol in the show, and by the end of the show, they have shown about 5-6 of them. there is a code to them, and each distinc symbol represents a letter. so when u have recognized all 5 symbols, u are able to spell a word, that typically correlates to that epidsode of the show. So, for my app, i have a wall of tiles, with groups of the symbols. underneath this group of tiles, i have 5 blank spaces.
    So, i want a user to be able to watch the show, and as he/she sees a symbol, finds it on the tablet app, taps it, and the corresponding letter will appear in the 1st blank space, and so on, until it spells out an entire word.
    I am relatively new to the programming, so i was hoping that someone could possibly provide me with a list of major steps on how to provide this app. basically, what methods do u use to make each of these things happen. and what is the practical/efficient way of course. So, of course my main question is how i can link each image to a letter with then displays along the bottom, but i have no idea what i would need or how i would do this. Reminder: i am using actionscritpt, if that makes any difference.
    Thank you, and please ask any questions necessary for u to help me.
    PS.
    along with selecting images for the letters, i would also like it to be almost like a toggle button. if that makes any sense, but for now, id like to figure out wat i have stated above.

    heres a screenshot of what i have so far. nothing really except kind of the layout and pics. what i need now is user interaction... lol

  • Help with "Find my iPhone" app if phone is on silent/ringer off *and* offline???:///

    Help! I've lost my iPhone-pretty sure around the house but I am visiting family and about to fly back across country. It is a 4S, I'm fairly certain wifi is turned off as well as cellular data...but I am not 100% positive, but using the app Find my iPhone has been useless since the "sound" can not be heard and the app can not locate it "offline"...anyway Siri can be made to turn the volume up from something? The apple tech guys or anything? Turn the cellular data back on?? Gahhhh helppppp!! Thanks!

    Selecting "Play a Sound" works regardless of the position of the mute switch.  The phone being offline is different.  With no network to connect to (either WiFi or Cellular), find my phone will not work.  So, if your phone battery is depleted, you will not be able to use find my phone. 
    Sorry.

  • Help with iPhone sync/mail app. crashing

    Hey all, I've now spent the better of 3days on the forums and have tried several approaches. Here's the problem: During syncing all is fine until iTunes starts to sync my mail (.Mac), at which point it freezes and an error message appears stating: that "iTunes could not sync mail accounts to the iPhone because the iPhone canceled the sync". Furthermore, the Mail app on the phone keeps crashing. The screen appears and starts to load my emails and once complete the screen goes black and returns me to the home page. Now, I did try the trick of deleting the AppleMobileDeviceHelper.app and was able to successfully sync the mail, however, the app still crashes on my phone. And when I put the AppleMobileDeviceHelper.app back in the folder, and try to sync, of course it freezes during the backup of the mail syncing. Help, help, my girlfriend is sick of me and this phone, I'm a bit wigged out at this point.
    Thanks in advance to any takers.

    You can do either/or. I would go with a backup since it has your contact info, email, etc. If you go from new, you will have to setup everything again.

  • Adobe CC - Need help with billing and downloading apps

    Hello,
    I just signed up for a 1 year CC membership (includes all apps that are part of the Creative Cloud). Can you please let me know how i can receive a DVD so that i can easily install all the applications? Numerous applications are extremely large in size and i am unable to download them due to my slow internet connection.
    Can you also let me know on which day exactly Digital River will charge my credit card each month? i just upgraded my membership a couple of hours ago.
    Regards,
    Raghu

    Raghu do you have access to high speed Internet access at all?  If so then you can download the installation files by following the directions listed at http://prodesigntools.com/adobe-cc-direct-download-links.html.  Please make sure to complete the Very Important Instructions prior to clicking on the download link.
    If you do not have regular access to high speed Internet access then I would recommend that you purchase and continue to use Creative Suite 6.  While it is possible to request DVDa from our support team high speed Internet access is a system requirement.  Without regular access you will face difficulty downloading and applying updates and new versions of the software as they are made available.
    If you wish to request a DVD with the installation files from our support team you can contact them at http://adobe.ly/yxj0t6.
    If you would prefer to cancel your membership and proceed with Creative Suite 6 then please see http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html?start=10.

Maybe you are looking for

  • Event handling in abap objects

    hello friends,                     i want to use the event RAISE_LINK_CLICK for single click. but i dont want 2 use this event for alv table.                    i am displaying vendor name in my top of page,if the user click of the vendor name a new

  • Issue while trying to activate Data Source in BW

    Hi, One of my Master data process chain is failing in Activation step. Error message - "No InfoProvider exists with name "COSTELMNT_0102_HIER".But this is a data source.Also it is present in R3 and when i am trying to activate it since in Data source

  • "Drive not ready" can't boot the Sun Enterprise 250 Server 400MHz

    Hi, Because I can't ping it and got no response on the console, so I had to reboot the E250 server. When I reboot SUN E250, I got the following message on the console and then it stops. Sun (TM) Enterprise 250 (2 X UltraSPARC-II 400MHz), No Keyboard

  • Someone elses updates appearing in my app store???

    So today I opened my app store and I had two updates. One for final cut and other for angry birds which i've never installed on my system. I thought what the heck and pressed update on angry birds, but then a window popped up that told me to log in w

  • Send url to a crm

    hi, can anyone please tell how can i send a url with parmeters to a crm server? thanks