Hello,
Three states checkbox is a quite common situation and an often requested
feature on Android.
Is there a good reason to not implement it?
Regards,
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and
"app XXX requires Google Play
> Services update" (or some such), linked to Google Play app.
>
> -- K
>
>
> 2015-04-06 16:28 GMT+03:00 Ab >:
>
>> My application integrates with Google Drive using the old api, it does
>> not include Google's library project
My application integrates with Google Drive using the old api, it does not
include Google's library project (instead it includes a bunch of jars like
'google-api-client-1.12.0-beta.jar',
'google-api-services-drive-v2-rev59-1.12.0-beta.jar', etc...).
This causes an issue because this line in m
It is crucial for my app to be able to accurately measure Strings; I have
been usingPaint.measureText() to do this. Unfortunately, in 4.4, this
method was changed to no longer return a precise value, instead it returns
a up-rounded value. Is anyone aware of another method I can use to
precise
ub.com/android/platform_frameworks_base/commit/8e04840f38a16f806754dfca3de50c2548e67913
>
>
>
> On Tuesday, December 10, 2013 8:45:45 PM UTC, Ab wrote:
>>
>> I make heavy use of the Paint.measureText() method and was surprised to
>> find that in 4.4 thefloat this method returns is always roun
I make heavy use of the Paint.measureText() method and was surprised to
find that in 4.4 thefloat this method returns is always rounded up. In
previous versions, no rounding occurred. I ran the below code on a 4.0.4
device and a 4.4 device. The results for the 4.0.4 device are first, the
resu
I would like to create a ViewPager whose width wrap's to its contents, and
is centered horizontally in it's parent. The first code snippet uses a
LinearLayout to create this effect, as shown in the first screenshot. The
second code snippet is my attempt to do this with a ViewPager instead of
; Well, what 3rd party JARs are you using?
>
>
> Thanks.
>
>
>
> On Tuesday, March 19, 2013 4:02:54 PM UTC-5, Ab wrote:
>>
>> I'm encountering issues with my application having to many methods. In
>> the last post in the below link, a poster posts the me
I'm encountering issues with my application having to many methods. In the
last post in the below link, a poster posts the method count for his
application (broken down by package). I unable to find how I can get this
information for my application, any suggestions?
https://code.google.com/p/
I am trying to integrate with the Drive App using the instructions
here: https://developers.google.com/drive/integrate-android-ui.
I followed the instructions and now my app shows as an "open with (using
google drive)" option when I select a file in the Drive app. However, when
I try to open w
I found many postings concerning this error, but none of the solutions
worked for me.
I have project A, B, and C. Projects A and B are marked as library
projects, project B imports project A as a library, and project C imports
project B. When running project C from eclipse, I get the below er
Thank you for your help, this fixed my problem.
On Wednesday, 17 October 2012 21:30:40 UTC-4, Nikolay Elenkov wrote:
>
> On Thu, Oct 18, 2012 at 3:03 AM, Ab >
> wrote:
> .
> >
> > Is due to java.security implementation on Android,
I am running the below code to open a p12 file and convert it's
certificates to x509. For the linked p12 file, I get the below exception
(have tried on multiple android OS builds). This conversion works properly
when I run similar Java code. Also, on desktop applications like Internet
explor
Hi All,
I have created an expandableList with two groups and some child elements in
each group. the child elements are EditTexts. Now the problem is, on click of
submit button, i want to get the values entered in the edittexts, i am not able
to access the child elements. How do i get this solved
Oops, the largeHeap attribute should go inside the application tag -- this
works now.
On Wednesday, 30 May 2012 12:04:40 UTC-4, Ab wrote:
>
> I added the android:largeHeap="true" attribute to my android manifest,
> but it doesn't seem to make a difference in my applica
I added the android:largeHeap="true" attribute to my android manifest,
but it doesn't seem to make a difference in my application's allowed
memory. When I run the below activity on my Acer A100 (running
android 3.2.1), I get the following results:
largeAmount = 256
normalamount = 48
a
I posted this on the Samsung forum and received a response confirming the
issue and instructing that the issue had been forwarded to the proper
engineers. So, in the event this is indeed specific the Samsung Note, it
will, hopefully, be fixed -- eventually.
In the mean time I plan to work arou
I hadn't, but I just did on your suggestion.
The call chain I see in eclipse looks the same as one in the traces.txt
file:
http://pastebin.com/hummn87H
It appears that the thread gets wedged while drawing one of the
ImageButtons.
On Tuesday, 1 May 2012 19:09:19 UTC-4, Kostya Vasilyev wrote
Guy) wrote:
>
> On Tue, May 1, 2012 at 5:41 PM, Ab wrote:
> > I added a log statement into the while loop. Based on this statement,
> the
> > while loop continues after the UI has frozen.
>
> That's odder still.
>
> Can you package up the entire p
I added a log statement into the while loop. Based on this statement, the
while loop continues after the UI has frozen.
On Tuesday, 1 May 2012 17:36:25 UTC-4, Mark Murphy (a Commons Guy) wrote:
>
> On Tue, May 1, 2012 at 5:26 PM, abe oppenheim
> wrote:
> >> Well, try adding a sleep first and
demonstrates the issue.
>>>>
>>> I highly doubt it... Your app creates a thread that runs forever and
>>> doesn't do anything? Sounds like you have a bug...
>>>
>>>
>>> Thanks,
>>> Justin Anderson
>&
Ah, ok... I see that now. Um... maybe I'm missing something, but what is
>> the point of doing this? What exactly are you trying to accomplish?
>>
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/magouyaware
>
e UI.
>>>
>>
>> Ah, ok... I see that now. Um... maybe I'm missing something, but what is
>> the point of doing this? What exactly are you trying to accomplish?
>>
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http:/
I'm sorry if the code isn't clear. The new thread instantiates a Canvas
and paints into it with Canvas.drawBitmap(). Neither the instantiation nor
the method call effect the UI.
On Tuesday, 1 May 2012 15:25:34 UTC-4, MagouyaWare wrote:
>
> the thread rendering off the UI thread doesn't touch/m
the thread rendering off the UI thread doesn't touch/modify/update the UI
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send ema
This TestActivity mimics some behavior in my app, which casues an ANR on
the Samsung Note ( running Android version 2.3.6). It did not produce an
ANR on a few other devices I tried, including 2 different Samsung devices
both with 2.3.6.
Based on the traces.txt file, the GUI thread appears to g
Unfortunately my RenderTask varies from about .5seconds - 5 seconds. So,
it is very undesirable to either perform it on the UI thread, or to force
the UI thread to wait on it.
Any idea what causes the ImageButton.draw() to hang, its possible the
hanging is preventable/fixable?
On Tuesday, 2
uesday, 24 April 2012 13:21:01 UTC-4, Ab wrote:
>
> My app has a layout that contains some ImageButtons. In addition, my app
> renders some Bitmapsfor later use. The Bitmaps are rendered by
> creating a Canvas with a Bitmap parameter, and then drawing into the
> canvas. This Bit
My app has a layout that contains some ImageButtons. In addition, my app
renders some Bitmapsfor later use. The Bitmaps are rendered by
creating a Canvas with a Bitmap parameter, and then drawing into the
canvas. This Bitmap rendering task occurs in a non-ui thread, so the gui
can remain
The first image is from a Galaxy Note, the second is from a Droid 3.
Both of them produced from the below code.
The dialog on the Droid 3 has a significant amount of extra, ugly
space. This space is even uglier on more complex dialogs. Is there any
way to prevent it?
public void onCreate(Bundle b
oesn't help with you getting crash reports from users
> messing
> > with things they shouldn't.
> >
> > You could check in your app if hardware acceleration is being used, and
> if
> > in that case just change your UI to a simple message telling them they
>
My app allows the user to draw on the screen by capturing and
processing touch events. Additionally, my application makes use of
Canvas.drawPicture and some other methods not supported by hardware
acceleration.
On some ICS devices there is an option to force hardware acceleration
in settings: "for
4, 3:46 pm, Ab wrote:
> Users can install p12 security certificates on their android devices.
> Is there a way that I can list the installed certificates
> problematically, and obtain references to them (presumably as a
> java.security.KeyStore object)?
--
You received this message beca
Users can install p12 security certificates on their android devices.
Is there a way that I can list the installed certificates
problematically, and obtain references to them (presumably as a
java.security.KeyStore object)?
--
You received this message because you are subscribed to the Google
Gro
particular I should look for in the log?
On Feb 23, 8:04 pm, Dianne Hackborn wrote:
> What is printed in the log? What has changed in your manifest? It doesn't
> help to make people try to guess what you are doing. :)
>
>
>
>
>
>
>
>
>
> On Thu, Feb 23, 2
then update through the market, the settings are cleared
So, any ideas about changes which might cause this?
On Feb 23, 3:39 pm, Ab wrote:
> I recently released a new version of my app. When users update to the
> new version (through google market), the settings (there are stored
&
I recently released a new version of my app. When users update to the
new version (through google market), the settings (there are stored
using SharedPreferences) for their application are cleared -- I am
fairly confident this did not happen in previous versions.
Can anyone suggest a reason why th
Perfect! Thank you.
On Feb 22, 9:02 am, Nikolay Elenkov wrote:
> On Wed, Feb 22, 2012 at 10:21 PM, Ab wrote:
> > I am using the below code to retrieve this list. It seems to work,
> > however it doesn't seem particularly safe/smart because I can't find
> > any d
I am using the below code to retrieve this list. It seems to work,
however it doesn't seem particularly safe/smart because I can't find
any documentation that indicates the .bks file will always be
available at the hard coded location.
Is this method reasonable, or is there a safer/smarter way to
I am attempting to spawn a worker thread in a service to do the
service's work. But when i run the debugger, the system does not
appear to create the worker thread. however, the application is
listening for updates
private void startMainService() {
startThread();
}
privat
Nevermind. I see now that actionbar Views can be obtained with
Activity.findViewById(id), where the id comes from
MenuItem.getItemId() for the corresponding MenuItem.
Thanks for the help.
On Feb 7, 7:18 am, Ab wrote:
> Ok, so I can use this to define a color for selected state, etc. But
android.com/reference/android/R.styleable.html#Theme...>
> and
> setting a shape drawable with our desired colouring
> <<
>
> -- K
>
> 7 февраля 2012 г. 14:27 пользователь Ab написал:
>
>
>
>
>
>
>
> > I would like to programmatically set the bac
I would like to programmatically set the background of an ActionBar
item to draw as a specific color.
For a View I would accomplish this by setting the background of the
View to a custom selector, which uses my specific color for the
"selected" state; then I would call View.setSelected(boolean) to
I would like to dynamically change the "home" icon in the ActionBar.
This is easily done in v14 with ActionBar.setIcon(...), but I can't
find anyway to accomplish this in previous versions.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To
I only need to move files from the device to the cloud so that they
can be analyzed. However, I need a mechanism to determine which files
from the device to sync with the cloud, i.e., i do not wish to use
bandwidth moving files to the cloud that are already there. I also
need this to be a scheduled
Thanks folks
On Jan 19, 11:06 am, Mark Murphy wrote:
> On Thu, Jan 19, 2012 at 1:11 PM, Ab Caballero wrote:
> > there seems to be documentation about using the SyncAdapter for this
> > type of operation but that the implementation requires
> > ContentProviders.
>
is a
> "sync this directory of stuff with this online counterpart". I'm not
> even aware of a third-party solution for that, though I seem to recall
> there was some work going on for a git client library.
>
> On Thu, Jan 19, 2012 at 12:53 PM, Ab Caballero wrote:
> >
I have an application that stores files to the SD card of the device.
If I want to sync that data with the google cloud, do i need to write
a content provider, or is there some other way to share the data?
--
You received this message because you are subscribed to the Google
Groups "Android Devel
My application crashes on the Samsung Galaxy Note, apparently due to
memory issues. The weird part is that my app does not appear to be
using a particularly large amount of memory at the time of the crash.
However, according to the logs, the OS seems to think that memory is
running low and starts
thanks
On Nov 1, 1:21 pm, Kristopher Micinski wrote:
> http://code.google.com/p/gps-averaging/
>
>
>
> On Tue, Nov 1, 2011 at 4:11 PM, Ab Caballero wrote:
> > Any ideas on how to average the fixes?.
>
> > On Nov 1, 12:44 am, gjs wrote:
> > > Hi,
>
>
d of time. All of
> which is harder if the device is also moving.
>
> Regards
>
> On Nov 1, 5:44 am, Ab Caballero wrote:
>
>
>
> > That's what i did by using if(hasAccuraacy() && getAccuracy() <
> > minDistance)...
> > It just doesn'
That's what i did by using if(hasAccuraacy() && getAccuracy() <
minDistance)...
It just doesn't seems to limit the fixes enough
On Oct 29, 6:01 am, lbendlin wrote:
> yes. write your own logic to accept fix events or not
--
You received this message because you are subscribed to the Google
Group
Using requestLocationUpdates(), the GPS fetches more than one location
fix per interval. I have attempted to use hasAccuracy() and
getAccuracy() to filter the amount of data that is fetched. However,
it doesn't limit the fetch to one single point. Is there any way to
filter the data so that I captu
20 14:54:52.978: INFO/LoginActivity(8925): Bytes transfered
10-20 14:54:52.978: INFO/LoginActivity(8925): flushed
10-20 14:54:52.988: INFO/LoginActivity(8925): output close
10-20 14:54:53.000: INFO/LoginActivity(8925): input close
There.
On Oct 20, 3:06 pm, Ab Caballero wrote:
> The stack
and it works on real devices, except I'm
> calling it before opening the database, from inside my "db open
> helper"-alike. Wonder if that's what's making the difference.
>
> -- Kostya
>
> 21.10.2011 0:08, Ab Caballero пишет:
>
>
>
>
>
> > Hi,
ces, except I'm
> calling it before opening the database, from inside my "db open
> helper"-alike. Wonder if that's what's making the difference.
>
> -- Kostya
>
> 21.10.2011 0:08, Ab Caballero пишет:
>
>
>
>
>
> > Hi, Kostya.
>
> >
database path, use context.getDatabasePath
>
> For the sdcard, use Environment.getExternalStorageDirectory
>
> -- Kostya
>
> 2011/10/20 Ab Caballero
>
>
>
> > Hi,
> > I am attempting to copy a file from internal storage like so:
>
> > void e
Hi,
I am attempting to copy a file from internal storage like so:
void exportDB() throws IOException {
InputStream input = new FileInputStream("/data/data/
com.drayagerecorder/databases/DB");
// create directory for backup
checkStorage();
File dir = new Fil
Hi,
I'm using requestLocationUpdates() to update the location of a vehicle
and I only need to update its location every minute or so. So I have
the parameters set accordingly.
However, I also want to use the location service to allow a driver to
log and time stamp events throughout his journey an
Hi,
I'm using requestLocationUpdates() to update the location of a vehicle
and I only need to update its location every minute or so. So I have
the parameters set accordingly.
However, I also want to use the location service to allow a driver to
log and time stamp events throughout his journey an
Thanks, Nick!
I had written a method to do that an inadvertently forgot to call it.
It was driving me crazy.
On Sep 19, 12:29 pm, Nick Risaro wrote:
> On Mon, Sep 19, 2011 at 3:50 PM, Ab Caballero wrote:
> > StringBuffer fileBuf = new
> &g
I am copying a SQLite database to a CSV file. I know the data is being
written to the database, but when i write the code to save it as a CSV
to external storage, the local variables are not being read. Any help
is appreciated:
//This is where i create the database
private void initDatabase() {
I am unit testing the activities in an application. The first activity
test runs fine and everything passes. The second test fails at
getActivity() returning a NPE.
I am assuming that since this is unit testing that getActivity()
should launch the activity even if this activity is reliant on a
prev
I am testing an application with multiple activities and one service
using jUnit (Robotium et al is not an option). I need to figure out a
way to test all of the components in such a way as to mimic a user. I
can easily test one activity and a service, but have not found a way
to test an entire app
I am testing an application with multiple activities and one service
using jUnit (Robotium et al is not an option). I need to figure out a
way to test all of the components in such a way as to mimic a user. I
can easily test one activity and a service, but have not found a way
to test an entire app
Thanks
On Aug 11, 11:53 am, Diego Torres Milano wrote:
> Use:
>
> sendKeys("SHIFT_LEFT T E S T SHIFT_LEFT T R I P");
>
> instead of
>
> sendKeys("TestTrip");
>
> On Aug 10, 5:39 pm, Ab Caballero wrote:
>
>
>
>
&g
1754/how-to-call-button-perform...
>
> On Aug 9, 6:09 pm, Ab Caballero wrote:
>
>
>
> > I want totestthat when abuttonis pressed, that it always does the
> > work it is supposed to do, in this case, start a service. Are there
> > any built-in methods
I have a fairly simple Test Project that tests the user interface of
an activity. My problem is that it fails toward the end of the test
and i don't know why.
1) The preconditions for getActivity(), the buttons and view pass
2) The test that the view is visible passes
3) The test that the view is
I want to test that when a button is pressed, that it always does the
work it is supposed to do, in this case, start a service. Are there
any built-in methods for a button press? I have looked through the
documentation and seen a lot of stuff on spinners but not a whole lot
on buttons.
--
You rec
uot;/Logger";
>
> to get the right mount point for your sd card.
>
> Hope this helps.
>
> Nico
>
> 2011/8/4 Ab Caballero
>
>
>
> > I'm trying to provide an audio recorder within an application for the
> > user to dictate notes. I keep getting an
I'm trying to provide an audio recorder within an application for the
user to dictate notes. I keep getting an error that there is no valid
output file and that the external storage is not available (I know it
is because i am using it in a separate activity). Any thoughts would
be appreciated.
pri
will only bring me back to the previous activity and i do not
wish to use an intent to restart the A activity. Any ideas?
Ab
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@
I got it working, but not with the case statement. Instead, I created
three instances of onItemSelectedListener(). However, I'm not certain
that this is the most efficient way to achieve the result.
On Jul 26, 12:58 pm, TreKing wrote:
> On Tue, Jul 26, 2011 at 2:15 PM, Ab Caballero wrot
i thought each spinner was identified by the findViewById() method?
On Jul 26, 11:58 am, TreKing wrote:
> First problem I notice is you're setting 3 different adapters to the same
> Spinner.
>
> ---
> --
I am attempting to assign each selected spinner value to the variables
ORIGIN, DESTINATION and TRIP_TYPE, respectively. The variables are
null after assignment.
On Jul 26, 11:45 am, TreKing wrote:
> On Tue, Jul 26, 2011 at 1:39 PM, Ab Caballero wrote:
> > I have an activity with three
Hi,
I have an activity with three spinners and am having trouble
retrieving the data from them. The code below is not yielding the
desired results. Any help is appreciated.
Spinner spinner = (Spinner)findViewById(R.id.origin);
ArrayAdapter o_adapter =
ArrayAdapter.createFromResource(
Thank, Mark!
I chose the latter as the name of method as it seemed appropriate.
/Ab
On Jul 13, 1:54 pm, Mark Murphy wrote:
> On Wed, Jul 13, 2011 at 4:36 PM, Ab Caballero wrote:
> > My onServiceConnected() code looks like this:
>
> > public void onServiceConnected(Compo
r is mBoundService, which is of type
MainService. Once I do this, I'm not sure how to pass TRIP_INFO to it.
My knowledge of binders is slim.
Thanks,
/Ab
On Jul 12, 5:01 pm, Mark Murphy wrote:
> On Tue, Jul 12, 2011 at 7:54 PM, Ab Caballero wrote:
> > What i wanted to do then was
ra("trip information", TRIP_INFO);
Any help is appreciated and I hope that i wasn't too confusing.
/Ab
On Jul 12, 4:13 pm, Mark Murphy wrote:
> On Tue, Jul 12, 2011 at 6:59 PM, Ab Caballero wrote:
> > I am binding to a service to access GPS data. However I can't access
I am binding to a service to access GPS data. However I can't access
the data directly because it is local to the LocationListener class. I
have attempted to create a shared preference and access it that way:
SharedPreferences prefs =
getSharedPreferences(USER_SHARED_PREFERENCES, MODE_WORLD_READAB
urphy wrote:
> Oh, that's really not a good idea. I'm surprised the OS even lets you
> fake that event.
>
>
>
>
>
>
>
>
>
> On Wed, Jul 6, 2011 at 9:54 AM, Ab wrote:
> > This also works:
>
> > sendBro
This also works:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
Uri.parse("file://" + Environment.getExternalStorageDirectory(;
Though this doesn't:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED,
Uri.parse("file://" + path)));
On Jul 6, 9:49 am,
Thanks, this worked! I used the below code, is this a smart usage? if
not, could you recommend a better strategy? (I'd like it to be
compatible with api version 7 and above)
//called after writing file, from my activity
if(Build.VERSION.SDK_INT >= 11)
{
new SingleMediaScanner(this, path);
}
sdcard (not to move it, just change the
name), it will then show up in windows explorer. This makes me
suspect they are doing something I am not...
On Jul 6, 8:36 am, Mark Murphy wrote:
> On Wed, Jul 6, 2011 at 8:31 AM, Ab wrote:
> > So, do I need to create files differently in 3.
In my application, I create files and write them to the Sdcard. This
works fine on my Samsung Galaxy running 2.2, but has some issues on my
Acer Iconcia Tab running 3.0.
On the Galaxy, my created files show as expected in DDMS and in
windows explorer (when the tab is mounted as a USB device). On
I suspect this is a possibility. But, files created but other
applications (like files downloaded in the browser, or notes created
in a memo app) do show up through the usb in windows explorer.
On Jun 29, 2:55 am, Marcin Orlowski wrote:
> iconia does not mount as usb drive same way most devices
A company would like to purchase a large number of licenses of my
application. They do not want to have individual device users make the
purchase on their individual Google accounts. Also, I would prefer not
to build them an unlocked apk out of fear of it being distributed. Do
I have any intelligen
In my application, I create files and write them to the Sdcard. This
works fine on my Samsung Galaxy running 2.2, but has some issues on my
Acer Iconcia Tab running 3.0.
On the Galaxy, my created files show as expected in DDMS and in
windows explorer (when the tab is mounted as a USB device). On
You are indeed correct:) A major oversight on my part.
Ab
On Jun 15, 1:26 pm, Kostya Vasilyev wrote:
> The colon in the filename (between 19 and 37) is likely invalid for FAT32,
> even under a Linux kernel, for historical reasons.
>
> It would be more obvious if Android used p
File file = new File(sdDir + "/" + currentTripName + ".kml");
yields:
06-15 13:25:29.209: WARN/System.err(13412):
java.io.FileNotFoundException: /mnt/sdcard/2011Jun1419:37.kml (Invalid
argument).
I also checked the file permissions, which are: lwrxwrxwrx root root.
After that i remounted the sdc
I have two apps listed on the marketplace. One of them is a free demo
application, and the second is a second key application that unlocks
the full version of the first application. I received a report from a
user that the demo installs on their Huawei, but the market lists they
application as "inc
It does not
On Jun 12, 11:56 am, Kumar Bibek wrote:
> Does the file/dir get created at all?
>
> *Thanks and Regards,
> Kumar Bibek*
> *http://techdroid.kbeanie.comhttp://www.kbeanie.com*
>
>
>
> On Sun, Jun 12, 2011 at 9:24 PM, Ab Caballero wrote:
> > It
wrote:
> Where, specifically, are you getting this error?
>
> If this is the emulator, do you have any external storage set up? By
> default, there is none.
>
>
>
>
>
> On Sun, Jun 12, 2011 at 11:37 AM, Ab Caballero wrote:
> > Still getting the same error. I fo
external
> storage.
>
> Also, make sure you have the WRITE_EXTERNAL_STORAGE permission.
>
>
>
>
>
> On Sun, Jun 12, 2011 at 10:31 AM, Ab Caballero wrote:
> > I am attempting to save data to the sdcard with the following code but
> > get a file not fou
I am attempting to save data to the sdcard with the following code but
get a file not found exception:
String fileContents = fileBuf.toString();
Log.d(tag, fileContents);
File sdDir = new File("/sdcard/Logger");
sdDir.mkdirs();
File file = new File("/sdcard/Logger/"+currentTripName+".kml");
FileWr
mBinder;
}
However, I am not sure how to go about "grabbing" the data from
activity for use in the service
On Jun 9, 7:31 am, TreKing wrote:
> On Thu, Jun 9, 2011 at 9:19 AM, Ab Caballero wrote:
> > I need to send data from an activity to a persistently running GPS service
>
I need to send data from an activity to a persistently running GPS
service and I'm not certain how to do this. Below is the code from my
activity and service. ANY help is greatly appreciated.
//%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&%&
// THIS IS THE ACTI
ounds, packaging it with the application, and specifying it as
the background for the ImageButton. Issue 1 cannot be resolved, but
the difference it creates is relatively minor once issue 2 is dealt
with.
On May 13, 12:01 pm, Ab wrote:
> DisplayMetrics.density just returns the scaling factor
does not exactly follow the real screen size as given by
> xdpi and ydpi, but rather is used to scale the size of the overall UI
> in steps based on gross changes in the display dpi."
>
> On May 12, 9:41 am, Ab wrote:
>
>
>
>
>
>
>
> > *Edit. Sorry, first
*Edit. Sorry, first sentence after "1." should read:
IT seems that the fact that 66 pixels shows on my Galaxy as 8mm,
when it should be 10mm (based on provided dpi), ISN'T DUE to a false
dpi
returned from DisplayMetrics.
On May 12, 12:29 pm, Ab wrote:
> Diane,
>
> Than
1 - 100 of 107 matches
Mail list logo