DOWNLOAD Sparkle 1.9.5 + Panel

Gizmo

Well-known member
Joined
Jun 8, 2021
Messages
524
Awards
4
Offline
i agree could well be to do with android versions and flix , I have only tested on emulator which is android 9 so would make sense
can always swap out for cinemahd ,streamio , or HDO , or even if for your own use syncler or weyd need to test what vod apps work on your shields then use one of them
View attachment 9147
NOTE OnStream is a free one clicker vod only app works well on higher android versions
It has more to do with how it requests the the app to launch. Talking it over to with everyone's favorite A.I. it says this about the subject.

To launch the `com.haxapps.flixvision` app from within another app, you'd typically use an `Intent` in Android. This approach requires specifying the package name of the app you want to launch. Based on the information you've given, it looks like you're setting up a URL and some identifiers, but to actually launch another app, you'll need to implement an intent-based approach.

Here is a simple way to do this in Java:

```java
public void launchFlixVisionApp(Context context) {
String packageName = "com.haxapps.flixvision";
Intent intent = context.getPackageManager().getLaunchIntentForPackage(packageName);
if (intent != null) {
// If the intent is not null, the app exists and you can launch it.
context.startActivity(intent);
} else {
// If the intent is null, the app does not exist, so you might want to open it in the Play Store.
try {
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + packageName)));
} catch (android.content.ActivityNotFoundException e) {
// In case the Play Store is not installed, open in the browser.
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/details?id=" + packageName)));
}
}
}
```

To use this code in your Android app:

1. **Place the method in your activity:** You can place the `launchFlixVisionApp` method in any of your activities where you want to perform the app launch.

2. **Call the method:** Call this method wherever you need to launch the `com.haxapps.flixvision` app, passing in the context. For example, you could call it when a button is clicked:

```java
Button launchButton = findViewById(R.id.launch_button);
launchButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
launchFlixVisionApp(view.getContext());
}
});
```

Ensure you have the appropriate permissions in your `AndroidManifest.xml`, although for launching another app like this, you typically don't need any special permissions.

This approach uses the package manager to find the launch intent for the specified package. If the app is installed, it launches it. If not, it tries to open the Google Play Store to the app's page, or a web browser if the Play Store is unavailable.
 

Dixie1878

Active member
VIP Member
Joined
May 21, 2021
Messages
56
Awards
3
Offline
I linked HDO app and works on older firesticks and cube but on newest 4k it doesn't open the app. It opens silk browser!
 

chadb1987

Well-known member
VIP Member
Joined
Apr 11, 2021
Messages
283
Awards
4
Offline
I have gave up trying to swap live tv and movies round lol 😂 bloody thing crashes when clicking movies but when you click live tv it works so Iv did it semi correct but can sus out how to stop movies button crashing the app
 

chadb1987

Well-known member
VIP Member
Joined
Apr 11, 2021
Messages
283
Awards
4
Offline
get back in there and re edit :)
or download this and replace but you will learn more by opening this and comparing it to the original you have
you may start to see how this works. (this is my activity_new_uiactivity.xml)



Code for Downloader App
694927

OR CLICK HERE FOR DIRECT DOWNLOAD
Much appreciated mate il download it tomorrow and compare like you said id learn more by comparing
 

G-man

Well-known member
Joined
Apr 16, 2021
Messages
1,924
Awards
4
Offline
It has more to do with how it requests the the app to launch. Talking it over to with everyone's favorite A.I. it says this about the subject.

To launch the `com.haxapps.flixvision` app from within another app, you'd typically use an `Intent` in Android. This approach requires specifying the package name of the app you want to launch. Based on the information you've given, it looks like you're setting up a URL and some identifiers, but to actually launch another app, you'll need to implement an intent-based approach.

Here is a simple way to do this in Java:

```java
public void launchFlixVisionApp(Context context) {
String packageName = "com.haxapps.flixvision";
Intent intent = context.getPackageManager().getLaunchIntentForPackage(packageName);
if (intent != null) {
// If the intent is not null, the app exists and you can launch it.
context.startActivity(intent);
} else {
// If the intent is null, the app does not exist, so you might want to open it in the Play Store.
try {
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + packageName)));
} catch (android.content.ActivityNotFoundException e) {
// In case the Play Store is not installed, open in the browser.
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/details?id=" + packageName)));
}
}
}
```

To use this code in your Android app:

1. **Place the method in your activity:** You can place the `launchFlixVisionApp` method in any of your activities where you want to perform the app launch.

2. **Call the method:** Call this method wherever you need to launch the `com.haxapps.flixvision` app, passing in the context. For example, you could call it when a button is clicked:

```java
Button launchButton = findViewById(R.id.launch_button);
launchButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
launchFlixVisionApp(view.getContext());
}
});
```

Ensure you have the appropriate permissions in your `AndroidManifest.xml`, although for launching another app like this, you typically don't need any special permissions.

This approach uses the package manager to find the launch intent for the specified package. If the app is installed, it launches it. If not, it tries to open the Google Play Store to the app's page, or a web browser if the Play Store is unavailable.
The thing is I realise a lot of work has gone into this new layout of Sparkle I understand that but there is a perfectly good sparkle 1.9.5 available with no external launcher or new layout , it does what its supposed to do. I think launching an app within an app while interesting will not be that popular look at FCD did it perfect but hmmmm.........
I am not 100~% sold on the idea to be honest i prefer sparkle plain and simple
also the thing with this that other appinapp apks do and this does not is if you have not got the app installed already it will not download it ? a good idea for someone who wants to sell it as a package but for personal use this does not seem needed ? dont know just have mixed feelings although i know its good
 

chadb1987

Well-known member
VIP Member
Joined
Apr 11, 2021
Messages
283
Awards
4
Offline
The thing is I realise a lot of work has gone into this new layout of Sparkle I understand that but there is a perfectly good sparkle 1.9.5 available with no external launcher or new layout , it does what its supposed to do. I think launching an app within an app while interesting will not be that popular look at FCD did it perfect but hmmmm.........
I am not 100~% sold on the idea to be honest i prefer sparkle plain and simple
also the thing with this that other appinapp apks do and this does not is if you have not got the app installed already it will not download it ? a good idea for someone who wants to sell it as a package but for personal use this does not seem needed ? dont know just have mixed feelings although i know its good
I have to agree here the app in app thing not my type of thing it just clutters up the Home Screen making simple that bit more harder. The tmdb sport guide ect are good to have tho
 

SamChapman

Active member
VIP Member
Joined
Jan 18, 2024
Messages
164
Awards
2
Offline
The thing is I realise a lot of work has gone into this new layout of Sparkle I understand that but there is a perfectly good sparkle 1.9.5 available with no external launcher or new layout , it does what its supposed to do. I think launching an app within an app while interesting will not be that popular look at FCD did it perfect but hmmmm.........
I am not 100~% sold on the idea to be honest i prefer sparkle plain and simple
also the thing with this that other appinapp apks do and this does not is if you have not got the app installed already it will not download it ? a good idea for someone who wants to sell it as a package but for personal use this does not seem needed ? dont know just have mixed feelings although i know its good
Im going to remove that button from it as like the layout
 

G-man

Well-known member
Joined
Apr 16, 2021
Messages
1,924
Awards
4
Offline
i have been doing all work on emulators up until now so when i transfered the app over to my shields it will not launch any external app via that button keeps coming up item not found try again
works perfect on android 9 emulator but a no go for shields also
i have two versions of FLIX and shield blocks both from being installed one hax one RTx may well be a false call
but not sure ? think its a message from playstore saying its a fake which would be perfectly possible :) pain having to plug keyboard into shield to click ignore
 

chadb1987

Well-known member
VIP Member
Joined
Apr 11, 2021
Messages
283
Awards
4
Offline
i have been doing all work on emulators up until now so when i transfered the app over to my shields it will not launch any external app via that button keeps coming up item not found try again
works perfect on android 9 emulator but a no go for shields also
i have two versions of FLIX and shield blocks both from being installed one hax one RTx may well be a false call
but not sure ? think its a message from playstore saying its a fake which would be perfectly possible :) pain having to plug keyboard into shield to click ignore
i got the cinema hd button when i click it its saying you dont have an app that can do that lol but package matches the apk odd
 

Poncho

Owner
Staff member
Admin
Joined
Apr 5, 2021
Messages
1,731
Awards
5
Offline
i got the cinema hd button when i click it its saying you dont have an app that can do that lol but package matches the apk odd
not that odd if you actually read the post you tagged lol
 

Gizmo

Well-known member
Joined
Jun 8, 2021
Messages
524
Awards
4
Offline
i have been doing all work on emulators up until now so when i transfered the app over to my shields it will not launch any external app via that button keeps coming up item not found try again
works perfect on android 9 emulator but a no go for shields also
i have two versions of FLIX and shield blocks both from being installed one hax one RTx may well be a false call
but not sure ? think its a message from playstore saying its a fake which would be perfectly possible :) pain having to plug keyboard into shield to click ignore
Create your own signature and sign the flix apk with it. That will get playstore to just give you a warning but it will install and not be disabled shortly after.
 

junglemedia

Member
Joined
May 4, 2021
Messages
47
Awards
1
Offline
i have been doing all work on emulators up until now so when i transfered the app over to my shields it will not launch any external app via that button keeps coming up item not found try again
works perfect on android 9 emulator but a no go for shields also
i have two versions of FLIX and shield blocks both from being installed one hax one RTx may well be a false call
but not sure ? think its a message from playstore saying its a fake which would be perfectly possible :) pain having to plug keyboard into shield to click ignore
what emulator are you using ?
 

Havic2u

Active member
VIP Member
Joined
Apr 15, 2021
Messages
303
Awards
3
Offline
So where is this button located to remove or hide it? Been kind of looking but not seeing anything
 

G-man

Well-known member
Joined
Apr 16, 2021
Messages
1,924
Awards
4
Offline
So where is this button located to remove or hide it? Been kind of looking but not seeing anything
res/layout/activity_new_uiactivity.xml

scroll down to around line 154 and you will see this <ImageButton entery

<ImageButton
android:background="@drawable/rtx_multi_btn"
android:focusable="true"
android:clickable="true"
android:layout_width="@dimen/_70sdp"
android:layout_height="@dimen/_52sdp"
android:eek:nClick="mExtrabutton"

android:layout_marginStart="@dimen/_15sdp" />

now use your new best friend the
android:visibility="gone" comand so the section now looks like this :-


<ImageButton
android:background="@drawable/rtx_multi_btn"
android:focusable="true"
android:visibility="gone"
android:clickable="true"
android:layout_width="@dimen/_70sdp"
android:layout_height="@dimen/_52sdp"
android:eek:nClick="mExtrabutton"

android:layout_marginStart="@dimen/_15sdp" />

and now the icon is gone :)
 
Top