Android QStyle plugin sources

BogDan bog_dan_ro at yahoo.com
Mon Apr 2 08:00:51 UTC 2012


Hi Tyler,

Are you sure that you follow *all* the steps from my mail ? Especially the first three ! 

Otherwise you are trying to use on your device other theme (the one from my device), which most probably is not compatible because of screen size differences.


Anyway, latter today I'm going to publish a new version for this plugin, I completely redesign the code to make it more QML friendly. Please wait until I publish it, then if you can, please rerun the tests. 


Cheers,
BogDan.


> 
>
>I made a video of my results on Android 2.3 and 4.0. See http://www.youtube.com/watch?v=fzBkuCD-6Ng
>
>
>Problems with 2.3:
>    * Text is too small
>    * Text overlaps radio buttons and check boxes
>Problems with 4.0:
>    * Button doesn't look right
>    * ExtractStyleInfo doesn't generate all the files that are mentioned in style.qrc on Android 4.0. To fix this, I just used the files that were in there already for the missing files (but used generated files when I could.) See below for a list of files.
>Problems with both:
>    * Keyboard issues. See https://sourceforge.net/p/necessitas/tickets/187/.
>Missing files from ExtractStyleInfo on Android 4.0:
>
>
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__empty.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__enabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__focused.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__focused__enabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__pressed.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__window_not_focused__disabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908288__window_not_focused__enabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908311__checked.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/buttonStyleToggle_View_background__16908311__unchecked.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/editTextStyle_View_background__pressed.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/radioButtonStyle_CompoundButton_button__checked__pressed.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/radioButtonStyle_CompoundButton_button__unchecked__pressed.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__enabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__focused.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__focused__enabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__window_not_focused__disabled.png'
>RCC: Error in '../AndroidStylePlugin/style.qrc': Cannot find file 'style/ics/spinnerStyle_View_background__window_not_focused__enabled.png'
>
>On Mon, Mar 19, 2012 at 1:38 PM, BogDan Vatra <taipanromania at gmail.com> wrote:
>
>Hello everybody,
>>
>> These are the sources that I used to make the Android QStyle movie
>>from this [1] thread.
>>The package contains two applications:
>>- ExtractStyleInfo, is a Android Java/JNI application used to extract
>>look&style informations from Android O.S.
>>- AndroidStylePlugin is a qt application, in this application you'll
>>find the implementation for style plugin.
>>
>>How to hack:
>> - create style folder on your sdcard ( $ adb shell mkdir /sdcard/style )
>> - compile & run ExtractStyleInfo.
>> - pull the extracted data into AndroidStylePlugin/style/ics folder,
>>then touch "style.qrc" file.
>> - compile and run AndroidStylePlugin !
>>
>>
>>Cheers,
>>BogDan.
>>
>>[1] http://groups.google.com/group/android-qt/browse_thread/thread/f12407af5947aefb
>>
>>_______________________________________________
>>Necessitas-devel mailing list
>>Necessitas-devel at kde.org
>>https://mail.kde.org/mailman/listinfo/necessitas-devel
>>
>>
>
>
>
>-- 
>Tyler Mandry
>
>_______________________________________________
>Necessitas-devel mailing list
>Necessitas-devel at kde.org
>https://mail.kde.org/mailman/listinfo/necessitas-devel
>
>
>


More information about the Necessitas-devel mailing list