miércoles, 18 de diciembre de 2013 08:06:20 UTC-3, Andriy Tsykholyas
escribió:
I have read Google's App Widgets
guidehttp://developer.android.com/guide/topics/appwidgets/index.html
.
I'd like to clarify the event flow in
AppWidgetProviderhttp://developer.android.com/reference/android/appwidget
I have read Google's App Widgets
guidehttp://developer.android.com/guide/topics/appwidgets/index.html
.
I'd like to clarify the event flow in
AppWidgetProviderhttp://developer.android.com/reference/android/appwidget/AppWidgetProvider.htmlin
following scenario:
0) User installed the app which
Hi,
we are implementing custom input method service and we are interested
in receiving cursor update events. The documentation of
InputMethodSession's updateCursor() says:
This method is called when cursor location of the target input field
has changed within its window. This is not normally
Hi,
I'm working on input method. While creating the settings for it I've
stuck with the following problem: settings view (which extends
PreferenceActivity) fails to show if its package differs from the
application's package.
So, application package is my.ime, and full name of settings view is
not loaddatain the APK. It is best to keep
the APK small as possible.
On Dec 10, 12:03 pm, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
Hi,
My application needs to intensively manipulate (read-write) on some
structured textdata. The size of thedatais significant ~1Mb
much smaller
than 1 Mb :)
On Dec 16, 5:44 am, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
On Dec 10, 7:50 pm, Mark Murphy mmur...@commonsware.com wrote:
My idea is to put thisdataas afilein the .apk. Then, on initial
application launch to read thisdataand populate Android
Hi,
I've noticed quite a strange thing with Cursor object.
If I use my own database (with SQLiteDatabase and SQLiteOpenHelper)
and run some query on it (using any of SQLiteDatabase query() methods)
this query is finished very quickly, in a few milliseconds. But then
first call to some of Cursor
On Dec 10, 7:50 pm, Mark Murphy mmur...@commonsware.com wrote:
My idea is to put this data as afilein the .apk. Then, on initial
application launch to read this data and populate Android SQLite
database with it. Then just work with this database. But after the
database is populated the
John and Mark,
thanks for your answers :)
On Dec 10, 7:50 pm, Mark Murphy mmur...@commonsware.com wrote:
My idea is to put this data as a file in the .apk. Then, on initial
application launch to read this data and populate Android SQLite
database with it. Then just work with this database.
I've ended up with a 'build' project which is merely a set of symbolic
links to 'real' projects. This approach works perfectly for me :)
On Dec 10, 9:30 pm, Mark Murphy mmur...@commonsware.com wrote:
Well, in this case you have to go java way:
getClassLoader().getResourceAsStream(name it
have a
place to host your data.
On 12/11/09 11:35 AM, Andriy Tsykholyas wrote:
John and Mark,
thanks for your answers :)
On Dec 10, 7:50 pm, Mark Murphymmur...@commonsware.com wrote:
My idea is to put this data as a file in the .apk. Then, on initial
application launch to read
are interested in more details just let me know :)
On Dec 11, 2:39 pm, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
I've ended up with a 'build' project which is merely a set of symbolic
links to 'real' projects. This approach works perfectly for me :)
On Dec 10, 9:30 pm, Mark Murphy
On Dec 11, 9:59 pm, Mark Murphy mmur...@commonsware.com wrote:
2) Keeping unnecessary data in /assets is also bad because of wasting
memory. Using compression would reduce the problem but won't eliminate
it...
Bear in mind that APK files are ZIP files, so most content gets compressed
by
Hi,
* In short:
Is it possible to reuse classes and resources from A.apk in B.apk?
* Explanation and my problem:
I have project A with some classes and some resources (used for
classes configuration). I'd like to reuse its classes (and resources
necessary for them) in another project B (and
Mark,
thanks for your answers.
On Dec 10, 3:12 pm, Mark Murphy mmur...@commonsware.com wrote:
* In short:
Is it possible to reuse classes and resources from A.apk in B.apk?
Classes, no. Resources, sorta, but I'm not sure it's a good idea, since
you have no way of ensuring that each device
.
I'd like to avoid such solution :)
On Dec 10, 8:00 am, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
Hi,
* In short:
Is it possible to reuse classes and resources from A.apk in B.apk?
* Explanation and my problem:
I have project A with some classes and some resources (used
:-) )
On Dec 10, 8:42 am, Andriy Tsykholyas andriy.tsykhol...@gmail.com
wrote:
On Dec 10, 3:28 pm, WoodManEXP woodman...@gmail.com wrote: If they need
to reference resources, well, it
just seems it is not possible at this point.
That's what I was afraid of :(
For the parts
On Dec 10, 4:29 pm, Mark Murphy mmur...@commonsware.com wrote:
According to
http://developer.android.com/guide/publishing/versioning.html
B can check if A is installed. It can even check which version of A is
installed :)
Which gets you little, since you cannot force the user to install
On Dec 10, 4:49 pm, Mark Murphy mmur...@commonsware.com wrote:
Which gets you little, since you cannot force the user to install A.
But you can:
Which will irritate your users.
I agree :)
Hence, I stand by my assessment that, while there are ways for B to access
A's resources at
Hi,
My application needs to intensively manipulate (read-write) on some
structured text data. The size of the data is significant ~1Mb. And
there is initial data available for the user to start with.
My idea is to put this data as a file in the .apk. Then, on initial
application launch to read
Thanks :)
On Dec 3, 8:08 pm, Dianne Hackborn hack...@android.com wrote:
You can use dimensions, with pixel units.
On Thu, Dec 3, 2009 at 3:46 AM, Andriy Tsykholyas
andriy.tsykhol...@gmail.com wrote:
Hi,
Reading values like integers, strings, colors, etc. from resources
(xml files
Hi,
Reading values like integers, strings, colors, etc. from resources
(xml files) is easy and well defined at
http://developer.android.com/guide/topics/resources/available-resources.html.
But what about a float value, like 0.1 or 1.4? How can such float
value be defined in resource file and
22 matches
Mail list logo