GLBasic forum

Main forum => Beta Tests => Topic started by: ampos on 2011-Oct-13

Title: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-13
I ahve sent to HP my app, but they said it can not find photos.

I would like you to test it on your device.

It will read photos from 3 places:

-Camera folder, not on mobile devices (in fact, inside the /DCIM folder)

-Facebook. Only if your device has downloaded previously FB photos. Only tested this in TP.

-Photos inside a folder called "photos" in the main directory of the device. Example: g:/photos/myphoto.jpg. Please, use photos lower than 4096x4096 on TP. It can read photos inside folders also.

The app has work on my TP and my Pre2, should work on any other WebOS device but Pixi.

Thank you for your feedback.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-14
I have uploaded a new version with help screen.

Has anyone tested it on his WebOS device?
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-14
Not had time yet I'm afraid - and I've only got a couple of photos on my Pre2, none of which I want displayed.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-14
Yeah, I haven't really had the time yet. Sorry. I'm out tomorrow but for a fast test how do you install the app manually on a WebOS device?

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-14
Copy to the device using USB and install using... dont remember now, a prog installed using... the thing used for "jailbroken" it...

 :enc:

Later will check at TP, it's at home

Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-14
Preware? Is it an app you download from Preware to install your own app or is just installable from Preware directly? Haven't really looked into Preware since OCing the TP and don't even use it on the Pre2.

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-14
Yeah, in Preware.

I installed a program that is a file browser. When I click on a ipk file, it opens another program, don't know how it is called (I thing it is preware itself), that is the one that really install the file.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-14
Use QuickInstall - it's the biz. Use it on your pc to transfer any .IPK files to any webOS device.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-27
I need you all TP users to test it, and know if you have Preware installer or not.

It is driving me crazy, as HP contiunes saying "it closes as soon as I touch the screen"

I have asked them to run it from novacom and check/sent me the log, as I dont know what is falling.

http://www.diniplay.com/misc/com.diniplay.photoframefree_1.12.2_all.ipk
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-27
Ok I installed it on my TP. There is an option in Preware to install a package (top left drop down) so I did it that way.

Ok so it didn't detect anything when I first ran it. I have the Facebook exhibition app which has shown pictures but I don't know if they download and stay or just get downloaded to show at the time. Either way it didn't find them automatically.

So I followed the instructions from your app and basically dragged a load of our avatar pictures from this forum onto the photos folder.

The good news is I got several to show but not all of them. Lets see.... It was all the jpg ones. The png ones were ignored. Well I think they were attempted as it sits there with a black screen for a bit and then you get one of the jpgs again. I take it it's all random rather than sequential? Is there an option to make it sequential? Should put one in. Plus make an option that shows the name of the file. That way you can know for sure it is trying to show the photo but failing (black screen). Really though if all it's doing is showing a black screen then it should realise this and skip the photo completely rather than showing a black screen for a bit. An option to remove the clock would be good too.

Oh and to replicate try dragging Kitty's avatar picture into the photos folder. It won't show. If it isn't a PNG thing and that's just a coincidence then my avatar worked, so did yours, and so did Qubes. Kittys doesn't work, neither does the GLB logo, mentalthink doesn't, nor does that white and red cube avatar.

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-27
I have no photos on my TP, no patches, no Preware or internalz stuff.

I can confirm that the app closes when you tap the screen once you get to the instructions screen.

I used the newest (I think) QuickInstall (4.3.1).


I just noticed that the app doesn't create a "Photos" folder (well, I can't see it via USB mode). Perhaps this is the problem? I'll create one now and update.

Yep, that's the problem. Once I created this folder and put some photos in the app appeared to work properly.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-27
That happened to me too, but if you then create a photos directory (it says this on the help screen that shows if you have no photos) on the device and plonk some photos (I think JPGs only work as my PNGs sit there with a black screen by the looks of things) in there then it will not show this screen and cycle through the pictures.

Ampos, if I was you I would *always* have a couple of stock images to cycle. That way HP can move on and look at how to add your own photos. Maybe have a more obvious big note that just says "YOU HAVE NO PICS OF YOUR OWN. TOUCH QUESTION MARK TO FIND OUT HOW TO ADD SOME!". Have an "OK" button and then start cycling the stock images.

At the end of the day though they might not like the whole manual process of creating a directory when a USB drive and moving photos etc. Dunno.

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-27
I actually missed the text in point 2 (seeing only the image with Photos folder highlighted)! Don't expect the everyday user to read instructions! I didn't and obviously the Review team didn't, either.

Your app really should create the "Photos" folder itself and limit what the user needs to do.

I agree with Crivens, you should save a photo or two into the Photos folder, even if it's just a couple of "Digital Photo Frame" images (or adverts for other apps).
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-27
Thanks guys, this really helps.

Ian, if I understand correctly, the app opens and display a screen that says "how to save photos" and once you touch, the app closes.

This is how it is been done and the way it is designed.

-you dont have photos -> display a help screen with instructions -> when te user touch, close the app (you dont have photos to be displayed anyway!)

Im thinking that the reviewer is GILIPOLLAS  :rant:

why dont he read the help screen displayed on the screen????

Anyway, you gave me some ideas, as creating the photo folder and cooying there a few ad-screens...

The png support was removed

Facebook photos are downloaded by "photos and video" app, and saved at "/internal/media/.photosapp/com.facebook.com/your@facebook.com"
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-27
Who was the reviewer that sent you the failure email? Was it Lisa Brewster?

I can vouch for the reviewers (at least LB) being assholes; Mined Out! was failed because the reviewer couldn't place a flag on a revealed number. When I stated that this wasn't possible in ANY Minesweeper game, she replied, "Oh you're right", but didn't turn the rejection around. I had to re-submit and wait another week.

Ampos, just do as Crivens and I suggested - create the folder from the app and save an internal image (or two) to the folder. One of theese photos could actually state that the user needs to import their own photos. This way you actually don;t need to use the "Help" screen.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-28
Png support was removed? Do you mean it now slips png files completely? Why? How come it only showed them as a blank screen?

Essentially though anything that cannot load shouldn't show a black screen for a few seconds.

And make the help screen more obvious! If I was you I would just have 3 big icons (FB, camera, and photo) and a massive sign saying click one for more info. Then when they click the icon it shows info on how to use it to show photos. Your current help screen is just too packed with info and easy to ignore

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-28
This HP guy is driving me crazy...

HP:
Quote
Sorry for the delay. The issue is still there. If the suer touches the screen at any point the application closes.

ME:
Quote
It is not an error! Its that way!

The app try to find .jpg files in root:/photos (internal/media/photos/). If no photos are found, it displays a screen with instructions for copying files. When the user touches the screen, the app closes (you dont have photos to be displayed anyway!)

HP:
Quote
I do have pictures on mine, but the issue is that it does this when the app is finding the pictures. So if the app is looking for pictures and the user touches the screen the app closes.

Adam

Crivens, png images are ignored and removed from the display list. I dont know what are this black images for you. I have this app running all the day with 3000 with nothing strange...

I plan to add more icons, and sure I will change the help screen saying "you have no photos", add buttons to add folders and more.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-28
Hmm, strange then. Just have about 7 pics. 3 are jpg and 4 are png. Half the time it shows the jpgs fine, but the rest of the time it sits there (for about the same amount of time as a jpg) with nothing but a black screen. Are you making sure that the list it builds checks for upper and lower case PNG extension?

Seriously though add in the "stock" images so it never thinks there are no images, or at least not kick them out if there are no images. Yeah, we all know that makes the most sense but we are talking QA people here. One less brain cell and it's Burger King drive through at best. How about a screen saver type animation if no images are found?

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-28
The free version should display a demo screen every now and them... perhaps it is failing to load this...

Will check it.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-28
I get the black screens occasionally too, even with only .JPEG files. Admittedly, there's only about 5 photos in there, but the black screens are annoying.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-28
Upgrade to full version to get rid of the black screen! :D

It should be the intro screen, but i dont know why it is not loading. Will check later.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Crivens on 2011-Oct-28
The intro screen? But I get that and then it says it has found my photos, then it goes to show them. It's at this point that every now and again I get a black screen for a few seconds.

Cheers
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-28
New version:

http://www.diniplay.com/misc/com.diniplay.photoframefree_1.12.3_all.ipk

It should create /photos dir if it does not exist.

Also, if no photos are found, it should work with 2 "demo" pictures

Please, check without the /photo dir first to see it in action when no-photos-found (notice it could still find facebook photos).

Only jpg files are shown.

I apreciate greatly your help.  :nw:
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-28
Yep, that does exactly what I think it should; it creates the directory and displays in-built images if you have no photos of your own.

Perfect :)
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: ampos on 2011-Oct-28
Dan has replied me "oh, you said it only loaded 4000x4000 pixels or less! that's was my problem!"

 :rant: :rant: :rant: :rant: :rant: :rant: :rant:

I said it him TWICE, and it is also written in the app description...

I should check if loadspritemem is capable of loading images bigger than 4000x4000 or it is the jpg library the "bad guys"...

Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ian Price on 2011-Oct-28
Confirmed:  HP reviewers; they are all stupid.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Ruidesco on 2011-Oct-28
Heh, leave it to a reviewer to not know what to do.

Although, in terms of usability, you should make a routine that reads the header of JPGs to look for their dimensions before loading, showing an error message on screen in case they exceed the maximum.
Title: Re: DIGITAL PHOTO FRAME for WebOS
Post by: Kitty Hello on 2011-Oct-29
read the jpeg file with LOADSPRITEMEM, then see the size and drop big images yourself - or resize the memory and call MEM2SPRITE.