[android-developers] upgrade to 4.2.2 -- Eclipse sees device offline and unknown

2013-02-21 Thread alexdonnini
Hello, Unfortunately, I foolishly proceeded with the upgrade of my nexus 4 from 4.2.1 to 4.2.2 Now, even though the device is configured for USB debugging and connected as a camera device, although it sees it Eclipse cannot access it as the device is reported to be offline. Does anyone have

[android-developers] Finally someone at Google gets it - Please read you might like it

2011-10-13 Thread alexdonnini
Hello, I don't know how many of you have read this. I have stopped paying too much attention to the postings on this group because of the problem highlighted by the writer. Perhaps, someone has already posted about this article. If this is the case, I apologize in advance for the duplication and

[android-developers] Re: cacerts.bks availability on device

2010-04-29 Thread alexdonnini
Hi, Your entry was very useful. I was wondering if you could offer some more assistance. I added TrustManagerFactory mTrustManagerFactory = new TrustManagerFactory(mTrustManagerFactorySpi, null, malg); KeyStore ks = null; try {

[android-developers] 2nd phone line Line2 iPhone

2010-04-09 Thread alexdonnini
Hello, Probably, you have heard of the iPhone application called Line2. In short, it gives an iPhone a second phone number and line complete with contacts list, voice mail, etc., etc. I have been working on an application in the same area for Android but have run into the system's

[android-developers] Re: 2nd phone line Line2 iPhone

2010-04-09 Thread alexdonnini
Donnini On Apr 9, 9:45 am, Mark Murphy mmur...@commonsware.com wrote: alexdonnini wrote: Probably, you have heard of the iPhone application called Line2. In short, it gives an iPhone a second phone number and line complete with contacts list, voice mail, etc., etc. It is more generically

[android-developers] Re: 2nd phone line Line2 iPhone

2010-04-09 Thread alexdonnini
: alexdonnini wrote: Probably, you have heard of the iPhone application called Line2. In short, it gives an iPhone a second phone number and line complete with contacts list, voice mail, etc., etc. It is more generically referred to as voice over IP (VOIP). I was wondering if anyone has

[android-developers] Re: 2nd phone line Line2 iPhone

2010-04-09 Thread alexdonnini
because of permission/security limitations. Thank you. Alex Donnini On Apr 9, 10:19 am, Mark Murphy mmur...@commonsware.com wrote: alexdonnini wrote: Based on my limited understanding (I could be wrong), Line2 actually manages calls either via ATT or the Internet (VOIP), i.e. works alongside

[android-developers] Android developers in Boston

2010-01-05 Thread alexdonnini
Hello, I would like to connect with Android application developers in the Boston area to share ideas, experiences, and potentially work on joint projects. If you are interested, send me a message at: alexdonn...@ieee.org Thanks. Alex Donnini -- You received this message because you are

[android-developers] Re: Block Switch App

2009-12-10 Thread alexdonnini
Dianne, You are a smart person, and should recognize that what you state as being a fact, and inherently right is, in fact, simply your (Google's) opinion and position and, unlike most of us, you are in the position to enforce that opinion and position. While it is true that since Google

[android-developers] Re: Block Switch App

2009-12-10 Thread alexdonnini
Hello Jason, I would be glad to. Let me give you a simple example that does not quite fit but should give you an approximate idea of what I mean. Gold mining is an open activity. Anyone can go and look for gold. An entire mythology has grown reinforcing the dream that ANYONE can go and get rich

[android-developers] Re: Block Switch App

2009-12-10 Thread alexdonnini
Bottom line is that some believe and trust Google's and its engineers' motivations more than others. Not recognizing that their motivations are different (not good, not evil) from those of the community at large is ignoring and not understanding human nature. You do this at your own peril. Alex

[android-developers] localsocket programming - server-less communication

2009-12-02 Thread alexdonnini
Hello, I would appreciate any information on whether and how LocalSocket can be used to set-up server-less communication (i.e. without using LocalServerSocket). I believe this should be possible as I think this communication method is used by RIL.java I have written a test program to attempt to

[android-developers] NeighbofingCellInfo sdk 2.0

2009-11-09 Thread alexdonnini
Hello, Could anyone help me understand when API level 5 methods such as getNetworkType() in NeighboringCellInfo will be available to application developers? Unless I am mistaken, at present the getCid() method in NeighobringCellInfo depending on the network in use is not directly usable as it

[android-developers] getPsc() - NeighboringCellInfo - SDK 2.0

2009-11-09 Thread alexdonnini
Hello, Could anyone tell me when getPsc() in NeighboringCellInfo will be available in the SDK? I could not find it in SDK 2.0. If I am not mistaken, getPsc() is necessary in order to retrieve CID information for neighboring cells when connected to a UMTS. Thanks. Alex Donnini -- You received

[android-developers] Re: buttons in list entries

2009-10-30 Thread alexdonnini
Problem solved. On Oct 28, 1:31 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, I have an application that generates a list with two buttons for each entry in the list. It's working to a limited extent. I have run into a problem which I have not be able to resolve. Can anyone point me

[android-developers] buttons in list entries

2009-10-28 Thread alexdonnini
Hello, I have an application that generates a list with two buttons for each entry in the list. It's working to a limited extent. I have run into a problem which I have not be able to resolve. Can anyone point me to a tutorial or code sample, or both where I could see a working example of a

[android-developers] Re: Hello, MapView

2009-10-26 Thread alexdonnini
Problem solved. I needed to replace the Maps API key. On Oct 25, 9:07 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, Until recently, the map view function in my application worked. Starting a few weeks ago, although the function still seems to be working, the map itself is not being

[android-developers] Hello, MapView

2009-10-25 Thread alexdonnini
Hello, Until recently, the map view function in my application worked. Starting a few weeks ago, although the function still seems to be working, the map itself is not being displayed any longer. To verify whether there was a problem in my code, I implemented an activity using the code in

[android-developers] Re: Find long/lat distance X from current location

2009-08-23 Thread alexdonnini
Hi John, Excellent! Connceptually, that's exactly what I was looking for. I will probably need to make some changes to the code but it's a great start. Thank you. Alex Donnini On Aug 22, 2:10 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: This example using a Google map may be

[android-developers] Re: Find long/lat distance X from current location

2009-08-22 Thread alexdonnini
the same numbers as my Garmin 76cxs.  Regards, Tom Birchmire On Aug 22, 4:17 am, Panut Sunyakorn panu...@gmail.com wrote: This will help you. http://www.movable-type.co.uk/scripts/latlong.html 2009/8/22 Mark Murphy mmur...@commonsware.com: alexdonnini wrote: I had already considered

[android-developers] Re: Find long/lat distance X from current location

2009-08-22 Thread alexdonnini
will reduce the number and see what happens. Alex Donnini On Aug 22, 12:39 pm, Mark Murphy mmur...@commonsware.com wrote: alexdonnini wrote: Mark, I am well aware that there is an infinite number of points on the circle at distance X from a known location. To start with, for my application

[android-developers] Find location at distance X from current location

2009-08-21 Thread alexdonnini
I apologize if this message is a duplicate but I looked for an earlier message I had posted about this same subject and could not find it. Hello, I was wondering if anyone has ideas, or could help me solve this problem. I would like to find the location (lat, lng) at distance X from my current

[android-developers] Re: Find long/lat distance X from current location

2009-08-21 Thread alexdonnini
other geo coordinates, you'll need to find a data source for those or make your own set of data to work with. You might be able to use some Google API for that as well. On Fri, Aug 21, 2009 at 10:44 AM, alexdonnini alexdonn...@ieee.org wrote: Hello, I can easily find long/lat of my current

[android-developers] Re: Find long/lat distance X from current location

2009-08-21 Thread alexdonnini
21, 2009 at 10:44 AM, alexdonnini alexdonn...@ieee.org wrote: Hello, I can easily find long/lat of my current location. Once I do that, I would like to find long/lat information for locations at distance X from y current location. Does anyone have suggestion(s) on how to do this using

[android-developers] Re: Direct access to GEARS geolocation without going through the browser interface

2009-07-16 Thread alexdonnini
Mark, Thanks. I am aware of that. My question was different. Have you looked into the GEARS geolocation class? If you have, you will have seen the three Android Java classes I refer to below. My question is about the purpose and intended use of those classes. Given that Google has removed all

[android-developers] Direct access to GEARS geolocation without going through the browser interface

2009-07-15 Thread alexdonnini
Hello, I have searched this group's archives, and several other sources for information on direct access to GEARS geolocation functions from an Android application. To date, I have not found any. geolocation includes three Android-specific public Java classes, AndroidGpsLocationProvider,

[android-developers] Re: onTap display toast or message

2009-07-14 Thread alexdonnini
Thanks. Good point. I have seen the behavior described in the thread you pointed to. Alex On Jul 14, 3:37 pm, skink psk...@gmail.com wrote: On Jul 14, 7:35 pm, Mark Murphy Just pass in the activity to your ItemizedOverlay's subclass' constructor, and use it to create your Toast. be

[android-developers] Re: Clickable Map Markers

2009-07-13 Thread alexdonnini
Hello, Unless I am mistaken, a tap is not the same as a click, is it? If I am correct, would a click event need to be handled using an on- click listener? Thanks. Alex Donnini On Jun 15, 8:10 am, adadcalledrichard adadcalledrich...@gmail.com wrote: Check out the onTap(int item) method on

[android-developers] onTap display toast or message

2009-07-13 Thread alexdonnini
Hello, I looked for any information about onTap event processing for itemized overlays in this group. There is a lot of useful information but I could not find the answer to one question. The tutorial by Mark Murphy on itemized overlays, http://androidguys.com/?p=1413 describes how to generate

[android-developers] Re: onTap display toast or message

2009-07-13 Thread alexdonnini
Hi Mark, Thanks. What I meant is that I thought that in your example, SitesOverlay is an inner class of the map activity NooYawk. In my case, the custom itemized overlay class is not an inner class of the map activity. This means that an entry like NooYawk.this will not work. Am I wrong? I have

[android-developers] Re: onTap display toast or message

2009-07-13 Thread alexdonnini
overlay. Alex P.S. I am still interested in implementing a display of detail marker information when hovering over a marker as implemented in many location/map based products. On Jul 13, 9:25 pm, alexdonnini alexdonn...@ieee.org wrote: Hi Mark, Thanks. What I meant is that I thought

[android-developers] Re: Multiple points on a map

2009-07-06 Thread alexdonnini
Yes, Thanks. I think I am all set for now. Thanks for the tip on the adding order. Alex Donnini On Jul 4, 9:24 am, Piwaï py.ri...@gmail.com wrote: Hello, Have you read the MapView tutorial ? It shows how to display multiple items on a

[android-developers] Multiple points on a map

2009-07-03 Thread alexdonnini
Hello, I need advice/pointers on how to display on a map multiple points that change somewhat infrequently based on the device's location. Currently, my application already displays in real-time the device's changing location on a map. I can also easily display the location of one of the other

[android-developers] Re: Multiple points on a map

2009-07-03 Thread alexdonnini
Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple overlays? Alex Donnini On Jul 3, 10:24 am, MrChaz mrchazmob...@googlemail.com wrote: You can have multiple overlays at the same time. In my application I have one for traffic incidents and one

[android-developers] Re: Multiple points on a map

2009-07-03 Thread alexdonnini
Hello, I have another quick question. Does your application still work with Android 1.5 (SDK and OS version)? Thanks. Alex Donnini On Jul 3, 4:38 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, Thanks. It's as I hoped. Can you sketch for me the approach you used to implement multiple

[android-developers] local socket instantiation problem

2009-06-28 Thread alexdonnini
Hello, The code snippet reported at the end of this message causes an IOException connection refused failure Could anyone explain to me why this failure occurs, and how I could instantiate a localsocket connection? By the way, replacing l = new LocalSocketAddress(SOCKET_NAME); with l = new

[android-developers] Re: Android 1.5 SDK, Release 2 -- TelephonyManager

2009-06-21 Thread alexdonnini
into it. On Jun 16, 5:55 pm, alexdonnini alexdonn...@ieee.org wrote: Liam, --~--~-~--~~~---~--~~ 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

[android-developers] Android 1.5 SDK, Release 2 -- TelephonyManager

2009-06-16 Thread alexdonnini
Hello, I have a simple/quick question. Does TelephonyManager in Android 1.5 SDK, Release 2 (the SDK version I am using) contain the getNeighboringCellInfo() method? The reference documentation,

[android-developers] Re: Android 1.5 SDK, Release 2 -- TelephonyManager

2009-06-16 Thread alexdonnini
list with power? Like the Field test App? Cheers Liam On Jun 16, 3:35 pm, alexdonnini alexdonn...@ieee.org wrote: Hello, I have a simple/quick question. Does TelephonyManager in Android 1.5 SDK, Release 2 (the SDK version I am using) contain the getNeighboringCellInfo() method

[android-developers] Re: Telephony Manager functions don't work

2009-05-29 Thread alexdonnini
an example of code where you were successful in using getNeighboringCellInfo()? It would help all of us who have not been able to get getNeighboringCellInfo() to work, correct our mistakes. Thanks. On May 29, 4:24 pm, Mark Murphy mmur...@commonsware.com wrote: alexdonnini wrote: I have low

[android-developers] Re: Telephony Manager functions don't work

2009-05-29 Thread alexdonnini
Sorry Mark, I thought you had tried it. I will file a bug report. Thanks. Alex Donnini On May 29, 5:01 pm, Mark Murphy mmur...@commonsware.com wrote: alexdonnini wrote: My application does have uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION / uses-permission

[android-developers] Re: Telephony Manager functions don't work

2009-05-29 Thread alexdonnini
to ignore my questions, and not consider that insulting (being ignored), while simply saying that they are ignoring my questions is insulting? I am truly puzzled by this. Alex Donnini On May 29, 5:21 pm, alexdonnini alexdonn...@ieee.org wrote: Sorry Mark, I thought you had tried it. I will file

[android-developers] Accessing rild socket

2009-05-15 Thread alexdonnini
Hello, Below, you will find the source code for a simple application testing access to the rild socket in dev/socket. Before running the application, I manually changed permissions on rild in dev/socket to allow r/w/x for all users. The application below is based in large part on code I found

[android-developers] read from local socket does not work

2009-05-13 Thread alexdonnini
Hello, I was wondering if anyone would explain to me why the code snippet below does not work: s.getOutputStream().write(length); s.getOutputStream().write(data); Log.i(TAG, data from socket -

[android-developers] Maps API

2009-04-18 Thread alexdonnini
Hello, Access to the maps API at http://www.google.com/glm/mmap was disabled some time ago. Would someone be able to tell if it was replaced, and what the current access path is? Alternatively, I would appreciate it if someone could give me some information regarding getting access

[android-developers] Re: About RadioInfo.java

2009-04-15 Thread alexdonnini
Hello Vincent, I do not believe RadioInfo.java is a standard application. I don't think it was ever officially released, but I could be mistaken. I have installed it and gotten it to work (partially) but, at least in my set-up, it required a number of changes related to access to Phone.java and

[android-developers] Re: CONTROL_LOCATION_UPDATES permission failure

2009-04-10 Thread alexdonnini
? SignalStrength.setSignalStrength(signalPercent); SignalStrength.setSignalStrengthASU(signalStrength); Thanks. Alex Donnini On Apr 9, 10:18 pm, alexdonnini alexdonn...@ieee.org wrote: Hello Richard, Thanks very much. This is very helpful. I am using the same SDK version but in this case I was not using the SDK

[android-developers] CONTROL_LOCATION_UPDATES permission failure

2009-04-09 Thread alexdonnini
Hello, Although the manifest file in my application contains uses-permission android:name=android.permission.CONTROL_LOCATION_UPDATES / the operation, mTelephonyManager.enableLocationUpdates(); fails with 04-09 14:01:01.754: WARN/System.err(5495): java.lang.SecurityException: Neither user

[android-developers] Re: CONTROL_LOCATION_UPDATES permission failure

2009-04-09 Thread alexdonnini
Hello Richard, Thanks very much. This is very helpful. I am using the same SDK version but in this case I was not using the SDK. I had been experimenting with LocationListener too. I had been using onLocationChanged. Again, Thanks. Alex Donnini On Apr 9, 7:32 pm, Richard Schilling

[android-developers] Network utilities

2009-02-05 Thread alexdonnini
Hello, Does anyone know if the utilities in system/core/libnetuitls can be used in an application? At this point in time, I am particularly interested in ifc_utils I would appreciate any insight into this. Thanks. Alex Donnini --~--~-~--~~~---~--~~ You

[android-developers] Change connection programmatically

2009-01-26 Thread alexdonnini
Hello, I have been looking for a way to programmatically change the active connection on a G1. for example, I would like to be able to switch from g3 to wifi by first disconnecting the g3 connection. When it comes to WIFI, enabling/disabling WIFI, and connecting/re- connecting to a WIFI access

[android-developers] ConnectivityService

2009-01-26 Thread alexdonnini
Hello, Does anyone know if there is any way to access/use ConnectivityService from an application? ConnectivityService includes a number of methods related to handling a change in network connection across different types of network (e.g. from mobile to WIFI) which I would like to use in my

[android-developers] Re: How to use command Line Arguments in Android??

2009-01-06 Thread alexdonnini
Hello, Depending on what you want to run from the command line, you might want to think about trying Runtime.getRuntime().exec() e.g. Runtime.getRuntime().exec(top -t -n 1) Alex Donnini On Jan 6, 8:01 am, Mark Murphy mmur...@commonsware.com wrote: Asif k wrote:   Can you lpease tell me

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-12-07 Thread alexdonnini
Hello, Without source code to take a look at, it's difficult to guess what's causing the problem. Sorry. Alex Donnini On Nov 29, 6:45 am, for android [EMAIL PROTECTED] wrote: I have a strange problem. I am using an efficient list adapter with a list which has row with a text view and a

[android-developers] creating and writing files

2008-12-03 Thread alexdonnini
Hello, Using a call such as new FileWriter(/data/+fileName) causes an IO exception. Based on documentation for the FileWriter constructor used above, the IO exception may be caused by the inability to create a file. If I push in the data directory a file named fileName (i.e. the value of the

[android-developers] Re: creating and writing files

2008-12-03 Thread alexdonnini
states: Returns the absolute path to the directory on the filesystem where files created with openFileOutput(String, int) are stored. Alex Donnini On Dec 3, 2:55 pm, Mark Murphy [EMAIL PROTECTED] wrote: alexdonnini wrote: Hello, Using a call such as new FileWriter(/data/+fileName

[android-developers] Re: Setting up intents for dynamic buttons

2008-11-25 Thread alexdonnini
Hello Julian, I think that you need to attach the button by name to the view. Please refer to this thread for information which might be relevant. http://groups.google.com/group/android-developers/browse_thread/thread/297073fb1c8579cc/df6767b1f70f86d6?lnk=gstq=alexdonnini#df6767b1f70f86d6

[android-developers] Re: Base Adapter View and OnClick Lister

2008-11-21 Thread alexdonnini
Hello, You need to post all of the code in question. Alex Donnini On Nov 21, 2:24 am, for android [EMAIL PROTECTED] wrote: I have extended a BaseAdapter for a listView. The List View is on the lines of ListAdapter Collapsed ,but instead of the dialogue box i have a seek bar(which gets

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-19 Thread alexdonnini
Hello, I think I may have solved the problem. As I suspected (if I am right), the solution was pretty simple. All I had to do is change: kill2 = (Button) findViewById(R.id.kill2); to kill2 = (Button) convertView.findViewById(R.id.kill2); Alex Donnini On Nov 17, 10:25 pm, Mark Murphy [EMAIL

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-17 Thread alexdonnini
Hello Mark, I have been trying to implement the same functionality as Moazzam. Specifically, I want each row in my list to have a delete (in my case a process kill) button. I read carefully your very good tutorials on lists, and tried to follow the approach you describe in tutorial #5 (see the

[android-developers] Re: Listening for dynamic buttons created by an adapter

2008-11-17 Thread alexdonnini
think it would be sufficient to set up a loop ranging across all members of the dataset (in my case an ArrayList) in getView? Thanks. Alex Donnini On Nov 17, 5:25 pm, Mark Murphy [EMAIL PROTECTED] wrote: alexdonnini wrote: Hello Mark, If you're referring to me, hi! I read carefully your

[android-developers] Network traffic monitoring

2008-11-09 Thread alexdonnini
Hello, Where are network traffic logs, and other networking related information stored on an Adriod based device? Which directories, and files should I look for? I am writing a small application to allow tracking and retrieval of system information including processes, threads, and networking

[android-developers] command line window in emulator

2008-10-28 Thread alexdonnini
Hello, Is there any way to open a command line window in the Android emulator? I am trying to verify the results of certain commands I want to run from my application by running them directly. In particular, I am trying to verify the results of ps and other related commands. Thanks. Alex

[android-developers] Re: command line window in emulator

2008-10-28 Thread alexdonnini
On Tue, Oct 28, 2008 at 5:25 PM, alexdonnini [EMAIL PROTECTED] wrote: Hello, Is there any way to open a command line window in the Android emulator? I am trying to verify the results of certain commands I want to run from my application by running them directly. In particular, I am

[android-developers] Re: process ids

2008-10-27 Thread alexdonnini
etc. Searching for proc filesystem should give you much more information, but as hackbod pointed out you do not have any guarantees that the layout will stay exactly the same over versions/devices etc.Command like ps actually read from /proc for their output. Ludwig 2008/10/26 alexdonnini

[android-developers] Re: process ids

2008-10-26 Thread alexdonnini
no guarantees of it working on future releases or other phones. On Oct 23, 8:25 pm,alexdonnini[EMAIL PROTECTED] wrote: Hello, Would anyone be able to tell me (or point me in the right direction) how I could retrieve the pids and related process information as reported, for example, in DDMS

[android-developers] Re: process ids

2008-10-26 Thread alexdonnini
); } input.close(); } catch (Exception err) { err.printStackTrace(); } On Oct 26, 2:43 pm, alexdonnini [EMAIL PROTECTED] wrote: Thanks. I understand the risk in going for direct access. On Oct 24, 1:09 am, hackbod [EMAIL PROTECTED] wrote: Sorry, we don't

[android-developers] process ids

2008-10-23 Thread alexdonnini
Hello, Would anyone be able to tell me (or point me in the right direction) how I could retrieve the pids and related process information as reported, for example, in DDMS in an Android application? I have been able to put together a small application that retrieves information about all tasks