📜 ⬆️ ⬇️

SVG-icon Gmail app for Nokia 5800

I welcome everyone
Today, the topic of the anniversary of gmail started a conversation about the application Gmail App .
Probably many Nokia 5800 owners and users of the gmail app have seen this wretched “scraggy” icon in the menu.
The problem is that the phone has the default icon size larger than the one in the java-application, but the new generation of Symbian supports svg-icons, and google, for some reason, is in no hurry to update its application and add the svg-option to it. In principle, this is not a problem, you can add it manually (as it turned out later, this process was a bit more difficult for the gmail app)
In addition, after several reinstallations from the site, on my 5800 the application stopped installing correctly at all and as a result, the gmail app all the time looked different (the application is not fullscreen, then the buttons are not those functions).
The problem was that the google server after logging in to gmail.com/app determines the user's browser agent and gives a different jad-descriptor with different settings - “more suitable” for a particular phone model.

For my own purposes, I still managed to get the jad file I needed.
By replacing the user agent with the one that I received a file from the Nokia N78 browser that correctly installed the gmail app .

imageimage
as seen in the screenshot, the application runs in full screen

it remains for the small - add the svg-icon itself
')
The process itself is not complicated in itself, we simply add the svg-icon to the jar and rule manifest.mf so that there is an indication of our icon.
My manifest.mf began to look like this

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0-b105 (Sun Microsystems Inc.)
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: Gmail
MIDlet-Permissions: javax.microedition.io.Connector.http, javax.microe
dition.io.Connector.https
MIDlet-Vendor: Google
MIDlet-1: Gmail, GmailIcon.png, com.google.mail.ui.midp.GoogleMailMidlet
Nokia-Scalable-Icon-MIDlet-1: gmail.svg
MIDlet-Touch-Support: True
MIDlet-Version: 2.0.6
MicroEdition-Profile: MIDP-2.0


here the string is important to us
Nokia-Scalable-Icon-MIDlet-1: gmail.svg

I duplicated it in gmail.jad

image

as a result, everything is beautiful in the menu and the application works correctly :)

The application itself put it on rapidshar right here and made a mirror right here.

! Install from the phone via gmail.jad



Unfortunately, moving to I ♥ Nokia or I ♥ Symbian OS does not allow karma ...

Source: https://habr.com/ru/post/56360/


All Articles