NRWTV2
Feb 29, 2016 - 18:18
# coding: utf-8
import ui
from PIL import Image
import threading
import console
import random
# continue with the rest of your code
v = ui.load_view()
imagelogo = v['imageview1']
imagelogo.image = image = ui.Image.named('logo.PNG')
def slider():
threading.Timer(15.0, slider).start()
imageslide = v['imageview2']
num = random.randint(1, 3)
imageslide.image = ui.Image.named('slide/' + str(num) + '.jpg')
slider()
def touch_began(self, touch):
console.hud_alert('Lol')
v.present('fullscreen',hide_title_bar=False)
What is the problem?