[android-developers] Re: unknown socket error -1
Hi Martin, I am listening in my code on port# ie emulator, so what is relevence of port redirection in this scenario, for e.r if i do port redirection as follows add tcp:: , then to which port client has to send request wheather to or Thanks Suhail On Dec 3, 1:37 am, strazzere <[EMAIL PROTECTED]> wrote: > Sal, > > Just figured I'd post this here since it might become relevant for > you. If you come across the error: > > 12-01 18:27:52.175: WARN/System.err(764): > java.net.UnknownHostException: Host is unresolved:www.strazzere.com:80 > > This exception was thrown whenever .connect() or .getOutputStream() > where called. > > Obviouslywww.strazzere.comis just an example, but you might find > that a known and resolvable host is getting the exception thrown, the > trick is to restart the emulator. It seems to lose something if you > change network connections or go in/come out of hibernation mode. > > Sorry if this seems off topic, but I wasn't able to find a solution to > my problem yesterday so I figured I'd post this here! > > Best of luck, > > -Tim Strazzere > > On Dec 2, 4:21 am, sal <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > Thanks for your concern, > > > The problem with socketException got solved by putting INTERNET > > permission in manifest.xml file. > > > But now i am encountering a new problem as follows > > > i have created Serversocket as follows > > > ServerSocket clientListenerSocket = new ServerSocket(); > > > But i dont see port# being in listening state when i do "netstat > > -a" on windows XP machine.Strange part is its not generating any > > exception. because of this client is unable to connect to this port > > > I guess host OS is not allowing to allocate these ports. i would like > > to know what could be the other reasons for this particular problem. > > and what is the procedure to find free ports on Windows XP machine. > > > Thanks > > > On Dec 1, 7:58 pm, Huebi <[EMAIL PROTECTED]> wrote: > > > > You need to add the INTERNET permission to your app in the Manifest. > > > That should solve the issue > > > > On 1 Dez., 15:27, sal <[EMAIL PROTECTED]> wrote: > > > > > 1. Can anyone point me to simple TCP client/server program on > > > > android ?? > > > > > 2. Whenever i try to create socket with port and IPaddress i get > > > > IOException which points to a SocketException which gives a message > > > > "unknown socket error -1" , it would be nice if someone could tell the > > > > root cause for this problem. i guess this is something to do with TCP > > > > settings of emulator. > > > > > 3. Do we need to have any configuration changes to Emulator or > > > > androidmanifest.xml file to eliminate this problem ? > > > > > Thanks- Hide quoted text - > > > > - Show quoted text -- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Does Android support any XML Database??
Hello all, I need to use a XML Database in Android for my thesis. Does Android support any XML Database?? Or can I install Oracle Berkeley DB XML into Android?? (Oracle Berkeley DB has a java edition, but it is not xml db. And Oracle Berkeley DB XML is xml db, but it is written by C++. can't I install Berkeley DB XML into linux on Android??) Thanks in advance. Brad. --~--~-~--~~~---~--~~ 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: dns problem
What was your TTL setting prior to switching your DNS? It's possible TMobile is caching your DNS entry based on that value but some ISPs also completely ignore TTL settings. Additionally, I'm not sure if Android/G1 works this way but I believe the iPhone and Blackberry's use a proxy server for all internet traffic at the cell phone company that enables the phone to only have to maintain a single TCP connection (to the proxy server to conserve battery life). Proxy servers often cache DNS for performance reasons and this might explain the reason it works over wifi but not over the cell towers? Not sure if this helped. -Paul On Dec 2, 6:49 pm, super serg <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have a problem, we released an application that connects to our > domain name to retrieve data. When we released the app first time, we > got such a huge response, our servers went down, and thats where the > problems started. We got a new server, switched DNS settings and now, > the only way to retrieve current data is through WIFI, if I am on Edge > or 3g, the app gets the old data, off the old hosting account. This > has been happening for more than a week now. how do i fix this? do i > call tmobile and tell them to do their job? who do I yell at? --~--~-~--~~~---~--~~ 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: XML parsing prob
I have dug this list but didn't come across anything similar to mine. Could you point me to a thread? On Dec 3, 5:16 am, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > I Believe This Is In The Archives. > > On 12/02/2008, eyedol <[EMAIL PROTECTED]> wrote: > > > > > > > Can't figure out how to achieve this. I was to get the values for the > > tag "thumb" it works fine if the "thumb" tag shows once, but if it > > increases, I get an exception thrown. Exception > > java.lang.IndexOutOfBoundsException: Invalid location 1, size is 1 > > > Sample xml > > > > > > > > > > > > > > > > 1 > > The book > > > > > An enterprise or desktop gateway that connects data sources to mobile > > networks. Intelligent routing can map messages via GSM modems or SMPP > > connections to the lowest-cost delivery channel. Routing by service > > and content provider is also configurable. Offline versions for off- > > net delivery via modems is available. > > > > 1 > > Addis > > 2 > > White Color > > > > > > > > > > 1 > > > > 1 > > 1_1_12277.jpg > > > > > > > 8 > > > > 1 > > 1_1_12282.jpg > > > > > > > > > > > > > > > 0 > > No Error > > > > > > > The Java code to fetch the values > > ... > > NodeList thumbnails = doc.getElementsByTagName("thumb"); > > > for (int i=0;i< thumbnails.getLength();i++) { > > > Element thumbnail= (Element) thumbnails.item(i); > > Job job = jobs.get(i); > > t +=thumbnail.getFirstChild().getNodeValue()+","; > > Job.setThumbnail(t); > > } > > ... > > > All I want to achieve is get the values for the thumb tag. What am I > > doing wrong and how do I achieve that. > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: Possibility to access the Own Content Provider
Hi, Thanks for your kind reply... Can you please tell the URL... Thanks, Yasmin On Sun, Nov 30, 2008 at 11:26 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote: > Have you gone through the NotePad sample app? That shows you a complete > working example of writing and using a content provider. > > On Thu, Nov 27, 2008 at 3:24 AM, yasmin afrose <[EMAIL PROTECTED]>wrote: > >> Hi Dianne, >> >> Thanks for your reply. ie, In OWNCONTENTPROVIDER manifest file, I've >> included as follows : >> >> < >> provider >> >> android:name="com.aspire.android.wikinotes.database.WikiNotesProvider" >> >> android:authorities="com.aspire.android.wikinotes.database.wikinotes" /> >> In OWNPROVIDERACCESS manifest file, I don't know what I need to include to >> access my OWNCONTENTPROVIDER data. :( >> NOTE : In OWNPROVIDERACCESS manifest file, I've included > android.name = "READ_CONTACTS"> if I've accessed the Contacts Application >> database (Contacts.db). >> >> Please help me. >> >> Thanks in advance!!! >> Yasmin >> >>On Thu, Nov 27, 2008 at 8:04 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote: >> >>>You need to publish the content provider in your >>> AndroidManifest.xml. There is generally no reason to go through all of this >>> trouble unless you want to allow other applications to use your content >>> provider, so you need to describe in your manifest what it is so others can >>> find it. >>> >>> >>> On Tue, Nov 25, 2008 at 9:05 PM, AndroidKid <[EMAIL PROTECTED]>wrote: >>> Hi All, I've accessed existing Content Provider. ie, I've retrieved data from Contacts Application by including the Permission within my application Android Manifest file. I've created new Content Provider by extending my class from Content Provider. I've overridded the method query(), delete(), update() & getType(). For that, I've included within AndroidManifest file. Now I would like to access my own content provider in another application. For this, I've tried the following code : package com.aspire.android.accessprovider; import android.app.Activity; import android.app.ListActivity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts.People; import android.view.View; import android.widget.ListAdapter; import android.widget.ListView; import android.widget.SimpleCursorAdapter; import com.aspire.android.wikinotes.database.WikiNote; // TO ACCESS MY OWN CONTENT PROVIDER public class OwnProviderAccessActivity extends ListActivity { private ListAdapter mAdapter; Uri uri = WikiNote.Notes.ALL_NOTES_URI; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); String auth = WikiNote.Notes.ALL_NOTES_URI.getAuthority(); // Note the below line Cursor C = getContentResolver().query(WikiNote.Notes.ALL_NOTES_URI, null, null, null, null); startManagingCursor(C); // Here I've accessed one coulmn from the table in OwnContentProvider Applciation String[] columns = new String[] {WikiNote.Notes.TITLE}; int[] names = new int[] {R.id.row_entry}; mAdapter = new SimpleCursorAdapter(this, R.layout.contacts, C, columns, names); setListAdapter(mAdapter); } @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); } } I've got output by adding OWNCONTENTPROVIDER application within BuildPath. Here the source of entire OWNCONTENTPROVIDER application will be inclueded within the my OWNPROVIDERACCESS application. I would like to achieve the same thing using like Accessing Existing Content Provider. Please give your answers... I was totally confused I've stuck with this issue. Any kind of reply will be appreciated!!! Thanks in Advance!!! Yasmin >>> >>> >>> -- >>> Dianne Hackborn >>> Android framework engineer >>> [EMAIL PROTECTED] >>> >>> Note: please don't send private questions to me, as I don't have time to >>> provide private support. All such questions should be posted on public >>> forums, where I and others can see and answer them. >>> >>> >>> >>> >>> >>> >>> -- >>> Everything is Possible For U only >>> >>> >>> > > > -- > Dianne Hackborn > Android framework engineer > [EMAIL PROTECTED] > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums
[android-developers] Re: com.google.wireless.gdata
I'll try to simplify. In a nutshell, the com.google.* APIs are Google-specific add-ons that are not part of the Android core. Those APIs won't be present on all Android devices, and aren't ready to be officially supported as public Google-specific APIs. JBQ On Tue, Dec 2, 2008 at 10:27 PM, AndroidEngineer <[EMAIL PROTECTED]> wrote: > > It's wierd that even in the section where its supposed to describe the > changes from 0.9 to 1.0 they don't have any mention of the apis that > have been removed. I am only hoping it was a mistake and the apis are > going to be back. > > Please enlighten. > > On Dec 2, 12:33 pm, loty <[EMAIL PROTECTED]> wrote: >> I'm also very much interested in these libraries. Can someone from >> Google enlighten us on when if ever these libraries become available >> again. >> >> On Dec 1, 11:27 pm, AndroidEngineer <[EMAIL PROTECTED]> wrote: >> >> > Howcome com.google.wireless.gdata and com.google.android.gdata have >> > been removed from the 1.0 r1 library. I see these packages in 0.9 and >> > previous versions but not in 1.0. What is the reason behind removing >> > the libraries? From what I've seen, they seem to be very useful >> > libraries. >> >> > Please give me heads up. I am trying to write an application to access >> > google calendar and its events. >> >> > Thanks. >> >> > Android Engineer > > > --~--~-~--~~~---~--~~ 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: com.google.wireless.gdata
It's wierd that even in the section where its supposed to describe the changes from 0.9 to 1.0 they don't have any mention of the apis that have been removed. I am only hoping it was a mistake and the apis are going to be back. Please enlighten. On Dec 2, 12:33 pm, loty <[EMAIL PROTECTED]> wrote: > I'm also very much interested in these libraries. Can someone from > Google enlighten us on when if ever these libraries become available > again. > > On Dec 1, 11:27 pm, AndroidEngineer <[EMAIL PROTECTED]> wrote: > > > Howcome com.google.wireless.gdata and com.google.android.gdata have > > been removed from the 1.0 r1 library. I see these packages in 0.9 and > > previous versions but not in 1.0. What is the reason behind removing > > the libraries? From what I've seen, they seem to be very useful > > libraries. > > > Please give me heads up. I am trying to write an application to access > > google calendar and its events. > > > Thanks. > > > Android Engineer --~--~-~--~~~---~--~~ 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: HTTP compression lost when using 3G connection
I haven't had much experience with T-Mobile 3G, but plenty with 2G (US). It appears that T-Mobile expects traffic on port 80 to be HTTP so I'm guessing that they add further filtering and optimization based on that expectation. If they are already compressing the data it would (conceivably) make sense to pull gzip accept headers so there isn't double compression. I would suggest trying a different port than 80 and would be very surprised if they were able to yank HTTP headers of off data running over an arbitrary socket. When it comes to port 80 I've seen non-HTTP traffic simply not go through. On Nov 24, 3:27 pm, melody <[EMAIL PROTECTED]> wrote: > I've been working on improving the speed of my application and noticed > that when I turn off wifi and use the 3G connection, http requests no > longer use http compression. > > Specifically, when using the 3G connection, the "Accept-Encoding" > header (which I have set to "gzip, deflate") are stripped off before > the request arrives at my server. I tested this with the HttpClient > class, and with my own custom http client through java.net.Socket. > > I then also verified this using the native android web browser. With > wifi turned on, my server recieves a header "Accept-Encoding: gzip". > With wifi turned off, and using the 3G connection, my server does not > receive that header. > > I initially thought this might be an intentional behavior as part of > 3G connections, but then I tested it with a 3G iphone (on AT&T), and > there was no such problem there. So I'm guessing it's a problem > specific to T-Mobile. i wonder if there is some proxy that is > intentionally stripping out this header. > > I'd appreciate any advice about this. For an XML-based web service > like mine where the response data has a high compression ratio, this > behavior causes a significant speed hit. --~--~-~--~~~---~--~~ 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: Including SQLite database with application
these solutions will not work for me. i have a 4.5mb database, which i do not want to duplicate by copying it out of the apk and into a directory. copying it from the web could potentially be very slow as well. i can't believe that there is not a better solution to this extremely common situation. many, many apps will need to come with a pre- populated database. does anybody have anything else? google guys? On Nov 16, 9:37 am, G <[EMAIL PROTECTED]> wrote: > Do you think you could include some sample code for how to execute an > sql script thats been included as raw? > > On Nov 15, 7:59 pm, "Dan B." <[EMAIL PROTECTED]> wrote: > > > I think your best 2 options are as the previous poster stated. > > > 1) package the db file as a raw resource, then just use a file stream > > to read it from the resources and write it out to the location you > > plan to access it. > > 2) generate a .sql file and package that as a raw resource, then just > > read and execute the .sql file to build the database on the fly at > > first run > > > option 2 is probably the better. > > > another option would be to host the db file from an http location and > > just grab it and copy it to the location you plan to use it, this will > > make the APK file smaller, but requires you to have a stable web > > server to store and host the db file > > > On Nov 15, 4:41 pm, Stu <[EMAIL PROTECTED]> wrote: > > > > Hi Mark, > > > > thanks for your help. I guess I'll just have a play around with a > > > couple of those suggestions and see which one works for me. :) > > > > Regards, > > > Stuart. > > > > On Nov 15, 9:57 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > > > > > Stu wrote: > > > > > I'm unable to find how I can ship my database with my application. > > > > > > I don't really want to populate the database at the first run, it just > > > > > seems a bit pointless when I could prevent this time consuming > > > > > activity by including a pre-populated db. > > > > > AFAIK, applications are not unpacked from the APK when installed, and > > > > SQLite has no notion of working with a database file given just an > > > > InputStream, which is all you can get for things packed in your APK. > > > > > I am only aware of three options: > > > > > 1. Bundle a database as either an asset/ or a res/raw/, then use > > > > appropriate methods to get an InputStream on the database, and copy it > > > > somewhere where you can read/write to. I'm uncertain as to whether this > > > > approach is a good idea. > > > > > 2. Use the sqlite3 console utility (or an equivalent tool) to dump the > > > > database a set of SQL statements required to rebuild it. Bundle that > > > > file with your application (e.g., in res/raw/) and execute that script > > > > on first run. This may feel "pointless", but done properly, you can > > > > integrate all this into your build process, so you don't, as a > > > > developer, have to deal with anything -- you just edit your master > > > > database copy on your development PC. > > > > > 3. Use the "classic" approach of just populating the tables yourself in > > > > Java code as part of creating the database. > > > > > If the table is bigger than a few rows, I'd probably go with #2. But, > > > > that's just me. > > > > > -- > > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > > > Android Training on the Ranch! -- Mar 16-20, > > > > 2009http://www.bignerdranch.com/schedule.shtml-Hidequoted 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] transferring data from GPhone to PC
I posted twice and 4 hours later the message still hasn't shown up in the android beginner group. My apology if they got posted. I need to develop an offline mobile app that does some data entry, and then be able to view it on the device and the PC. is android G1 a good choice? The app can't rely on an internet connection. What is the typical methodology for developing driver to sync the mobile device and the pc(assuming its windows based)? Do I need to run a service app on the pc to listen for physical connections and then start a desktop app to acquiring data from the device? How will my desktop app initiate conversation with the mobile one? Or is there a higher level framework provided for this purpose? If Gphone is not the right choice please point me to the right direction 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: market problem
I has the same problem today. No any action for the Publish button. Click the Save button will remove your app from the publish list of Market. That's too bad. :( --~--~-~--~~~---~--~~ 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] testing
testing... forgive me --~--~-~--~~~---~--~~ 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: Problems with ListView using buttons on each row
It's actually pretty simple, but it took me a little while to figure out. You have to set the list to allow its items to be focusable, and then set whichever items you want to be clickable, focusable, and have a background to display when clicked. So first, call setItemsCanFocus(true) on your list. If you are using a ListActivity, you can get the list by calling getListView(). Then, when you are inflating your views for each row in the list, for each view you want to be clickable, do the following: setClickable(true); setFocusable(true); setBackgroundResource(android.R.drawable.menuitem_background); This will display the typical orange "highlight" behind the clickable views, but you can create a different color drawable if you prefer. If you have a couple of views (such as multiple TextViews) that you want to group together into one clickable view, just group them in a ViewGroup such as LinearLayout, and set these properties on that ViewGroup. Good luck! -rich --~--~-~--~~~---~--~~ 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: market problem
http://market.android.com/support/bin/request.py?contact_type=publisher On Dec 2, 9:53 pm, joshv <[EMAIL PROTECTED]> wrote: > No, I attempted to upload an upgrade to my app, which changed only the > icon and the version number. There appeared to be some issue with the > uploaded of the upgrade, and then suddenly my app reverted to a "saved > draft" and disappeared from the app store. Attempting to publish the > old app doesn't work - clicking the "Publish" button does nothing. > Attempting to create a new application doesn't work, as I can't > publish new applications either. > > There appears to be no means of contacting anything like a help desk > or support. > > On Dec 2, 11:23 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > > > So let me get this stright.all of you all have created a > > appand because android has updated your apps have became outdated > > and can not be updated and uploaded. So now you must go through the > > trouble of recreating your app. Right? > > > On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > This is starting to annnoy me. I didnt spend all day coding bug fixes > > > etc to lose my app and not be able to upload a new version. > > > > On Dec 2, 11:59 pm, joshv <[EMAIL PROTECTED]> wrote: > > >> Same thing happened to me. I still have the original app id entry in > > >> the developer console, but all of the ratings are gone, I can't > > >> publish it, and it's not in the store any longer. All I tried to do > > >> was upload a newer version with a new icon. Let's hope somebody will > > >> restore my app. > > > >> On Dec 2, 6:51 pm, jacek <[EMAIL PROTECTED]> wrote: > > > >> > I just tried to upgrade my app (nyt.flix -- for browsing The New York > > >> > Times Movie Reviews) to a subsequent higher version using the usual > > >> > mechanism that so far has worked. Today, however, nothing happens > > >> > after I click "publish." Worse, the application has disappeared from > > >> > the market altogether (it used to be in the Entertainment area) > > >> > and was first published a week ago. Anybody knows what's going on? > > > -- > > Xavier A. Mathews > > Student/Browser Specialist/Developer/Web-Master > > Google Group Client Based Tech Support Specialist > > Hazel Crest Illinois > > [EMAIL PROTECTED]@[EMAIL PROTECTED] > > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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] dns problem
Hi guys, I have a problem, we released an application that connects to our domain name to retrieve data. When we released the app first time, we got such a huge response, our servers went down, and thats where the problems started. We got a new server, switched DNS settings and now, the only way to retrieve current data is through WIFI, if I am on Edge or 3g, the app gets the old data, off the old hosting account. This has been happening for more than a week now. how do i fix this? do i call tmobile and tell them to do their job? who do I yell at? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Fw: [android-developers] Re: Android and bluetooth
I love light racers! Its stolen at least an hour of my life. In answer to your question, sorry, but we don't have a stable Bluetooth API available at this stage. We are very much aware that there is a demand for a Bluetooth API and we plan to release one when it is ready, however I cannot give any timeline guidance right now. Nick Android Systems Engineer On Dec 1, 11:18 am, Robert Green <[EMAIL PROTECTED]> wrote: > I would like to add multiplayer support to Light Racer usingbluetooth > so whatever allows device discovery, pairing and then streaming > transfer is what I need :) > > On Dec 1, 7:20 am, supernova <[EMAIL PROTECTED]> wrote: > > > I need to use SPP (Serial Port Profile) --~--~-~--~~~---~--~~ 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: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1
I'm pretty new to Java so it took some digging, but here's my solution: HttpParams parameters = new BasicHttpParams(); SchemeRegistry schemeRegistry = new SchemeRegistry(); SSLSocketFactory sslSocketFactory = SSLSocketFactory.getSocketFactory (); sslSocketFactory.setHostnameVerifier (SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); schemeRegistry.register(new Scheme("https", sslSocketFactory, 443)); ClientConnectionManager manager = new ThreadSafeClientConnManager (parameters, schemeRegistry); HttpClient httpClient = new DefaultHttpClient(manager, parameters); This will accept any certificate so it should not be used in production code. Consider it a hack to get moving. On Nov 4, 12:43 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > have you success yourhttpsconnection? > I don't know how to do with the not trusted certificate. > > thx > > On 23 oct, 09:23, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > Caused by: > > java.security.cert.CertPathValidatorException: TrustAnchor for > > CertPath not found. > > > On 23 oct, 10:20, "Guillaume Perrot" <[EMAIL PROTECTED]> wrote: > > > > Yes I had, though it's not in my sample code. > > > The verification that fails is not the hostname, but later when checking > > > the > > > certificate. > > > And I didn't find a class such as "AllowAllSelfSignedCertificates". > > > > 2008/10/23 Sean Sullivan <[EMAIL PROTECTED]> > > > > > Have you tried using > > > > org.apache.http.conn.ssl.AllowAllHostnameVerifier ? > > > > >http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-c... > > > > > Sean > > > > > On Oct 17, 7:07 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > > > > > On android 1.0 I tried to connect to myhttpsserver which uses a self- > > > > > signed certificate: > > > > > Here is my code, which uses a custom hostname verifier: > > > > > /* Create and initialize HTTP parameters */ > > > > > HttpParams params = new BasicHttpParams(); > > > > > ConnManagerParams.setMaxTotalConnections(params, 2); > > > > > HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); > > > > > > /* Create and initialize scheme registry */ > > > > > SchemeRegistry schemeRegistry = new SchemeRegistry(); > > > > > schemeRegistry.register(new Scheme("http", PlainSocketFactory > > > > > .getSocketFactory(), 80)); > > > > > SSLSocketFactory sslSocketFactory = > > > > > SSLSocketFactory.getSocketFactory(); > > > > > sslSocketFactory.setHostnameVerifier(new X509HostnameVerifier() > > > > > { > > > > > @Override > > > > > public boolean verify(String host, SSLSession session) > > > > > { > > > > > return true; > > > > > } > > > > > > @Override > > > > > public void verify(String host, SSLSocket ssl) throws > > > > > IOException > > > > > { > > > > > /* Nothing to do */ > > > > > } > > > > > > @Override > > > > > public void verify(String host, X509Certificate cert) throws > > > > > SSLException > > > > > { > > > > > /* Nothing to do */ > > > > > } > > > > > > @Override > > > > > public void verify(String host, String[] cns, String[] > > > > > subjectAlts) > > > > > throws SSLException > > > > > { > > > > > /* Nothing to do */ > > > > > } > > > > > }); > > > > > schemeRegistry.register(new Scheme("https", sslSocketFactory, > > > > > 443)); > > > > > > /* Allow multiple threads (two in our case) to access the HTTP > > > > > client */ > > > > > ClientConnectionManager cm = new > > > > > ThreadSafeClientConnManager(params, > > > > > schemeRegistry); > > > > > mHttpClient = new DefaultHttpClient(cm, params); > > > > > > try > > > > > { > > > > > HttpGet ping = new HttpGet(mConnectionManagerURL); > > > > > HttpResponse response = mHttpClient.execute(ping); > > > > > HttpEntity entity = response.getEntity(); > > > > > if (entity != null) > > > > > entity.consumeContent(); > > > > > } > > > > > catch (IOException ioe) > > > > > { > > > > > ioe.printStackTrace(); > > > > > shutdown(); > > > > > throw ioe; > > > > > } > > > > > catch (Exception e) > > > > > { > > > > > e.printStackTrace(); > > > > > shutdown(); > > > > > throw new IOException(e.getMessage()); > > > > > } > > > > > > I have the following exception in stack trace: > > > > > > 10-17 13:46:23.484: ERROR/ubikim-streams(783): > > > > > javax.net.ssl.SSLException: Not trusted server certificate > > > > > 10-17 13:46:23.554: ERROR/ubikim-streams(783): at > > > > > org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(Open > > > > SSLSocketImpl.java: > > > > > 353) > > > > > 10-17 13:46:23.654: ERROR/ubikim-streams(783): at > > > > > org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl > > > > > $SSLInputStream.(OpenSSLSocketImpl.java:491) > > > > > 10-17 13:46:23.704: ERROR/ubikim-stream
[android-developers] Iptables
Hi, I'm trying to develop a firewall for Android using the sdk, and I understand the only way to do so using java and without modifying Android itself is through iptables. There are some old comments in this group that claim that iptables is no included in Android, but after the release of the code, I checked and iptables is included among the projects used in Andoid (maybe it has been a latter addition). Therefore I assume that it can be used in Android. My code tries to execute commands using a java Process, and so far it seems to work,since I've been able to do an "ls", for example. But when I use iptables I don't receive any result(after trying to block all traffic I can still use the browser), or any error on the outputs (I've checke both standard and error output). I don't know if that's caused because I'm not using the command correctly, or because of a lack of permissions, or because of the absence of iptables among Android commands. Does anyone have an idea about the reason for this? (I mean, if someone knows for sure that iptables is not included, or that is included but can only be used as an administrator, or any other reason that is clearly preventing this from working...if there's no apparent reason for it not to work, then I'll asume it's an error on my code or in the command I'm trying to execute) The commands I'm trying to use are: iptables -F iptables -X iptables -Z iptables -t nat -F iptables -P INPUT DROP iptables -P OUTPUT DROP in order to block all traffic, and therefore see if it's working or not in an easy way. Thank you for your help --~--~-~--~~~---~--~~ 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 do I find qualified Android Mobile Application Developers
I have been tasked with hiring six to eight Android Application Developers in Richmond, VA. These are permanent (salaried) positions. How do I find qualified people? Do you have any recommendations on where to look? If so, I can be e-mailed at [EMAIL PROTECTED] or called at 1-800-452-7391. I would be happy to discuss the details with anyone who may be interested. Thanks in advance for your time and help! Regards, Andrew Freundt --~--~-~--~~~---~--~~ 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: Androids Runs On Windows Mobile!
I Did Not want to have to make a new post but want to let you all know that samsung also has two new phones coming out that will run android. --~--~-~--~~~---~--~~ 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] Androids Runs On Windows Mobile!
IPhone? Yea Thats The Best Phone! No Wait Android Will Run On WM. Who Cares Iphone Still Has Over 10,000 apps and can run Android. Beat That. So If You Are Creating Apps For Iphone Android Don't Stop! --~--~-~--~~~---~--~~ 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] Google Dell To Android
Google And Dell Are At The Point Of A Huge Merger. Launching A new phone to run on Android OS on a 3G network. A complete android interface and stylish phone. Lets all admit that the G1 is not the hottest phond to run android. Android Has been said to be the best thing to happen to Google. And Google CEO is very happy. Once The Dell/ Google phondm is released a new version of android will be released! --~--~-~--~~~---~--~~ 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] confusion in networking concepts of android
Hi All, Can someone help in resolving networking concepts in android. I am trying to write simple client/server application on android where client and server are on 2 different host machines. i am trying to make server listen on some port e.g , but i cant see any port on host machine in listening mode. can anyone say what might be the actual problem ?? i am bit confused with differences in emulator interface and host machine interface. 1. If we listen on a port # , on a android emulator , wheather it actually listens on port of host machine or does emulator has its own set of ports ??? 2. Does emulator has separate IP interface which is different from interface of host machine ??? 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: market problem
No, I attempted to upload an upgrade to my app, which changed only the icon and the version number. There appeared to be some issue with the uploaded of the upgrade, and then suddenly my app reverted to a "saved draft" and disappeared from the app store. Attempting to publish the old app doesn't work - clicking the "Publish" button does nothing. Attempting to create a new application doesn't work, as I can't publish new applications either. There appears to be no means of contacting anything like a help desk or support. On Dec 2, 11:23 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > So let me get this stright.all of you all have created a > appand because android has updated your apps have became outdated > and can not be updated and uploaded. So now you must go through the > trouble of recreating your app. Right? > > On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > This is starting to annnoy me. I didnt spend all day coding bug fixes > > etc to lose my app and not be able to upload a new version. > > > On Dec 2, 11:59 pm, joshv <[EMAIL PROTECTED]> wrote: > >> Same thing happened to me. I still have the original app id entry in > >> the developer console, but all of the ratings are gone, I can't > >> publish it, and it's not in the store any longer. All I tried to do > >> was upload a newer version with a new icon. Let's hope somebody will > >> restore my app. > > >> On Dec 2, 6:51 pm, jacek <[EMAIL PROTECTED]> wrote: > > >> > I just tried to upgrade my app (nyt.flix -- for browsing The New York > >> > Times Movie Reviews) to a subsequent higher version using the usual > >> > mechanism that so far has worked. Today, however, nothing happens > >> > after I click "publish." Worse, the application has disappeared from > >> > the market altogether (it used to be in the Entertainment area) > >> > and was first published a week ago. Anybody knows what's going on? > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
I wouldnt care so much if I COULD recreate my app in the market. It wont even let me do that. On Dec 3, 12:23 am, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > So let me get this stright.all of you all have created a > appand because android has updated your apps have became outdated > and can not be updated and uploaded. So now you must go through the > trouble of recreating your app. Right? > > On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > This is starting to annnoy me. I didnt spend all day coding bug fixes > > etc to lose my app and not be able to upload a new version. > > > On Dec 2, 11:59 pm, joshv <[EMAIL PROTECTED]> wrote: > >> Same thing happened to me. I still have the original app id entry in > >> the developer console, but all of the ratings are gone, I can't > >> publish it, and it's not in the store any longer. All I tried to do > >> was upload a newer version with a new icon. Let's hope somebody will > >> restore my app. > > >> On Dec 2, 6:51 pm, jacek <[EMAIL PROTECTED]> wrote: > > >> > I just tried to upgrade my app (nyt.flix -- for browsing The New York > >> > Times Movie Reviews) to a subsequent higher version using the usual > >> > mechanism that so far has worked. Today, however, nothing happens > >> > after I click "publish." Worse, the application has disappeared from > >> > the market altogether (it used to be in the Entertainment area) > >> > and was first published a week ago. Anybody knows what's going on? > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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] Linux To Android
The Latest News Today i.e to date...Says that Linux OS Is Going Linux! No Official Word On What This Means. As Far As The Linux based phones going Android the rumors have been confirmed which mean that in order for the apps to be able to make it on these Linux Android phones app creator will have to mod there apps to make them compatiable. --~--~-~--~~~---~--~~ 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: Wifi Ip Address
You can use WifiManager.getConnectionInfo().getIpAddress(). You can convert this to a String with: private static String ipAddressToString(int addr) { StringBuffer buf = new StringBuffer(); buf.append(addr & 0xff).append('.'). append((addr >>>= 8) & 0xff).append('.'). append((addr >>>= 8) & 0xff).append('.'). append((addr >>>= 8) & 0xff); return buf.toString(); } jason On Tue, Dec 2, 2008 at 12:26 PM, Andrea <[EMAIL PROTECTED]> wrote: > > Ralf: Yes, I need to know it programmatically because I have to accept > incoming connections on my phone. > > On Dec 2, 7:11 pm, Ralf <[EMAIL PROTECTED]> wrote: > > On the device, go to the wifi settings and select the connected wifi > > network. It will show you its IP address. > > > > If you mean programmatically, sorry, I do not know. > > > > R/ > > > > On Mon, Dec 1, 2008 at 2:49 AM, Andrea <[EMAIL PROTECTED]> wrote: > > > > > How can I get the Ip address assigned by a WiFi network to which my > > > device is connected? > > > --~--~-~--~~~---~--~~ 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: market problem
So let me get this stright.all of you all have created a appand because android has updated your apps have became outdated and can not be updated and uploaded. So now you must go through the trouble of recreating your app. Right? On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > This is starting to annnoy me. I didnt spend all day coding bug fixes > etc to lose my app and not be able to upload a new version. > > On Dec 2, 11:59 pm, joshv <[EMAIL PROTECTED]> wrote: >> Same thing happened to me. I still have the original app id entry in >> the developer console, but all of the ratings are gone, I can't >> publish it, and it's not in the store any longer. All I tried to do >> was upload a newer version with a new icon. Let's hope somebody will >> restore my app. >> >> On Dec 2, 6:51 pm, jacek <[EMAIL PROTECTED]> wrote: >> >> > I just tried to upgrade my app (nyt.flix -- for browsing The New York >> > Times Movie Reviews) to a subsequent higher version using the usual >> > mechanism that so far has worked. Today, however, nothing happens >> > after I click "publish." Worse, the application has disappeared from >> > the market altogether (it used to be in the Entertainment area) >> > and was first published a week ago. Anybody knows what's going on? >> >> > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: Testing application
Yes It Can Be Tested Once Uploaded Approved & Downloaded Via Network Or USB. Then It Can Be Tested On A Selected Android Ran Device! On 12/02/2008, indiabolbol.com <[EMAIL PROTECTED]> wrote: > > I am interested in how the developers tested the application before > putting the application on the android market. I know it can be tested > on the device, but what about testing on the real device. > > In other words, if I have the real device can I upload the application > to the device and perform the test? If so, how do I connect my > development environment to real device, rather than the emulator. > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
This is starting to annnoy me. I didnt spend all day coding bug fixes etc to lose my app and not be able to upload a new version. On Dec 2, 11:59 pm, joshv <[EMAIL PROTECTED]> wrote: > Same thing happened to me. I still have the original app id entry in > the developer console, but all of the ratings are gone, I can't > publish it, and it's not in the store any longer. All I tried to do > was upload a newer version with a new icon. Let's hope somebody will > restore my app. > > On Dec 2, 6:51 pm, jacek <[EMAIL PROTECTED]> wrote: > > > I just tried to upgrade my app (nyt.flix -- for browsing The New York > > Times Movie Reviews) to a subsequent higher version using the usual > > mechanism that so far has worked. Today, however, nothing happens > > after I click "publish." Worse, the application has disappeared from > > the market altogether (it used to be in the Entertainment area) > > and was first published a week ago. Anybody knows what's going on? > > --~--~-~--~~~---~--~~ 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: XML parsing prob
I Believe This Is In The Archives. On 12/02/2008, eyedol <[EMAIL PROTECTED]> wrote: > > Can't figure out how to achieve this. I was to get the values for the > tag "thumb" it works fine if the "thumb" tag shows once, but if it > increases, I get an exception thrown. Exception > java.lang.IndexOutOfBoundsException: Invalid location 1, size is 1 > > Sample xml > > > > > > > > > > 1 > The book > > > An enterprise or desktop gateway that connects data sources to mobile > networks. Intelligent routing can map messages via GSM modems or SMPP > connections to the lowest-cost delivery channel. Routing by service > and content provider is also configurable. Offline versions for off- > net delivery via modems is available. > > 1 > Addis > 2 > White Color > > > > > > 1 > > 1 > 1_1_12277.jpg > > > > 8 > > 1 > 1_1_12282.jpg > > > > > > > > 0 > No Error > > > > The Java code to fetch the values > ... > NodeList thumbnails = doc.getElementsByTagName("thumb"); > > for (int i=0;i< thumbnails.getLength();i++) { > > Element thumbnail= (Element) thumbnails.item(i); > Job job = jobs.get(i); > t +=thumbnail.getFirstChild().getNodeValue()+","; > Job.setThumbnail(t); > } > ... > > All I want to achieve is get the values for the thumb tag. What am I > doing wrong and how do I achieve that. > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
Same thing happened to me. I still have the original app id entry in the developer console, but all of the ratings are gone, I can't publish it, and it's not in the store any longer. All I tried to do was upload a newer version with a new icon. Let's hope somebody will restore my app. On Dec 2, 6:51 pm, jacek <[EMAIL PROTECTED]> wrote: > I just tried to upgrade my app (nyt.flix -- for browsing The New York > Times Movie Reviews) to a subsequent higher version using the usual > mechanism that so far has worked. Today, however, nothing happens > after I click "publish." Worse, the application has disappeared from > the market altogether (it used to be in the Entertainment area) > and was first published a week ago. Anybody knows what's going on? --~--~-~--~~~---~--~~ 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] XML parsing prob
Can't figure out how to achieve this. I was to get the values for the tag "thumb" it works fine if the "thumb" tag shows once, but if it increases, I get an exception thrown. Exception java.lang.IndexOutOfBoundsException: Invalid location 1, size is 1 Sample xml 1 The book An enterprise or desktop gateway that connects data sources to mobile networks. Intelligent routing can map messages via GSM modems or SMPP connections to the lowest-cost delivery channel. Routing by service and content provider is also configurable. Offline versions for off- net delivery via modems is available. 1 Addis 2 White Color 1 1 1_1_12277.jpg 8 1 1_1_12282.jpg 0 No Error The Java code to fetch the values ... NodeList thumbnails = doc.getElementsByTagName("thumb"); for (int i=0;i< thumbnails.getLength();i++) { Element thumbnail= (Element) thumbnails.item(i); Job job = jobs.get(i); t +=thumbnail.getFirstChild().getNodeValue()+","; Job.setThumbnail(t); } ... All I want to achieve is get the values for the thumb tag. What am I doing wrong and how do I achieve that. --~--~-~--~~~---~--~~ 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] Testing application
I am interested in how the developers tested the application before putting the application on the android market. I know it can be tested on the device, but what about testing on the real device. In other words, if I have the real device can I upload the application to the device and perform the test? If so, how do I connect my development environment to real device, rather than the emulator. --~--~-~--~~~---~--~~ 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: When an app needs Google account credentials...
On Tue, Dec 2, 2008 at 4:39 PM, androidian <[EMAIL PROTECTED]> wrote: > Dianne, do you have any input on this? Also, do you have any updated > info on the API? Sorry, I don't know about it. -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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: market problem
Did anybody post it in the issue tracker? On 12/02/2008, Waterflea <[EMAIL PROTECTED]> wrote: > > I'm having the same problem I think. I just 'unpublished' two of my > app that I tried to update. The Developer Console just says 'Saved > Draft". > Are you having the same problems? > > On Dec 2, 9:43 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> Oh that sucks sorry to hear. >> >> On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> > Because It said "thisappis out of date" I resigned myappwith >> > another key and then since I couldnt upload the file again I deleted >> > and remade theapp. Still wont let mepublishhowever. >> >> > On Dec 2, 9:26 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> >> why did you all delete them? >> >> >> On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> > Right there with ya buddy - just wasted my droidftpapptrying to >> >> >publisha new version. WTF >> >> >> > On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: >> >> >> I just tried to upgrade myapp(nyt.flix -- for browsing The New York >> >> >> Times Movie Reviews) to a subsequent higher version using the usual >> >> >> mechanism that so far has worked. Today, however, nothing happens >> >> >> after I click "publish." Worse, the application has disappeared from >> >> >> the market altogether (it used to be in the Entertainment area) >> >> >> and was first published a week ago. Anybody knows what's going on? >> >> >> -- >> >> Xavier A. Mathews >> >> Student/Browser Specialist/Developer/Web-Master >> >> Google Group Client Based Tech Support Specialist >> >> Hazel Crest Illinois >> >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> >> "Fear of a name, only increases fear of the thing itself." >> >> -- >> Xavier A. Mathews >> Student/Browser Specialist/Developer/Web-Master >> Google Group Client Based Tech Support Specialist >> Hazel Crest Illinois >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> "Fear of a name, only increases fear of the thing itself." > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
I'm having the same problem I think. I just 'unpublished' two of my app that I tried to update. The Developer Console just says 'Saved Draft". Are you having the same problems? On Dec 2, 9:43 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > Oh that sucks sorry to hear. > > On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > > Because It said "thisappis out of date" I resigned myappwith > > another key and then since I couldnt upload the file again I deleted > > and remade theapp. Still wont let mepublishhowever. > > > On Dec 2, 9:26 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > >> why did you all delete them? > > >> On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >> > Right there with ya buddy - just wasted my droidftpapptrying to > >> >publisha new version. WTF > > >> > On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: > >> >> I just tried to upgrade myapp(nyt.flix -- for browsing The New York > >> >> Times Movie Reviews) to a subsequent higher version using the usual > >> >> mechanism that so far has worked. Today, however, nothing happens > >> >> after I click "publish." Worse, the application has disappeared from > >> >> the market altogether (it used to be in the Entertainment area) > >> >> and was first published a week ago. Anybody knows what's going on? > > >> -- > >> Xavier A. Mathews > >> Student/Browser Specialist/Developer/Web-Master > >> Google Group Client Based Tech Support Specialist > >> Hazel Crest Illinois > >> [EMAIL PROTECTED]@[EMAIL PROTECTED] > >> "Fear of a name, only increases fear of the thing itself." > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
Oh that sucks sorry to hear. On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Because It said "this app is out of date" I resigned my app with > another key and then since I couldnt upload the file again I deleted > and remade the app. Still wont let me publish however. > > On Dec 2, 9:26 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> why did you all delete them? >> >> On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >> >> > Right there with ya buddy - just wasted my droidftp app trying to >> > publish a new version. WTF >> >> > On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: >> >> I just tried to upgrade my app (nyt.flix -- for browsing The New York >> >> Times Movie Reviews) to a subsequent higher version using the usual >> >> mechanism that so far has worked. Today, however, nothing happens >> >> after I click "publish." Worse, the application has disappeared from >> >> the market altogether (it used to be in the Entertainment area) >> >> and was first published a week ago. Anybody knows what's going on? >> >> -- >> Xavier A. Mathews >> Student/Browser Specialist/Developer/Web-Master >> Google Group Client Based Tech Support Specialist >> Hazel Crest Illinois >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> "Fear of a name, only increases fear of the thing itself." > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
why did you all delete them? On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Right there with ya buddy - just wasted my droidftp app trying to > publish a new version. WTF > > On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: >> I just tried to upgrade my app (nyt.flix -- for browsing The New York >> Times Movie Reviews) to a subsequent higher version using the usual >> mechanism that so far has worked. Today, however, nothing happens >> after I click "publish." Worse, the application has disappeared from >> the market altogether (it used to be in the Entertainment area) >> and was first published a week ago. Anybody knows what's going on? > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: market problem
Because It said "this app is out of date" I resigned my app with another key and then since I couldnt upload the file again I deleted and remade the app. Still wont let me publish however. On Dec 2, 9:26 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > why did you all delete them? > > On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Right there with ya buddy - just wasted my droidftp app trying to > > publish a new version. WTF > > > On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: > >> I just tried to upgrade my app (nyt.flix -- for browsing The New York > >> Times Movie Reviews) to a subsequent higher version using the usual > >> mechanism that so far has worked. Today, however, nothing happens > >> after I click "publish." Worse, the application has disappeared from > >> the market altogether (it used to be in the Entertainment area) > >> and was first published a week ago. Anybody knows what's going on? > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: XML-RPC
Thanks for your post, I went to the URL and I dont see any source there. Can you please share the source code etc? I'm hesistant to change over to REST so I'd prefer to stay with XML- RPC as we have alot of code already on XML-RPC. Please post a link to where I can get the code and try it out. Thanks a bunch. On Nov 30, 2:41 pm, skink <[EMAIL PROTECTED]> wrote: > i implemented very thin xml-rpc, > tryhttp://www.anddev.org/slim_xml-rpc-t3800.html > > pskink > > > > > > > On Nov 24, 2:01 am, check_writer <[EMAIL PROTECTED]> wrote: > > > >> I tried implementing the ApacheXML-RPC3.1 as I normally would in a > > > >> Java 1.5 app in eclipse and got exceptions. > > > > What were the exceptions? > > > > >> Or ifXML-RPCis not possible, what are my options in the way of a > > > >> Client/Server app on Android. > > > > The simplest is a REST-style interface, using ordinary URLs and HTTP > > > verbs (GET, POST, PUT, DELETE). This is rather popular with > > > Internet-based services nowadays for their public APIs. > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com > > > _The Busy Coder's Guide to Android Development_ Version 1.4 Published! --~--~-~--~~~---~--~~ 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: market problem
Right there with ya buddy - just wasted my droidftp app trying to publish a new version. WTF On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: > I just tried to upgrade my app (nyt.flix -- for browsing The New York > Times Movie Reviews) to a subsequent higher version using the usual > mechanism that so far has worked. Today, however, nothing happens > after I click "publish." Worse, the application has disappeared from > the market altogether (it used to be in the Entertainment area) > and was first published a week ago. Anybody knows what's going on? --~--~-~--~~~---~--~~ 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: market problem
Not sure if my first reply posted. I to am having the same issue. Just managed to delete my driodftp App. On Dec 2, 7:51 pm, jacek <[EMAIL PROTECTED]> wrote: > I just tried to upgrade my app (nyt.flix -- for browsing The New York > Times Movie Reviews) to a subsequent higher version using the usual > mechanism that so far has worked. Today, however, nothing happens > after I click "publish." Worse, the application has disappeared from > the market altogether (it used to be in the Entertainment area) > and was first published a week ago. Anybody knows what's going on? --~--~-~--~~~---~--~~ 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: invoking com.android.internal.*
Those are private implementation/internal classes that aren't supported for use by 3rd-party applications. JBQ On Tue, Dec 2, 2008 at 5:32 PM, dreamerBoy <[EMAIL PROTECTED]> wrote: > > Does anyone know of a way to use classes in com.android.internal.* - > e.g., com.android.internal.telephony.Call ? > > There is sample code in the Android source code distribution. > > My normal Eclipse-based Android development environment does not allow > e.g., > > import com.android.internal.telephony.Call; > > Is there a special jar or something that can be downloaded? > > Thanks much. > > Paul > > > --~--~-~--~~~---~--~~ 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] invoking com.android.internal.*
Does anyone know of a way to use classes in com.android.internal.* - e.g., com.android.internal.telephony.Call ? There is sample code in the Android source code distribution. My normal Eclipse-based Android development environment does not allow e.g., import com.android.internal.telephony.Call; Is there a special jar or something that can be downloaded? Thanks much. Paul --~--~-~--~~~---~--~~ 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: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock
ping... anyone? On Nov 29, 12:15 pm, Noam Wolf <[EMAIL PROTECTED]> wrote: > I have a BroadcastReceiver which acquires a lock onReceive. I use an > alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my > intent. I have found that when the phone is locked (and asleep) it > will not wake up sometimes, and when it does many times it will have a > delay (up to 30 seconds from when the alarm manager was supposed to go > off). > > I don't understand how/what I'm doing different than the AlarmClock > application since I'm acquiring the lock in the receiver. I've also > seen the screen turn on but then immediately turn off > > Does anyone have any ideas as to why this is happening? Or has anyone > run into this? Is RTC_WAKEUP stable and trustworthy? > > Any help would be greatly appreciated. --~--~-~--~~~---~--~~ 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: OutOfMemoryError when switching orientation
Ok I figured this out with the help of the great DS. Basically the image was too large and the phone was chocking on it. So instead i'm using the BitmapFactory to get a smaller size of the image, no more outOfMemory errors! On Dec 1, 8:50 pm, Noam Wolf <[EMAIL PROTECTED]> wrote: > Here is what I commented out and didn't see the OutOfMemory error > again: > > Cursor cursor = getCursor(); > ImageView displayImage = (ImageView) findViewById(R.id.belongsImage); > try { > if (cursor.moveToFirst()) { > Line 1: String imageUri = cursor.getString(0); > Line 2: displayImage.setImageURI(Uri.parse(imageUri)); > } > } catch > > When I comment out Line 2 i don't get the error again. Of course this > is bad for my application but I just wanted to point out that it isn't > a memory leak by something in the application other than the > displayImage... or at least it seems that way... any ideas? > > On Dec 1, 11:29 am, Noam Wolf <[EMAIL PROTECTED]> wrote: > > > I'm not explicitly passing context around at all but I am using a > > ContentProvider which calls getContext()... is that something I should > > be handling too? > > > On Dec 1, 1:23 am, Romain Guy <[EMAIL PROTECTED]> wrote: > > > > > Always delete references to Context or > > > > anything that you passed the context to on clean-up. It's a huge one. > > > > Just to emphasize this: leaking a Context means you will leak *all* > > > the views and *all* the resources attached to these views (bitmaps, > > > text, etc.) > > > > -- > > > Romain Guywww.curious-creature.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 problem
I just tried to upgrade my app (nyt.flix -- for browsing The New York Times Movie Reviews) to a subsequent higher version using the usual mechanism that so far has worked. Today, however, nothing happens after I click "publish." Worse, the application has disappeared from the market altogether (it used to be in the Entertainment area) and was first published a week ago. Anybody knows what's going on? --~--~-~--~~~---~--~~ 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: When an app needs Google account credentials...
Great - some healthy discussion on the topic, thanks guys. I guess we've ended up at roughly the same point: we need to know where the token is stored and how to obtain it. If you see another related post (instigated by me) here: http://groups.google.com/group/android-developers/browse_thread/thread/f63f19acb691c980/8b2722c1c5c20da0?lnk=gst&q=thanks+dianne#8b2722c1c5c20da0 ...Dianne has said that there are plans for an API to interact with the GoogleLoginService. (The reason for this separate thread is because even after Dianne's reply it struck me that there must be many applications already doing this, so I was asking how they are currently doing it, even before such an API is released.) Dianne, do you have any input on this? Also, do you have any updated info on the API? On Dec 2, 2:38 am, Semprebon <[EMAIL PROTECTED]> wrote: > The first option (Client Login API) still requires your app to get the > google userid and password from the user. The second option (OAuth/ > AuthSub) only applies to web apps (although I suppose you could launch > a browser session). What would be real nice from my standpoint would > be some way to store/retrieve data on google from your android app, > and then access it from a web app using OAuth. This would make it very > simple to sync data between the android app and web app without the > user having to set up anything on the android side of things. > > On Dec 1, 8:51 am, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote: > > > Looks like the first and second options listed.. > > > Thanks for the link.. > > > Key question is are the hooks to those library apis already in Android > > Sdk? > > > On Dec 1, 7:29 am, dar <[EMAIL PROTECTED]> wrote: > > > > I'm looking for this as well, to provide access to my google app > > > engine applications. I'm guessing they store the session > > > authorization token from AuthSub somewhere (take a look at AuthSub > > > here:http://code.google.com/apis/accounts/index.html). It's probably > > > just a matter of understanding where the token is stored so it can be > > > passed into the http calls. > > > > Hopefully Dianne, or someone else, will clarify or correct me if I'm > > > wrong. > > > > On Nov 30, 7:44 pm, androidian <[EMAIL PROTECTED]> wrote: > > > > > Sorry guys, I have no idea how what you're talking about relates to > > > > what I was asking. I'm not talking about making a clone of Android or > > > > anything like that. I'm familiar with Android development, and I am > > > > part the way through coding my application; my question is basically > > > > "where can I obtain the user's authenticated token so that I may > > > > interact with google services?" > > > > > cheers, > > > > Ian --~--~-~--~~~---~--~~ 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: my PacMan version released
Yeah that seems like it's asking for trouble there ;). On Dec 2, 5:27 pm, Ralf <[EMAIL PROTECTED]> wrote: > Just out of curiosity, isn't this name already licensed by a game > company that actually has a very similarly named game already > available on market?http://www.namcogames.com/corporate/press/4968.html > > R/ > > On Tue, Dec 2, 2008 at 12:37 PM, Andrea <[EMAIL PROTECTED]> wrote: > > > Dear members, > > > I've just published my Pacman version on AndAppstore.com and on > > SlideMe.org . It is still under development, so please test and report > > me bugs, comments and whatever you think maybe useful. I'm developing > > with the emulator and i have never tested it on a real device because > > i don't have one. > > > You can get the .apk here: > >http://andappstore.com/AndroidPhoneApplications/apps/18740 > >http://slideme.org/application/testme-pacman > > > I hope you enjoy. > > Andrea Paiano --~--~-~--~~~---~--~~ 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: Music file format supported by Android
Dave just gave us a full list! Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." On Tue, Dec 2, 2008 at 5:30 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > Jatin wrote: > > Hello, > > Can u please let me know the list of the Music file format supported > > by Android and the Music Player supported by Android. > > MP3 and OGG, perhaps others. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! > > > > --~--~-~--~~~---~--~~ 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: flash player
Yeah just full html browser so even with flash you can't watch vids on youtube etc untill upgraded browser that supports flash! Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." On Tue, Dec 2, 2008 at 5:30 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > bryan wrote: > > How do I get a flash player on this phone it never let's me download > > one > > There is no Flash player as yet, though apparently one is in the works. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 1.9 Available! > > > > --~--~-~--~~~---~--~~ 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: Music file format supported by Android
Jatin wrote: > Hello, > Can u please let me know the list of the Music file format supported > by Android and the Music Player supported by Android. MP3 and OGG, perhaps others. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ 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: flash player
bryan wrote: > How do I get a flash player on this phone it never let's me download > one There is no Flash player as yet, though apparently one is in the works. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ 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: Retrieve phone number for given contact
glenys wrote: > Hi, > > I am trying to retrieve the phone number for a given contact. However, > the managedQuery function call always terminates my application. No > matter what I change my query to, the managedQuery seems to crash all > the time. > > What could be the problem? Could it be that the contacts db file is in > a different location or something? > > My code looks like this: > > public void getContactNumber() { > > String[] projection = new String[] > {android.provider.Contacts.Phones.NUMBER}; > > > Cursor managedCursor = > managedQuery(android.provider.Contacts.People.CONTENT_URI, > projection, > android.provider.Contacts.Phones.NAME + "=\'" + > "A" + "\'", null, null); >} > where the name of the given contact is "A". Could you provide us with the stack trace showing the exception? You can get this from adb logcat or DDMS. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~-~--~~~---~--~~ 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 Linux
OH ok thanks!!! lol : ) Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." On Tue, Dec 2, 2008 at 4:34 PM, Ralf <[EMAIL PROTECTED]> wrote: > > Plus One. > > On Tue, Dec 2, 2008 at 2:22 PM, Dianne Hackborn <[EMAIL PROTECTED]> > wrote: > > Because He Was Enthralled By The Awesomeness Of It, Like I Am Too. It Is > > Awesome! > > > > On Tue, Dec 2, 2008 at 2:20 PM, Xavier Mathews <[EMAIL PROTECTED]> > > wrote: > >> > >> Why Did You Say That? > >> > >> On 12/02/2008, Eric Mill <[EMAIL PROTECTED]> wrote: > >> > > >> > This has been an awesome thread. > >> > > >> > On Dec 1, 5:33 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > >> >> So that means the G1 Does! > >> >> > >> >> Xavier A. Mathews > >> >> Student/Browser Specialist/Developer/Web-Master > >> >> Google Group Client Based Tech Support Specialist > >> >> Hazel Crest Illinois > >> >> [EMAIL PROTECTED]@hotmail.com¥ > [EMAIL PROTECTED] > >> >> "Fear of a name, only increases fear of the thing itself." > >> >> > >> >> On Mon, Dec 1, 2008 at 4:31 PM, Jean-Baptiste Queru <[EMAIL PROTECTED] > > > >> >> wrote: > >> >> > >> >> > Android is and has always been built on top of Linux. > >> >> > >> >> > JBQ > >> >> > >> >> > On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S > >> >> > <[EMAIL PROTECTED]> wrote: > >> >> > >> >> > > Will G1 be running Linux like Iphone anytime soon? > >> > > > >> > > >> > >> > >> -- > >> Xavier A. Mathews > >> Student/Browser Specialist/Developer/Web-Master > >> Google Group Client Based Tech Support Specialist > >> Hazel Crest Illinois > >> [EMAIL PROTECTED]@[EMAIL PROTECTED] > >> "Fear of a name, only increases fear of the thing itself." > >> > >> > > > > > > > > -- > > Dianne Hackborn > > Android framework engineer > > [EMAIL PROTECTED] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support. All such questions should be posted on public > > forums, where I and others can see and answer them. > > > > > > > > > > > > > --~--~-~--~~~---~--~~ 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 build test apk
This may help you http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html --~--~-~--~~~---~--~~ 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: Ringtone.isPlaying problem
i am in shame once again, yes it was my bug :-( when i looked into code after few days it was so obvious... On 1. Dec., 18:06 h., Dave Sparks <[EMAIL PROTECTED]> wrote: > The phone application uses the RingtoneManager to play ringtones, so > it definitely works in that application. That doesn't mean it doesn't > have a bug, but I would suggest you check your code first. > > On Nov 29, 3:41 pm, Selmi <[EMAIL PROTECTED]> wrote: > > > hi, i hope there is someone who has some experience with ringtones > > > in short, i open RingtoneManager and i choose ringtone from it using: > > > mRingtone=mRingtoneManager.getRingtone(position); > > mRingtone.play(); > > > after some time i make following test: > > if(mRingtone!=null && mRingtone.isPlaying()) > > { > > mRingtone.stop(); > > mRingtone=null;} > > > else > > { > > some action > > > } > > > problem is that mRingtone.isPlaying() always returns false, even if > > sound is still played! > > is it some problem in api, or did i misunderstood anything? --~--~-~--~~~---~--~~ 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] Image capture
Using : Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); startActivityForResult(intent, GET_IMAGE_FROM_CAMERA); is possibile to run the camera capture application, but I didn't understand how get the image file info or data on onActivityResult. somebody know how do it ? 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: G1 Linux
Plus One. On Tue, Dec 2, 2008 at 2:22 PM, Dianne Hackborn <[EMAIL PROTECTED]> wrote: > Because He Was Enthralled By The Awesomeness Of It, Like I Am Too. It Is > Awesome! > > On Tue, Dec 2, 2008 at 2:20 PM, Xavier Mathews <[EMAIL PROTECTED]> > wrote: >> >> Why Did You Say That? >> >> On 12/02/2008, Eric Mill <[EMAIL PROTECTED]> wrote: >> > >> > This has been an awesome thread. >> > >> > On Dec 1, 5:33 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> >> So that means the G1 Does! >> >> >> >> Xavier A. Mathews >> >> Student/Browser Specialist/Developer/Web-Master >> >> Google Group Client Based Tech Support Specialist >> >> Hazel Crest Illinois >> >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> >> "Fear of a name, only increases fear of the thing itself." >> >> >> >> On Mon, Dec 1, 2008 at 4:31 PM, Jean-Baptiste Queru <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >> > Android is and has always been built on top of Linux. >> >> >> >> > JBQ >> >> >> >> > On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S >> >> > <[EMAIL PROTECTED]> wrote: >> >> >> >> > > Will G1 be running Linux like Iphone anytime soon? >> > > >> > >> >> >> -- >> Xavier A. Mathews >> Student/Browser Specialist/Developer/Web-Master >> Google Group Client Based Tech Support Specialist >> Hazel Crest Illinois >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> "Fear of a name, only increases fear of the thing itself." >> >> > > > > -- > Dianne Hackborn > Android framework engineer > [EMAIL PROTECTED] > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. > > > > > --~--~-~--~~~---~--~~ 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?
Somebody know how get the image file uri ? Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); startActivityForResult(intent, GET_IMAGE_FROM_CAMERA); from onActivityResult it doesn't return uri. How can I do to get uri from this kind of intent ? thanks On 1 Nov, 19:04, "Guillaume Perrot" <[EMAIL PROTECTED]> wrote: > I hope when there will be standard intents to replace them once those two > intents will break. > > 2008/11/1 hackbod <[EMAIL PROTECTED]> > > > > > Just be prepared for your application to break in the future. These > > are undocumented because they are not ready for use. > > > On Nov 1, 5:50 am, 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: my PacMan version released
Just out of curiosity, isn't this name already licensed by a game company that actually has a very similarly named game already available on market? http://www.namcogames.com/corporate/press/4968.html R/ On Tue, Dec 2, 2008 at 12:37 PM, Andrea <[EMAIL PROTECTED]> wrote: > > Dear members, > > I've just published my Pacman version on AndAppstore.com and on > SlideMe.org . It is still under development, so please test and report > me bugs, comments and whatever you think maybe useful. I'm developing > with the emulator and i have never tested it on a real device because > i don't have one. > > You can get the .apk here: > http://andappstore.com/AndroidPhoneApplications/apps/18740 > http://slideme.org/application/testme-pacman > > I hope you enjoy. > Andrea Paiano > > > --~--~-~--~~~---~--~~ 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 Linux
Totally! On Tue, Dec 2, 2008 at 5:22 PM, Dianne Hackborn <[EMAIL PROTECTED]> wrote: > Because He Was Enthralled By The Awesomeness Of It, Like I Am Too. It Is > Awesome! > > On Tue, Dec 2, 2008 at 2:20 PM, Xavier Mathews <[EMAIL PROTECTED]> > wrote: >> >> Why Did You Say That? >> >> On 12/02/2008, Eric Mill <[EMAIL PROTECTED]> wrote: >> > >> > This has been an awesome thread. >> > >> > On Dec 1, 5:33 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> >> So that means the G1 Does! >> >> >> >> Xavier A. Mathews >> >> Student/Browser Specialist/Developer/Web-Master >> >> Google Group Client Based Tech Support Specialist >> >> Hazel Crest Illinois >> >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> >> "Fear of a name, only increases fear of the thing itself." >> >> >> >> On Mon, Dec 1, 2008 at 4:31 PM, Jean-Baptiste Queru <[EMAIL PROTECTED]> >> >> wrote: >> >> >> >> > Android is and has always been built on top of Linux. >> >> >> >> > JBQ >> >> >> >> > On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S >> >> > <[EMAIL PROTECTED]> wrote: >> >> >> >> > > Will G1 be running Linux like Iphone anytime soon? >> > > >> > >> >> >> -- >> Xavier A. Mathews >> Student/Browser Specialist/Developer/Web-Master >> Google Group Client Based Tech Support Specialist >> Hazel Crest Illinois >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> "Fear of a name, only increases fear of the thing itself." >> >> > > > > -- > Dianne Hackborn > Android framework engineer > [EMAIL PROTECTED] > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. > > > > > --~--~-~--~~~---~--~~ 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 Linux
Because He Was Enthralled By The Awesomeness Of It, Like I Am Too. It Is Awesome! On Tue, Dec 2, 2008 at 2:20 PM, Xavier Mathews <[EMAIL PROTECTED]>wrote: > > Why Did You Say That? > > On 12/02/2008, Eric Mill <[EMAIL PROTECTED]> wrote: > > > > This has been an awesome thread. > > > > On Dec 1, 5:33 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > >> So that means the G1 Does! > >> > >> Xavier A. Mathews > >> Student/Browser Specialist/Developer/Web-Master > >> Google Group Client Based Tech Support Specialist > >> Hazel Crest Illinois > >> [EMAIL PROTECTED]@[EMAIL PROTECTED] > >> "Fear of a name, only increases fear of the thing itself." > >> > >> On Mon, Dec 1, 2008 at 4:31 PM, Jean-Baptiste Queru <[EMAIL PROTECTED]> > >> wrote: > >> > >> > Android is and has always been built on top of Linux. > >> > >> > JBQ > >> > >> > On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S > >> > <[EMAIL PROTECTED]> wrote: > >> > >> > > Will G1 be running Linux like Iphone anytime soon? > > > > > > > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." > > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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 Linux
Why Did You Say That? On 12/02/2008, Eric Mill <[EMAIL PROTECTED]> wrote: > > This has been an awesome thread. > > On Dec 1, 5:33 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> So that means the G1 Does! >> >> Xavier A. Mathews >> Student/Browser Specialist/Developer/Web-Master >> Google Group Client Based Tech Support Specialist >> Hazel Crest Illinois >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> "Fear of a name, only increases fear of the thing itself." >> >> On Mon, Dec 1, 2008 at 4:31 PM, Jean-Baptiste Queru <[EMAIL PROTECTED]> >> wrote: >> >> > Android is and has always been built on top of Linux. >> >> > JBQ >> >> > On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S >> > <[EMAIL PROTECTED]> wrote: >> >> > > Will G1 be running Linux like Iphone anytime soon? > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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 Linux
This has been an awesome thread. On Dec 1, 5:33 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > So that means the G1 Does! > > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." > > On Mon, Dec 1, 2008 at 4:31 PM, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote: > > > Android is and has always been built on top of Linux. > > > JBQ > > > On Mon, Dec 1, 2008 at 2:30 PM, Xavier Live Tech.S > > <[EMAIL PROTECTED]> wrote: > > > > Will G1 be running Linux like Iphone anytime soon? --~--~-~--~~~---~--~~ 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: HTTP compression lost when using 3G connection
There's an issue where downloading small files (such as small 20Kish apps) get corrupted over 3G, but not wifi, that this is certainly related to. If you've ever downloaded an app, and it says that it wants to replace "Android System", that's the bug, and I now blame T- Mobile (as opposed to Google) for it. -- Eric On Nov 25, 1:58 pm, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote: > It's actually not uncommon in the cell world to turn off compression > on the public Internet, so that the proxy can have an easier time > looking at the data and processing it to send it over the air (where > it is compressed), i.e. trading Internet bandwidth for some CPU time > on the proxy. > > JBQ > > On Tue, Nov 25, 2008 at 10:53 AM, melody <[EMAIL PROTECTED]> wrote: > > > Thanks. I ran the test in the emulator, and the http compression was > > kept. So this does indeed seem to be a problem being caused by a > > proxy at T-Mobile. > > > Not to be overly dramatic, but isn't this a pretty serious issue? I > > would think that under 3G, T-Mobile would very much want us all to be > > using HTTP compression so that we don't flood their network. Even on > > my home broadband connection, when I turn off http compression in my > > browser to do testing work, most websites load much more slowly, > > especially with the massive css/js files being transmitted these > > days. > > > Something else that may or may not be related: > > I noticed that the T-Mobile proxy is also converting my http request > > to a "HTTP 1.0" request, whereas I am actually trying to send a "HTTP > > 1.1" request. > > > David Turner wrote: > >> The best way to test this is try to run your test from the emulator, since > >> the browser > >> wouldn't then use an intermediate T-Mobile proxy. > > >> On Tue, Nov 25, 2008 at 12:27 AM, melody <[EMAIL PROTECTED]> wrote: > > >> > I've been working on improving the speed of my application and noticed > >> > that when I turn off wifi and use the 3G connection, http requests no > >> > longer use http compression. > > >> > Specifically, when using the 3G connection, the "Accept-Encoding" > >> > header (which I have set to "gzip, deflate") are stripped off before > >> > the request arrives at my server. I tested this with the HttpClient > >> > class, and with my own custom http client through java.net.Socket. > > >> > I then also verified this using the native android web browser. With > >> > wifi turned on, my server recieves a header "Accept-Encoding: gzip". > >> > With wifi turned off, and using the 3G connection, my server does not > >> > receive that header. > > >> > I initially thought this might be an intentional behavior as part of > >> > 3G connections, but then I tested it with a 3G iphone (on AT&T), and > >> > there was no such problem there. So I'm guessing it's a problem > >> > specific to T-Mobile. i wonder if there is some proxy that is > >> > intentionally stripping out this header. > > >> > I'd appreciate any advice about this. For an XML-based web service > >> > like mine where the response data has a high compression ratio, this > >> > behavior causes a significant speed hit. --~--~-~--~~~---~--~~ 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: Getting information from the Internet
It Was Of Substance! So... On 12/02/2008, loty <[EMAIL PROTECTED]> wrote: > > Yes Xavier, > Please stop posting if you have nothing of substance to say. > > On Dec 2, 12:21 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> YOU NEED TO GO FIND YOU SOME BUSINESS. >> >> On 12/02/2008, Xavier Mathews <[EMAIL PROTECTED]> wrote: >> >> >> >> > Thats Nice. >> >> > On 12/02/2008, Michael <[EMAIL PROTECTED]> wrote: >> >> >> Heh. Clearly a troll. >> >> > -- >> > Xavier A. Mathews >> > Student/Browser Specialist/Developer/Web-Master >> > Google Group Client Based Tech Support Specialist >> > Hazel Crest Illinois >> > [EMAIL PROTECTED]@[EMAIL PROTECTED] >> > "Fear of a name, only increases fear of the thing itself." >> >> -- >> Xavier A. Mathews >> Student/Browser Specialist/Developer/Web-Master >> Google Group Client Based Tech Support Specialist >> Hazel Crest Illinois >> [EMAIL PROTECTED]@[EMAIL PROTECTED] >> "Fear of a name, only increases fear of the thing itself." > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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] my PacMan version released
Dear members, I've just published my Pacman version on AndAppstore.com and on SlideMe.org . It is still under development, so please test and report me bugs, comments and whatever you think maybe useful. I'm developing with the emulator and i have never tested it on a real device because i don't have one. You can get the .apk here: http://andappstore.com/AndroidPhoneApplications/apps/18740 http://slideme.org/application/testme-pacman I hope you enjoy. Andrea Paiano --~--~-~--~~~---~--~~ 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: unknown socket error -1
Sal, Just figured I'd post this here since it might become relevant for you. If you come across the error: 12-01 18:27:52.175: WARN/System.err(764): java.net.UnknownHostException: Host is unresolved: www.strazzere.com:80 This exception was thrown whenever .connect() or .getOutputStream() where called. Obviously www.strazzere.com is just an example, but you might find that a known and resolvable host is getting the exception thrown, the trick is to restart the emulator. It seems to lose something if you change network connections or go in/come out of hibernation mode. Sorry if this seems off topic, but I wasn't able to find a solution to my problem yesterday so I figured I'd post this here! Best of luck, -Tim Strazzere On Dec 2, 4:21 am, sal <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for your concern, > > The problem with socketException got solved by putting INTERNET > permission in manifest.xml file. > > But now i am encountering a new problem as follows > > i have created Serversocket as follows > > ServerSocket clientListenerSocket = new ServerSocket(); > > But i dont see port# being in listening state when i do "netstat > -a" on windows XP machine.Strange part is its not generating any > exception. because of this client is unable to connect to this port > > I guess host OS is not allowing to allocate these ports. i would like > to know what could be the other reasons for this particular problem. > and what is the procedure to find free ports on Windows XP machine. > > Thanks > > On Dec 1, 7:58 pm, Huebi <[EMAIL PROTECTED]> wrote: > > > You need to add the INTERNET permission to your app in the Manifest. > > That should solve the issue > > > On 1 Dez., 15:27, sal <[EMAIL PROTECTED]> wrote: > > > > 1. Can anyone point me to simple TCP client/server program on > > > android ?? > > > > 2. Whenever i try to create socket with port and IPaddress i get > > > IOException which points to a SocketException which gives a message > > > "unknown socket error -1" , it would be nice if someone could tell the > > > root cause for this problem. i guess this is something to do with TCP > > > settings of emulator. > > > > 3. Do we need to have any configuration changes to Emulator or > > > androidmanifest.xml file to eliminate this problem ? > > > > Thanks- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: com.google.wireless.gdata
I'm also very much interested in these libraries. Can someone from Google enlighten us on when if ever these libraries become available again. On Dec 1, 11:27 pm, AndroidEngineer <[EMAIL PROTECTED]> wrote: > Howcome com.google.wireless.gdata and com.google.android.gdata have > been removed from the 1.0 r1 library. I see these packages in 0.9 and > previous versions but not in 1.0. What is the reason behind removing > the libraries? From what I've seen, they seem to be very useful > libraries. > > Please give me heads up. I am trying to write an application to access > google calendar and its events. > > Thanks. > > Android Engineer --~--~-~--~~~---~--~~ 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: Getting information from the Internet
Yes Xavier, Please stop posting if you have nothing of substance to say. On Dec 2, 12:21 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > YOU NEED TO GO FIND YOU SOME BUSINESS. > > On 12/02/2008, Xavier Mathews <[EMAIL PROTECTED]> wrote: > > > > > Thats Nice. > > > On 12/02/2008, Michael <[EMAIL PROTECTED]> wrote: > > >> Heh. Clearly a troll. > > > -- > > Xavier A. Mathews > > Student/Browser Specialist/Developer/Web-Master > > Google Group Client Based Tech Support Specialist > > Hazel Crest Illinois > > [EMAIL PROTECTED]@[EMAIL PROTECTED] > > "Fear of a name, only increases fear of the thing itself." > > -- > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED] > "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: Loading a bitmap from a byte buffer
If that's the case, then this discussion shouldn't be on android-developers, which is for developing with the SDK. Let's move it to one of the open source platform groups. On Tue, Dec 2, 2008 at 1:00 AM, Koush <[EMAIL PROTECTED]> wrote: > > Dianne Hackborn: I am asking this in the context of how to create a > screenshot application. Taking screenshots is not possible on the G1 > anyways, because reading from /dev/graphics/fb0 is only available to > root and shell and not available to actual applications. Thus is only > works on hacked phones. So you're asking me to not do something, when > I'm well past the line of things I should not be doing. :) > Incidentally, the inability to take a simple screenshot of what is on > your phone is a pretty significant oversight (you're not going to > always be hooked up to a PC with the SDK/DDMS tool at your disposal). > > John Spurlock: Decode byte array is for compressed byte arrays, such > as PNGs and JPG. > I am basically trying to copy directly into the pixel buffer. > > On Dec 1, 3:34 pm, John Spurlock <[EMAIL PROTECTED]> wrote: > > BitmapFactory.decodeByteArray ? > > > > http://code.google.com/android/reference/android/graphics/BitmapFacto... > > > > On Dec 1, 5:58 pm, Koush <[EMAIL PROTECTED]> wrote: > > > > > I inspected Bitmap.cpp and found this function: > > > > > static jboolean Bitmap_writeToParcel(JNIEnv* env, jobject, > > > const SkBitmap* bitmap, > > > jboolean isMutable, jobject > > > parcel) { > > > if (parcel == NULL) { > > > SkDebugf("--- writeToParcel null parcel\n"); > > > return false; > > > } > > > > > android::Parcel* p = android::parcelForJavaObject(env, parcel); > > > > > p->writeInt32(isMutable); > > > p->writeInt32(bitmap->config()); > > > p->writeInt32(bitmap->width()); > > > p->writeInt32(bitmap->height()); > > > p->writeInt32(bitmap->rowBytes()); > > > > > if (bitmap->getConfig() == SkBitmap::kIndex8_Config) { > > > SkColorTable* ctable = bitmap->getColorTable(); > > > if (ctable != NULL) { > > > int count = ctable->count(); > > > p->writeInt32(count); > > > memcpy(p->writeInplace(count * sizeof(SkPMColor)), > > >ctable->lockColors(), count * sizeof(SkPMColor)); > > > ctable->unlockColors(false); > > > } else { > > > p->writeInt32(0); // indicate no ctable > > > } > > > } > > > > > size_t size = bitmap->getSize(); > > > bitmap->lockPixels(); > > > memcpy(p->writeInplace(size), bitmap->getPixels(), size); > > > bitmap->unlockPixels(); > > > return true; > > > > > } > > > > > I can manually marshal a Bitmap parcel in the proper format, and then > > > append the custom byte buffer, and then use createFromParcel to create > > > a bitmap. That gets me indirect access to creating a bitmap directly > > > from a byte buffer. It's a bit of a hack obviously, and not ideal. Is > > > there a better way to do this? > > > > > On Dec 1, 2:41 pm, Koush <[EMAIL PROTECTED]> wrote: > > > > > > I'm trying to populate a create a bitmap from something other than an > > > > RGBA int array. > > > > However, the Bitmap creation overloads only take int arrays as > inputs. > > > > > > In particular, I have a byte buffer that is in the R5G6B5 format that > > > > I want to load directly into a bitmap. The format is supposedly > > > > supported internally, but I can't figure out how to create the bitmap > > > > without doing the R5G6B5 to A8R8G8B8 conversion first. > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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: Wifi Ip Address
Ralf: Yes, I need to know it programmatically because I have to accept incoming connections on my phone. On Dec 2, 7:11 pm, Ralf <[EMAIL PROTECTED]> wrote: > On the device, go to the wifi settings and select the connected wifi > network. It will show you its IP address. > > If you mean programmatically, sorry, I do not know. > > R/ > > On Mon, Dec 1, 2008 at 2:49 AM, Andrea <[EMAIL PROTECTED]> wrote: > > > How can I get the Ip address assigned by a WiFi network to which my > > device is connected? --~--~-~--~~~---~--~~ 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: Starting an activity with FLAG_ACTIVITY_MULTIPLE_TASK
You need to at least post the stack crawl of the error. On Tue, Dec 2, 2008 at 4:57 AM, RoadRunner.Android <[EMAIL PROTECTED]>wrote: > > I am writing an application in which I want the activity to a new > instance everytime it is executed, so I am applying > FLAG_ACTIVITY_MULTIPLE_TASK in conjuction with FLAG_ACTIVITY_NEW_TASK > in the Intent that triggers the activity. But I soon as I execute the > application, I get an "Force Closed" dialog box. Can anyone help me > out or tell a better way to achieve the required task? > > Thank-you very much. > > > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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: 2D over 3D
Or follow the SurfaceView Overlay API Demo. http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/graphics/ On Tue, Dec 2, 2008 at 11:11 AM, Robert Green <[EMAIL PROTECTED]> wrote: > > You can just do one square billboard positioned such that it is > directly in front of the frustum. The texture can be transparent and > you just draw what you want to have show up. That will be only 2 > additional polys for the 2D. > > On Dec 2, 9:56 am, fcalzada <[EMAIL PROTECTED]> wrote: > > Yes i thought about it, but it's gonna take some 3d resources... and > > my application is already quite heavy in vertices number > > > > On Dec 2, 3:51 pm, Robert Green <[EMAIL PROTECTED]> wrote: > > > > > In desktop 3D stuff I've always just created billboards and drawn to > > > the textures for them. I'm sure this same technique would work. > > > > > On Dec 2, 4:29 am, fcalzada <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > I'm having the same issue, I tried hard but without success. > > > > Did you find a workaround ? > > > > > > thanks > > > > > > On Nov 20, 1:57 pm, petunio <[EMAIL PROTECTED]> wrote: > > > > > > > Hi > > > > > > > I am porting an application based on the sdk 3.0, and I am having > > > > > countless problems... > > > > > > > now, I am struggling trying to put 2D graphics on top of a 3D > scene... > > > > > > > After a lot of headache, I managed to create a opengl context, > which > > > > > now works, but when I try to put 2D graphics on top of it, this is > > > > > what happens: > > > > > > > public void drawFrame(GL10 gl) > > > > > { > > > > > //view is a SurfaceView, and the value is not null > ! > > > > > mySurfaceHolder=view.getSurfaceHolder(); > > > > > > > Canvas c=mySurfaceHolder.lockCanvas(); > > > > > > > //this is where I wanted to place my 2D drawing, > but > > > > > after the above line, this is > > > > > //what I got in the Log: > > > > > //11-20 12:52:02.508: ERROR/SurfaceComposerClient(490): eLocked set > > > > > when entering lock_layer(), //layer=1 (lcblk=0x410420a0), > > > > > state=0020 > > > > > //11-20 12:52:02.598: ERROR/SurfaceHolder(490): Exception locking > > > > > surface > > > > > > > mySurfaceHolder.unlockCanvasAndPost(c); > > > > > > > } > > > > > > > Any help would be very appreciated > > > > > > > Thanks! > > > > > > > -- Dianne Hackborn Android framework engineer [EMAIL PROTECTED] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ 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: Running java native programs on android
No, Swing is not available on Android. On Tue, Dec 2, 2008 at 12:02 PM, bigauto <[EMAIL PROTECTED]> wrote: > > I wrote a java program before using eclipse with a user interface > using jframe. I was wondering if I can get it to run on the android as > well? > > On Dec 2, 1:09 pm, Ralf <[EMAIL PROTECTED]> wrote: >> Would you like to elaborate what you mean by "nativejava"? >> >> If by "nativejava" you meanJavabyte-code (as opposed to dalvik), >> not directly, although you can use convert the .class to .dex before >> packaging them into an apk. >> >> If by "nativejava" you mean a desktopjavaapp using another UI kit, >> definitely no. >> >> R/ >> >> On Mon, Dec 1, 2008 at 1:10 PM, bigauto <[EMAIL PROTECTED]> wrote: >> >> > Is there a way I can anativejavaprogram on theandroidphone? > > > -- Romain Guy www.curious-creature.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: Running java native programs on android
I wrote a java program before using eclipse with a user interface using jframe. I was wondering if I can get it to run on the android as well? On Dec 2, 1:09 pm, Ralf <[EMAIL PROTECTED]> wrote: > Would you like to elaborate what you mean by "nativejava"? > > If by "nativejava" you meanJavabyte-code (as opposed to dalvik), > not directly, although you can use convert the .class to .dex before > packaging them into an apk. > > If by "nativejava" you mean a desktopjavaapp using another UI kit, > definitely no. > > R/ > > On Mon, Dec 1, 2008 at 1:10 PM, bigauto <[EMAIL PROTECTED]> wrote: > > > Is there a way I can anativejavaprogram on theandroidphone? --~--~-~--~~~---~--~~ 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/where to create a custom icon for my application...?
Thanks. Just tried it. Works. On Nov 30, 6:00 pm, lior <[EMAIL PROTECTED]> wrote: > Not sure about the market.. but to replace the default icon of your > app. > place your new image at //res/drawable > and update the AndroidManifest.xml file to point to your new file. > > > try it out. > > Lior > > On Nov 29, 10:19 pm, DMT <[EMAIL PROTECTED]> wrote: > > > Anyone know how/where to create a custom icon for an Android app (the > > image that appears in the Phone display immediately to the left of the > > the app name) in the Android Market? > > 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: Media Player Error -38,0
On Dec 1, 6:12 am, David Given <[EMAIL PROTECTED]> wrote: > This is the generic 'I'm confused, help me' error code. -38 corresponds > in the source code to 'unknown error'. It seems to appear for a whole Any idea what the -17 error from MediaPlayer means? It occurs when I'm streaming mp3s, and then every song thereafter gets it. Errors.h says it's ALREADY_EXISTS (-EEXIST), and I can see where AudioFlinger::addTrack() returns it if the track is already in mActiveTracks, but I can't see why that would be the case. I'm not trying to open the same stream twice, and even if I was that shouldn't be an error, should it? -- Peter --~--~-~--~~~---~--~~ 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: Console program with service without actuvity
On Sun, Nov 30, 2008 at 9:57 PM, sal123 <[EMAIL PROTECTED]> wrote: > > Hi All, > > 1. may i know the steps to invoke executable from adb shell. > 2. do u mean, we cannot have applications in android without activity > class or without subclass of activity > > my intention is to build a engine which keeps on running in background > without any foreground task . it would be better if you could point me > to such an example What you want is a Service. http://code.google.com/android/reference/android/app/Service.html R/ > > Thanks > > > On Nov 29, 4:12 pm, freepine <[EMAIL PROTECTED]> wrote: >> You can invoke your app in adb shell after pushing the executables into the >> image. But as we are told again and again, android doesn't support native >> code development:) >> >> >> >> On Thu, Nov 27, 2008 at 6:51 PM, sal123 <[EMAIL PROTECTED]> wrote: >> >> > Hi All, >> >> > Can anyone tell me if there is anyway to run console programs in >> > android , i mean can i run app with just a service without any >> > activity . and if there is some way then let me know how can i invoke >> > the program from emulator. >> >> > Thanks and regards >> > Suhail- 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: insert the data in the Sqlite Database
Or you can use the provider example that the NotePad app shows. I'm using it and it didn't take me longer than an hour to get in. On Dec 2, 11:40 am, NuuNeoI <[EMAIL PROTECTED]> wrote: > You may forget Double Quote > > String strsql="INSERT TABLE DataTable(Name,Mobile,City) VALUES (\""+ > Iname +"\",\""+ Imob +"\",\""+ Icity +"\")"; > > On Dec 2, 6:11 pm, Rahul <[EMAIL PROTECTED]> wrote: > > > i want to insert data in the database of Android Application i create > > this code > > > String Iname=EtName.getText().toString(); > > String Imob=EtMob.getText().toString(); > > String Icity=EtCity.getText().toString(); > > > String strsql="INSERT TABLE > > DataTable(Name,Mobile,City) VALUES ("+ > > Iname +","+ Imob +","+ Icity +")"; > > DB.execSQL(strsql); > > > but it shows following error > > > 12-02 16:37:59.460: ERROR/Database(370): Failure 21 (out of memory) on > > 0x0 when preparing 'INSERT TABLE DataTable(Name,Mobile,City) VALUES > > (sad,732,asd)'. > > 12-02 16:38:00.481: ERROR/Exception on query:-(370): > > android.database.sqlite.SQLiteException: unknown error: INSERT TABLE > > DataTable(Name,Mobile,City) VALUES (sad,732,asd) > > i dont undestand this error > > so plz any one help me . > > --~--~-~--~~~---~--~~ 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: strang error with aapt on 1.0 SDK on unbuntu 8.04
Would you like to elaborate? - Could you tell us what command you are executing, in which context (command line ant or eclipse?) - Could you give us the exact output generated? R/ On Sun, Nov 30, 2008 at 10:34 PM, Clay <[EMAIL PROTECTED]> wrote: > > its very strange. > > basically I get a No such file or directory error message, but the > file is clearly there when I do an ls. > > any ideas? > > Clay > > > > > --~--~-~--~~~---~--~~ 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: 2D over 3D
You can just do one square billboard positioned such that it is directly in front of the frustum. The texture can be transparent and you just draw what you want to have show up. That will be only 2 additional polys for the 2D. On Dec 2, 9:56 am, fcalzada <[EMAIL PROTECTED]> wrote: > Yes i thought about it, but it's gonna take some 3d resources... and > my application is already quite heavy in vertices number > > On Dec 2, 3:51 pm, Robert Green <[EMAIL PROTECTED]> wrote: > > > In desktop 3D stuff I've always just created billboards and drawn to > > the textures for them. I'm sure this same technique would work. > > > On Dec 2, 4:29 am, fcalzada <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm having the same issue, I tried hard but without success. > > > Did you find a workaround ? > > > > thanks > > > > On Nov 20, 1:57 pm, petunio <[EMAIL PROTECTED]> wrote: > > > > > Hi > > > > > I am porting an application based on the sdk 3.0, and I am having > > > > countless problems... > > > > > now, I am struggling trying to put 2D graphics on top of a 3D scene... > > > > > After a lot of headache, I managed to create a opengl context, which > > > > now works, but when I try to put 2D graphics on top of it, this is > > > > what happens: > > > > > public void drawFrame(GL10 gl) > > > > { > > > > //view is a SurfaceView, and the value is not null ! > > > > mySurfaceHolder=view.getSurfaceHolder(); > > > > > Canvas c=mySurfaceHolder.lockCanvas(); > > > > > //this is where I wanted to place my 2D drawing, but > > > > after the above line, this is > > > > //what I got in the Log: > > > > //11-20 12:52:02.508: ERROR/SurfaceComposerClient(490): eLocked set > > > > when entering lock_layer(), //layer=1 (lcblk=0x410420a0), > > > > state=0020 > > > > //11-20 12:52:02.598: ERROR/SurfaceHolder(490): Exception locking > > > > surface > > > > > mySurfaceHolder.unlockCanvasAndPost(c); > > > > > } > > > > > Any help would be very appreciated > > > > > 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: ListActivity and progressbars?
Yes, window features can only be set in a root activity. 2008/12/2 Will Ryan <[EMAIL PROTECTED]> > > I also experienced a similar problem. This was resolved when I made > sure that the root activity was calling > > setProgressBarIndeterminateVisibility(true); > > If you try to call this from Activities that have been loaded into > tabs for example (where the tabs are created as a separate Activity), > I found that it had no effect. > > Maybe this will resolve the problem. > > Will > > On Nov 17, 1:06 pm, "Guillaume Perrot" <[EMAIL PROTECTED]> > wrote: > > Your code is quite strange because when you perform UI operations, it has > to > > be on the main thread, so you normally have to use an Handler to post > > actions on the UI thread when you are in another thread. > > I am surprised it works. > > Plus I checked your CategoryList.java at google code, I didn't find any > line > > related to the progress bar. > > > > 2008/11/17 Randy McEoin <[EMAIL PROTECTED]> > > > > > > > > > When I implemented a progress bar I had to place the processing I > > > needed within a thread. It looked something like the following: > > > > > setProgressBarIndeterminateVisibility(true); > > > > >myThread = new Thread(new Runnable() { > > >public void run() { > > >doProcessing(); > > >setProgressBarIndeterminateVisibility(false); > > >} > > >}); > > >myThread.start(); > > > > > For full sourcehttp://code.google.com/p/android-passwordsafe/and > > > look at CategoryList.java > > > > > If I understand this all correctly, the reason your progress bar > > > wasn't displayed was because your program was too busy doing the > > > processing. Thus the need for a thread. > > > > > Randy > > > > > > > > --~--~-~--~~~---~--~~ 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: ice-e on Android?
Go look at what ice-e is - it's a framework for writing Java applications to run on mobile platforms. Android is not supported by it right now, so the answer to the original question is "no". If he writes his app in Java *using the Android SDK*, then obviously it will run on Android. - michael --~--~-~--~~~---~--~~ 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: ice-e on Android?
So Even If He Writes It Still Won't Run The Java Right? On 12/02/2008, Michael <[EMAIL PROTECTED]> wrote: > > On Dec 2, 12:44 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: >> But Keep In Mind There Are Diffrent Java's One Of Them May Work i.e If >> Compatiable It Is Need To Match The API i.e And What Ever Format But >> Android Has It Own Interface So When It Come Down To It You Can >> Try But It May Not Work! > > No, you don't seem to understand. Android cannot run compiled class > files from any java without having them be converted to the Dalvik > format, since it runs everything in the Dalvik virtual machine. And > this only really works for libraries. > > Ultimately, you wouldn't have a working application unless you write > it specifically for the Android SDK. > > - michael > > > -- Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." --~--~-~--~~~---~--~~ 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: Is it possible to use c/c++ shared object using android application
And most of the answers to these questions are found by using the search function on google groups.. On Dec 2, 4:57 am, Ludwig <[EMAIL PROTECTED]> wrote: > No, native code is not supported ATM.This question has been asked a quite a > few times in recent days and I would not expect the answer to change any > time soon. > > Ludwig > > 2008/12/2 Chandrakar Aravind-rqj386 <[EMAIL PROTECTED]> > > > Hi, > > > I am quite new to android, I have one query is it possible to use C/C++ > > shared object using android application. > > > Thanks in Advance > > > Arvind --~--~-~--~~~---~--~~ 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: ice-e on Android?
On Dec 2, 12:44 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > But Keep In Mind There Are Diffrent Java's One Of Them May Work i.e If > Compatiable It Is Need To Match The API i.e And What Ever Format But > Android Has It Own Interface So When It Come Down To It You Can > Try But It May Not Work! No, you don't seem to understand. Android cannot run compiled class files from any java without having them be converted to the Dalvik format, since it runs everything in the Dalvik virtual machine. And this only really works for libraries. Ultimately, you wouldn't have a working application unless you write it specifically for the Android SDK. - michael --~--~-~--~~~---~--~~ 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: Android on iPhone
On Dec 1, 10:37 pm, "Swapnil Android" <[EMAIL PROTECTED]> wrote: > but the question is still unanswered, > > will ANDROID run on iPhone or iPod Touch If you look in the link posted ( http://linuxoniphone.blogspot.com/2008/11/linux-on-iphone.html ) you will see that they are asking for help porting Android there. So at this point, I'd assume not. Contact the people who ported Linux to it for more information - we don't have anything further here. - michael --~--~-~--~~~---~--~~ 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: Fast Scroll drag handle similar to Contacts ListView
Hi, The "FastScrollView" is currently implemented in the Contacts application itself. It will be part of a future SDK update though. You can find the current implementation in the source code at http://source.android.com On Tue, Dec 2, 2008 at 4:48 AM, Will Ryan <[EMAIL PROTECTED]> wrote: > > I have a ListView which contains over a thousand entries (sorted from > A to Z) and want to know how to scroll this quickly similar to how the > Contacts list can be scrolled quickly (by dragging the handle that > appears on the right hand side of the screen). > > How can this be achieved? Is it an option for the view, or do I have > to implement it? Alternatively, is it possible to see the source of > the Contacts ListView as I could probably reuse that. > > Thanks. > > > > -- Romain Guy www.curious-creature.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: Error generating final archive: null
Can You Provide Us With A Link Or Error MSG? Plug in Maker Or Add-on Maker And Tell You Exactly What You Did When Saving And Where You Archived It! Thank You! Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." On Tue, Dec 2, 2008 at 12:23 PM, Ralf <[EMAIL PROTECTED]> wrote: > > Could you give us a bit more details? > - Which number is the ADT plugin ? (eclipse > help > about eclipse > > plugins) > - What are the exact steps you do to get this error? E.g. right-click > and context menu somewhere, and are you clicking one of the links or > buttons and which view is currently open. > > Thanks in advance, > R/ > > On Tue, Nov 18, 2008 at 7:16 PM, Alam <[EMAIL PROTECTED]> wrote: > > > > When I save the manifest file I get > > > > [2008-11-18 22:13:18 - DeleteMe] Error generating final archive: null > > > > I am using Eclipse Ganymede on Ubuntu 8.04. > > Any ideas why I am getting this error. > > > > 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: Music file format supported by Android
MP3 (CBR and VBR up to 320Kbps), M4A (AAC LC, AAC, AAC+, enhanced AAC +), OGG, 3GP (AMR-NB and AMR-WB), WAVE (8/16-bit PCM) and MIDI (SMF0/1, XMF0/1, RTTTL/RTX, OTA, iMelody). On Dec 2, 12:14 am, Jatin <[EMAIL PROTECTED]> wrote: > Hello, > Can u please let me know the list of the Music file format supported > by Android and the Music Player supported by Android. > > Thanks, > Jatin --~--~-~--~~~---~--~~ 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: Error generating final archive: null
Could you give us a bit more details? - Which number is the ADT plugin ? (eclipse > help > about eclipse > plugins) - What are the exact steps you do to get this error? E.g. right-click and context menu somewhere, and are you clicking one of the links or buttons and which view is currently open. Thanks in advance, R/ On Tue, Nov 18, 2008 at 7:16 PM, Alam <[EMAIL PROTECTED]> wrote: > > When I save the manifest file I get > > [2008-11-18 22:13:18 - DeleteMe] Error generating final archive: null > > I am using Eclipse Ganymede on Ubuntu 8.04. > Any ideas why I am getting this error. > > 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: Running java native programs on android
Would you like to elaborate what you mean by "native java"? If by "native java" you mean Java byte-code (as opposed to dalvik), not directly, although you can use convert the .class to .dex before packaging them into an apk. If by "native java" you mean a desktop java app using another UI kit, definitely no. R/ On Mon, Dec 1, 2008 at 1:10 PM, bigauto <[EMAIL PROTECTED]> wrote: > > Is there a way I can a native java program on the android phone? > > > > --~--~-~--~~~---~--~~ 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: Rebuilding the SDK
The list you're looking for is probably android-platform. JBQ On Mon, Dec 1, 2008 at 6:04 PM, ChoboMuffin <[EMAIL PROTECTED]> wrote: > > I have recently started some work on the Android SDK. (I know maybe I > should have posted to android-internals but could not seem to post > there for some reason). Is there any documentation or guides for > making changes to the SDK? I find everytime I make a change I have to > rebuild the entire SDK in order to test it, is this correct? > > > > --~--~-~--~~~---~--~~ 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: ListActivity and progressbars?
I also experienced a similar problem. This was resolved when I made sure that the root activity was calling setProgressBarIndeterminateVisibility(true); If you try to call this from Activities that have been loaded into tabs for example (where the tabs are created as a separate Activity), I found that it had no effect. Maybe this will resolve the problem. Will On Nov 17, 1:06 pm, "Guillaume Perrot" <[EMAIL PROTECTED]> wrote: > Your code is quite strange because when you perform UI operations, it has to > be on the main thread, so you normally have to use an Handler to post > actions on the UI thread when you are in another thread. > I am surprised it works. > Plus I checked your CategoryList.java at google code, I didn't find any line > related to the progress bar. > > 2008/11/17 Randy McEoin <[EMAIL PROTECTED]> > > > > > When I implemented a progress bar I had to place the processing I > > needed within a thread. It looked something like the following: > > > setProgressBarIndeterminateVisibility(true); > > > myThread = new Thread(new Runnable() { > > public void run() { > > doProcessing(); > > setProgressBarIndeterminateVisibility(false); > > } > > }); > > myThread.start(); > > > For full sourcehttp://code.google.com/p/android-passwordsafe/and > > look at CategoryList.java > > > If I understand this all correctly, the reason your progress bar > > wasn't displayed was because your program was too busy doing the > > processing. Thus the need for a thread. > > > Randy > > --~--~-~--~~~---~--~~ 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 enable / disable Bluetooth
Hi folks, I'm writing an app that will, among other things, disable Bluetooth. To do this, I've set the "android.permission.BLUETOOTH_ADMIN", and inside an onClick() listener I'm using the following: Settings.System.putInt(getContentResolver(), Settings.System.BLUETOOTH_ON, 0); However, this does nothing on the actual phone. Further, using the corresponding getInt() function to readback the status crashes the app: Settings.System.getInt(PowerProfile.this.getContentResolver(), Settings.System.BLUETOOTH_ON, btStatus); Can someone guide me as to what is wrong, and/or what is the proper way to enable/disable Bluetooth? Many thanks, RM --~--~-~--~~~---~--~~ 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] Starting an activity with FLAG_ACTIVITY_MULTIPLE_TASK
I am writing an application in which I want the activity to a new instance everytime it is executed, so I am applying FLAG_ACTIVITY_MULTIPLE_TASK in conjuction with FLAG_ACTIVITY_NEW_TASK in the Intent that triggers the activity. But I soon as I execute the application, I get an "Force Closed" dialog box. Can anyone help me out or tell a better way to achieve the required task? Thank-you very much. --~--~-~--~~~---~--~~ 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] Rebuilding the SDK
I have recently started some work on the Android SDK. (I know maybe I should have posted to android-internals but could not seem to post there for some reason). Is there any documentation or guides for making changes to the SDK? I find everytime I make a change I have to rebuild the entire SDK in order to test it, is this correct? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---