[android-developers] Re: Cheap Embedded Android Phone (M2M device?)
Maybe the XMM 6181 from Infineon migh be interesting: http://www.infineon.com/cms/en/corporate/press/news/releases/2010/INFWLS201002-032.html Friedger On 5 Mai, 02:03, Pete wrote: > Hey all, > > I'm playing around with some ideas and was wondering if anyone knew of > an Android-based device that was basically a cell-phone with no > screen. > > Here's the requirements I'm looking for: > - Support GSM - Single SIM slot or eSIM (3G preferred but not > required) > - Support GPS > - Support BlueTooth > - Optionally have an accelerometer > - No display (this is an embedded device) > - Would be willing to provide my own packaging (raw boards would be > ok) > - Priced around $40 - $80 > > I've debated taking the guts out of old G1s for this project. But if > there is a specific device that meets my needs all the better. If > there's any Manufacturers out there that have Android phone "guts" > available, let me know too. > > Thanks > -pete > > -- > 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 email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- 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 email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Reusable Android library packaging: interest?
> We are very aware of the need for this use case (in-house sharing of > code/resources), and are working on something. That is good to hear! OpenIntents might be a good place to host a repository of public widgets, as there is already a list of open intents and reusable libraries. I support Mark's effort! Friedger --- www.openintents.org www.droidcon.com -- 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 email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: get Certificates from Package
I would assume that the signature is valid, if not the package would not be installed. So a hacked Android version could break this assumption. But then the API to access the public key or even the package file could be hacked as well Friedger On Mar 25, 12:11 pm, Lutz Schönemann wrote: > Well there is a PackageParser class inside the core which reads the > Certificates. But there seems to be no interface to get them via the > standard API. Do I have to let my app parse the package it self? > > Am 23.03.2009 um 18:09 schrieb Lutz Schönemann: > > > > > Hi, > > > I'm looking for a way to get the certificates from a package that are > > used to sign it. Using the PackageInfo class it is possible to get the > > signatures. But what can I do with signatures if I don't get the > > public keys to verify these. > > > The next question I have where does the PackageInstaller verify the > > signed APK file? The PackageParser class loads the APK file into a > > JarFile object but does this automatically verify the signature? > > > Thanks for help > > Lutz > > > > > > > smime.p7s > 4KViewDownload --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: java.nio.channels.IllegalSelectorException
Any updates on this one? Is it allowed to open a socket channel? Any hints appreciated! Regards, Friedger If you want to see my stack trace: 03-25 23:16:26.279: ERROR/AndroidRuntime(869): Caused by: java.nio.channels.IllegalSelectorException 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at java.nio.channels.spi.AbstractSelectableChannel.register (AbstractSelectableChannel.java:133) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at java.nio.channels.SelectableChannel.register(SelectableChannel.java: 117) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.Client.(Client.java:23) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.UDPClient.(UDPClient.java:14) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.UDPClient.sendrecv(UDPClient.java:64) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.SimpleResolver.send(SimpleResolver.java:256) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.ExtendedResolver$Resolution.start(ExtendedResolver.java: 93) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.ExtendedResolver.send(ExtendedResolver.java:359) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.Lookup.lookup(Lookup.java:450) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.Lookup.resolve(Lookup.java:502) 03-25 23:16:26.279: ERROR/AndroidRuntime(869): at org.xbill.DNS.Lookup.run(Lookup.java:516) --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Application developer wanted for contract work
I know the same of the app "I am richer". 20.000 in two months would mean 8 apps for 200$ sold per day. Good luck. On Mar 10, 11:47 pm, Sundog wrote: > On Mar 9, 6:08 pm, AndroidDev wrote: > > > We am looking for a expert Android developer for Android application > > development. > > Sorry, we am busy that day. --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to use proxy server on the g1?
I am interested as well. Friedger On Jan 30, 3:18 pm, joff wrote: > Anyone figured this one out yet? > > On Jan 24, 9:38 pm, DJMoran wrote: > > > I also need the exact same help, my school uses a proxy server to > > access the web. > > > Also my home wireless doesn't need a proxy to access the web. > > > I know the iPhone and iPod touch can use multiple proxy settings > > depending on the network it is connected to but what about the G1 > > > On Jan 10, 1:52 pm, "kevkev...@googlemail.com" > > > wrote: > > > Does anyone know how to connect to the internet via a proxy server on > > > a g1 handset? I need to use a proxy server at school to get on the > > > internet on wifi. > > > > Cheers > > --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How good to use intents with an application to communcate and modularise it
There are two things that might clarify the use of intents. 1. There are internal and external intents. Internal intents start an Activity of the same application (by giving the class name). This is recommended to ensure the lifecycle. 2. Intents can have extra values used as input to the next activity. Thereby, you can easily share objects between Activities of the same application. If in doubt you can also use the ApplicationContext to hold global objects. I did not fully understand your settings example. Maybe you can elaborate on that. Friedger openintents.org On Jan 30, 11:13 am, Raja Nagendra Kumar wrote: > I remember reading about Activities as functional units, which are > reusuable across the applications and would take life based Intents > raised by other applications.. If this understanding of mine true.. I > have the following questions.. > > 1. In an application.. e.g I display list of folders avaiable in the > intial view, upon selection of the folder, I give the list of files > gif images in that folder.. In such context, fileview is definately > not independent functional unit (we could design it by better desing > by giving filter value etc.. however in my application, I am just > looking to meet the current needs). > > 2. Same is the case from moving settings menu to sub settings menu.. > they are specific to perticular application and does not make > independent two functional units, which would be usful in other > applications. > > Peli, based on these two examples could you pl. let me know what I am > missing.. > > On Jan 27, 5:43 pm, Peli wrote: > > > > Is it advisable to uses Intent approach from switching from one view > > > of the other, which are part of the same application > > > Yes, it is advisable. > > > Peliwww.openintents.org > > > On Jan 24, 8:22 am, Raja Nagendra Kumar > > wrote: > > > > Is it advisable to uses Intent approach from switching from one view > > > of the other, which are part of the same application > > > > e.g going form login to main menu, from main menu to submenu.. etc > > > > I am of the understanding that these are on functional unites avaiable > > > to other programs.. Kindly suggest.. I see every android example using > > > Intent approach.. > > > > Regards, > > > Raja Nagendra Kumar, > > > C.T.Owww.tejasoft.com-Hide quoted text - > > > - Show quoted text - > > --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Localization for Android Market
Hi, Is it correct that only applications with the same language are presented to the user, i.e. the specified language on the device must match the specified language on Android Market? Or is it possible to access say the German applications while having an English language setting. Does the current location effect the selection of applications? Cheers, Friedger --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to use email client of emulator of android sdk second release, for OI Notepad for transferring note
Jalandar, that is a problem with the email client, it does not handle the same intents as Google Mail (which is a pitty). However, you can use K9 as email client. OI Notepad uses following intent: Intent i = new Intent(); i.setAction(Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(Intent.EXTRA_SUBJECT, title); i.putExtra(Intent.EXTRA_TEXT, content); The Email activity "MessageCompose" catches only images: The K9 activity "MessageComposes catches also text: (I haven't tried, but I think it works) Friedger www.openintents.org www.openintents.biz On 13 Jan., 08:28, jalandar wrote: > How to use email client of emulator of android sdk second release, for > OI Notepad for transferring note. (For second release email client is > coming with > emulator) > I tried but it is not working it display the toast "No application > available for sending" --~--~-~--~~~---~--~~ 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 email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to Use Google Accounts in Android Application
I would like to see an official solution as well. Friedger On 13 Jan., 07:53, jeffkyjin wrote: > Thanks, I am still researching it > > On Jan 10, 1:21 am, "Fred Grott(shareme)" > wrote: > > > I am researching the same issues... > > > I think I have my research bookmarked at my del.icio.us account..its > > on left middle link bar right hand side of my blog.. > > >http://www.jroller.com/sahreme > > > At the moment I do not remember what I tagged it under... > > > On Jan 8, 11:39 pm,jeffkyjin wrote: > > > > Hello all, > > > > I want to use users' Google accounts in my application, example Google > > > 's services which need login. > > > Any one knows how to build it into android applications? 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@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to send email programmatically?
Are you working on a device or the emulator? On the emulator there is no email apps installed by default. Install Email or K9 and the code should work. Friedger openintents.org openintents.biz On 14 Dez., 05:31, Siva G wrote: > Hi, > > When I try this snippet I get a message saying "No Applications can > perform this action." Is there something else I should take care of > like in the manifest file? > > Thanks, > Siva G > > On Dec 12, 5:32 am, Peli wrote: > > > Ok, the site is accessible now, but for future reference I copy the > > code from there:http://www.openintents.org/en/node/121 > > > Intent sendIntent = new Intent(Intent.ACTION_SEND); > > sendIntent.putExtra(Intent.EXTRA_TEXT, "email text"); > > sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); > > sendIntent.setType("message/rfc822"); > > startActivity(Intent.createChooser(sendIntent, "Title:")); > > > Peliwww.openintents.orgwww.openintents.biz > > > On Dec 6, 7:36 pm, "Sunit Katkar" wrote: > > > >www.openintents.orgseemstobe down. I got to this thread after a long time > > > and now that site is down :-( > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-AndroidOS Tutorials > > > > On Mon, Dec 1, 2008 at 6:06 PM, Xavier Mathews > > > wrote: > > > > > Would They Be Using Gmail? If So You Could Have It Programed With IMAP! > > > > > On 12/01/2008, Jay-andro wrote: > > > > > > I too want to send email programmtaically (i.e without a send form). > > > > > I've got it working with my hardcoded credentials, but I want my app > > > > > to use the user's account to send the email from the user's account > > > > > and receive replies to his account. How do I do this? > > > > > > On Nov 12, 10:51 am, "Sunit Katkar" wrote: > > > > >> Thank you. I will try this. > > > > > >> On Wed, Nov 12, 2008 at 12:44 AM, Peli > > > > >> wrote: > > > > > >> > You can find a code snippet here: > > > > >> >http://www.openintents.org/en/node/121 > > > > > >> > There is also a related SENDTO action which you can look up in the > > > > >> > documentation. > > > > > >> > Peli > > > > >> >www.openintents.org > > > > > >> > On Nov 12, 8:52 am, "Sunit Katkar" wrote: > > > > >> > > Ok how would I implement the 'send form'. Do you mean that I > > > > >> > > should > > > > >> > launch a > > > > >> > > web browser and use some webmail type of application hosted on a > > > > >> > > server? > > > > >> > > I was thinking about the Email Outbox. How can I put a simple > > > > >> > > text > > > > >> > message > > > > >> > > as an email in the Outbox? I know I could do this long long ago > > > > >> > > with > > > > >> > > Palm > > > > >> > OS > > > > >> > > ver3.0. Hope there is a way to do it on Android. > > > > > >> > > - Sunit > > > > > >> > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess > > > > >> > > > > > > >> > wrote: > > > > >> > > > If you don't want to direct the user to the typical send form, > > > > then > > > > >> > you're > > > > >> > > > going to have to either try and adapt an existing java based > > > > mailer > > > > >> > > > to > > > > >> > > > android or write an SMTP client from scratch. The SMTP > > > > >> > > > standard > > > > >> > > > isn't > > > > >> > too > > > > >> > > > hard to implement. > > > > > >> > > > On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar < > > > > sunitkat...@gmail.com > > > > >> > >wrote: > > > > > >> > > >> Any ideas? Any pointers to some examples? > > > > > >> > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar > > > > >> > > >> > > > >> > >wrote: > > > > > >> > > >>&
[android-developers] Market RuntimeException
Hi, I just got this one after I uninstalled an application. Might be of interest for Market developers? 11-28 12:48:34.212: ERROR/AndroidRuntime(20483): Uncaught handler: thread main exiting due to uncaught exception 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): java.lang.RuntimeException: Unable to start receiver com.android.vending.PackageMonitorReceiver: java.lang.RuntimeException: This thread forbids HTTP requests 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2289) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.app.ActivityThread.access$2700(ActivityThread.java:112) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1628) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.os.Handler.dispatchMessage(Handler.java:88) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.os.Looper.loop(Looper.java:123) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.app.ActivityThread.main(ActivityThread.java:3738) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at java.lang.reflect.Method.invokeNative(Native Method) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at java.lang.reflect.Method.invoke(Method.java:515) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:739) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at dalvik.system.NativeStart.main(Native Method) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): Caused by: java.lang.RuntimeException: This thread forbids HTTP requests 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.net.http.AndroidHttpClient$1.process(AndroidHttpClient.java: 94) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at org.apache.http.protocol.BasicHttpProcessor.process (BasicHttpProcessor.java:290) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at org.apache.http.protocol.HttpRequestExecutor.preProcess (HttpRequestExecutor.java:160) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at org.apache.http.impl.client.DefaultRequestDirector.execute (DefaultRequestDirector.java:390) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:555) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at org.apache.http.impl.client.AbstractHttpClient.execute (AbstractHttpClient.java:487) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:245) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.google.android.net.GoogleHttpClient.executeWithoutRewriting (GoogleHttpClient.java:94) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.google.android.net.GoogleHttpClient.execute(GoogleHttpClient.java: 148) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.android.vending.api.RequestDispatcher.performRequests (RequestDispatcher.java:212) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.android.vending.api.RequestManager.doRequests(RequestManager.java: 160) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.android.vending.PackageMonitorReceiver.handlePackageRemoved (PackageMonitorReceiver.java:111) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at com.android.vending.PackageMonitorReceiver.onReceive (PackageMonitorReceiver.java:57) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2280) 11-28 12:48:34.412: ERROR/AndroidRuntime(20483): ... 10 more --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: FTP Client
I think I saw a package like com.android.ftp or similar but I can't find it on the device anymore after an update. Maybe the package might be of some use. Friedger On 20 Nov., 18:41, Sahil R Cooner <[EMAIL PROTECTED]> wrote: > nothing that I know of, but if you're working on one that you'd like > help on I'd be willing to join in on the project. > > On Wed, Nov 19, 2008 at 02:03:22PM -0800, Phubeone wrote: > > > Is anyone out there working on a FTP client for Android or does anyone > > know if one is already available? I have been looking for awhile and > > haven't found anything. > > > 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Inaccurate comment view in Market?
We experience negative numbers in "active installations". Weird!! Friedger Openintents.org On 13 Nov., 18:00, Nick Melnick <[EMAIL PROTECTED]> wrote: > I have one application (ElJay) in theMarketthat has gone through a > few version upgrades since it was originally posted. I noticed that > Google has merged all of the ratings andcommentsfor the application, > which is rather neat, but the dates are wildly inaccurate.Comments > from the first couple of revisions, where the application was > admittely rough, are being shown on first view of the application > under today's or yesterday's date, leading people to believe that the > application is fundamentally flawed. Will this be fixed, or is this > only happening for my application? --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Check for new version of applications
OI Update is now available on Android Market! So, developers can now just add to the application node of the manifest and your automatic update is implemented. Regards, Friedger On 13 Nov., 16:03, loty <[EMAIL PROTECTED]> wrote: > Just found some info on how to interface with Market directly and > decided to pass it along > > http://www.google.com/support/forum/p/Android+Market/thread?tid=5c850... > > Apparently you can run queries against the market to get your > application URL from market directly. > Hope this helps > > On Nov 11, 1:50 pm, G <[EMAIL PROTECTED]> wrote: > > > It would be cool if google added the ability tocheckyour version > > against the market, but for the time being, I'm fine with using a > > version URL as you described. But I'm still fuzzy on one thing, is > > there an action available to launch the market app directly to your > > product page? > > > Example: > > -user opens app > > -app checksupdateurl finds new version exists > > -app presents dialog box - "click ok to goto the Android Market" > > -user clicks ok > > -new intent launches android market with your app's content_id > > > Does anyone know if a simple solution like that currently exists, or > > do we just have to notify the user about theupdate, and tell them to > > goto the market? > > > Also in regards to the OIUpdateapp, is there a way to require it be > > installed as well, or would my app have to download and install it > > directly on it's first run? And would that even be possible if the > > user never checked off "Allow Non-Market Apps"? > > > On Nov 11, 12:53 pm, Peli <[EMAIL PROTECTED]> wrote: > > > > As far as I understand, Google plans something like this for the > > > future (maybe when paid apps start to become possible). For now the > > > developer is left by themselves. > > > > We also initially copied anupdatechecker routine in all of our OI > > > applications, but this has 2 major drawbacks: > > > 1) It requires each application to have the INTERNET permission, even > > > though the app itself won't use it. > > > 2) A lot of code is duplicated in the various applications. > > > > We have been developing OIUpdate, an open sourceupdatechecker, > > > which is ready to be released soon. We wrote it mainly for our own > > > applications, but it is written generally enough to allow other > > > applications to take advantage of it as well easily. > > > > Your application only needs to include a small meta-data in your > > > manifest, and you need to keep a file on a server withupdate > > > information (which can be compatible to VeeCheck; AndAppStore.com can > > > generate that file on the fly). This inconvenience is necessary, > > > because the Market does not provide version information to 3rd party > > > applications (or at least I'm not aware of how to do it). > > > > All the rest is handled by OIUpdate. It checks every couple of days > > > (as set by the user) for updates, and notifies the user. If the user > > > wishes they are then directly forwarded to the Market where they can > > > download the new version. > > > > I hope this could clarify a couple of points. > > > > Peliwww.openintents.org > > > > On Nov 11, 3:48 pm,loty<[EMAIL PROTECTED]> wrote: > > > > > I'm wondering about the same thing. All applications need to have a > > > > simple ability to notify users of new versions. For me 3rd party > > > > updaters/checkers is not an option - I can just as easily add simple > > > >checkagainst my web site and download new APK file directly. > > > > > A much cleaner solution is to query Android Market directly for new > > > > version. > > > > Can anyone illuminate me if this is possible or planned in the future. > > > > > On Nov 10, 10:02 am, G <[EMAIL PROTECTED]> wrote: > > > > > > So version checking needs to be done through an outside resource... > > > > > Is there anintentwe can use to launch theAndroidMarketApp > > > > > directly to the listing for our own app, for when anupdateis > > > > > available? > > > > > > On Nov 10, 4:35 am, friedger <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > > > > > we have prepared a release version of the OI Updater. There is no > > > > > > need > > > > > > to send intents, but developers only need t
[android-developers] Re: Market: Application not in search result, but exists
Problem solved! In the market account the application locations were not set to "all current and future locations". Thereby, it didn't appear for me in Belgium... I thought that it is equivalent to check all locations listed below the "all current and future.." or check the "all.." Apparently, it is not. Friedger On 10 Nov., 20:36, friedger <[EMAIL PROTECTED]> wrote: > Hi, > > I am missing OI Notepad, if I search for "pub:OpenIntents". If I go > directly to the market details page of the applications (using app id) > the page shows all information. > > Also, a search for "Notepad" does not bring up the application. > > The application is listed as published in our market account. > > Any ideas, what goes wrong here? We have renamed the application some > time ago, does this cause any trouble? > > Cheers, > Friedger > > Openintents.org --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Market: Application not in search result, but exists
Hi, I am missing OI Notepad, if I search for "pub:OpenIntents". If I go directly to the market details page of the applications (using app id) the page shows all information. Also, a search for "Notepad" does not bring up the application. The application is listed as published in our market account. Any ideas, what goes wrong here? We have renamed the application some time ago, does this cause any trouble? Cheers, Friedger Openintents.org --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Check for new version of applications
Hi, we have prepared a release version of the OI Updater. There is no need to send intents, but developers only need to add a meta-data node to the application manifest in order to be handled by the updater. Early feedback welcome! Description: http://www.openintents.org/en/node/136 Download: http://openintents.googlecode.com/files/UpdateChecker-1.0.0.apk Cheers, Friedger On 6 Nov., 20:31, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > Because we use a XMPP based application, we chosed Pubsub as a way to > notify new versions to the user. The main advantage is that it uses a > push model. The user is aware of a new version when he launches > the app or in real time if he's online while a new version has just > been released. No timer or service at all in the application code. > > On Nov 5, 11:57 pm, friedger <[EMAIL PROTECTED]> wrote: > > > Currently, relying on an external resource is the way to do updates, > > this is how it is described in the documentation. > > > If someone is checking against Market, please let us know. > > > Friedger > > > On Nov 4, 8:49 pm, "Dan B." <[EMAIL PROTECTED]> wrote: > > > > isn't there some way tocheckthe version against the Market instead > > > of having to host version information somewhere else? I know the app > > > Locale somehow knows when anupdateis available, it seems reasonable > > > to query the Market rather than relying on outside sources :\ > > > > On Nov 1, 1:50 pm,friedger<[EMAIL PROTECTED]> wrote: > > > > > I'd say the package name is the global identifier. > > > > > Maybe you can just provide a VeeCheck url based on the package name > > > > (as alternative to the app id). So I couldcheckthat url. If you > > > > don't host an app for the package name or if it is not unique you > > > > could return a HTTP 400. > > > > >Friedger > > > > > On 1 Nov., 17:37, Al Sutton <[EMAIL PROTECTED]> wrote: > > > > > >Friedger, > > > > > > How are you identifying the apps?, I'd happily add an extra field or > > > > > two > > > > > to the AndAppStore.com data that you can search for if it would be > > > > > useful. > > > > > > Al. > > > > > >friedgerwrote: > > > > > > The idea is that the Updater will also be ablecheckall applications > > > > > > it knows about by a single button clicked or scheduled task. So, > > > > > > once > > > > > > the intent from one application is processed by theUpdateit is > > > > > > possible to include this application to the periodicupdate. > > > > > > > A more general solution that includes all installed applications is > > > > > > currently not possible as I can't determine the location of the > > > > > >versioninfo file. > > > > > > > The apk mentioned above is provided for developers to test. In the > > > > > > releaseversionthe interval between two checks will be at least 24 > > > > > > hours, so you can start the service as often as you like but > > > > > > thecheck > > > > > > is only performed once every 24 hours. Furthermore, only the log cat > > > > > > shows whether the installedversionis up-to-date or not. In both > > > > > > cases the notification is show (this is to simplify the tests). > > > > > > > Would you like to have a different Notification text? Any ideas for > > > > > > icons? > > > > > > >Friedger > > > > > > > On 1 Nov., 13:18, Al Sutton <[EMAIL PROTECTED]> wrote: > > > > > > >> HiFriedger, > > > > > > >> I've updated AndAppStore.com to provide a versionCode in > > > > > >> theupdate.xml > > > > > >> as you requested. > > > > > > >> At the moment anyone with applications listed will find that they > > > > > >> can > > > > > >> specify the versionCode in the details about a releasedversion(not > > > > > >> the > > > > > >> application details page, the release details page). > > > > > > >> I am working on code to pull the information from the manifest > > > > > >> included > > > > > >> in the apk, but this is a little way off yet. > > > > > >
[android-developers] Re: best way for a service to send a notice to an activity?
Have a look at the Api Demo and check the RemoteService example, especially RemoteServiceCallback. I would say that 1.) is the appropriate solution: Activity A binds to S (and registeres the call back). Then A gets updates when available through callback. Friedger On 9 Nov., 05:11, Don Park <[EMAIL PROTECTED]> wrote: > Activity A is able to bind to service S and use the AIDL to make calls > from A to S. > > Whats the best way for S to send a notice to A? > > It seems there are three possible approaches: > 1. AIDL for an activity (im not sure if thats possible), then S will > bind to A (when A is active). > 2. send an android.os.Message from S to A > 3. send an Intent from S to A > > Any or all of these options might be invalid, I though I would ask > here before exploring each one. > > if it helps to think in specific terms about this application: the > service gets GPS updates and records them. If the Activity is running > (its a MapActivity), the map should recenter when the service receives > a new update. > > Don --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Check for new version of applications
Currently, relying on an external resource is the way to do updates, this is how it is described in the documentation. If someone is checking against Market, please let us know. Friedger On Nov 4, 8:49 pm, "Dan B." <[EMAIL PROTECTED]> wrote: > isn't there some way to check the version against the Market instead > of having to host version information somewhere else? I know the app > Locale somehow knows when an update is available, it seems reasonable > to query the Market rather than relying on outside sources :\ > > On Nov 1, 1:50 pm,friedger<[EMAIL PROTECTED]> wrote: > > > I'd say the package name is the global identifier. > > > Maybe you can just provide a VeeCheck url based on the package name > > (as alternative to the app id). So I could check that url. If you > > don't host an app for the package name or if it is not unique you > > could return a HTTP 400. > > >Friedger > > > On 1 Nov., 17:37, Al Sutton <[EMAIL PROTECTED]> wrote: > > > >Friedger, > > > > How are you identifying the apps?, I'd happily add an extra field or two > > > to the AndAppStore.com data that you can search for if it would be useful. > > > > Al. > > > >friedgerwrote: > > > > The idea is that the Updater will also be able check all applications > > > > it knows about by a single button clicked or scheduled task. So, once > > > > the intent from one application is processed by the Update it is > > > > possible to include this application to the periodic update. > > > > > A more general solution that includes all installed applications is > > > > currently not possible as I can't determine the location of the > > > >versioninfo file. > > > > > The apk mentioned above is provided for developers to test. In the > > > > releaseversionthe interval between two checks will be at least 24 > > > > hours, so you can start the service as often as you like but the check > > > > is only performed once every 24 hours. Furthermore, only the log cat > > > > shows whether the installedversionis up-to-date or not. In both > > > > cases the notification is show (this is to simplify the tests). > > > > > Would you like to have a different Notification text? Any ideas for > > > > icons? > > > > >Friedger > > > > > On 1 Nov., 13:18, Al Sutton <[EMAIL PROTECTED]> wrote: > > > > >> HiFriedger, > > > > >> I've updated AndAppStore.com to provide a versionCode in the update.xml > > > >> as you requested. > > > > >> At the moment anyone with applications listed will find that they can > > > >> specify the versionCode in the details about a releasedversion(not the > > > >> application details page, the release details page). > > > > >> I am working on code to pull the information from the manifest included > > > >> in the apk, but this is a little way off yet. > > > > >> Thanks for making this available. > > > > >> Al. > > > > >>friedgerwrote: > > > > >>> Hi, > > > > >>> we are preparing the OI Updater that checks a given info file for new > > > >>> updates as described in the Android documentation. > > > > >>> You can find the current build (rev 1284) at > > > >>>http://openintents.googlecode.com/files/UpdateChecker.apk > > > > >>> In order to initiate the update check you just have to add the > > > >>> following code: > > > > >>> Intent service = new Intent(); > > > >>> service.setAction(ACTION_CHECK_VERSION); > > > >>> String uri= "http://uri-to-update-file.txt"; > > > > >>> service.setData(Uri.parse(link)); > > > >>> service.putExtra("package_name", context.getPackageName()); > > > >>> service.putExtra("app_name", > > > >>> context.getString(org.openintents.notepad.R.string.app_name)); > > > > >>> int currentVersion = -1; > > > >>> PackageInfo pi = > > > >>> context.getPackageManager().getPackageInfo( > > > >>> context.getPackageName(), 0); > > > >>> currentVersion = pi.versionCode; > > > >>>
[android-developers] Re: Executing a different android application through intents.
Hi, there is a list of publicly known intents at http://www.openintents.org/en/intentstable If your app should provide an intent to other apps you have to define the intent-filter in your manifest. Feel free to add yours to the above mentioned list. Friedger On 4 Nov., 07:40, sush <[EMAIL PROTECTED]> wrote: > Hello, > > I am working in intents specifically,I found that there are intent > Actions such as DIAL, CALL, ANSWER etcwhich can be accessed by any > Android Application whenever required. Similar type of Actions I want > to create, which I can access from a different project just passing > the Action Name, say for Example for a MediaPlayer Application the > customized Actions should be ACTION_SelectSong, ACTION_Play, > ACTION_Stop etc rather then using Android APIs directly. > > Thanks in advance. > Susama, --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Does Android have a PIM API for developers?
The calendar content provider uses authority "calendar". So you can use something like getContentResolver() with e.g. content://calendar/events or content://calendar/instances/when// More details can be found by code reading http://android.git.kernel.org/?p=platform/packages/providers/CalendarProvider.git;a=blob_plain;f=src/com/android/providers/calendar/CalendarProvider.java;hb=refs/heads/release-1.0 Friedger On 3 Nov., 18:44, ppcinfo <[EMAIL PROTECTED]> wrote: > I'm looking for an API that will allow me to access calendar and tasks > information (Similar to Pocket-Outlook (POOM) for the Windows Mobile > device), however, I can't seem to find any reference to such an API. > > Does something exist that will allow me to query, insert, delete, > modify, etc. calendar and task items in the Android OS? > > Thanks, > > ppcinfo --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Check for new version of applications
I'd say the package name is the global identifier. Maybe you can just provide a VeeCheck url based on the package name (as alternative to the app id). So I could check that url. If you don't host an app for the package name or if it is not unique you could return a HTTP 400. Friedger On 1 Nov., 17:37, Al Sutton <[EMAIL PROTECTED]> wrote: > Friedger, > > How are you identifying the apps?, I'd happily add an extra field or two > to the AndAppStore.com data that you can search for if it would be useful. > > Al. > > > > friedger wrote: > > The idea is that the Updater will also be able check all applications > > it knows about by a single button clicked or scheduled task. So, once > > the intent from one application is processed by the Update it is > > possible to include this application to the periodic update. > > > A more general solution that includes all installed applications is > > currently not possible as I can't determine the location of the > > version info file. > > > The apk mentioned above is provided for developers to test. In the > > release version the interval between two checks will be at least 24 > > hours, so you can start the service as often as you like but the check > > is only performed once every 24 hours. Furthermore, only the log cat > > shows whether the installed version is up-to-date or not. In both > > cases the notification is show (this is to simplify the tests). > > > Would you like to have a different Notification text? Any ideas for > > icons? > > > Friedger > > > On 1 Nov., 13:18, Al Sutton <[EMAIL PROTECTED]> wrote: > > >> Hi Friedger, > > >> I've updated AndAppStore.com to provide a versionCode in the update.xml > >> as you requested. > > >> At the moment anyone with applications listed will find that they can > >> specify the versionCode in the details about a released version (not the > >> application details page, the release details page). > > >> I am working on code to pull the information from the manifest included > >> in the apk, but this is a little way off yet. > > >> Thanks for making this available. > > >> Al. > > >> friedger wrote: > > >>> Hi, > > >>> we are preparing the OI Updater that checks a given info file for new > >>> updates as described in the Android documentation. > > >>> You can find the current build (rev 1284) at > >>>http://openintents.googlecode.com/files/UpdateChecker.apk > > >>> In order to initiate the update check you just have to add the > >>> following code: > > >>> Intent service = new Intent(); > >>> service.setAction(ACTION_CHECK_VERSION); > >>> String uri= "http://uri-to-update-file.txt"; > > >>> service.setData(Uri.parse(link)); > >>> service.putExtra("package_name", context.getPackageName()); > >>> service.putExtra("app_name", > >>> context.getString(org.openintents.notepad.R.string.app_name)); > > >>> int currentVersion = -1; > >>> PackageInfo pi = > >>> context.getPackageManager().getPackageInfo( > >>> context.getPackageName(), 0); > >>> currentVersion = pi.versionCode; > >>> service.putExtra("current_version", currentVersion); > >>> context.startService(service ); > > >>> You can also put current_version_name if you check against the > >>> veecheck url at AndAppStore. > > >>> It is still alpha, but we would appreciate early feedback. > >>> How do you like it? Would you include it in your code? More/other > >>> features?... > > >>> Cheers, > >>> Friedger > > >> -- > >> Al Sutton > > >> W:www.alsutton.com > >> B: alsutton.wordpress.com > >> T: twitter.com/alsutton > > -- > Al Sutton > > W:www.alsutton.com > B: alsutton.wordpress.com > T: twitter.com/alsutton --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: No audio picker activity?
Thanks for sharing! I didn't know about the image capture intent. I have added it to the list of intents protocols at openintents.org (http://www.openintents.org/en/intentstable) Friedger On 1 Nov., 13:50, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > Actually, there is already intents to capture sound or photo, they're > just undocumented bet we use it in our application: > mCaptureImageIntent = new > Intent("android.media.action.IMAGE_CAPTURE"); > mCaptureAudioIntent = new > Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); > > On 31 oct, 21:17, Alvin Yates <[EMAIL PROTECTED]> wrote: > > > Video isn't supposed to happen, and given mobile tech at the moment I > > don't know of a phone that does support it. The BW requirements are > > probably too high to manage anything at a decent framerate. > > > Picture capturing is available if you use the Camera API. Search for > > Megha's CameraApiTest.zip file for a rough idea of how it works. > > > Screen capture is a bit weird, and I would imagine you would have to > > find a handle to the actual screen and create a service to manipulate > > that. Without function keys, you might have a time successfully doing > > that though. > > > Audio is through the Media APIs. It's decently documented and has an > > example, unlike Camera. > > > On Oct 31, 10:20 am, elDoudou <[EMAIL PROTECTED]> wrote: > > > > Thank you for this valuable information. I think that I will use the > > > Rings Extended app in the meantime. Does anyone knows when the Android > > > SDK will provide built-in: > > > > - a video-capturing activity? A video picking activity? > > > - a photo capturing activity? Photo picking is already implemented, > > > right? > > > - a screen-capturing activity? > > > - the audio-capturing is already there, right? an audio picking > > > activity? > > > > Cheers, > > > Édouard > > --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Check for new version of applications
The idea is that the Updater will also be able check all applications it knows about by a single button clicked or scheduled task. So, once the intent from one application is processed by the Update it is possible to include this application to the periodic update. A more general solution that includes all installed applications is currently not possible as I can't determine the location of the version info file. The apk mentioned above is provided for developers to test. In the release version the interval between two checks will be at least 24 hours, so you can start the service as often as you like but the check is only performed once every 24 hours. Furthermore, only the log cat shows whether the installed version is up-to-date or not. In both cases the notification is show (this is to simplify the tests). Would you like to have a different Notification text? Any ideas for icons? Friedger On 1 Nov., 13:18, Al Sutton <[EMAIL PROTECTED]> wrote: > Hi Friedger, > > I've updated AndAppStore.com to provide a versionCode in the update.xml > as you requested. > > At the moment anyone with applications listed will find that they can > specify the versionCode in the details about a released version (not the > application details page, the release details page). > > I am working on code to pull the information from the manifest included > in the apk, but this is a little way off yet. > > Thanks for making this available. > > Al. > > > > friedger wrote: > > Hi, > > > we are preparing the OI Updater that checks a given info file for new > > updates as described in the Android documentation. > > > You can find the current build (rev 1284) at > >http://openintents.googlecode.com/files/UpdateChecker.apk > > > In order to initiate the update check you just have to add the > > following code: > > > Intent service = new Intent(); > > service.setAction(ACTION_CHECK_VERSION); > > String uri= "http://uri-to-update-file.txt"; > > > service.setData(Uri.parse(link)); > > service.putExtra("package_name", context.getPackageName()); > > service.putExtra("app_name", > > context.getString(org.openintents.notepad.R.string.app_name)); > > > int currentVersion = -1; > > PackageInfo pi = > > context.getPackageManager().getPackageInfo( > > context.getPackageName(), 0); > > currentVersion = pi.versionCode; > > service.putExtra("current_version", currentVersion); > > context.startService(service ); > > > You can also put current_version_name if you check against the > > veecheck url at AndAppStore. > > > It is still alpha, but we would appreciate early feedback. > > How do you like it? Would you include it in your code? More/other > > features?... > > > Cheers, > > Friedger > > -- > Al Sutton > > W:www.alsutton.com > B: alsutton.wordpress.com > T: twitter.com/alsutton --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Check for new version of applications
Hi, we are preparing the OI Updater that checks a given info file for new updates as described in the Android documentation. You can find the current build (rev 1284) at http://openintents.googlecode.com/files/UpdateChecker.apk In order to initiate the update check you just have to add the following code: Intent service = new Intent(); service.setAction(ACTION_CHECK_VERSION); String uri= "http://uri-to-update-file.txt"; service.setData(Uri.parse(link)); service.putExtra("package_name", context.getPackageName()); service.putExtra("app_name", context.getString(org.openintents.notepad.R.string.app_name)); int currentVersion = -1; PackageInfo pi = context.getPackageManager().getPackageInfo( context.getPackageName(), 0); currentVersion = pi.versionCode; service.putExtra("current_version", currentVersion); context.startService(service ); You can also put current_version_name if you check against the veecheck url at AndAppStore. It is still alpha, but we would appreciate early feedback. How do you like it? Would you include it in your code? More/other features?... Cheers, Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: API for route calcualtions
I would be interested as well. Friedger On 26 Sep., 15:18, forester404 <[EMAIL PROTECTED]> wrote: > Hello. > The maps application on Android can calculate shortest (or best) > routes between 2 points on the map > , as used in the 'Directions' function. > Is there a way to get programmatic access to such functionality, that > is, > an API that allows one in his own application to enter 2 locations and > have Android system calculate > a path between them ? > Thank a lot --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Mail api or access to mail authentication?
You can use Intent.ACTION_SEND together with Intent.EXTRA_STREAM. Friedger On 16 Okt., 19:12, "Jake Maui" <[EMAIL PROTECTED]> wrote: > Is there an api that would allow for sending of a photo from your > application to an individual on the contacts list? > If not, can we use Javamail but have access to stored authentication so that > we don't require a user to have to > go through a setup to store credentials? --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Spinner Text / Value
I derived a subclass from spinner and overwrote performClick(), something like: public boolean performClick() { if (actionPerformer != null) { actionPerformer.onClick(this); } return true; } where actionPerformer is a OnClickListener. The listener then opens a new Activity in a dialog theme. The activity can do what ever it wants, using ids and so on. On finish the spinner is updated with the result value form the activity. Friedger On 30 Sep., 02:53, Lonzo1968 <[EMAIL PROTECTED]> wrote: > I need to get these values from the database. I have a Clients table > and A Projects Table, > The Project has a Foreign Key to the Client Table, Client_ID. So whe > they add a Project, they will select a Client from the Spinner. > The Client Spinner needs to be dynamic and be able to be loaded from a > Database and Not an Xml file in the resources. > > On Sep 29, 11:29 am, "E.D.I" <[EMAIL PROTECTED]> wrote: > > > u need to create an array in the resources ( values\arrays.xml ) with > > the values u want the spinner to show > > and create a SpinnerAdupter with this array > > u can see an example in the samples comming with the android sdk > > ( ApiDemos ) and from the spinner u can take > > the indx of the item. > > > On Sep 29, 5:40 pm, Lonzo1968 <[EMAIL PROTECTED]> wrote: > > > > How do I setup a Spinner to have a Text Value and an Associated Id > > > ( similar to what you would see in an HTML Select Tag ). I want to > > > display a Client Name in the Spinner, but I want to save the Client_Id > > > associated with the Name. > > --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Question on the Radar application
I have entered an issue at apps for android: http://code.google.com/p/apps-for-android/issues/detail?id=22 Friedger On 28 Sep., 11:33, Peli <[EMAIL PROTECTED]> wrote: > Hi, > > If anybody knows Mike Cleron's email address, I'd ask him directly, > but I didn't find it anywhere on the > blog:http://android-developers.blogspot.com/2008/09/panoramio.html > > If some Google developer happens to know him, please forward this > discussion post to him - thanks :-) > > I have the following question / suggestion: Radar introduces the new > intent:http://www.openintents.org/en/node/46 > Intent i = new Intent("com.google.android.radar.SHOW_RADAR"); > i.putExtra("latitude", 37.422f); > i.putExtra("longitude", -122.084f); > startActivity(i); > > Wouldn't it make more sense to use the geo: URI scheme here instead of > using > extras?http://www.openintents.org/en/node/62http://code.google.com/android/reference/available-intents.html > > Then the same content URI could be either used with VIEW to show a > map, or SHOW_RADAR to show the radar... (or even rename the action to > VIEW_RADAR to allow for various VIEW modes on geo data...?) > > What do you think? > > Peliwww.openintents.org --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OpenIntents supports 1.0r1 SDK?
The current source in trunk/openintents is already ported to SDK 1.0 On 29 Sep., 10:58, friedger <[EMAIL PROTECTED]> wrote: > The latest release is for 0.9 > > Are you interested in one particular intent? > We are about to split the library into single applications. So if you > tell us what you would like to see, this will be the first to be > released. > > Friedger > > On 29 Sep., 06:27, samlu <[EMAIL PROTECTED]> wrote: > > > I cannot find such information, so I post here. > > > Does anyone know that OpenIntents supports 1.0r1 SDK? > > --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: OpenIntents supports 1.0r1 SDK?
The latest release is for 0.9 Are you interested in one particular intent? We are about to split the library into single applications. So if you tell us what you would like to see, this will be the first to be released. Friedger On 29 Sep., 06:27, samlu <[EMAIL PROTECTED]> wrote: > I cannot find such information, so I post here. > > Does anyone know that OpenIntents supports 1.0r1 SDK? --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Curious about com.android.fallback.Fallback
There is something like com.android.fallback.Fallback If I click on google reader in the browser and select All items I get a customized error message ("Unsupported action") instead of an ActivityNotFoundException or so. This customized error message is trigger by the following intent: Intent { action=android.intent.action.VIEW categories={android.intent.category.BROWSABLE} data=mailto:[EMAIL PROTECTED] comp={com.android.fallback/ com.android.fallback.Fallback} } Does anybody know anything about Fallback? Could this be related to the feature reqeuest for a "fallback" intent (http://code.google.com/p/android/issues/detail?id=910)? Cheers, Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK 1. codec removed, not in API diff
I just copied the code to my app. [Thread closed] On 25 Sep., 12:10, friedger <[EMAIL PROTECTED]> wrote: > Hi, > > we were using org.apache.commons.codec.binary.Hex. This has disappeard > in SDK 1.0. > Are there any replacements for encodeHex available? > > Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Decompile android.jar - RuntimeException("Stub!") - SDK 1.0
Hi, I used to have a look at the classes in android.jar using JadClipse. Since SDK 1.0 I only get class method looking like public void something(...){ throw new RuntimeException("Stub!"); } 1. Is there another possibility to decompile/understand the android classes? 2. How did you manage to do that? Code obfuscation is also an issue for us. Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] SDK 1. codec removed, not in API diff
Hi, we were using org.apache.commons.codec.binary.Hex. This has disappeard in SDK 1.0. Are there any replacements for encodeHex available? Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: G1 for testing outside US
I was asking the same question to the Google guys at one of the Developer Days. Unfortunately, they couldn't do anything about it. So, it looks like we depent on carriers or HTC when they make the devices available somewhere else. What does the OHA thinks about that? Do they want to let the developers idle? Couldn't they provide a pool of devices just for developers? Maybe they google could forward this issue to OHA... Probably the main problem is that there aren't enough devices anyway. Production takes time and money :-= Cheers, Friedger On Sep 25, 10:31 am, gjs <[EMAIL PROTECTED]> wrote: > Hi, > > Waiting patiently and keeping an eye on htc.com and its country > specific product pages for any G1/Dream news, so far only the US page > seems to have any details. > > This is hard if you don't live in a region serviced by T-Mobile, eg > Australia > > I like most developers are keen to test on real devices, asap, > particularly for the various sensors (camera, movement, compass, gps > etc) - for which a remote testing facility cannot provide much help. > > It is also particularly important if you are to have any hope of > participating in ADC II. > > Regards > > On Sep 25, 6:15 pm, Muthu Ramadoss <[EMAIL PROTECTED]> wrote: > > > Hi, > > > How can non US developers get a G1 for testing? We can buy it for sure > > if its available. > > > If we can't get a device for testing, can we just test in emulator? > > How are the Android developers worldwide handling this issue? > > > Ideas, anyone? > > >http://mobeegal.in-mobile search. redefined. > > --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Intercept incoming call
I could imagine an application that accepts a call when the user presses a button like "I am rushing out of the meeting, hang on another second." Instead of me wispering into the phone, the caller gets a proper response. So there is no way to do that, currently? Friedger On 17 Sep., 20:22, kstamm <[EMAIL PROTECTED]> wrote: > Now now, we were told the Android was the first open source phone all > the way down to the hardware. I expect call reception capability! > It's the only thing that sets it apart from other smartphones. > > On Sep 17, 10:35 am, Charlie Collins <[EMAIL PROTECTED]> > wrote: > > > I would disagree with the statement that this "should be" possible. > > User's expect a call to work like a call which works like a call and > > that would be sort of like a call ;). > > > I think the idea is that certain key functions of the phone - calling, > > and going to the home screen - usurp other functions. All non built-in > > key functions, e.g. applications, are still equal, but yes a few key > > functions have a higher priority - by design (and I think a good > > design, it would get really confusing for users if every app was > > allowed to intercept calls and do different things with them, IMO). > > > On Sep 17, 3:45 am, Tauno T <[EMAIL PROTECTED]> wrote: > > > > I wonder if this will be possible on real devices? It should be > > > according to the "All applications are equal" statement but has anyone > > > further info regarding this? > > > > On Sep 17, 8:01 am, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > > > > > Unfortunately, you cannot intercept incoming calls in the sdk. > > > > > 2008/9/16 sectrean <[EMAIL PROTECTED]> > > > > > > Hi, > > > > > > I'm trying to figure out how to intercept an incoming call, but I'm > > > > > not able to find much documentation on how I would do this. > > > > > > I would like to be able to display a custom dialog to accept or reject > > > > > the call. > > --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to get focus in list footer via key pad?
Use mListView.setItemsCanFocus(true); // <- true here mListView.addFooterView(footer, null, true); // <- true here Friedger On 19 Aug., 09:49, Peli <[EMAIL PROTECTED]> wrote: > I add a fooer to a list using the code below. It contains a button. > > I can press the button using "touch" (i.e. mouse click), but I can not > put focus on the > button using the key pad only. > > If I choose the 3rd parameter in addFooterView() to be "true" instead > of "false", then I can select the whole footer view, but not the > button in this view. > > How can I make the button selectable (without the whole footer view > selectable)? > > Peli > > --- Code follows --- > > -- > mListView = (ListView) findViewById(R.id.mylist); > > // Add footer > LayoutInflater inflater = (LayoutInflater) > this.getSystemService(Context.LAYOUT_INFLATER_SERVICE); > LinearLayout footer = > (LinearLayout)inflater.inflate(R.layout.mylist_footer, null); > mListView.addFooterView(footer, null, false); > Button button = (Button) footer.findViewById(R.id.button); > > > and res/layout/mylist_footer.xml: > - > http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="wrap_content"> > android:text="Add more" > android:layout_width="wrap_content" > android:layout_height="wrap_content"/> > > > - --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display data from a content provider using WebView.loadUri
Currently, I use the code below in the content provider. Do you have any ideas how to get ride of the part that writes to the temp file? Friedger class Provider.. { public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { ParcelFileDescriptor pfd = null; switch (URL_MATCHER.match(uri)) { case CONTENTS_ID: String[] projection = new String[] { Contents._ID, Contents.CONTENT }; Cursor c = query(uri, projection, null, null, null); c.moveToFirst(); String content = c.getString(1); c.close(); File f = getContext().getFileStreamPath("temp.xml"); FileWriter out; try { out = new FileWriter(f); out.write(content); out.close(); } catch (IOException e) { e.printStackTrace(); } int m = ParcelFileDescriptor.MODE_READ_ONLY; if (mode.equalsIgnoreCase("rw")) m = ParcelFileDescriptor.MODE_READ_WRITE; pfd = ParcelFileDescriptor.open(f, m); break; } return pfd; } On Sep 10, 10:30 am, friedger <[EMAIL PROTECTED]> wrote: > Hi > inhttp://groups.google.com/group/android-developers/browse_frm/thread/b... > it was discussed how to display a local file in a WebView. > > Now I would like to know how to display data from adata base using > WebView.loadUri. I don't want to use loadData due to its limitations. > > Currently, I store the data in a temporary file but I wonder whether I > have to do that. > Is it possible to create a FileParcelDescriptior from string data > without a temp file? > > Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Filter-Search Applications
Has anyone experience with filter search? Friedger On 12 Sep., 10:46, friedger <[EMAIL PROTECTED]> wrote: > Hi, > > I try to add filter search to my application, query search works fine. > I can type in a search term press enter and the result is presented. > However, I don't get a new intent when I change the search term. > > (from doc of SearchManager: You will receive a new ACTION_SEARCH > Intent each time the user enters or changes the search text. You must > receive and handle these new intents by overriding onNewIntent.) > > I added the filterMode bit but nothing happens. What else do I have to > do in order to enable filter search? > > Here is my > search xml: > > http://schemas.android.com/apk/res/android"; > android:label="@string/app_name" > android:hint="@string/searchhint" > android:icon="@drawable/application001a" > android:searchMode="filterMode|filterModeQuickStart| > showSearchLabelAsBadge"> > > > and the manifest xml: > > android:label="@string/app_name" > > android:icon="@drawable/application001a" > > > > > android:name="org.openintents.category.MAIN" /> > > > > android:name="android.intent.action.SEARCH" /> > android:name="android.intent.category.DEFAULT" /> > > android:resource="@xml/searchable" /> > > > Cheers, > Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Filter-Search Applications
Hi, I try to add filter search to my application, query search works fine. I can type in a search term press enter and the result is presented. However, I don't get a new intent when I change the search term. (from doc of SearchManager: You will receive a new ACTION_SEARCH Intent each time the user enters or changes the search text. You must receive and handle these new intents by overriding onNewIntent.) I added the filterMode bit but nothing happens. What else do I have to do in order to enable filter search? Here is my search xml: http://schemas.android.com/apk/res/android"; android:label="@string/app_name" android:hint="@string/searchhint" android:icon="@drawable/application001a" android:searchMode="filterMode|filterModeQuickStart| showSearchLabelAsBadge"> and the manifest xml: Cheers, Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to display data from a content provider using WebView.loadUri
Hi in http://groups.google.com/group/android-developers/browse_frm/thread/beae7de5e2500cb6 it was discussed how to display a local file in a WebView. Now I would like to know how to display data from adata base using WebView.loadUri. I don't want to use loadData due to its limitations. Currently, I store the data in a temporary file but I wonder whether I have to do that. Is it possible to create a FileParcelDescriptior from string data without a temp file? Friedger --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
Thanks for that. Now I understand. However, it looks like it is not possible to show data stored in a data base in the browser. I'll start a new thread for that. Friedger On 10 Sep., 05:46, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I posted the ContentProvider implementation here: > > http://lucabelluccini.blogspot.com/2008/09/android-developers-google-... > > Soon the WebView section. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to display a local file in the browser?
I am also confused. Megha mentioned ContentResolver.openContentURI. That API function doesn't seem to exist in 0.9 So could someone please enlight us and give a short example or eplain what to do in order to load a file via content provider? Thanks, Friedger On 7 Sep., 16:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Nothing to do. > I wrote a ContentProvider returning a cursor pointing to a database > record having '_id' and '_data' columns filled (the last one contains > a full path to the file, as remarked on the documentation, in case of > binary data). > Passing url 'content://polito.mailandroid/1' to WebView method > loadUrl, it notifies that there's no supported file. --~--~-~--~~~---~--~~ 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 email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---