Mark M. | has entered the room |
Mark M. | turned on guest access |
trdillah | has entered the room |
trdillah |
Hi Mark!
|
Mark M. |
howdy, trdillah!
|
Mark M. |
how can I help you today?
|
trdillah |
View paste
|
Dec 15 | 4:00 PM |
Mark M. |
I know nothing about AChartEngine
|
Mark M. |
PowerTutor source code is available from the project site
|
Mark M. | |
Mark M. |
it is actually hosted at GitHub
|
Mark M. | |
trdillah |
Thanks! I was hoping that there may be a good example there
|
Mark M. |
oh, of AChartEngine -- possibly, not sure what they use
|
trdillah |
That's true. I've been looking for good charting examples in general though
|
trdillah |
It should help
|
trdillah |
View paste
|
trdillah |
IE, if I deploy an .apk file to a group of people, can they be notified of updates without the app being on the market?
|
Mark M. |
the typical solution is for the app to poll some
URL on your Web site, where you have the version information, then have
it download the APK when there is an update available
|
trdillah |
Oh I see. Will the download happen automatically? Or will the user have to initiate the download?
|
Mark M. |
that's your decision
|
Mark M. |
your code is the one detecting that there is a new version
|
Mark M. |
your code will be responsible for either doing the download, informing the user about the available download, etc.
|
Dec 15 | 4:05 PM |
trdillah |
I see. Is this method documented anywhere or is this just the standard method of updating?
|
Mark M. |
it's not part of Android
|
Mark M. |
it is your code
|
trdillah |
Ok
|
Mark M. |
I am not aware of a third-party library that wraps all of this up for you
|
Mark M. |
I will write one in 2012 if nobody beats me to it
|
trdillah |
lol, ok
|
trdillah |
I have one final question.
|
trdillah |
It has to do with an ANR that I've seen intermittently.
|
trdillah |
I handle long tasks using services and asyncrhonous tasks so I'm not sure why I see this error
|
trdillah |
View paste
(1 more line)
|
Mark M. |
that's a different ANR trace than I am used to seeing
|
Mark M. |
what does your com.cmu.community.ACTION_STEPGREENMANAGER BroadcastReceiver do in onReceive()?
|
Dec 15 | 4:10 PM |
trdillah |
it displays values to the UI
|
trdillah |
well to the application widget
|
Mark M. |
is it doing any disk I/O or network I/O?
|
trdillah |
There is network I/O being done by the service itself
|
Mark M. |
I am interested in the BroadcastReceiver, not a Service, AFAICT from the stack trace
|
trdillah |
oh, it launches a background service - the background service handles the Network I/O
|
Mark M. |
so all the BroadcastReciever does is call startService()?
|
trdillah |
yes
|
Mark M. |
is the Service an IntentService?
|
trdillah |
yes
|
trdillah |
View paste
(2 more lines)
|
Mark M. |
then I have no clue what might be causing that ANR report
|
Dec 15 | 4:15 PM |
trdillah |
ok. it's intermittent and I can't reproduce the issue
|
trdillah |
(to give you background info, i'm a student researcher)
|
Mark M. |
I figured the CMU was Carnegie Mellon University
|
trdillah |
yes :)
|
Mark M. |
spent the summer of 1995 there
|
trdillah |
nice!
|
trdillah |
i'm not an experienced android developer so i appreciate all of the help you provide!
|
Mark M. |
happy to help!
|
Dec 15 | 4:20 PM |
trdillah |
"AND i appreciate" -- I'm sure if I had experience, you'd still be of great help!
|
trdillah |
Thanks again and have a great day!
|
Mark M. |
you too!
|
trdillah |
I may just stick around to see what types of questions come up. I can always learn new things!
|
Mark M. |
sure, no problem
|
Mark M. |
as you can see, attendance at these chats varies widely
|
trdillah |
I can imagine
|
Dec 15 | 5:00 PM |
Mark M. |
well, that's a wrap for today's chat
|
Mark M. |
next one is Tuesday, 7:30pm Eastern
|
trdillah |
ok, thanks again!
|
trdillah |
bye!
|
Mark M. |
have a pleasant day!
|
trdillah | has left the room |
Mark M. | turned off guest access |