Comments (13)
Thanks Yoshi. Nice to know about this other bug :)
I'll add support to this asap.
from gaia.
Hi Yoshi,
The eventList parameters is an array with only a list of Event ids (as defined in STK_EVENT_TIPE_*), isn't it?
Or also contains parameters per event type
Another question is how each event shall be answered by the UI?
Thanks in advance
from gaia.
hi, frsela
Yes, it's an array of events.
Currently we need location status event, and MT call, Call Connected and Call Disconnected events.
in this issue, Location Status Event.
I think you need to send location information (current serving MCC, MNC, LAC, and cellID) to ICC by sendStkEventDownload.
You could get these values from mozMobileConnectionInfo.
But the other complication is that you need to find a way to wake up your STK app when location information is update.
from gaia.
Sorry, I think I answer to the wrong issue .... XD
For SET UP EVENT LIST, you don't have to display UI to user.
But you need to read eventList to know what events you need to watch.
When one of these events is happened, you need to notify ICC.
For Location Status Event, it should be #10,
MT Call, Call Connected/Disconnect ,should be #11
from gaia.
Ok, fantastic. I'm know compiling last Gecko in order to work with the latest patches.
Regarding "find a way to wake up your STK app when location information is update":
Did you sent this events through the System Message (icc-stkcommand) if yes, then the STK app is notified :)
from gaia.
Not quite, I'll explain in #11.
from gaia.
Supported (faked) since ada7907
from gaia.
@frsela
I found you can test SET_UP_EVENT_LIST on galaxy s2
(or maybe Nexus S)
And seems the SIM apps will send this proactive command(SET UP EVENT LIST) if only the ME supports it.
but we cannot tell SIM apps we support SET UP EVENT LIST since on otoro, SET_STK_PROFILE is not supported,
from gaia.
OMG ... nice to know ... I'll recompile b2g to SII again ;)
from gaia.
BTW, I just rebased stkui_events (https://github.com/frsela/gaia/tree/stkui_events) branch and merged with the last changes done in stkui_uximprovements
So now, you can work again with events branch with all the new features and bug fixing ;)
Also I added a boolean parameter to enable/disable fake event registration in order to test them in the otoro handset, but you can test with real events in the SII
from gaia.
that's really awesome, thanks for your great work !!
from gaia.
you're welcome ;)
from gaia.
Moved to Bugzilla:https://bugzilla.mozilla.org/show_bug.cgi?id=799851
from gaia.
Related Issues (20)
- Implement event download : Location Status Event HOT 4
- Implement event download: MT Call, Call Connected and Call disconnected HOT 13
- STK Events and Cache in background HOT 1
- Support STK_CMD_PLAY_TONE HOT 7
- Add 'backward move' HOT 3
- cannot display items from proactive command : SELECT_ITEM HOT 19
- typo "identifer"
- backward move cannot work in depth 1 HOT 3
- don't sendStkResponse immediately for DISPLAY_TEXT HOT 3
- after getting session end event, UI should back to root HOT 1
- Pop-up 1st "Select Item" proactive command to user without entering STK menu HOT 7
- Add a timeout to show message from DISPLAY TEXT HOT 6
- check confirmMessage in SET UP CALL HOT 1
- add input length restriction in GET_INPUT HOT 2
- sometimes command is null when calling sendStkResponse HOT 3
- Show "loading" when doing menu selction HOT 3
- Use different type of dialogs to DISPLAY TEXT HOT 4
- Add support to STK_CMD_INKEY
- Add support to STK_CMD_SET_UP_IDLE_MODE_TEXT HOT 1
- Cache support HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaia.