omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. michael_recchione

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 21
    • Best 0
    • Controversial 0
    • Groups 0

    michael_recchione

    @michael_recchione

    0
    Reputation
    878
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    michael_recchione Unfollow Follow

    Latest posts made by michael_recchione

    • location question

      Is there a way to tell which of the iOS location services are being used, and what the source of the location measurement is, i.e. GPS, WiFi, cell? Also, if GPS, is there a way to tell how many satellites were seen to get the measurement?

      Trying to identify sources of systematic location errors...

      Thanks!

      posted in Pythonista
      michael_recchione
      michael_recchione
    • Another newbie question: How to get a view created on the iPad to resize or scroll around on iPhone

      I just got an iPhone, and have a bunch of scripts with UIs that I developed on the iPad. When I brought them over to the iPhone, they don't resize or scroll, so many of the entry fields and buttons are not accessible. Is there a way to fix this without recreating the pyui file from scratch?

      Thanks!

      posted in Pythonista
      michael_recchione
      michael_recchione
    • RE: How to export a .pyui file to dropbox?

      That would let me FTP directly from my iPad to my iPhone? Sure!

      posted in Pythonista
      michael_recchione
      michael_recchione
    • How to export a .pyui file to dropbox?

      I'm sorry for what's probably a stupid question, but I've been struggling with this for a while, and can't find the answer...

      I'm using dropbox to copy files from my pythonista scripts directory on my iPad to my iPhone. When I open a .py file in the editor, the wrench gets me menu that allows me to export the file to dropbox. There doesn't appear to be anything like that when I open the .pyui file. How can I export that file to dropbox?

      Thanks!

      posted in Pythonista
      michael_recchione
      michael_recchione
    • RE: How to export a .pyui file to dropbox?

      Thanks! - I'll try that.

      posted in Pythonista
      michael_recchione
      michael_recchione
    • RE: Another newbie question: How to get a view created on the iPad to resize or scroll around on iPhone

      I just spent an hour moving controls around, changing font sizes, resizing things so the UI would fit on the phone. As porting an app goes, an hour isn't that bad, I guess. But still - it would be nice if there were a more elegant way to do this, and I'll bet their probably is...

      For example, the phone I got was an iPhone6. Would I need to mess around with the UI for each different screen size?

      posted in Pythonista
      michael_recchione
      michael_recchione
    • RE: How to export a .pyui file to dropbox?

      I figured out a workaround, by putting the .pyui file into a folder, and exporting the whole folder, using Dropbox File Picker to get the folder, and zipfile.extract() to get the files. Very cumbersome, though. Is there an easier way?

      posted in Pythonista
      michael_recchione
      michael_recchione
    • How to use an image from a file as a background for a canvas

      I've been trying the following:

      import canvas
      from PIL import Image

      im = Image.open("./myfile.jpg")

      image = im.tobitmap()

      canvas.draw_image(image,0,0,600,600)

      I keep getting the error on the line calling tobitmp: "ValueError: Not a bitmap"

      What am I doing wrong?

      Thanks!

      posted in Pythonista
      michael_recchione
      michael_recchione
    • RE: How to use an image from a file as a background for a canvas

      Thanks, this worked!

      I tried used one of the online converters to convert an image from jpg to bmp, but when I tried to use it with canvas.draw_image, it claimed that the bitmap compression wasn't supported. So, bottom line, I haven't yet been successful in getting draw_image() to work.

      posted in Pythonista
      michael_recchione
      michael_recchione
    • Can you access information about cellular network performance and "phone events" using pythonista?

      I would like to build an app that keeps track of location, signal strength, data rates for data connections, information about drops, blocks, call quality, connection times, etc. Is there a way to access this information in the iPhone from pythonista? Or anywhere, for that matter? I know there are apps that do this (and sell the information to cellular service providers), but I'd like to create one myself...

      Any ideas?

      posted in Pythonista
      michael_recchione
      michael_recchione