Posts Tagged ‘android’

0

Secret Maryo Chronicles – Alpha Testing

Posts No Comments

I have just published a new alpha release to Google Play

You can opt-in here: https://play.google.com/apps/testing/rs.pedjaapps.smc.android

For changes you can check here: https://github.com/pedja1/SMC-Android/commits/master

If (or i should better say when) you find any issue/bug, please let me know via email, or create a new issue here: https://github.com/pedja1/SMC-Android/issues/new

Enjoy!

 

Screenshot from 2015-08-22 12:03:37

I have just published a new alpha release to Google Play You can opt-in here: https://play.google.com/apps/testing/rs.pedjaapps.smc.android For changes you can check here: https://github.com/pedja1/SMC-Android/commits/master If (or i should better say when) you find any issue/bug, please let me know via email, or create a new issue here: https://github.com/pedja1/SMC-Android/issues/new Enjoy!  

0

[Lib]FontWidgets

Posts No Comments

Set of Android Widgets that support custom fonts(Typeface)

Note: Font file type support may vary across different android versions

Supported Widgets

* AutoCompleteTextView (as FAutoCompleteTextView)
* Button (as FButton)
* CheckBox (as FCheckBox)
* CheckedTextView (you get the idea…)
* Chronometer
* CompoundButton
* DigitalClock
* EditText
* ExtractEditText
* MultiAutoCompleteTextView
* RadioButton
* Switch
* TextClock
* TextView
* ToggleButton

Every implementation extends default android implementation of that widget
This means that FSwitch for example wont work on SDK < 14, same as default Switch

Usage

Fonts
3 sources for font files are supported: assets, absolute, internal

  • assets – you can include your font file directly in assets folder of your porject
  • absolute – you have to specifi full path of the font file. for example: /sdcard/Roboto-Light.ttf
  • internal – font file should be located relative to your applications private directory(/data/data/com.example.app), You only need to specifie name of the font, not whole path

Example

Layout

Code:

Java

No need to do anything special in code if you specified source and font in xml
To do everything in code you can do the following:

Code:
FTextView tv1 = new FTextView(this);
tv1.setTypeface("Roboto-Light.ttf", TypefaceHolder.Source.asset);

Developed By

* Predrag Čokulov – – this is me btw. . Dont spam my mail
License

Code:
Copyright 2014 Predrag Čokulov

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

Library is Open Source

Set of Android Widgets that support custom fonts(Typeface) Note: Font file type support may vary across different android versions Supported Widgets * AutoCompleteTextView (as FAutoCompleteTextView) * Button (as FButton) * CheckBox (as FCheckBox) * CheckedTextView (you get the idea…) * Chronometer * CompoundButton * DigitalClock * EditText * ExtractEditText * MultiAutoCompleteTextView * RadioButton * Switch […]

0

View all system logs on Android 4.1

Posts No Comments

Since Android 4.1(API Level 16) there is a limitation on viewing logs (logcat) to system apps only

Since aLogcat wasnt updated since 2012 i decided to fork it and add option to view all logs past android 4.1

This is done by executing ‘logcat’ as root user.

More info here.

App is open source of course. Check it out here

If you have any question or comment you can find official forum thread on XDA.

Since Android 4.1(API Level 16) there is a limitation on viewing logs (logcat) to system apps only Since aLogcat wasnt updated since 2012 i decided to fork it and add option to view all logs past android 4.1 This is done by executing ‘logcat’ as root user. More info here. App is open source of course. […]