[Q] Ascend g300 UI scaling issues - Firefox OS General

Hello,
I have problem with proper scaling of UI on ascend g300, its too small. If anyone can help it would be nice
i use 1.1.0hd branch for gaia and gecko
manifest: https://github.com/Mihairu/b2g-manifest/blob/master/ascend-g300.xml
.userconfig
export HIDPI=1
export GAIA_OPTIMIZE=1
export GAIA_DEV_PIXELS_PER_PX=2
export NOFTU=1
export PRODUCTION=1
Thx a lot for some answers!

Related

[Python] HTC G-Sensor

Hiya,
Here's a quick hack: a small Python library that allows you to read the G-sensor values on HTC devices.
Currently it does not support Omnia as I don't have access to neither the device nor a good description of the process.
The API is simple:
Code:
import htc_gsensor
s = htc_gsensor.HTCGSensor()
data = s.get_values()
print '-------------\nG: [%f, %f, %f]\nR: %f, %f' % (
data.gravity_x,
data.gravity_y,
data.gravity_z,
data.rotation_x,
data.rotation_y
)
License: LGPL 2.1+
Hope you find it useful (or fun to play with).
patrys said:
Hiya,
Here's a quick hack: a small Python library that allows you to read the G-sensor values on HTC devices.
Currently it does not support Omnia as I don't have access to neither the device nor a good description of the process.
The API is simple:
Code:
import htc_gsensor
s = htc_gsensor.HTCGSensor()
data = s.get_values()
print '-------------\nG: [%f, %f, %f]\nR: %f, %f' % (
data.gravity_x,
data.gravity_y,
data.gravity_z,
data.rotation_x,
data.rotation_y
)
License: LGPL 2.1+
Hope you find it useful (or fun to play with).
Click to expand...
Click to collapse
how do i use it ? any suggestion and install instruction will be helpful....a exe to test will be great
It's a Python module. It's only useful for software developers, not regular users.
To test you need to install Python CE, copy the module (unzipped .py file) to the device and launch it from the file manager.
how about the touch sensor?
Hello how can i use the touch sensor within python?
thanks
António
Thanks man, I will give it a try...
By the way, I do not understand why the community is not very much interested in PythonCE, as far as I see even MortScript has far more popularity.
Come on people, Python rocks, we should use it more often, it is so powerfull and so easy to use.
patrys said:
Hiya,
Here's a quick hack: a small Python library that allows you to read the G-sensor values on HTC devices.
Currently it does not support Omnia as I don't have access to neither the device nor a good description of the process.
The API is simple:
Code:
import htc_gsensor
s = htc_gsensor.HTCGSensor()
data = s.get_values()
print '-------------\nG: [%f, %f, %f]\nR: %f, %f' % (
data.gravity_x,
data.gravity_y,
data.gravity_z,
data.rotation_x,
data.rotation_y
)
License: LGPL 2.1+
Hope you find it useful (or fun to play with).
Click to expand...
Click to collapse
Now that's cool hah - Not my device, but always glad to see another Python user

Export Native Playlist

I have been searching the internet for a no-cost way to export the playlists I have made on my phone. So far I have not found anything.
Does anyone know how this can be done? At this point I will settle for a low cost method as well.
Thanks and a great 2011 to all at XDA!

Freelance Dev needed

For Lyric app which was started by Ricardo (megatron room)
Lyric Db (sqlite)
Import (txt)
Search
Zoom in/out
boomark
etc etc
If anyone interested please pm me for more info
Thanks
Do you have or can you obtain the source code of what's been done so far?

Problem With integrating SQLite DB

Hello,
I Have made an application to localize pharmacy officines but with taking infos from an extrnal XML information feed
and now i want to integer only internal DB that i have made with SQLite
I have found a problem integrating it
I want to integer the DB into the app and delete the xml source
For information :
The Used API is 7 and 19
The Screen Size is about 4''
And i wanna to integrate Geocoder (It seems to not work in Algeria)
The App is made in French languge
Thanks For Help
I have attached DB and apk

[TOOL][WEB] Hex To Smali Online Converter

Hello guys, i have build an opensource web application for converting hex (argb) android colors to smali and reverse. You can also calculate the opacity.
You can test the project here: http://pantrif.github.io/HexToSmaliConverter/
Contributions are more than welcome: https://github.com/pantrif/HexToSmaliConverter

Categories

Resources