Search Archive
🔒 Locked

AppRadio Extensions 2.0 Beta - Full iPhone control

By mikedecaro · May 06, 2012in AppRadio, AppRadio 2, AppRadio 3💬 2,444 posts👁️ 945,070 views
Page 32 of 98
Posted Feb 20, 2013 · 05:52 UTC#776

 

 

 

I have modificated info.plist:

 

 

<key>UIBackgroundModes</key>
    <array>
        <string>bluetooth-peripheral</string>
        <string>bluetooth-central</string>
        <string>external-accessory</string>
        <string>audio</string>
        <string>continuous</string>
        <string>location</string>
        <string>voip</string>
    </array>
 
I will try tomorrow, hope not to break something. ¿It would be posible or we need to create another array, strings (i dont know what is this ) in another archive of appradio.app???

 

 

 

I try this but dont work for me. If you tray to exit Appradio.app when conected to Appradio and in advanced mod, images in appradio goes black.

 

There is this in Info.plist of Appradio.app (between lines 73-79):

 

 

<key>UIBackgroundModes</key>
    <array>
        <string>audio</string>
        <string>continuous</string>
        <string>location</string>
        <string>voip</string>
    </array>
 
 
Can we change something in info.plist??? 
 
EDIT: more information from Apple developer site:
 
Declaring Your App’s Supported Background Tasks

Support for some types of background execution must be declared in advance by the app that uses them. An app declares support for a service using itsInfo.plist file. Add the UIBackgroundModes key to your Info.plist file and set its value to an array containing one or more of the following strings:

  • audio—The app plays audible content to the user while in the background. (This content includes streaming audio or video content using AirPlay.)

  • location—The app keeps users informed of their location, even while it is running in the background.

  • voip—The app provides the ability for the user to make phone calls using an Internet connection.

  • newsstand-content—The app is a Newsstand app that downloads and processes magazine or newspaper content in the background.

  • external-accessory—The app works with a hardware accessory that needs to deliver updates on a regular schedule through the External Accessory framework.

  • bluetooth-central—The app works with a Bluetooth accessory that needs to deliver updates on a regular schedule through the Core Bluetooth framework.

  • bluetooth-peripheral—The app supports Bluetooth communication in peripheral mode through the Core Bluetooth framework.

Each of the preceding values lets the system know that your app should be woken up at appropriate times to respond to relevant events. For example, an app that begins playing music and then moves to the background still needs execution time to fill the audio output buffers. Including the audio key tells the system frameworks that they should continue playing and make the necessary callbacks to the app at appropriate intervals. If the app does not include this key, any audio being played by the app stops when the app moves to the background.

 

Try to declare " external-accessory " in info.plist??

 

According to what I was reading on your post you should be adding external-accessory to the application that you plan to use with app radio (or another accessory), not to appradio itself, unfortunately I don't think this will work in this case because appradio.app should already has external-accessory declared in info.plist, but keep me posted in case something happens, you might also want to try adding external-accessory into info.plist of an unsupported app and see how it behaves.

 

What we need to find out is how appradio knows when certain application its supported for example what in the waze.app coding makes possible the connection between the app and the unit throughout the appradio.app, if we only knew the developer for one of the supported apps, he would be of great help :)

Posted Feb 20, 2013 · 08:02 UTC#777

 

I try this but dont work for me. If you tray to exit Appradio.app when conected to Appradio and in advanced mod, images in appradio goes black.

 

There is this in Info.plist of Appradio.app (between lines 73-79):

 

 

<key>UIBackgroundModes</key>
    <array>
        <string>audio</string>
        <string>continuous</string>
        <string>location</string>
        <string>voip</string>
    </array>
 

 

 

Jab after reading your post and doing some more reading on the link you posted avobe, I decide to try a couple of things, it looks like you are on the right track the only problem is that the .plist file its not using  <key>UIBackgroundModes</key> instead its using <key>UISupportedExternalAccessoryProtocols</key> towards the end of the code and what this is doing is that it is calling another piece of code I assume inside the appradio.app it self (couldn't find it)  <string>jp.pioneer.mbg.cargateway.carhome</string>, now this piece of code is the responsible for handling the connection between the apps and the unit and this is how I know,

 

I tried substituting the original

 

<key>UISupportedExternalAccessoryProtocols</key>

    <array>

        <string>jp.pioneer.mbg.cargateway.carhome</string>

</array>

 

 with 

 

<key>UIBackgroundModes</key>

<string>external-accesory</string>

 

hoping that the app and comunication would stay running in the background as it indicates here http://developer.apple.com/library/ios/documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW22 and the result was that the appradio app was not communicating with the unit, because it kept asking my to lunch the app when I already hat it open, so if we can find that jp.pioneer.mbg.cargateway.carhome we could probably go on and modifying and testing, that's if Mike doesn't find a beter way sooner.

 

Quick question Mike its all this testing we are doing helping you some how? or should we just chill and wait for you to get it done? :) if you think I could be of help let me know...

 

Thanks...

Posted Feb 20, 2013 · 09:43 UTC#778

Jab after reading your post and doing some more reading on the link you posted avobe, I decide to try a couple of things, it looks like you are on the right track the only problem is that the .plist file its not using  <key>UIBackgroundModes</key> instead its using <key>UISupportedExternalAccessoryProtocols</key> towards the end of the code and what this is doing is that it is calling another piece of code I assume inside the appradio.app it self (couldn't find it)  <string>jp.pioneer.mbg.cargateway.carhome</string>, now this piece of code is the responsible for handling the connection between the apps and the unit and this is how I know,

 

I tried substituting the original

 

<key>UISupportedExternalAccessoryProtocols</key>

    <array>

        <string>jp.pioneer.mbg.cargateway.carhome</string>

</array>

 

 with 

 

<key>UIBackgroundModes</key>

<string>external-accesory</string>

 

hoping that the app and comunication would stay running in the background as it indicates here http://developer.apple.com/library/ios/documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW22 and the result was that the appradio app was not communicating with the unit, because it kept asking my to lunch the app when I already hat it open, so if we can find that jp.pioneer.mbg.cargateway.carhome we could probably go on and modifying and testing, that's if Mike doesn't find a beter way sooner.

 

Quick question Mike its all this testing we are doing helping you some how? or should we just chill and wait for you to get it done? :) if you think I could be of help let me know...

 

Thanks...

 

It seems a good first step???? 

 

I found the place where Appradio.app declare the soported App, and in another place the icons for ssoported app. It´s seems we could try to make Appradio to think that we have download a soported app from appstore and declare in Appradio. The appradio.app using a number code for each new sopported aplicaction you have in appradio.app. So, can we try to declare an unssoported app like if it was a sopported app???? 

 

Just trying to help, but if what i´m doing is a nonsense just let me know, i have no idea about programming.

 

Adrian, Do u know how can i edit the files without extensions in appradio.app???? for example, there is a file called Appradio but it has no extension. I cant edit it with plist editor. When try to pen it with "text" editor, i can see some part of the code reference to UIBACKGROUND but the most part of the code is indescriptible.

 

I´ve modified what told yesterday but nothing happens, i supossed the way you did is the correct.

 

EDIT: This is what i was trying to explain, i found it in Itunesmetadata.plist:

 

 

 

<key>softwareVersionExternalIdentifiers</key>
    <array>
        <integer>3673630</integer>
        <integer>3819296</integer>
        <integer>3936035</integer>
        <integer>4454557</integer>
        <integer>4571810</integer>
        <integer>6743411</integer>
        <integer>7636391</integer>
        <integer>8068061</integer>
        <integer>9410327</integer>
        <integer>9669275</integer>
        <integer>10666256</integer>
        <integer>10899597</integer>
        <integer>11174293</integer>
        <integer>13483833</integer>
        <integer>13782032</integer>
 
It´s seems the identifier for sopported App from appstore, like NAVFREE, etc
Thinking about that i supposed Mike would have try all this thinks. Let´s me know if i can try something usseful, some dirty job ;)
 
EDIT2: Adrian, we can find jp.pioneer.mbg.cargateway.carhome.plist in appradio/library/references, and there are the sopported aplicactions we have installed in our iphones, try to declarate and unssoported app and see what happends????
Edited Feb 20, 2013 by Jab
Posted Feb 20, 2013 · 10:34 UTC#779

In: Appradio/Library/Cache/RecommendedApps/appinfo.dat.

In this file we can see all the compatibles applications.

 

In  appradio/library/references/jp.pioneer.mbg.cargateway.carhome.plist

we see the compatibles aplications that we got installed in the iphone.

Edited Feb 20, 2013 by Jab
Posted Feb 20, 2013 · 10:53 UTC#780

In: Appradio/Library/Cache/RecommendedApps/appinfo.dat.

In this file we can see all the compatibles applications.

 

In appradio/library/references/jp.pioneer.mbg.cargateway.carhome.plist

we see the compatibles aplications that we got installed in the iphone.

Good findings, I thought the .carhome file was going to have more code in it but it dosent seems like it, I would like to try adding the UIBackgrounmode into this file and see if it makes a difference, also try playing with the identities and see if you can get something out of it, just try with one of the unsupported apps and enter the external identifier if you know how to do it, and let me know what happens, I am tired now its 4am so no more testing until tomorrow...

 

Edit: although I think the iTunes metadata identifiers its like a link to the apps and description from iTunes, so it might be the list of supported apps that you can access from appradio, but we don't lose anything with try

Edited Feb 20, 2013 by Adrian Santiago
Posted Feb 20, 2013 · 11:01 UTC#781

Good findings, I thought the .carhome file was going to have more code in it but it dosent seems like it, I would like to try adding the UIBackgrounmode into this file and see if it makes a difference, also try playing with the identities and see if you can get something out of it, just try with one of the unsupported apps and enter the external identifier if you know how to do it, and let me know what happens, I am tired now its 4am so no more testing until tomorrow...

 

Edit: although I think the iTunes metadata identifiers its like a link to the apps and description from iTunes, so it might be the list of supported apps that you can access from appradio, but we don't lose anything with try

Ok, i will try to declarate and unsuported app like a soported app. I can find apple´s ID in appstore just seen the source code of the page.

 

Good Night!! here in spain 12.01pm yet

Posted Feb 20, 2013 · 15:10 UTC#782

Even after uninstalling AppEx I get a black screen on the deck with my phone connected, but on my buddy's phone it works just fine. Any ideas what it might be? Also, the new AppEx beta is for the lastest version of AppRadio.app right? I know the iOS 5 one needed like 1.8.2 or something not the 2.0.X

Last question, I bought one used on Craigslist and the guy modded the firmware update to change the wallpaper to a Ford logo. Problem is, I don't drive a Ford so it looks stupid in my car haha. Is there any way to change the radio's wallpaper again even if it's already on the latest firmware? Can I reflash it with the same FW or do I have to leave it that way until hopefully one day another update comes and I can fix it?

Posted Feb 20, 2013 · 15:30 UTC#783

Even after uninstalling AppEx I get a black screen on the deck with my phone connected, but on my buddy's phone it works just fine. Any ideas what it might be? Also, the new AppEx beta is for the lastest version of AppRadio.app right? I know the iOS 5 one needed like 1.8.2 or something not the 2.0.X

 

Last question, I bought one used on Craigslist and the guy modded the firmware update to change the wallpaper to a Ford logo. Problem is, I don't drive a Ford so it looks stupid in my car haha. Is there any way to change the radio's wallpaper again even if it's already on the latest firmware? Can I reflash it with the same FW or do I have to leave it that way until hopefully one day another update comes and I can fix it?

 

For the Wallpaper i think you can do 2 thinks:

 

  1. Open Appradio.app without connect to Appradio. Go to setting/help (sorry i´m translating from spanish)  and you can see wallpapers. It´s work with 2.0.1.
  2. With Ifunbox you can see the original wallpapers and the first time run video from pioneer. 

For the other issues hope someone can help.

Posted Feb 20, 2013 · 15:35 UTC#784

For the Wallpaper i think you can do 2 thinks:

 

  1. Open Appradio.app without connect to Appradio. Go to setting/help (sorry i´m translating from spanish)  and you can see wallpapers. It´s work with 2.0.1.
  2. With Ifunbox you can see the original wallpapers and the first time run video from pioneer. 

For the other issues hope someone can help.

 

Jab, I appreciate your efforts, but that's only for the wallpaper in the Apps page. He actually changed the Firmware update on the AppRadio unit itself to modify the wallpaper behind the main screen with the big clock, the radio, phone, apps, etc buttons, all that. This is the picture from his Craigslist post:

 

3K13F63Nc5I75E55K9d1nd4ad826d9dfb13fb.jp

Posted Feb 20, 2013 · 15:40 UTC#785

First attempt FAILED ;)

 

I modified  jp.pioneer.mbg.cargateway.carhome.plist and appinfo.dat. I tried to used Sygic like a sopported App.

When connect it to appradio and open appradio.app it take 15 minutes to open. Only can see black screen. Then and sudenly  appradio open, but sygic was not there. So come back to my Pc and see  jp.pioneer.mbg.cargateway.carhome.plist and appinfo.dat. everithings was like at the begining and all i modified from Sygic was out, like if they were the original files. 

 

I think i will try to find the way to use Appradio in background, it would be more useful.

Posted Feb 20, 2013 · 15:46 UTC#786

Jab, I appreciate your efforts, but that's only for the wallpaper in the Apps page. He actually changed the Firmware update on the AppRadio unit itself to modify the wallpaper behind the main screen with the big clock, the radio, phone, apps, etc buttons, all that. This is the picture from his Craigslist post:

 

3K13F63Nc5I75E55K9d1nd4ad826d9dfb13fb.jp

 

And with this???

 

http://avic411.com/index.php?/topic/33039-custom-wallpaper-thread/

Posted Feb 20, 2013 · 15:48 UTC#787

First attempt FAILED ;)

 

I modified  jp.pioneer.mbg.cargateway.carhome.plist and appinfo.dat. I tried to used Sygic like a sopported App.

When connect it to appradio and open appradio.app it take 15 minutes to open. Only can see black screen. Then and sudenly  appradio open, but sygic was not there. So come back to my Pc and see  jp.pioneer.mbg.cargateway.carhome.plist and appinfo.dat. everithings was like at the begining and all i modified from Sygic was out, like if they were the original files. 

 

I think i will try to find the way to use Appradio in background, it would be more useful.

 

appinfo.dat is just a file that gets updated with the latest list of supported applications from Pioneer's servers. It is used to populate the recommended app list. You aren't going to be able to run the AppRadio app in the background by just changing settings files. It has to be a change to the code of the application (via a MobileSubstrate plugin).

 

Edit: I may be able to work with the UIBackgroundModes continuous setting. Need to look into that some more.

Edited Feb 20, 2013 by mikedecaro
Posted Feb 20, 2013 · 16:00 UTC#788

Just some more clarification:

 

Every supported app needs to include the Pioneer API that communicates with the head unit. When the application launches, the API registers the application with the head unit and allows it to display on the screen. When an application resigns to the background (or closes), the API tells the head unit to disconnect for that application. Backgrounder worked by telling the application to skip the code that gets executed when the app is closing, allowing it to maintain a connection to the head unit while it was in the background on the phone.

 

If someone wants to take a stab at writing a port of Backgrounder for iOS 6, I can point them in the general direction. Other than that, the only way I see getting this working is if we gain access to the Pioneer API.

Posted Feb 20, 2013 · 16:59 UTC#789

I´m using ios 6.1 with the newest app ext beta. when i´m opening navigon, i loads and shows for a few seconds the loaded map, then it says something like "Navigon license to display the map on a second display is not given.." anything like that... sorry for my broken english mike. i allready wrote you on twitter,

Posted Feb 20, 2013 · 17:06 UTC#790

I´m using ios 6.1 with the newest app ext beta. when i´m opening navigon, i loads and shows for a few seconds the loaded map, then it says something like "Navigon license to display the map on a second display is not given.." anything like that... sorry for my broken english mike. i allready wrote you on twitter,

 

I have the same :-(

Posted Feb 20, 2013 · 17:23 UTC#791

I´m using ios 6.1 with the newest app ext beta. when i´m opening navigon, i loads and shows for a few seconds the loaded map, then it says something like "Navigon license to display the map on a second display is not given.." anything like that... sorry for my broken english mike. i allready wrote you on twitter,

 

I just updated the first post with beta 4. Let me know if this fixes your issue.

Posted Feb 20, 2013 · 18:10 UTC#792

Just some more clarification:

 

Every supported app needs to include the Pioneer API that communicates with the head unit. When the application launches, the API registers the application with the head unit and allows it to display on the screen. When an application resigns to the background (or closes), the API tells the head unit to disconnect for that application. Backgrounder worked by telling the application to skip the code that gets executed when the app is closing, allowing it to maintain a connection to the head unit while it was in the background on the phone.

 

If someone wants to take a stab at writing a port of Backgrounder for iOS 6, I can point them in the general direction. Other than that, the only way I see getting this working is if we gain access to the Pioneer API.

 

Thanks for the information and for the effort Mike. 

I will post all i can find just to see if something is useful. 

I have read your older post and know it´s more difficult than it seems to me at firt time. Pioneer developer site dont help for pioneer API?

I think the best i can do it´s to find a real alternative to Backgrounder.

Edited Feb 20, 2013 by Jab
Posted Feb 20, 2013 · 18:53 UTC#793

 

Thanks @Jab, I will try that.

 

Also, I put the latest beta on a Cydia source, in case anyone needs it.

 

@Mike, feel free to throw this in the first post if you'd like.

 

http://cydia.myrepospace.com/oneyozfest182/
Edited Feb 20, 2013 by oneyozfest182
Posted Feb 20, 2013 · 19:14 UTC#794

Jab, I appreciate your efforts, but that's only for the wallpaper in the Apps page. He actually changed the Firmware update on the AppRadio unit itself to modify the wallpaper behind the main screen with the big clock, the radio, phone, apps, etc buttons, all that. This is the picture from his Craigslist post:

 

3K13F63Nc5I75E55K9d1nd4ad826d9dfb13fb.jpg

You were right it does look stupid, lol, I am sorry I can't help with that, issue, but if your friends phone works withe your unit and yours dosent, I am afraid it's going to be some incompatibility with maybe one of the things you have installed from cydia try doing a clean restore of your device, jailbreake and install app extension first, that should take care of it

Posted Feb 20, 2013 · 19:19 UTC#795

First attempt FAILED ;)

 

I modified  jp.pioneer.mbg.cargateway.carhome.plist and appinfo.dat. I tried to used Sygic like a sopported App.

When connect it to appradio and open appradio.app it take 15 minutes to open. Only can see black screen. Then and sudenly  appradio open, but sygic was not there. So come back to my Pc and see  jp.pioneer.mbg.cargateway.carhome.plist and appinfo.dat. everithings was like at the begining and all i modified from Sygic was out, like if they were the original files. 

 

I think i will try to find the way to use Appradio in background, it would be more useful.

It looked like the appradio.app couldn't run the changes you made to the files and it probably recreate them, erasing what you had added to the code, another dead end seams like, I was thinking what if we could update backgrounder for iOS 6, I know this is another long shot but we can maybe look into it...

Posted Feb 20, 2013 · 19:21 UTC#796

You were right it does look stupid, lol, I am sorry I can't help with that, issue, but if your friends phone works withe your unit and yours dosent, I am afraid it's going to be some incompatibility with maybe one of the things you have installed from cydia try doing a clean restore of your device, jailbreake and install app extension first, that should take care of it

 

Or maybe I had the wrong version of AppEx/AppRadio installed? I was on 1.8.2 with iOS 6. Maybe that was my problem? I updated to v2.0.1 but haven't had a chance to test it yet. Hoping 1.8.2 just didn't work right on iOS 6 or something. I was also on the iOS 5 AppEx from Cydia. I'll try to test it with v2.0.1 AppRadio and the latest 2.1b4 AppEx from the first post and see if that solves my problems.

 

Question: Should I install AppEx from Cydia first, and then download AppRadio.app from the AppStore on top of that, or should I download AppRadio.app first and then install AppEx in Cydia on top of that?

Posted Feb 20, 2013 · 19:23 UTC#797

Or maybe I had the wrong version of AppEx/AppRadio installed? I was on 1.8.2 with iOS 6. Maybe that was my problem? I updated to v2.0.1 but haven't had a chance to test it yet. Hoping 1.8.2 just didn't work right on iOS 6 or something. I was also on the iOS 5 AppEx from Cydia. I'll try to test it with v2.0.1 AppRadio and the latest 2.1b4 AppEx from the first post and see if that solves my problems.

 

Question: Should I install AppEx from Cydia first, and then download AppRadio.app from the AppStore on top of that, or should I download AppRadio.app first and then install AppEx in Cydia on top of that?

 

If you are on iOS 6, don't install the Cydia version. It doesn't work. Install the latest AppRadio app and then install the beta from the first post.

Posted Feb 20, 2013 · 19:26 UTC#798

If you are on iOS 6, don't install the Cydia version. It doesn't work. Install the latest AppRadio app and then install the beta from the first post.

 

Okay so that probably explains the black screen on the radio itself. I had the AppEx from ModMyi before. I'll install the latest beta and test again. Also, from my post before, I did throw the deb up on a cydia repo.

http://cydia.myrepospace.com/oneyozfest182/
Posted Feb 20, 2013 · 19:26 UTC#799

Ty Mike! 

 

1.When after starting navigon app, the screen turns black, the iphone stil shows navigon  http://imgur.com/a/stJpO

2. When i enter the route the screen turns with green code for a part of a second and switches to navigon like it should .  http://imgur.com/6CUH7K7

3. after loading 20 sec the screen is sharp but a littlebit laggy and it losing GPS a lot. but i dont know if its because my iphone was on the seat.   http://imgur.com/J6oCNuB

As you can see, the screen dont fits in corectly, but the important part is visible!

 

thank, i´m very happy the way it is. i can use it now :)

i´ll donate something as soon i got my cash next month!

Great work

Edited Feb 20, 2013 by Maltieee
Posted Feb 20, 2013 · 19:29 UTC#800

Or maybe I had the wrong version of AppEx/AppRadio installed? I was on 1.8.2 with iOS 6. Maybe that was my problem? I updated to v2.0.1 but haven't had a chance to test it yet. Hoping 1.8.2 just didn't work right on iOS 6 or something. I was also on the iOS 5 AppEx from Cydia. I'll try to test it with v2.0.1 AppRadio and the latest 2.1b4 AppEx from the first post and see if that solves my problems.

 

Question: Should I install AppEx from Cydia first, and then download AppRadio.app from the AppStore on top of that, or should I download AppRadio.app first and then install AppEx in Cydia on top of that?

Yep yours was a continuation of problems, outdated app, and incompatible extensions, follow Mike's steps adobe...

Page 32 of 98