Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,290 members, 7,818,988 topics. Date: Monday, 06 May 2024 at 09:31 AM

Please Help, Python Programming Language For Android - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Please Help, Python Programming Language For Android (1544 Views)

What's The Best Language For Developing A Social App Like Instagram. / Data Science Tutorial For Beginners With Python Programming Language / Build A Mobile App Without Knowing Any Programming Language or line of code. (2) (3) (4)

(1) (Reply) (Go Down)

Please Help, Python Programming Language For Android by Greatfes17: 1:51pm On Apr 19, 2015
Please guys...

I am desperately in need of any good python programming software for Android. I am using Tecno H5

I downloaded qptthon3 which istalled sucessfully but the "console" crashes immediately when I open it. Therefore, there is no way to run the scripts.

My reserch yelds Kivy as an alternative to Qpython.

If you develop for Android using your Android phone please kindly share the tool(s) you use.

Any advise is welcomed friends.
Please, Please and Please again help me out because am desperately in need of this.

Happy sunday pals.
Re: Please Help, Python Programming Language For Android by Yinkash100(m): 6:32pm On Apr 19, 2015
hope you downloaded d qpython from reliable source (I.e playstore)
Re: Please Help, Python Programming Language For Android by Greatfes17: 11:28pm On Apr 19, 2015
Yinkash100:
hope you downloaded d qpython from reliable source (I.e playstore)
I downloaded it from some place else other than play store. Because the network connection from this part of the world is very poor but play store don't understand such language.. However, the comments from playstore proved that am not alone in the bug.

The version which I downloaded wasn't the newest version though.

Does your version work for you? Please can you share a copy of it via any free file hosting portal like 4shared.com?.

Eagerly waiting for your reply.
Thanks.
Re: Please Help, Python Programming Language For Android by Yinkash100(m): 2:22am On Apr 20, 2015
My version work for me. Though m using htc one x + which is running android 4.1.1. I downloaded d qpython from playrtore i cant upload it cos its a large file 45mb
Re: Please Help, Python Programming Language For Android by Greatfes17: 12:40pm On Apr 20, 2015
Yinkash100:
My version work for me. Though m using htc one x + which is running android 4.1.1. I downloaded d qpython from playrtore i cant upload it cos its a large file 45mb
Ok
Thanks for your care and reply. I appreciate.
Re: Please Help, Python Programming Language For Android by Greatfes17: 5:58pm On Apr 28, 2015
please qpython users help me.
I am trying to write a script that can record and save audio to specified location on sdcard.

I have two versions of the script.
below is the first one....


import sys
import sl4a
import random
droid=sl4a.Android()

# Calling the sound recorder api

default = "/sdcard/qpython/"
soundname = "soundname"
droid.dialogCreateAlert()
startRecording = droid.dialogSetPositiveButtonText("Start Recording"wink
droid.dialogShow()

if droid.dialogGetResponse() == "Start Recording":
print ("recording started"wink
droid.dialogDismiss()
droid.recorderStartMicrophone("/sdcard/qpython/sound3.mp3"wink.result


droid.dialogCreateAlert()
stopRecording = droid.dialogSetNegativeButtonText("Stop Recording"wink
droid.dialogShow()
if droid.dialogGetResponse() == "Stop Recording":
droid.recorderStop()
droid.dialogDismiss()


# Lets play what we have so far.

findAndPlay = droid.mediaPlay("/sdcard/qpython/sound3.mp3"wink
getMaxMediaVolume()
if findAndPlay:
print ("playing"wink
else:
droid.mediaPlayClose()

droid.makeToast("Finished playing recorded sound"wink
droid.makeToast("Script written in python by Festus"wink
print("Task completed successfully"wink
droid.notify("Recorder script by Festus", "Finished playing"wink


THIS IS THE SECOND SCRIPT

import sl4a
droid=sl4a.Android()

droid.recorderStartMicrophone("/sdcard/qpython/sound.mp3"wink.result
droid.dialogCreateAlert()
droid.dialogSetNegativeButtonText("Stop Recording"wink
droid.dialogShow()
if droid.dialogGetResponse("Stop Recording"wink:
droid.makeToast("Recoder stoped"wink
droid.recorderStop()

please help me correct error in this script
Re: Please Help, Python Programming Language For Android by Yinkash100(m): 9:51pm On Apr 28, 2015
upload d file as attachment, lets check it out. . . NB: I be learner sha ô
Re: Please Help, Python Programming Language For Android by Greatfes17: 9:34am On Apr 29, 2015
Yinkash100:
upload d file as attachment, lets check it out.
.
.
NB: I be learner sha ô

First and foremost, thanks for your care.

Attached below are the source files.
I am working with qpython3.

Hope to here from you soonest.

(1) (Reply)

Andela Is Partnering With Lagos State Government / Have You Seen Linda Ikeji's New Social Network? / A Php Mysql Server That Works Well On Android Version 8.0

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 19
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.