So i was bored and decided that I wanted to try and make my own homescreen because I liked different things about each of the one's already installed on the phone (blackJack II). I wanted the time, date, and scrollbox from the Samsung simple. I wanted the IM plugins and profile change from the ATT default. Below is a copy of the code I used. It actually works perfect on the phone except I can't figure out how to make it stop scrolling and just be a static page. will I be screwed because that code is part of one of the plugins? Anyone have any ideas......Oh and bonus points if you can tell me how to change the carrier name. I can do it with the other time and date plugins just not this one.
Thanks (oh this is a blackjack II by the way with the factory WM6)
Code:
<?xml version="1.0"?>
<home>
<author>Samsung Electronics</author>
<contacturl>http://www.samsung.com/</contacturl>
<title lang="0x0409">My Screen</title>
<version>1.0</version>
<default target-width="240" target-height="320"
font-face="Segoe Condensed" font-size="22" font-weight="bold"
padding-left="5" padding-right="5" padding-top="3"
bgcolor="transparent" fgcolor="COLOR_TRAYGRADLEFT"
b-border-color="COLOR_HOMERULE" b-border-width="1">
<format state="selected" fgcolor="COLOR_HOMEHIGHLIGHTTEXT"/>
</default>
<background bgimage="AT&T.jpg" valign="bottom" bgcolor="COLOR_TRAYGRADLEFT" />
<scheme>
<color name="COLOR_TRAYGRADLEFT" value="#00b7c9" />
<color name="COLOR_HOMEHIGHLIGHT" value="#F39628" />
<color name="COLOR_HOMERULE" value="#2e444f" />
<color name="COLOR_HOMETEXT" value="#FFFFFF" />
</scheme>
<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="20">
<iconbar fgcolor="COLOR_TRAYTEXT"/>
<background gradient="title" bgcolor="COLOR_TRAYGRADLEFT" b-border-color="COLOR_WINDOWFRAME" />
</plugin>
<plugin clsid="{196b6fd1-c79c-4060-9ed4-c3f8421ade80}" name="carrier" height="120">
<label>
<text hstype="simple" y="12" font-size="25" outline="true"></text>
</label>
<clock>
<date y="10" mode="short" font-size="20" halign="right" outline="true"/>
<time y="32" halign="right" font-size="35" mode="12" alarm="left" outline="true"/>
</clock>
</plugin>
<plugin clsid="{697D4905-E66E-489e-897B-2E9AD343EDD7}" name="OZ Im Plugin" height="30">
<background>
<format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT"/>
</background>
</plugin>
<!-- HS Helper(SM Player) -->
<plugin clsid="{6D4E0B9A-A675-4B40-94E9-9ED95F99CA56}" name="HSType2-1" index="6" selectable="yes" height="1" managerIdx="0"/>
<!-- HS Helper(Message Count) -->
<plugin clsid="{6D4E0B9A-A675-4B40-94E9-9ED95F99CA56}" name="HSType2-1" index="2" selectable="yes" height="1" managerIdx="0"/>
<!-- HS Helper(Missed Call) -->
<plugin clsid="{6D4E0B9A-A675-4B40-94E9-9ED95F99CA56}" name="HSType2-1" index="3" selectable="yes" height="1" managerIdx="0"/>
<!-- HS Helper(PIMs) -->
<plugin clsid="{6D4E0B9A-A675-4B40-94E9-9ED95F99CA56}" name="HSType2-1" index="4" selectable="yes" height="1" managerIdx="0"/>
<!-- HS Helper(Storage) -->
<plugin clsid="{6D4E0B9A-A675-4B40-94E9-9ED95F99CA56}" name="HSType2-1" index="5" selectable="yes" height="1" managerIdx="0"/>
<!-- HS Helper(MRU) -->
<plugin clsid="{6D4E0B9A-A675-4B40-94E9-9ED95F99CA56}" name="HSType2-1" index="1" selectable="yes" height="1" managerIdx="0"/>
<!-- HSPlugin Viewer Control -->
<plugin clsid="{13a8f236-14bf-4219-bce3-c5f28d8dcfd2}" name="HSType2-1" viewertype="type2-1" height="30" managerIdx="0" smp="microsoft" pushmessage="jataayu" storagecheck="forman">
</plugin>
</home>
Hi there
I know there are threads about this already, but I need something more specific.
What settings do I need to use for BBT on the built in internet calling?
I am currently using:
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='Bt Anywhere'>
<provider name='BT Anywhere' />
<user account='MYUSERNAME' password='MYPASSWORD'
uri='sip:MYUSERNAME'
allowedauth='digest'/>
<sipsrv addr='sip.btsip.bt.net:5060' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='btsip.bt.com:5060' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
With these settings, I am able to get Internet Calling to show as 'Available' on the home screen, but when I tap it to select it, it opens the Internet Calling settings screen.
Am I doing something wrong?
Thanks in advance for your help.
Hi there, so I have heard there's some way to write sh scripts for android?
I am wanting to make an easy way to randomly change one line in an XML file located on the flash. Meaning it'll need su priviledges.
Basically I'm wanting to make something that'll change the mobile id for grooveshark with one touch, so the trial wont expire (why oh why don't they go to their usual ad supported method?)
I want to make a shortcut on my home screen that I can touch to to reset my trial
Any pointers?
These are the contents of the XML file in /data/data/com.grooveshark.android.v1/
Grooveshark.xml:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="cc4">8765432198</string>
<string name="cc1">0</string>
<string name="cc2">0</string>
<boolean name="hasTrialStarted" value="true" />
<string name="cc3">0</string>
<int name="splashSponsoredExpires" value="0" />
<boolean name="trialHasExpired" value="false" />
<string name="cid">229</string>
<string name="loginUnPwToken">5f4dcc3b5aa765d61d8327deb882cf99</string>
<string name="username">username</string>
<string name="sessionID">c3a5a6eca887891b9bf69687badb7531</string>
<long name="mobileID" value="555554" />
<int name="sponsoredSplashCount" value="0" />
<int name="trialExpiresTime" value="1382277664" />
<int name="splashSponsorID" value="0" />
<boolean name="gs_tos_bool" value="true" />
<int name="trialNumPlays" value="0" />
</map>
I changed any numbers that'd allow you to auto log in as me
The important part is: <long name="mobileID" value="555554" />
that value has to change whenever your trial expires.
Can anyone give me some pointers? I don't need a tutorial, just an example of shell scripts on the home screen of android.
Well, I have an update. I couldn't find any good reference for shell scripts on linux, so I went ahead and just set up the SDK. I don't have too much java experience, bt I was able to get the interface made pretty easily using the online resources. Now I simply need to make the button in the app death the xml file, find that string and replace it with a random number. I anyone has some good examples of how to search and edit the contents of a file, that'd be awesome. Any takers?
Sent from my DROIDX using XDA App
any new??
I'd like some help editing this mclock mod. I want to add a semi colon between hours and minutes and change all upper case to first letter capitalized and rest lower cased(camel case). I looked at W3 and couldn't find anything. The code is below:
Code:
<Canvas BackgroundImage="/sdcard/mClock/arcd/clock1.png" BackgroundImageStretch="none" Clipping="false">
<Stack Orientation="Horizontal" Left="-5" Top="-62">
<Hour FontSize="72" is24hour="false" leadingzero="true" Clipping="false" left="0" Top="-12" text=":" Foreground="#ffffffff, #ffffffff" />
<text fontsize="32" Clipping="false" left="-150" Top="-27" text=" " />
<Minute FontSize="72" is24hour="true" Clipping="false" left="-55" Top="-12" Foreground="#ffffffff, #ffffffff" />
</Stack>
<DayName FontSize="18" Case="Upper" left="-170" top="-55" Foreground="#ffffffff, #ffffffff" />
<Day fontsize="18" left="-170" top="-12" foreground="#ffffffff, #ffffffff" />
<monthname case="upper" fontsize="18" left="-140" top="-12" foreground="#ffffffff, #ffffffff" />
</Canvas>
I know someone here knows XML.
Finally got the semi colon in. Anyone know the name to call for camel case in XML?
For the last few months when I open mxplayer I see my videos and mp3's. Videos open but when I click on a song MXplayer just disappears. I downloaded AIO Pack codecs and it shows under MXPlayer Help as being used. Is there something else I can try? Thanks
Rav45 said:
For the last few months when I open mxplayer I see my videos and mp3's. Videos open but when I click on a song MXplayer just disappears. I downloaded AIO Pack codecs and it shows under MXPlayer Help as being used. Is there something else I can try? Thanks
Click to expand...
Click to collapse
Are you getting any audio or not?
ktsamy said:
Are you getting any audio or not?
Click to expand...
Click to collapse
Yes. Audio works fine on videos and also streaming podcasts using mxplayer. When I begin the program it shows whatever videos, recordings and mp3's I have on my phone. However when I click a music mp3 it's as if the program just automatically closes.
Rav45 said:
Yes. Audio works fine on videos and also streaming podcasts using mxplayer. When I begin the program it shows whatever videos, recordings and mp3's I have on my phone. However when I click a music mp3 it's as if the program just automatically closes.
Click to expand...
Click to collapse
Kindly upload the logs. It will be helpful to resolve the issue
ktsamy said:
Kindly upload the logs. It will be helpful to resolve the issue
Click to expand...
Click to collapse
Thanks for the reply. I took me a while to figure out how to find the log and then how to get it off my phone to the pc.
I hope this is what you mean:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <mx-player application="mx_player" version-code="82" version-name="1.7.36a">
- <preferences>
<bool name="omxdecoder.2" value="true" />
<bool name="default_deinterlace" value="false" />
<int name="gestures" value="1017" />
<bool name="back_to_list" value="false" />
<bool name="android_40_compatible_mode.2" value="false" />
<int name="noticed_version" value="82" />
<bool name="battery_clock_in_title_bar" value="false" />
<bool name="swdecoder_net" value="false" />
<bool name="quick_zoom" value="true" />
<string name="user_locale" value="" />
<bool name="group_by_folder" value="true" />
<bool name="osd_background" value="true" />
<bool name="osd_bottom" value="false" />
<bool name="pause_on_seek" value="false" />
<bool name="loading_circle_animation" value="true" />
<string name="core_limit" value="0" />
<bool name="smart_prev" value="true" />
<bool name="show_hidden" value="false" />
<bool name="sync_system_volume" value="true" />
<bool name="delete_subtitle_files_together" value="true" />
<bool name="video_zoom_limited" value="false" />
<bool name="fast_seek" value="true" />
<bool name="mark_last_played_media_for_each_folders" value="true" />
<string name="new_tagged_period" value="7" />
<bool name="resume_only_first" value="false" />
<bool name="sticky_audio" value="true" />
<string name="custom_codec.libname" value="libffmpeg.mx.so.neon.1.7.32" />
<float name="screen_brightness" value="1.0" />
<string name="resume_last" value="resume" />
<bool name="omxdecoder_net" value="false" />
<bool name="audio_fade_in_on_start" value="true" />
<int name="video_zoom" value="0" />
<long name="custom_codec.date.libffmpeg" value="1418774964000" />
<bool name="quit_button" value="false" />
<int name="osd_text_color" value="-3355444" />
<bool name="allow_edits" value="true" />
<int name="fullscreen" value="2" />
<bool name="omxdecoder_notified" value="true" />
<bool name="default_swaudio" value="true" />
<bool name="thumbnail" value="false" />
<string name="color_format" value="rgb565" />
<int name="screen_orientation" value="99999" />
<bool name="omxdecoder_10bit" value="false" />
<int name="osd_back_color" value="-2013265920" />
<bool name="screen_brightness_auto" value="false" />
<bool name="audio_focus" value="true" />
<bool name="button_backlight_off" value="true" />
<bool name="headset_show_system_volume_ui" value="true" />
<bool name="status_show_always" value="false" />
<float name="calibrate_hw_play_position" value="0.0" />
<bool name="use_speedup_tricks" value="false" />
<bool name="keep_screen_on" value="false" />
<bool name="elapsed_time_show_always" value="false" />
<bool name="audio_fade_in_on_seek" value="true" />
<bool name="omxdecoder_local" value="true" />
<bool name="subtitle_hw_accel" value="true" />
<bool name="omx_audio_with_sw_video" value="true" />
<bool name="hw_audio_track_selectable" value="true" />
<int name="screen_lock_mode" value="0" />
<bool name="volume_boost" value="true" />
<bool name="lock_show_interface" value="false" />
<int name="playback_touch_action" value="2" />
<int name="interface_auto_hide_delay" value="2000" />
<bool name="respect_nomedia" value="true" />
<bool name="show_interface_at_the_startup" value="true" />
<bool name="toggle_on_media_play_button" value="false" />
<bool name="soft_main_keys" value="false" />
<int name="over_volume" value="15" />
<bool name="pause_if_obscured" value="false" />
<bool name="correct_hw_aspect_ratio" value="true" />
<bool name="double_tap_back_key" value="false" />
<int name="custom_codec.size.libffmpeg" value="40214441" />
<bool name="seek_previews" value="true" />
<bool name="screen_rotation_button" value="true" />
<bool name="sticky" value="false" />
<string name="custom_codec" value="/storage/emulated/0/Download/aio.1.7.32-2.zip" />
<bool name="shuffle" value="false" />
<bool name="media_buttons" value="true" />
<int name="lock_mode" value="0" />
<bool name="show_left_time" value="false" />
<long name="custom_codec_checksum" value="3478287755" />
<bool name="swdecoder_local" value="false" />
<bool name="cache_thumbnail" value="true" />
<string name="list_theme" value="white" />
<component name="play_link" value="true" />
<component name="audio_player" value="true" />
</preferences>
</mx-player>
I still would like to try to use mx player to play my mp3's.
Rav45 said:
Thanks for the reply. I took me a while to figure out how to find the log and then how to get it off my phone to the pc.
I hope this is what you mean:
Click to expand...
Click to collapse
JFTR that is a configuration file, not a log.
foxidriver said:
JFTR that is a configuration file, not a log.
Click to expand...
Click to collapse
Rats. Do I have to install another app to do this?
I see something called "MX Log Collector" when I search for how to get log for mxplayer.
I think I've gone a ways to solve my own problem? What I've bee trying to do was 1st open mx player.It shows a selection for videos, music etc. When I navigate to the music part and see my mp3's I select one. Then the mxplayer window closes and nothing happens. Today I went to my es file explorer. Found the mp3 file, clicked it and then it asked me which player I wanted to use to play it. I selected the mxplayer and it started playing!
Rav45 said:
When I navigate to the music part and see my mp3's I select one. Then the mxplayer window closes and nothing happens. Today I went to my es file explorer. Found the mp3 file, clicked it and then it asked me which player I wanted to use to play it. I selected the mxplayer and it started playing!
Click to expand...
Click to collapse
I'm assuming here that MX Player is still not playing them when you open one from within MX Player
You might like to try this:
save your settings from the MX Player general menu,
uninstall MX Player
play an MP3 file using the default system or another app you have loaded - and MX Player will no longer be registered so you should see the selection menu
reinstall MX Player
play any MP3 file - and by rights I think you will see the menu again to select the player you wish to use so reselect MX Player
See if that helps the situation - and then reload your saved settings.
If there is still a problem then try a basic MP3 file to see if that plays - say with a lower bitrate around 128 Kbit, stereo, CBR
Re the log - you are on the right track I think: see here https://sites.google.com/site/mxvpen/faq#TOC-How-to-send-system-log-
I'm not permitted to post a URL at this stage - copy and paste it.
Rav45 said:
Rats. Do I have to install another app to do this?
I see something called "MX Log Collector" when I search for how to get log for mxplayer.
I think I've gone a ways to solve my own problem? What I've bee trying to do was 1st open mx player.It shows a selection for videos, music etc. When I navigate to the music part and see my mp3's I select one. Then the mxplayer window closes and nothing happens. Today I went to my es file explorer. Found the mp3 file, clicked it and then it asked me which player I wanted to use to play it. I selected the mxplayer and it started playing!
Click to expand...
Click to collapse
There's already a sticky topic about log collection.
http://forum.xda-developers.com/showthread.php?t=2843144
foxidriver said:
I'm assuming here that MX Player is still not playing them when you open one from within MX Player
You might like to try this:
save your settings from the MX Player general menu,
uninstall MX Player
play an MP3 file using the default system or another app you have loaded - and MX Player will no longer be registered so you should see the selection menu
reinstall MX Player
play any MP3 file - and by rights I think you will see the menu again to select the player you wish to use so reselect MX Player
See if that helps the situation - and then reload your saved settings.
If there is still a problem then try a basic MP3 file to see if that plays - say with a lower bitrate around 128 Kbit, stereo, CBR
Re the log - you are on the right track I think: see here https://sites.google.com/site/mxvpen/faq#TOC-How-to-send-system-log-
I'm not permitted to post a URL at this stage - copy and paste it.
Click to expand...
Click to collapse
OK Thanks. I'll give that a try.
Rav45 said:
For the last few months when I open mxplayer I see my videos and mp3's. Videos open but when I click on a song MXplayer just disappears. I downloaded AIO Pack codecs and it shows under MXPlayer Help as being used. Is there something else I can try? Thanks
Click to expand...
Click to collapse
I have had the same issue. I discovered this only happens to me when I have 1274 or less mp3's in my music folder. 1275 or more and it does the same for me also.