Android Question Nexus 7 Image

Stephenz43

Member
Licensed User
Longtime User
Why would the following show a picture on my Samsung Galaxy S mobile but NOT show a picture on my Nexus 7?


If FirstTime Then
Activity.LoadLayout("duff1")
If File.Exists(File.DirRootExternal,"/Download/9921.jpg") = True Then
ToastMessageShow("jpeg file is there.", False)
Else
ToastMessageShow("jpeg file not there.", False)
End If
bmp.Initialize(File.DirRootExternal,"/Download/9921.jpg")
Private bmd As BitmapDrawable
bmd.Initialize(bmp)
Panel1.Background = bmd
End If

Both the Samsung Galaxy phone and the Nexus 7 tablet both return that the jpeg file is there

What am I missing...
Thank you
steve
 

Stephenz43

Member
Licensed User
Longtime User
Please see the attached . Any direction will be appreciated
thanks
steve
 

Attachments

  • testingapp.zip
    110.3 KB · Views: 211
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
On both my Galaxy S3 and my Nexus 7 (2013) I get the toast message stating that the file does NOT exist. I've also checked using ES File Explorer and the jpg is not present on either device.

Regards,
RandomCoder
 
Upvote 0

Stephenz43

Member
Licensed User
Longtime User
Thank you for your response. The issue I'm trying to solve is why picture 9921.jpg displays on the Samsung smartphone but not on the Nexus 7
 
Upvote 0

RandomCoder

Well-Known Member
Licensed User
Longtime User
Are you sure that it is being downloaded to your Samsung phone and that it's not already present from a previous test? Both my Samsung S3 and my Nexus 7 say that the file is not present.
Maybe try searching for the file and delete it then repeat the test.

One thing I have noticed when testing between these two devices is that the Nexus is much faster at processing and so occasionally I have experienced different results with things like scroll views. Maybe processing speed is a factor in your problem?
 
Upvote 0
Top