i want to increase the limit on character from 160 to more than that using stock messaging app
i read about editing the featureset.xml and others.xml but i could not find the folders or the files
saw this thread https://forum.xda-developers.com/showthread.php?t=2799239
saying
for everyone facing the sms problem with character length limitation to "80" or failing to send a concatenated sms message which converts to mms automatically do the following steps
1. Find the file featureset.xml in system/etc and open in text editor (Need root access then use root explorer for example)
2. Change the following values
Find <item name="KREncodingScheme">true</item> change to <item name="KREncodingScheme">false</item>
Find <item name="max_user_data_bytes_ex">80</item> change to <item name="max_user_data_bytes_ex">160</item>
Find <item name="limit_user_data_septets">160</item> change to <item name="limit_user_data_septets">1384</item>
3. Save and close then reboot
Did not help me at all
i have galaxy S8 OREO
please help
I am willing to offer compensation for the time and experties of anyone can help
Related
OK, I am editing Vodafone D2's CM-Entries.xml file which I got from the Vodafone customization CAB. I come up against registry values like this:
<characteristic type="Vodafone Web">
<parm name="DestId" value="{ADB0B001-10B5-3F39-27C6-9742E785FCD4}" />
Click to expand...
Click to collapse
I cross referenced with another file just to check - This is the same section but from the O2 globe settings file:
<characteristic type="myGlobe Internet">
<parm name="DestId" value="{AB1BD8BA-2A18-4486-8A29-ABBB57CBDC44}" />
Click to expand...
Click to collapse
The DestID values are different. Now I know that these aren't just random alphanumeric texts, they must mean something. So what do they mean? When I develop my CM_Entries files I know that I should not leave these values the same because a Vodafone DE user might want to use Vodafone DE settings AND my settings
What is a good way to assign registry values??
Thanks
Follow up question:
How do I make these installers non destructive?
what do I mean? here is an example:
I installed the vodafone DE customizations on my Siemens SX66. My Cingular MMSC information got wiped! My GPRS info is still there (under network connections), but in my messenging MMS section, only the vodafone MMSC is there, not the cingular one.
I would like to have my cabs be non destructive.
Hi
This is exactly what I'm trying to do. If the destID value does not correspond correctly with the characteristic type the cab does not install properly. Unfortunately without knowing the algorithm to compute the value from the characteristic name I'm a bit stuck (and there seems to be no information on this available). Furthermore cutting and pasting any of the xml code for the other characteristic types from the Pocket PC 2003 API Reference into CM_Entries file causes the cab not to install properly either, even though I assumed the destID values supplied in the example xml would be correct. I'm now making the assumption that there has to be corresponding information in the Platformxxx.reg file included with the cab which is written to the registry to make this stuff work properly, but again I can't find any information on it.
Is there ANYONE here that can shed a bit more light on this problem?
Hi,
if you usually create your layout styles in styles files in various resource groups (hdpi, ldpi, ...), and end up having the same style declaration in various files with just slightly different values, you might find the little tool of mine handy.
It's really just a small open source python script that combines style declarations and extracts different values (eg. different layout withds in dp) into variables that are kept in the original xml files.
example:
let's say you have the following sample_style defined in values-xlarge and values-xhadpi.
in values-xlarge/styles.xml:
<style name="sample_style">
<item name="android:layout_width">100dp</item>
<item name="android:layout_height">100dp</item>
<style>
in values-xhadpi/styles.xml
<style name="sample_style">
<item name="android:layout_width">200dp</item>
<item name="android:layout_height">100dp</item>
<style>
the optimize process would create a styles.xml file in values containing:
<style name="sample_style">
<item name="android:layout_width">@dimen/SampleStyle_layoutWidth</item>
<item name="android:layout_height">100dp</item>
<style>
and two styles.xml file in values-xlarge and values-xhdpi, resp.
values-xlarge/styles.xml:
<dimen name="SampleStyle_layoutWidth">100dp</dimen>
values-xhdpi/styles.xml:
<dimen name="SampleStyle_layoutWidth">200dp</dimen>
give it a try:
https://github.com/PMelch/Android-Style-Optimizer
feedback is welcome.
Cheers
No tool, no link. Is this simply an edit or an actual tool that people can download from somewhere?
spc_hicks09 said:
No tool, no link. Is this simply an edit or an actual tool that people can download from somewhere?
Click to expand...
Click to collapse
Dude ,its an XML value you use in an XML file,open source python script.
It's a Python script downloadable from the mentioned github page.
Sent from my GT-I9100 using xda app-developers app
Hi,
Is there any way to add/update a configuration xml file to an app already installed on an Android 4.0+ device?
The purpose of this would be to eliminate the setup process for technologically impaired users.
Case in point: an application through which the user can send data over wifi/3g to an IIS server, the user will have to configure the server address/location, username and password (which is generally void if it's not requested otherwise), the location of the actual data file that must be synced.
All i want to do is eliminate the part where the user has to set-up anything else but his username.
The configuration file is located in </Data/Data/application.name/files> and it's called application.config.xml
Could it be added in an apk which will act as an update?
The devices will not be rooted and the config.xml file will be different (different servers), depending on the users' location so it can't be hardcoded in the sync application.
This is the actual content of the .xml file once the settings have been made, the sync app generates a blank config.xml file during the installation.
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="ClientLocation" value="/storage/emulated/0/clientapp_00" />
<add key="Username" value="User Name" />
<add key="Password" value="d41d8cd98f00b204e9800998ecf8427e" />
<add key="ServerLocation" value="Http://192.168.0.101:55541/server/sync.aspx" />
<add key="Compression" value="True" />
<add key="ServerConnections" value="Sync Serv,Http://192.168.0.101:55541/server/sync.aspx" />
<add key="Language" value="en" />
<add key="SyncApk" value="Sync.apk" />
<add key="SyncPackage" value="Data.Sync" />
</appSettings>
</configuration>
Thanks in advance!
*I've also posted in the Q/A forum, but nobody replied.
One app cannot access the data of another app (without root). So you cannot create something like an update apk for another app.
You need to be the owner of the app and put that into the code. Then your users will have to update and in your code you can save the new file.
Hi everybody,
I create a web app for my website (forum) from this site appsgeyser.com. (everything are perfect but.... ) I want to add extra permissions into AndroidManifest.xml
I try with apktool with this command to decompile first.
apktool d myapp.apk
this command was created a folder. I add extra permissions into the AndroidManifest.xml
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
I put these permissions because my website is forum and I use to upload photos from mobile.
For compilation I use this command
apktool b myappFolder myapp_extra_perm.apk
I try to install to my mobile (nexus 5). Error the app doesn't installed. :crying:
Please help me.
EDIT
I managed thanks for your help.
First you need to search for some tutorials to use apktool to unpack, repack and sign apk file. Also your phone needs to be rooted.
The clock widget is under /system/app/YD_Clock. First copy the file to your computer and unpack it with apktool, go to folder YD_Clock/res/drawable-hdpi-v4/, you can see a lot of image files, and the analog clock images are clock_bg_new.png, minute_arrow_new.png, hour_arrow_new.png (EU_1.1.124b), or hours_arrow_new.png (HK_1.1.44). Then you can use an image editor like GIMP or PHOTOSHOP to modify these images as you like.
If you want to remove the digital clock inside it, go to folder YD_Clock/res/layout, and edit analog_l_clock_new_layout.xml (EU_1.1.124b), or bs_widget_new_layout.xml (HK_1.1.44), and delete the line
Code:
<TextView android:textSize="33.0dip" android:textColor="@android:color/white" android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="33.0dip" android:layout_below="@id/day_of_week" android:layout_centerHorizontal="true" android:fontFamily="sans-serif" />
, the text may be a little different in other versions, just delete the whole block of codes that includes
Code:
android:id="@id/time"
. Later in order to show the AM/PM information, you need to go to Settings -> Date & Time, and uncheck 24 hour time format.
Then you can repack you apk with apktool and sign it. And finally, replace the original file using TWRP (go to "Mount" Section and mount system, then got to "Advance" -> File manager), and remember to change the file permisson (chmod) to 0644.
Wish the tutorial may be helpful to someone
Also here is a modified analog clock image from Blackberry Q10. The clock design copyright is reserved by RIM, but I guess a modified screenshot is OK
Screenshot and Modified Blackberry clock: http://imgur.com/a/wG1PI
Sorry as a newcomer I can't directly share image link.