• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps iptv app

hey there , buy doing the GIt settings I was able to build the itv.example

it works when I emulate with my phone.
the only thing is that I would like to make it easy to edit in the sting.xml

they have a hard coded value

String playlistUrl="playlist url";
intent.setData(Uri.parse(playlistUrl));

how can I set it to a @String/iptv_url_provider in my strings folder?
 
There's a file called res/values/strings.xml. In there add a new string property

Code:
<string name="playlistUrl">http://server.org:.......</string>

And in your code write

Code:
new _checkNetworkAvailable().execute(getString(R.string.playlistUrl));
 
ya thats what I did but it was giving me an error since I had it "@String/..."

whats the checknetworkavailble?it gives me an error
 
I used my intent

intent.setData(Uri.parse(getString(R.string.iptv_link_provider)));

that part works

no it loads and all is good.

no I need to make a login form and replace the username and password in the string for the info
 
Use google's exoplayer to play m3u file.
It is open source too.
parsing this file and streaming the video content in it is built in job for exoplayer.
as it is open source you can extend this player according to your requirements.
 
Hi guys

i have managed to compile the source using android studio

but now i have a issue

everytime i tri to login with user and pass i have created it does not work it says acccount not found

i have changed the user and pass in the assets / json.json file it had IP of server and username and password i changed it to the one i have in my management iptv user created.

in the login java page i also added the domain and IP url from my management site iptv..

but still get the same info account not found... and in the android studio debug i see this message



E:/ Google False

I/art: Starting a blocking GC JitCodeCache
After code cache collection, code=480KB, data=386KB
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@9991665
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper: beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
endBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
E/Google: false
W/IInputConnectionWrapper: beginBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper: beginBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
endBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
E/Google: false
V/FA: Recording user engagement, ms: 118299
V/FA: Connecting to remote service
V/FA: Activity paused, time: 26048607
D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=118299, firebase_screen_class(_sc)=Login, firebase_screen_id(_si)=5777085210743503716}]
V/FA: Connection attempt already in progress
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 2
W/IInputConnectionWrapper: beginBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
endBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper: endBatchEdit on inactive InputConnection
beginBatchEdit on inactive InputConnection
endBatchEdit on inactive InputConnection
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
V/FA: Inactivity, disconnecting from the service
W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
W/IInputConnectionWrapper: beginBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
W/IInputConnectionWrapper: endBatchEdit on inactive InputConnection
finishComposingText on inactive InputConnection
Disconnected from the target VM, address: 'localhost:8602', transport: 'socket'



any help or hints are appreciated.

thanks
 
Can anyone please share the working source code ?

The original participants of this thread haven't been seen for some weeks.
The code in question is on the Github repo. Just clone it from there and build.
What problems are you having?
 
The original participants of this thread haven't been seen for some weeks.
The code in question is on the Github repo. Just clone it from there and build.
What problems are you having?

Thank you for the respond
i just want to know, should i have some kind of account for the sign in or not ?
 
No, it's a public repo. Just use the URL provided in 'Clone or download'.
i tried , but i cant pass the login screen , i typed the Username and password from json but no success.
I tried to jump the login by going directly to main activity but also keeps showing the login page
 
i tried , but i cant pass the login screen , i typed the Username and password from json but no success.
I tried to jump the login by going directly to main activity but also keeps showing the login page

You realise that the OP has a commercial video streaming business, and the login/password credentials given previously have probably been invalidated. He's not going to give away free service lol!
 
Hi, was anyone able to get this to work? I have my own m3u url. I just want to get rid of the login screen. But how much ever I try, It keeps coming back.
 
Hi, was anyone able to get this to work? I have my own m3u url. I just want to get rid of the login screen. But how much ever I try, It keeps coming back.

login is called multiple places..so you need to remove on the get mp3 list also..

first checks login then loads m3u but also checks if credentials are good
 
login is called multiple places..so you need to remove on the get mp3 list also..

first checks login then loads m3u but also checks if credentials are good
Is there a way I could remove the login screen and start the app from Main Activity?
I also want to know how I can insert my M3u Url.
 
remove the login from manifest add the main screen as boot.
but you need to remove all the auth section...
the m3u link is inserted where we call the server.
need to host it do..inless you leave it local but you can't update it..
 
remove the login from manifest add the main screen as boot.
but you need to remove all the auth section...
the m3u link is inserted where we call the server.
need to host it do..inless you leave it local but you can't update it..
I tried doing that, But removing the login activity java files, Xmls, and from the manisfest returns errors. I tried changing the intent to the main activity in manifest. That didn't help too. Could you try compiling the project and let me know?
Thanks
PS: No, I do not plan on leaving my playlist local. I want to know how to add the remote server url to the app. (http://www.example site.com/exampleplaylist.m3u)
 
i havent been on this for a while now..i need to check if i still have the original code on my github..

but honestly removing login on this app could be a pain.. i would re do it..
 
Ya me and sajjad were working on it together.

but havent updated it in a over a year
Oh, Okay. I tried contacting him, but I'm getting no response. That's why I turned up here. Any help would be appreciated. Thanks.
It's a great app by the looks of it.
 
ya but like i said we stoped it mid way cause we were both in other projects and i was starting my own iptv service so it takes lots of our time..but il look in to it

email me
 
I have initiated a (dm) conversation with you, if you could pass me your email there I'll email you.

Thanks for all the help.
 
Back
Top Bottom