[android-developers] Incoming HTTP requests

2012-05-22 Thread kypriakos
Hi all, for the sole purpose of performance analysis I want to allow HTTP incoming requests to be enabled on an Android device - I am running a custom made HTTP server on it. Currently the client phone resides in the same LAN as the server and it can ping it. The server opens a port 5000 and

[android-developers] Remote control of apps

2011-11-15 Thread kypriakos
Hi all, I remember that you can launch apps remotely on a phone using: adb shell am start -n ... I never looked for one that would terminate the app remotely. Is there one? May be I can write scripts that can grep the ps on the device and send a remote kill but (i) that is not possible on

[android-developers] Camera access

2011-11-15 Thread kypriakos
Hi all, I have been running an activity that access the phone's camera (on Froyo), puts it in preview mode and then snaps and stores a picture. This has been working fine on one phone but on a second phone with the same OS and specs I get the following: I/#LGIME ( 1481): onStartInput:

[android-developers] Re: Camera access

2011-11-15 Thread kypriakos
terminated or you reboot the phone. On Tue, Nov 15, 2011 at 5:17 PM, kypriakos demet...@ece.neu.edu wrote: Hi all, I have been running an activity that access the phone's camera (on Froyo), puts it in preview mode and then snaps and stores a picture. This has been working fine

[android-developers] Re: Camera access

2011-11-15 Thread kypriakos
the camera service be different across Froyo-based mobiles? I wouldn't thjnk so ... On Nov 15, 6:05 pm, kypriakos demet...@ece.neu.edu wrote: Right on Mark, One of the reasons I found out was a lingering process that was locked it. I killed that process and the camera service responds fine now

[android-developers] Re: Camera access

2011-11-15 Thread kypriakos
the picture was stored and it works fine now. Thanks On Nov 16, 12:41 am, kypriakos demet...@ece.neu.edu wrote: Well this is what I found out - first time the activity is launched the camera goes into preview mode, snaps a pic, stores the pic and then tries to get into preview mode again. I

[android-developers] Re: Camera autofocus

2011-10-30 Thread kypriakos
I am wondering if I upgrading to 2.3 may help the cause but it makes no sense for a method out of a standard package to be missing. The permission for the camera hardware is set in the manifest. Any ideas will be greatly appreciated. Thanks On Oct 29, 9:52 pm, kypriakos demet...@ece.neu.edu

[android-developers] Camera autofocus

2011-10-29 Thread kypriakos
Hi all, I am getting the famous Failure [INSTALL_FAILED_MISSING_FEATURE] on an Optimus LG 350P running Froyo (2.2.1). Checking the logging I see the following: E/PackageManager( 1376): Package org.mortbay.ijetty requires unavailable feature android.hardware.camera.autofocus; failing! What ???

[android-developers] Re: Camera autofocus

2011-10-29 Thread kypriakos
And I do think Froyo still has the autofocus avaliable in its API ... hmm On Oct 29, 9:44 pm, kypriakos demet...@ece.neu.edu wrote: Hi all, I am getting the famous Failure [INSTALL_FAILED_MISSING_FEATURE] on an Optimus LG 350P running Froyo (2.2.1). Checking the logging I see the following

[android-developers] Re: Google Development phones

2011-09-21 Thread kypriakos
Hi all, the Market lists only one phone, the Nexus One and it says it is not longer available. Does that mean that Google is out of stock or does it mean that they are simply switching to a new phone and so this was off their pages? Thanks On Aug 18, 1:26 pm, Mark Ayers markthe...@gmail.com

[android-developers] Re: Google Development phones

2011-09-21 Thread kypriakos
Good point - and I think the Nexus S is a bit overpriced. I had G1 phones for a while (both the development and the retail versions) running 1.6 but I have not been able to upgrade the retail ones to 2.1 or 2.2. I am assuming the only images I can find are the Cyanmodegen ones? A Verizon

[android-developers] Older stuff

2011-09-19 Thread kypriakos
Hi all, does anyone know if there are any OTA updates archives for updating any older phones (HTC G1 and the like) from Android 1.1 to 1.5 or 1.6. The attempt is to eventually upgrade these phones to 2.2 but I think I will need to go through the older updates first before I get there? Plus I am

[android-developers] Databases

2011-09-19 Thread kypriakos
Hi all, I create a database in the assets of a project and install and start the app. When does Android copy the database in the /data/data/app name/databases directory? I don't see it listed there until I open an sqlite3 DB handler to it in the code. Is this right? Thanks -- You received

[android-developers] Re: Databases

2011-09-19 Thread kypriakos
On Sep 19, 5:30 pm, kypriakos demet...@ece.neu.edu wrote: Hi all, I create a database in the assets of a project and install and start the app. When does Android copy the database in the /data/data/app name/databases directory? I don't see it listed there until I open an sqlite3 DB handler

[android-developers] Re: Older stuff

2011-09-19 Thread kypriakos
Thanks Chris. I looked around including URLs at Google (http:// android.clients.google.com/packages/) but these images are nowhere to be found (Cupcake or Donut). Not sure if I can build them myself eventually off the source code. I did look around XDA Devs but didn't see the link below so I

[android-developers] Re: Upgrading from 1.6 to 2.2+

2011-09-09 Thread kypriakos
to storage been disabled after 2.2 using file:// or is that a misleading information I read in a posting? On Sep 8, 4:50 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Sep 8, 2011 at 4:40 PM, kypriakos demet...@ece.neu.edu wrote: Would such phones run apps written with API 4 without

[android-developers] Re: Upgrading from 1.6 to 2.2+

2011-09-09 Thread kypriakos
Excellent - ok thanks Mark I appreciate the responses. On Sep 9, 10:21 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Sep 9, 2011 at 9:42 AM, kypriakos demet...@ece.neu.edu wrote: Ok thanks Mark. The only strange things they did (since they were written a while back from not so

[android-developers] Upgrading from 1.6 to 2.2+

2011-09-08 Thread kypriakos
Hi all, we are in the process of moving a number of apps and their convoluted logic from older OSes (1.6) to 2.2. Are versions 2.2+ backwards compatible for the most part with older versions? What are the most profound changes that need to be done? Most of these apps make use of data on the SD

[android-developers] Re: Upgrading from 1.6 to 2.2+

2011-09-08 Thread kypriakos
of the new APIs introduced in that version. Your question isn't specific enough to be able to answer much more than that. On Thu, Sep 8, 2011 at 8:53 AM, kypriakos demet...@ece.neu.edu wrote: Hi all, we are in the process of moving a number of apps and their convoluted logic from

[android-developers] Re: Upgrading from 1.6 to 2.2+

2011-09-08 Thread kypriakos
on the Market. On Sep 8, 4:40 pm, kypriakos demet...@ece.neu.edu wrote: Hi guys, apologies for the vagueness. We wrote apps using API 4 to run on HTC G1 development phones that can run at the max Android 1.6. We wanted to port a number of them to Android 2.2+ without (which was the first mistake

[android-developers] Android Dev Phone

2011-09-07 Thread kypriakos
Hi all, is the only dev phone in Android Market the Nexus One which by the way is listed as no longer available? How is everyone else developing apps if no dev phones are available? I was under the impression that the retail phones do not come rooted and thus the su command is not available. Is

[android-developers] Git and source code

2011-09-07 Thread kypriakos
Hi all, I am getting connect failures on repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo I was able to download the source in the past but not the past couple of days. Anything missing? Thanks -- You received this message because you are subscribed to the Google

[android-developers] Re: Git and source code

2011-09-07 Thread kypriakos
Aha - thanks! I found outdated posts but not this one. On Sep 7, 3:44 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Sep 7, 2011 at 3:01 PM, kypriakos demet...@ece.neu.edu wrote: I am getting connect failures on repo init -u git://android.git.kernel.org/platform/manifest.git -b

[android-developers] Activity comms

2011-08-28 Thread kypriakos
Hi all, I start Activity B from Activity A using: Intent intent = new Intent(); intent.setClass(androidContext, org.myActB..class); intent.setFlags(intent.FLAG_ACTIVITY_SINGLE_TASK); intent.putExtra(from act A, Hello);

[android-developers] Re: Terminating apps

2011-08-28 Thread kypriakos
that a particular activity has been requested to terminate. On Aug 27, 10:41 pm, kypriakos demet...@ece.neu.edu wrote: I am wondering if it is possible to exit the activity but subsequently ask Android to terminate it immediately ... If by it, you mean the process, please do not do

[android-developers] SSH to device

2011-08-27 Thread kypriakos
Hi all, I have the SSHDroid running on the device and I can ping it. But ssh- ing to it asks for a root passwd and I am assuming that means the phone needs to be rooted, or a root login added to it? Not sure. Since the ssh server is running on a particular port and I get a login prompt back I am

[android-developers] Re: SSH to device

2011-08-27 Thread kypriakos
wrote: Support for SSHDroid is presumably provided by the SSHDroid authors, not this list. On Sat, Aug 27, 2011 at 10:41 AM, kypriakos demet...@ece.neu.edu wrote: Hi all, I have the SSHDroid running on the device and I can ping it. But ssh- ing to it asks for a root passwd and I

[android-developers] Re: SSH to device

2011-08-27 Thread kypriakos
Really? Well that's what I need - thanks Mark I will follow up! On Aug 27, 11:21 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Aug 27, 2011 at 11:03 AM, kypriakos demet...@ece.neu.edu wrote: What does the adb connect do exactly? Not much info on the adb page about it. Sorry, I've

[android-developers] Terminating apps

2011-08-27 Thread kypriakos
Hi again, I issue a finish() on a single process app, it exits to the home screen of the phone but a ps shows that the process is still running. Is this the proper way to terminate an app? I thought so. Thanks -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Terminating apps

2011-08-27 Thread kypriakos
it immediately ... On a different note - how far back do your books go? Did you cover 1.6 and 2.1? On Aug 27, 12:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, Aug 27, 2011 at 11:56 AM, kypriakos demet...@ece.neu.edu wrote: I issue a finish() on a single process app, it exits to the home

[android-developers] Re: SSH to device

2011-08-27 Thread kypriakos
Rebooting the phone removed the property. Thanks On Aug 27, 1:15 pm, Chris Stratton cs07...@gmail.com wrote: On Saturday, August 27, 2011 11:03:26 AM UTC-4, kypriakos wrote: What does the adb connect do exactly? Not much info on the adb page about it. You would use it to connect

[android-developers] Re: Terminating apps

2011-08-27 Thread kypriakos
I am wondering if it is possible to exit the activity but subsequently ask Android to terminate it immediately ... If by it, you mean the process, please do not do this. Please let Android terminate it when it is ready to. Whatever problem you are trying to solve can be solved better

[android-developers] Re: GPS vs Network

2011-08-26 Thread kypriakos
I agree - thanks. I ended up testing that last night and you are right. SO I check first for the most accurate info (if gps is enable) and if not there I get the next available which is the network. On Aug 25, 11:28 pm, lbendlin l...@bendlin.us wrote: yes, if you register your location listener

[android-developers] 1.6 to later versions

2011-08-26 Thread kypriakos
Hi all, we have some legacy apps running on 1.6 phones. Would 2.1 be the next (and only probably) compatible version that such apps can run on without issues? I think 2.2+ is when the apps may need to be modified. Is that a correct assessment? Thanks -- You received this message because you

[android-developers] Remote execution

2011-08-25 Thread kypriakos
Hi all, I am able to access one of the development phones I have over the network and start activities using: $ ./adb.exe shell am start -n package name/activity name However I noticed that in such cases the activity does not connect to a remote host (via sockets). If I start the activity

[android-developers] GPS vs Network

2011-08-25 Thread kypriakos
Hi all, is there anywhere where I can find more information as to how these work? In other words, when I have them both turned on I do get coords from both of them (programmatically) even though the Network seems to be a bit off, which is expectable. What's not clear is, if I enable the GPS in

[android-developers] Communicating between servlet and activity

2011-08-24 Thread kypriakos
Hi all, I am running a servlet on iJetty that uses startActivity(intent) to start an activity. I can send data to the activity through Bundles but not sure how to send data back from the activity. I cannot use the startActivityForResult since the servet extends the HttpServlet. It has however

[android-developers] Location providers on Android

2011-08-24 Thread kypriakos
Hi all, I have two phones on which I am running location-based apps. Both work fine with GPS provider enabled but when I enable Network (and while both of them are connected to the local Wi Fi) only one returns its location, the other returns null. The two apps running on the phones are the same

[android-developers] SQLite exceptions?

2011-08-24 Thread kypriakos
Hi all, I am getting this exception but I am not sure what it's all about - I am not really using a DB in my app and this started happening a couple of days ago. Any hints would certainly help me chase it. Thanks: I/dalvikvm( 878): Uncaught exception thrown by finalizer (will be discarded):

[android-developers] Re: Google Development phones

2011-08-17 Thread kypriakos
Micinski krismicin...@gmail.com wrote: On Tue, Aug 16, 2011 at 11:25 PM, kypriakos demet...@ece.neu.edu wrote: Good pt Chris - for now the Use Cases we are after only require good camera resolution and wi-fi connectivity (which is mostly standard on all of these phones). I am assuming

[android-developers] Re: Google Development phones

2011-08-16 Thread kypriakos
, as it will open up a whole bunch more new APIs than the Nexus S will sooner, but it might take a touch longer to get an Ice Cream Sandwich update. On Aug 15, 2011 7:28 PM, kypriakos demet...@ece.neu.edu wrote: Hi all, one of the Android pages points to the Market for buying development phones

[android-developers] Re: Google Development phones

2011-08-16 Thread kypriakos
will be far better development devices than the Nexus S. If you can't wait till then, get an ASUS Transformer, as it will open up a whole bunch more new APIs than the Nexus S will sooner, but it might take a touch longer to get an Ice Cream Sandwich update. On Aug 15, 2011 7:28 PM, kypriakos

[android-developers] Re: Google Development phones

2011-08-16 Thread kypriakos
Good pt Chris - for now the Use Cases we are after only require good camera resolution and wi-fi connectivity (which is mostly standard on all of these phones). I am assuming is easy to root most of these phones? Swappa.com seems to have some good deals so I will follow up with that one as well

[android-developers] Google Development phones

2011-08-15 Thread kypriakos
Hi all, one of the Android pages points to the Market for buying development phones (as long as I pay the $25 fee). Has anyone bought such phones from there? I have two HTC Dream G1 Dev phones (old - running 1.6 on them) and it would be good if I can find a couple of more of the same or (of

[android-developers] Image orientation

2011-08-14 Thread kypriakos
Hi all, I am using an older version of Android (1.6) for some old phones we are testing with. i was able to set the preview orientation as portrait but the images still appear as landscape when I save them on sdcard and extract them to a laptop for viewing. If I reverse the params for the

[android-developers] Re: Intents

2011-08-10 Thread kypriakos
You have legitimate points Dianne .. thanks for the detailed feedback. I am running a web server on the phone (iJetty) and the servlet that handles incoming requests starts an activity that puts the phone into a camera preview. This works fine. I wanted subsequent service calls to reach the same

[android-developers] Re: Intents

2011-08-10 Thread kypriakos
such logic to avoid user issues going up and down an undeterministic stack. Thanks to all for the invaluable feedback - I appreciate it! On Aug 10, 2:32 am, Dianne Hackborn hack...@android.com wrote: On Tue, Aug 9, 2011 at 7:56 AM, kypriakos demet...@ece.neu.edu wrote: I am running a servlet

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
do you mean I need to remember the Intent? Thanks for the response On Aug 9, 2:17 am, Dianne Hackborn hack...@android.com wrote: No.  That is telling you about the new Intent.  If you want to remember it, you will need to remember it yourself. On Mon, Aug 8, 2011 at 8:43 PM, kypriakos

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
Blech. he he ;) Use the Intent supplied to onNewIntent(). The Intent returned by getIntent() will always be the original Intent used to create the activity. But I am - and that's where the null exception occurs. Not sure if the setIntent or the super are needed. I will poke around a bit

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
capture the data there or copy the Intent to a local variable and reference it. Once onNewIntent() finishes, the Intent goes away and your reference is null. Try that... -Jim On Aug 9, 10:46 am, kypriakos demet...@ece.neu.edu wrote: Blech. he he ;) Use the Intent supplied

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
() finishes, the Intent goes away and your reference is null. Try that... -Jim On Aug 9, 10:46 am, kypriakos demet...@ece.neu.edu wrote: Blech. he he ;) Use the Intent supplied to onNewIntent(). The Intent returned by getIntent() will always be the original Intent used to create

[android-developers] Re: Intents

2011-08-09 Thread kypriakos
() to alter the data? And, this might sound silly, but are you sure a String was stored where getString is called? (For example, if you putExtra a bundle, then getExtra returns a Bundle, not a string...) Hope that helps. -Jim On Aug 9, 1:16 pm, kypriakos demet...@ece.neu.edu wrote

[android-developers] Re: Intents

2011-08-08 Thread kypriakos
Hi Mark, right on! An oversight on my part. Thanks On Aug 7, 6:38 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Aug 7, 2011 at 4:25 AM, kypriakos demet...@ece.neu.edu wrote: I start an new intent on an activity: Intent intent = new Intent(); intent.seClass

[android-developers] Re: Intents

2011-08-08 Thread kypriakos
One additional question - I see that both OnNewIntent and onNewIntent compile fine. Is there a difference between the two? On Aug 7, 6:38 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Aug 7, 2011 at 4:25 AM, kypriakos demet...@ece.neu.edu wrote: I start an new intent on an activity

[android-developers] Re: Intents

2011-08-08 Thread kypriakos
Never mind - most likely missing the Override allows for anything ;) On Aug 7, 6:38 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Aug 7, 2011 at 4:25 AM, kypriakos demet...@ece.neu.edu wrote: I start an new intent on an activity: Intent intent = new Intent(); intent.seClass

[android-developers] Re: Intents

2011-08-08 Thread kypriakos
...@commonsware.com wrote: On Mon, Aug 8, 2011 at 2:27 PM, kypriakos demet...@ece.neu.edu wrote: Never mind - most likely missing the Override allows for anything ;) Bingo. @Override has no effect at runtime, but it's a compile-time sanity check. Rather useful, particularly for classes with lots

[android-developers] Re: Comms with Intent

2011-08-07 Thread kypriakos
And in fact the onNewIntent (which still compiles if it is OnNewIntent!) is never called .. so something is not being set right. On Aug 7, 1:39 am, kypriakos demet...@ece.neu.edu wrote: Actually never mind that - I should have been using addFlags the second time and not setFlags on both flags

[android-developers] Intents

2011-08-07 Thread kypriakos
Hi all, I start an new intent on an activity: Intent intent = new Intent(); intent.seClass (..); intent.setFlags(...NEW_TASK); intent.addFlags(...SINGLE_TOP); startActivity(intent). In the target Activity I have the onNewIntent() that simply has code for doing some processing. I see the

[android-developers] Re: Comms with Intent

2011-08-06 Thread kypriakos
, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, Aug 2, 2011 at 11:29 PM, kypriakos demet...@ece.neu.edu wrote: Actually one more question - since I want the Activity to keep alive with the camera preview on, would the subsequent Intent launching (and calls to OnNewIntent) allow me

[android-developers] Re: Comms with Intent

2011-08-06 Thread kypriakos
the phone points. Interesting ... And I don't see the OnNewIntent get called each subsequent time ... On Aug 7, 12:33 am, kypriakos demet...@ece.neu.edu wrote: Well - the issue I am running into now is this: Calling startActivity() from outside of an Activity  context requires

[android-developers] Re: Comms with Intent

2011-08-02 Thread kypriakos
, kypriakos demet...@ece.neu.edu wrote: You could launch the activity using the FLAG_ACTIVITY_SINGLE_TOP flag. Then when you call startActivity() again, a new instance won't be created, the intent will be delivered to onNewIntent(). So if I still have a handle to the intent when I relaunch

[android-developers] Re: Comms with Intent

2011-08-02 Thread kypriakos
, 9:56 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, Aug 2, 2011 at 4:18 AM, kypriakos demet...@ece.neu.edu wrote: You could launch the activity using the FLAG_ACTIVITY_SINGLE_TOP flag. Then when you call startActivity() again, a new instance won't be created, the intent

[android-developers] Re: Comms with Intent

2011-08-02 Thread kypriakos
Sure will man thanks. But that was the idea so you were right on! On Aug 2, 10:35 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, Aug 2, 2011 at 11:29 PM, kypriakos demet...@ece.neu.edu wrote: Actually one more question - since I want the Activity to keep alive with the camera

[android-developers] Re: Comms with Intent

2011-08-01 Thread kypriakos
Thanks for the response Nikolay --- Assuming the servlet runs in a separate thread, no. Not directly at least. That's what I was afraid of ... You could launch the activity using the FLAG_ACTIVITY_SINGLE_TOP flag. Then when you call startActivity() again, a new instance won't be created,

[android-developers] Re: Comms with Intent

2011-08-01 Thread kypriakos
You could launch the activity using the FLAG_ACTIVITY_SINGLE_TOP flag. Then when you call startActivity() again, a new instance won't be created, the intent will be delivered to onNewIntent(). So if I still have a handle to the intent when I relaunch it as you describe above, would I still be

[android-developers] Comms with Intent

2011-07-31 Thread kypriakos
Hi all, I launch an Intent from a servlet once a request for it comes in. The Intent launches a SnapPic activity that puts the phone into a preview mode and then snaps a pic and send it back to the requester. This works fine - I am now truing to keep the phone in the preview mode (I don't call

[android-developers] Android Google Maps API

2011-07-20 Thread kypriakos
Hi all, I am accessing the Google Maps API from the device. The app is managed using maven and during development I added the necessary dependencies to include the Maps library: dependency groupIdcom.google.android.maps/groupId artifactIdmaps/artifactId version4_r2/version scopeprovided/scope

[android-developers] Emulator connectivity

2011-07-18 Thread kypriakos
Hi all, I have been working with real devices for a while and returning back to emulators now. I am able to port forward the iJetty web server (which is running on 10.0.2.15:8080) and I can now access it from the browser running on the local machine using localhost:8080. But to be able to see

[android-developers] Re: Android and Google Maps

2011-07-18 Thread kypriakos
blank? Thanks again On Jul 16, 10:50 am, kypriakos demet...@ece.neu.edu wrote: Good link - thanks. Have you tried building such Android projects using maven? On Jul 16, 2:19 am, nageswara rao rajana nagu.raj...@gmail.com wrote: try this link  http://marakana.com/forums/android

[android-developers] Start Intent

2011-07-17 Thread kypriakos
HI all, from an activity class A I start another activity process (class B belongin to the same package) using the following: Intent intent = new Intent(); intent.setClass(myContext, org.myClass.ServiceImpl.class); intent.setFlags(intent.FLAG_ACTIVITY_NEW_TASK);

[android-developers] Android and Google Maps

2011-07-16 Thread kypriakos
HI all, I am adding the Google Maps library through the AndroidManifest.xml in my app using: uses-library android:name=com.google.android.maps”/ But it does not seem to pick it up ... Is there anything else that needs to be done other than this? Is there a particular path that needs to

[android-developers] Re: Android and Google Maps

2011-07-16 Thread kypriakos
Good link - thanks. Have you tried building such Android projects using maven? On Jul 16, 2:19 am, nageswara rao rajana nagu.raj...@gmail.com wrote: try this link  http://marakana.com/forums/android/examples/311.html -- You received this message because you are subscribed to the Google

[android-developers] Dialog boxes

2011-07-13 Thread kypriakos
Hi all, are asynchronous alert boxes the only dialog model that Android allows? For example, if I want to notify the user of an operation that a background process is about to perform and ask his/hers permission while blocking that process, would that be possible? Thanks -- You received this

[android-developers] Re: Android and OSGi/Apache Felix

2011-07-08 Thread kypriakos
I think Knopflerfish is close to releasing a version of their OSGi spec implentation for Android ... Regarding the rest, security, android lifecycle and the rest of worries I am reading here I didn't get enough time to look into it but I do see many benefits of OSGi on mobile platforms - ex.

[android-developers] Re: Intent / PendingIntent

2011-07-01 Thread kypriakos
wrote: Um, startActivityForResult? -- Kostya Vasilyev 30.06.2011 21:47 пользователь kypriakos demet...@ece.neu.edu написал: Hi all, I have a process that creates and starts an Intent with the startActivity. I want the process to wait for continuous results returned from

[android-developers] Intent / PendingIntent

2011-06-30 Thread kypriakos
Hi all, I have a process that creates and starts an Intent with the startActivity. I want the process to wait for continuous results returned from the activity while the activity is executing and a final result once it is finished. Would the PendingActivity API help me with this or is there

[android-developers] Stream live camera preview

2011-06-13 Thread kypriakos
Hi all, I have been trying to stream the camera preview across phones. I am using the setPreviewCallback to get notified for each frame and then tried to stream it across to other peers. I am not sure this can be done over HTTP so I am looking into SIP. I found out the SIP only works in Android

[android-developers] Camera preview, video streaming across phones

2011-06-08 Thread kypriakos
Hi all, Not sure if i am asking something that could be impossible to accomplish (that's why I am asking it anyway ;) ) - Currently I can remotely put the Android phone into a Picture preview, instruct it to snap a Picture and then view the picture on the remote site (through a browser). Is it

[android-developers] Re: Multiple databases

2011-05-26 Thread kypriakos
with etc. Still none of them work in this case. The code compiles fine but packaging it does not work .. any ideas? Thanks On May 25, 11:31 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 26, 2011 at 6:54 AM, kypriakos demet...@ece.neu.edu wrote: An easy question - you can

[android-developers] Eclipse stopped creating APKs

2011-05-26 Thread kypriakos
Hi all, this is a separate issue from the question I posted regarding multiple databases in the same Android app so I am posting it in a different thread. I was able to create, compile and deploy android projects from version 1.6 to now without many issues in Eclipse Galileo. All the sudden this

[android-developers] Multiple databases

2011-05-25 Thread kypriakos
An easy question - you can create and include multiple databases in the assets directory of an Android app? I had one database in there and it worked fine. I created a new one and Eclipse ADT won't create an apk file at the end of Clean/Build Project. Thanks -- You received this message

[android-developers] Re: Save to SD

2011-05-23 Thread kypriakos
the Commons IO library. So you are doing something wrong if it takes more than a couple of seconds for a 1MB file. On May 23, 11:27 am, kypriakos demet...@ece.neu.edu wrote: First, good to hear from you Mark - I hope all is well! Well I expected the two (instead of three) letter response - I ended

[android-developers] Re: Save to SD

2011-05-23 Thread kypriakos
...@gmail.com wrote: You are writing one byte at a time. outS.write(data[i]); This is going to be incredibly slow Try this: outS.write(data, 0, data.length) or just this: outS.write(data); -- Kostya 23.05.2011 20:01, kypriakos пишет:                    Log.i(p2pSOA,write start

[android-developers] Re: Save to SD

2011-05-23 Thread kypriakos
of seconds for a 1MB file. On May 23, 11:27 am, kypriakos demet...@ece.neu.edu wrote: First, good to hear from you Mark - I hope all is well! Well I expected the two (instead of three) letter response - I ended up playing around with the code (which is nothing other than using

[android-developers] Re: Save to SD

2011-05-22 Thread kypriakos
test would be help determine if something is going on there? Thanks again On May 21, 1:58 pm, Mark Murphy mmur...@commonsware.com wrote: On Sat, May 21, 2011 at 1:55 PM, kypriakos demet...@ece.neu.edu wrote: I am saving jpeg image on sdcard through an activity - about 1 MB takes literally

[android-developers] Save to SD

2011-05-21 Thread kypriakos
I am saving jpeg image on sdcard through an activity - about 1 MB takes literally close to an hour ... is that normal? Thanks -- 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] Re: startActivityForResult

2011-05-20 Thread kypriakos
Ah sleep is good ... Ok revisiting this I can see the wrong path I went down to ... I built a servlet for the ijetty web server that launches an Activity once a particular remote request comes in. The ijetty code provides the AndroidContext in all servlets through: Object o =

[android-developers] Re: startActivityForResult

2011-05-20 Thread kypriakos
He he - I hear ya, since I am in the context of a web server as well I need to be careful with my naming Thanks Kostya ;) On May 20, 12:49 pm, Kostya Vasilyev kmans...@gmail.com wrote: 20.05.2011 18:51, kypriakos ?:  Oh, and I see that the intent you're trying to start is for a service

[android-developers] Re: startActivityForResult

2011-05-20 Thread kypriakos
Research - and oh man, the times I heard that question ;) On May 20, 11:01 am, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Fri, May 20, 2011 at 11:51 PM, kypriakos demet...@ece.neu.edu wrote: Ah sleep is good ... Ok revisiting this I can see the wrong path I went down to ... I

[android-developers] Re: startActivityForResult

2011-05-20 Thread kypriakos
it in the onActivityResult method :) 2011/5/20 Kostya Vasilyev kmans...@gmail.com  20.05.2011 18:51, kypriakos пишет:   Oh, and I see that the intent you're trying to start is for a service. Using startActivity (for result or not) with a service intent just doesn't make sense.  Where do you see

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
complete code for startActivityforResult() http://our-android.blogspot.com/2011/05/passing-data-returning-data-b... Thanks On May 19, 8:44 am, kypriakos demet...@ece.neu.edu wrote: Hi all, I am writing apps for some old phones (Android 1.6). I can call startActivity(intent) without issues

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
this helps. :)  Il giorno 19/mag/2011 05:44, kypriakos demet...@ece.neu.edu ha scritto: -- 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

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
post a code snippet showing the compile error. -- Kostya 19.05.2011 22:04, kypriakos пишет: So the API level 4 (to which cupcake/1.6 is based on) does not have the startActivityForResult - which is in line with the fact that the compilation fails. -- Kostya Vasilyev --http

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
that the intent you're trying to start is for a service. Using startActivity (for result or not) with a service intent just doesn't make sense. 20.05.2011 1:41 пользователь kypriakos demet...@ece.neu.edu написал: That's what I said too - huh? ;) Intent intent = new Intent(); intent.setClass

[android-developers] Saving an image

2011-05-19 Thread kypriakos
HI all, I use the mCamera.takePicture(null, null, jpegCallback); to snap a picture through an activity. When the callback occurs I do see the data (approx 1.5 MB in length) and I use the following to write it to the sdcard - but the image length written is 0. Any ideas as to why

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
Thanks to all of you - I did mix up the startActivities in two different classes down the inheritance. The androidcontext is passed to the servlet I am running from the ijetty web server. It is defined as Context and thus he compiler error - silly mistake on my part not to see that in the first

[android-developers] startActivityForResult

2011-05-18 Thread kypriakos
Hi all, I am writing apps for some old phones (Android 1.6). I can call startActivity(intent) without issues but the startActivityForResult(intent, int) fails on compile? Was this method introduced after 1.6? How can one see what's been deprecated across versions? Thanks -- You received this

[android-developers] Android and camera

2011-05-13 Thread kypriakos
Hi all, I am working on an app to use the phone's cam periodically. I used the appropriate entries in the app's manifest file etc. uses-permission android:name=android.permission.CAMERA / uses-feature android:name=android.hardware.camera / uses-feature

[android-developers] Re: Remote access to phones

2011-04-08 Thread kypriakos
Hi all - trying this once again - has anyone managed to access Android phones remotely with ssh? Any hits you can share that would certainly help. Thanks On Apr 5, 3:48 pm, kypriakos demet...@ece.neu.edu wrote: Hi all, I am trying to figure out a way to access the htc phones (running

[android-developers] Re: Remote access to phones

2011-04-08 Thread kypriakos
than us humble SDK users :) -- Kostya 08.04.2011 17:20, kypriakos пишет: Hi all - trying this once again - has anyone managed to access Android phones remotely with ssh? Any hits you can share that would certainly help. Thanks -- Kostya Vasilyev --http://kmansoft.wordpress.com

  1   2   3   >