====== Network Type Indicator (Android App) ====== [[.:|Projects index]] ===== Details and download ===== Check its [[playstore>net.outlyer.nettype|Google Play Store page]]. ===== Compatibility ===== Android 2.2 or higher, with phone functionality.\\ Not extensively tested in different phones. ===== Description ===== //Network Type Indicator// is a status bar icon indicator of the type of mobile network in use (i.e. 2G, 2G+, 3G, ...). This app is meant for devices that don't include this information in the status bar by default (e.g. Xperias). ===== Screenshots ===== {{:nettype:nettype-screenshot1.png?direct&200|}} {{:nettype:nettype-screenshot2.png?direct&200|}} {{:nettype:nettype-screenshot3.png?direct&200|}} {{:nettype:nettype-screenshot4.png?direct&200|}} {{:nettype:nettype-screenshot5.png?direct&200|}} {{:nettype:nettype-screenshot6.png?direct&200|}} {{:nettype:nettype-screenshot7.png?direct&200|}} {{:nettype:nettype-screenshot8.png?direct&200|}} {{:nettype:nettype-screenshot9.png?direct&520|}} ===== FAQ ===== * //Will you add support for new network type X?//\\ Maybe. I'll add support for every network type that can be detected/differentiated by standard means. As of Android Lollipop, all detectable types are supported. * //Will you add support for Dual SIM phones?//\\ Eventually, but those types of phones are only officially supported in recent versions of Android. Older versions would require non-standard implementations, and I don't intend to support them. * //Can the icon be displayed on the right side, along the phone's builtin icons?//\\ No. Standard apps cannot display icons on the //system side// of the status bar. * //Can I disable the notification and keep the status bar icon?//\\ No. Android doesn't allow such a function. Apps that display an icon in the status bar must also display a notification. * //Can the notification be removed from the lockscreen?//\\ Probably not. Android Lollipop and up force permanent notifications to appear on the lockscreen. * //Will you add more icon designs?//\\ Maybe. I aim to keep the app as simple as possible but I'm aware the current designs don't fit all phones, so I will study such possibility. * //Will you support loading of custom icon designs?//\\ No. Although I always expected to add support for this feature, Android doesn't allow apps to load notification icons other than the ones inside the app. ===== Source ===== Source code is not public for now. ===== Known Issues =====
Signal strength is incorrectly reported as disconnected
Some makers don't allow apps to read signal strength values. As far as I can tell there's no way around this nor is there a way to know for sure if there's no signal or the device just doesn't report it.
Cyanogenmod and DC-HSPA
Dual carrier HSPA can't be detected with the standard Android API, however it can on Cyanogenmod. The current version of Network Type Indicator doesn't understand the value used on CM, so it is reported as "unknown". Support for it will be added in an upcoming update.
No RTL support
The app design isn't adjusted to render properly on devices configured for right-to-left scripts.
I'm studying other issues. ===== Contribute ===== If you have a contribution (new ideas, fixes, translations...) to make, please contact me. ===== Changes ===== A summary of changes for the latest release is always listed on the [[playstore>net.outlyer.nettype|Play Store page]]. ==== 1.6 (May 5th, 2022) ==== * Initial 5G support. Please note that complete detection of 5G variants requires Android 11 or higher. Also, now when running on Android 11 or higher you'll have to grant the "Phone" permission for network type detection to work (this a new requirement of Android itself). ==== 1.5.2.1 (July 25th, 2019) ==== * Fix notifications on Oreo and up ==== 1.5.2 (August 26th, 2017) ==== * Add extra intent filters for ''QUICKBOOT'' to the Boot receiver, should fix //load-on-boot// problems on HTC devices [[[bts>362|#362]]] (possibly others) * Explicitly set ''exported=true'' on the Boot receiver, which may not be correctly defaulted to ''true'' on some devices [[[bts>337|#337]]] * Remove ''android:permission'' from Boot receiver tag (but keep using ''uses-permission'' tag in the root) [[[bts>337|#337]]] ==== 1.5.1 (August 15th, 2017) ==== * Explicitly disable RTL since the layout doesn't render properly with the current design [[[bts>356|#356]]] * HOTFIX release for issue [[[bts>354|#354]]]: ''VectorDrawable'' icons are broken on Lollipop and Marshmallow: * Flavours re-split into API7+, API14+ and API23+, added back //Epoch// to ''versionCode'' since the split is different * Re-enabled PNG rendering for Lollipop and Marshmallow * Re-enabled rendering to PNG on xxhdpi and xxxhdpi * Use pre-rendered PNGs for the problematic icons and ''VectorDrawables'' for the rest (through flavours) * Recompressed PNGs with ''[[https://github.com/google/zopfli|zopflipng]]'' to reduce their sizes further ==== 1.5 (August 15th, 2017) ==== * INTERNAL: Split ''AboutDialog'', ''DonationsActivity'' and ''TogglePreference'' into separate module for reuse [[[bts>352|#352]]] * Provide "Up" (back) navigation from the donations page and settings activity [[[bts>351|#351]]] (emsp)(emsp)rXX038 (beta only) * Introduce notice about donations instead of opening the browser right away when the Donations menu item is selected [[[bts>344|#344]]] * INTERNAL: Started switch to ''BuildConfig.DEBUG'' instead of the custom ''DevelConfig.DEBUG'' [[[bts>350|#350]]] (emsp)(emsp)rXX037 (alpha only) * Make "Load on boot" dependant on notification being enabled [[[bts>333|#333]]] * Restricted ''READ_PHONE_STATE'' permission to API <= 22. Since Marshmallow removed the need for it [[[bts>349|#349]]] * Run as a foreground service. Should prevent the notification from being killed easily [[[bts>348|#348]]] (emsp)(emsp)rXX036 (alpha only) * Actual merge of build flavours into a single one with versioned directories [[[bts>330|#330]]]. Re-split based on API-level features * Made notification priority configurable (Jelly Bean and up) [[[bts>347|#347]]] * Switch to vector icons on Lollipop and up, with compile-time generated bitmaps [[[bts>312|#312]]] * BUGFIX: Do not allow enabling notification buttons on Android versions older than Jelly Bean [[[bts>346|#346]]] * INTERNAL: Target Nougat 7.1 (API v25) / Marshmallow 6.0 (API v23) * INTERNAL: Bumped support library to v25 / v23 * INTERNAL: Automated SVG icon generation [[[bts>242|#242]]] reusing elements to ease modifications (emsp)(emsp)rXX035 (alpha only) * Reworked icons (slightly bigger characters) [[[bts>239|#239]]] * Reflect data connection status in icon: two-state icons [[[bts>240|#240]], [[bts>241|#241]]] * Mark notification contents as not sensitive for display in Lollipop's lockscreen [[[bts>310|#310]]] * Changed default app theme to light [[[bts>332|#332]], [[bts>345|#345]]] * Added menu item to launch donations page [[[bts>344|#344]]] * INTERNAL: Target Lollipop 5.1 (API v22) * INTERNAL: Bumped support library to v22 * INTERNAL: Unified events [[[bts>345|#345]]] * INTERNAL: Explicitly use device default theme instead of Holo (updates UI for switches and selection dialogs) [[[bts>332|#332]]] * INTERNAL: Merged old-droids and new-droids branches [[[bts>330|#330]]] * INTERNAL: Updated Gradle/Gradle Plugin to 2.3.3 (enables "Instant Run") * INTERNAL: Automated SVG icons rendering to PNGs [[[bts>242|#242]]] ==== 1.4.5 (April 4th, 2015) ==== * Disable action buttons in notification by default * Added support for additional Cyanogenmod-only network types (GSM, TD-SCDMA and IWLAN) [[[bts>282|#282]]] (Backported from trunk) ==== 1.4.4 (October 29th, 2014) ==== * Added option to allow disabling buttons in notification [[[bts>276|#276]]] * Changed from CheckBoxPreference to SwitchPreference in settings [[[bts>281|#281]]] * Added detection for Cyanogenmod-only network type DC-HSPA+ [[[bts>238|#238]]] * BUGFIX: Handle the case of a SecurityException being raised when accessing system settings [[[bts>279|#279]]] ==== 1.4.3 (October 15th, 2014) ==== * BUGFIX: Correction for forced closures on some Gingerbread devices [[[bts>259|#259]]] (also seen in newer versions) * BUGFIX: (Possibly) Avoid force-closing in some devices running Android 2.2 and 2.3.3-2.3.7 [[[bts>257|#257]]] (also seen in newer versions) * INTERNAL: Version 1.4.2 skipped to reflect being in sync with older droids' branch ==== 1.4.1 (October 3rd, 2014) ==== * BUGFIX: (Regression) Keep icon and app in sync [[[bts>256|#256]]] * Experimental workaround for missing events: [[[bts>255|#255]]] * Always monitor signal changes * Update the network type on signal changes * Jelly Bean and up: Added button to close notification from the notification itself * Jelly Bean and up: Added button to access the system's network settings * Added easier toggling of notification * INTERNAL: Move listeners into onResume/onPause instead of onStart/onStop (should free up some unnecessary resources) * Removed the "dismiss" and "exit" menu options. Dismissing is to be done in standard Android fashion, while exiting is accomplished by disabling the notification and dismissing the main window. * Rewording of data connection status ==== 1.4 (September 26th, 2014) ==== * Added option to display signal strength in dBm [[[bts>251|#251]]] * Display signal strength in main app * BUGFIX: Update network status in main app when it changes * Split development for older versions of Android (bugfixes only) and newer versions (bugfixes and new features) [[[bts>254|#254]]] ==== 1.3 (January 27th, 2014) ==== * Added setting to open the system's mobile network settings when the notification is tapped onto. * Minor rewording in settings. ==== 1.2.2 (October 3rd, 2013) ==== * Fix opening network settings in older Android versions * Workaround for layout getting cropped on shorter devices * New launcher icon * Localizations: Spanish and Catalan * Internal cleanups * Bumped target SDK to API 18 (4.3) ==== 1.2.1 (September 28th, 2013) ==== * Refined hardware requirements for tablet support ==== 1.2 (September 11th, 2013) ==== * Added separate icon for HSPA+ (previously was using the 4G icon) * Added network settings shortcut to menu ==== 1.1.2 (May 23rd, 2013) ==== * Apply themes instantly in Honeycomb and above * Image re-loading fix for some devices ==== 1.1.1 (May 23rd, 2013) ==== * Fix launch permissions ==== 1.1 (May 23rd, 2013) ==== * Correct handling of visibility * Fix main app display in smaller screens * Added GPRS to legend (previously missing) * Allow choosing a light theme and light-friendly icons ==== 1.0 (May 14th, 2013 ==== * Internal code cleanups ==== 1.0 beta 2 (May 10th, 2013) ==== * Lower minimum Android version to 2.1 (Eclair) * Fix settings in older Android versions * UI fixes ==== 1.0 beta 1 (May 9th, 2013) ==== * First public release ----
© 2012-2019 Toni Corvera < outlyer at gmail dot com >