[android-developers] Re: Missing "gen" folder & R.java in googlecode

2011-07-14 Thread mas_apri
I created a new android project from the beginning and manually imported all the resource file & source code and the R.java is automatically generated by Eclipse. *wow! lots of manual tasks here, but it works! Thanks, my problem is solved! On Jul 15, 9:47 am, mas_apri wrote: > Hi Thomas, > Here

[android-developers] Re: Best way to support mobile app customers

2011-07-14 Thread gjs
Hi, The best way would be in person, especially if you charge by the hour + expenses. I use a website, accessible by pressing an About button within the app + email for semi automated bug reports where user opts to send each email. The Android market allows links to website & email the developer

[android-developers] Send dtmf tone on uplink

2011-07-14 Thread Amit Mangal
Hi Everyone, I want to send dtmf tone 12345 when called party picked up the phone . I am not getting idea from where to start ? is any one can guide me for sending dtmf tone from where to strat ? is it possible on android ? thanks -- You received this message because you are subscribed to th

[android-developers] Re: BroadcastReceivers and orientation changes

2011-07-14 Thread
Thanks Mark, I no sure about the difference between registering the event on the activity or registering it on the application context, can ´t I pass the broadcastReceiver object thought onRetainNonConfigurationInstance() if I made it on the activity? Another problem would be what happends if I h

[android-developers] Re: How to delegate layout in an abstract ViewGroup

2011-07-14 Thread Tapomay Dey
O god, ViewStub is declared final. Why??? I can't extend it. How do I reuse it? On Jul 13, 7:14 pm, Tapomay Dey wrote: > Thanks for the ViewStub approach. > > On Jul 13, 6:08 pm, Kostya Vasilyev wrote: > > > Yeah, why not? > > > Presumably, you have some logic in the code that kn

[android-developers] Best way to support mobile app customers

2011-07-14 Thread Atlan
I know it's an unusual question for an developer but how do you support your Mobile-App customers? What's the best way to communicate with them? - Website - Twitter - Facebook - Google+ - Contactform - eMail - Bugtracker - ... How do you use these techniques - I mean ho

Re: [android-developers] Re: database query

2011-07-14 Thread kirti waykole
thank you so much for your valuable reply...it works On Fri, Jul 15, 2011 at 8:09 AM, Chris wrote: > http://lmgtfy.com/?q=android+application+database > > That should help you. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group

Re: [android-developers] Prompting a user once

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 4:01 PM, elvisdsdev wrote: > How do I have the app "remember" that it's already called the > AlertDialog and the user's gone through those location steps already?? > SharedPreferences. --

[android-developers] Re: How to get a view of the interface?

2011-07-14 Thread gjs
Hi, Here's the answer - http://groups.google.com/group/android-developers/browse_thread/thread/5bab2668cd5ab44f/efd2e7cfd14e4b16?lnk=gst&q=yahoo#efd2e7cfd14e4b16 see the code example I supplied there, use it to make thumbnails. Regards On Jul 15, 1:50 pm, TreKing wrote: > On Thu, Jul 14, 2011

[android-developers] Re: What is programming

2011-07-14 Thread Conny
Well, if you have a robot who only knows how to move in 4 directions, you will need to give it a set of instructions to walk to the nearby grocery store and pick up some heavy bags for you and then get back home. All those instructions that you will give to the robot is "programming the robot". Cl

Re: [android-developers] Rest location application

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 11:28 AM, Vitaly Babiy wrote: > Should I cache the response in a sqlite db, memory? Depends on how quickly the data you pull will expire. Is it likely to change in 1 minute? Memory. Will it change in 6 months? File. > Also what android tools should I use? The Android

[android-developers] Re: Accessing Photos Taken with Camera

2011-07-14 Thread gjs
Hi, You can also access in the usual manner by querying the file system, but Content Provider seems to be the recommended approach. http://stackoverflow.com/questions/2889573/accessing-phone-images-through-content-provider-in-android Regards On Jul 14, 11:41 am, DanH wrote: > From the little b

Re: [android-developers] need google api urls for trading or share market app

2011-07-14 Thread Rajesh Koilpillai
Hi Prakrati, I don't think there is a trading API from google. This question has nothing to do with Android, but the following links will help you start with what you want to achieve. http://googleblog.blogspot.com/2007/01/real-time-quotes-for-free.html http://stackoverflow.com/questions/744699/r

[android-developers] ip_forwarding configuration

2011-07-14 Thread Allen Curtis
Does anyone have a simple procedure for setting up ip_forwarding between an Android device and a host computer via usb? I have IP over USB working on both the host and Android device. Ping works in both directions. Here is the ip_forwarding configuration steps I took. Android IP: 192.168.1

[android-developers] Re: Querying the max value of a column in SQLite For Android.

2011-07-14 Thread gjs
Hi, I think you have the parameters wrong, you probably want the resulting query to be SELECT MAX(price) FROM spending. Then use that value for subsequent queries about the rows with the max price. Regards On Jul 15, 2:17 am, ilcredo wrote: > This is the method used in my database adapter : > >

[android-developers] Re: unable to use USB if ADB on tcp port?

2011-07-14 Thread A Curtis
Answer below! > Is it possible to use the USB port for other purposes if ADB is running? > > ADB has been reconfigured to operate over Wifi. I have successfully connected > to the TCP port . > > When I try to load the USB ethernet gadget driver, I get device busy.   > (modprobe g_ether) > >

[android-developers] Re: Rotate MapView for Android?

2011-07-14 Thread gjs
Hi, Search in this forum, it has been answered before. Regards On Jul 13, 4:37 pm, ibrahim yıldırım wrote: > i am writing an Android app.this application= Works with GPS and > map.it shows the location of.the light > leaves.==.mapView.getController().animateTo(myLocation); you, run this > progr

Re: [android-developers] How to get a view of the interface?

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 10:09 PM, Nikolay Elenkov wrote: > The browser app shows thumbnail views of webpages in the bookmarks screen. > So I guess, the original questions is how to take screenshots of a > view/screen, > so he can build something similar. > I don't have an answer, but that was im

[android-developers] Re: Killing rogue plug-in threads within an Android application

2011-07-14 Thread gjs
Hi, Can you framework load these untrusted Threads into a separate process ? If yes just kill that process. Regards On Jul 13, 11:16 pm, DCA wrote: > I've developed a framework that loads potentially untrusted plug-in > code from a remote repository into my framework's process at runtime > (usi

[android-developers] Re: Asmack Packetlistener + UI Update = Threading Problem ?

2011-07-14 Thread gjs
Hi, Use a queue or buffer your packets and send ui updates asynchronously. Is the Packetlistener actually running in a non ui thread ? I don't think you have not provided enough of your code to be able to say if it is Thread safe or not. Regards On Jul 14, 4:18 am, tuxfusion wrote: > I'm attach

Re: [android-developers] How to get a view of the interface?

2011-07-14 Thread Nikolay Elenkov
On Fri, Jul 15, 2011 at 8:18 AM, TreKing wrote: > On Wed, Jul 13, 2011 at 7:52 AM, 842087...@qq.com <842087...@qq.com> wrote: >> >> How to get a view of the interface? >> To the browser as the interface of the record in the history page, >> it shows the viewed page. But these pages are reduced! Pu

[android-developers] Re: 127.0.0.1 Connection refused when not connected to WiFi

2011-07-14 Thread gjs
Hi, Did you try localhost ? Regards On Jul 15, 6:16 am, Uffe wrote: > Hi! > > I am writing a service app which needs to be accessed from a browser > (on the same device, never remotely) and whose URL needs to > behttp://127:0.0.1:. I cannot use any other IP address. > > The problem is that whe

[android-developers] Re: App behaves wired after the task is killed by a TaskKiller

2011-07-14 Thread Indicator Veritatis
Actually, he should save as much as is practical before onDestroy() is called, in onPause(), since once onPause() is called, the hosting process is killable: there is no guarantee that onDestroy() or onStop() will be called at all. On Jul 14, 7:25 am, Raghav Sood wrote: > Save all your data in on

[android-developers] Re: Need Help regrading sound meter

2011-07-14 Thread gjs
http://stackoverflow.com/questions/5734332/vu-audio-meter-when-recording-audio-in-android On Jul 14, 9:34 pm, Amritesh wrote: > Hello Guys, > > I need help seriously as I am in middle of this app. and   I am stuck > at this point. > I am making an application which will play songs from phone and

Re: [android-developers] qHD layouts?

2011-07-14 Thread Chris
This bug is driving me nuts. These nuts are making me thirsty. Etc. -- 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 and

[android-developers] Re: Missing "gen" folder & R.java in googlecode

2011-07-14 Thread mas_apri
Hi Thomas, Here's what i did: I created a gen-folder manually by right clicks the project -> Build Path -> Configure Build Path -> on the Source Tab I clicked Add Folder -> Create New Folder Then I build the project again,... nothing happened I tried to remove on of resource file, a jpeg file and

Re: [android-developers] How to get a view of the interface?

2011-07-14 Thread Chris
At this point we should just encourage others to post in their native language, in the hopes that someone who can understand said language can answer. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to an

[android-developers] Re: database query

2011-07-14 Thread Chris
http://lmgtfy.com/?q=android+application+database That should help you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: database query

2011-07-14 Thread Indicator Veritatis
Obviously. But without being a little more specific, he will think you are just being rudely flippant. Especially since the title of the tutorial best for learning how to use the SQL database in Android does not even suggest that it covers SQL! I have in mind, of course, the tutorial he should star

[android-developers] Re: Using asynctask for frequent updates.

2011-07-14 Thread Indicator Veritatis
Web Sockets? Which browsers on Android even support it? I have the most up to date DolphinHD for Android 2.2, and it does not support Web Sockets (at least according to Jim Bergman's Javascript code for testing this). But I am glad you pointed out that he should poll less frequently: people often

Re: [android-developers] How to measure activity load time

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 6:34 AM, sreenivas p m wrote: > how to identify load time of all the 3 screens Identify the load time of each individually (which is all that really matters at any given time) ... then add. -

Re: [android-developers] (java.lang.NullPointerException at android.widget.ListView.setupChild(ListView.java:1838))I use listview and BaseAdapter

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 4:45 AM, zatenoi wrote: > can anyone help me?thanks very much. Debug your code. In particular make sure you're not manipulating anything in the list on a non-UI thread. - Tre

Re: [android-developers] JNI - dataflow from native to java

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 6:03 AM, surya wrote: > I would like to know how I can pass this data to Java using JNI This has nothing to do with Android. At best you would try the Android Porting or platform lists, but better yet, how about you try and Google "how to pass data to Java with JNI" ---

Re: [android-developers] Drop-down for ListPreference

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 4:15 AM, nimusi wrote: > However, the listpreference is not showing the drop-down next to it to > indicate it can be changed > What "drop-down next to it"? - TreKing

[android-developers] Re: Clarification on orientation angles (azimuth, pitch, roll)?

2011-07-14 Thread Indicator Veritatis
Unfortunately, it is not written well enough to consider it real 'clarification', but the official word from Google attempting to clarify what 'orientation' really means and how it is measured is Dan Morrill's blog "One Good Turn Deserves Another", reproduced at http://www.anwelldigital.com/tag/dan

[android-developers] Re: Activity finish() not working properly

2011-07-14 Thread Indicator Veritatis
You are just guessing, aren't you? How could 'this' resolve to any other object than to 'YourClassName.this'? On Jul 14, 8:12 am, Yorath Wang wrote: > try to change this.finish() to be YourClassName.this.finish(); > > On Jul 14, 10:46 pm, Jalal wrote: > > > Dear Android Community, > > > I'm havi

[android-developers] Re: Ayuda con el emulador Android

2011-07-14 Thread Indicator Veritatis
Well, obviously, yes it is English. However, Google headquarters is located in California, where by the Treaty of Guadalupe-Hidalgo, the State of California is obliged to treat Spanish as co-official with English. Of course, we got around this clause of the treaty by pointing out that we HAVE no co

Re: [android-developers] Refunded users getting charged again for app update?

2011-07-14 Thread Nikolay Elenkov
On Fri, Jul 15, 2011 at 8:02 AM, TreKing wrote: > On Wed, Jul 13, 2011 at 3:40 AM, Stork wrote: >> >> If so, is there a way round this? Some users a free copy of my paid app >> without having to refund them every time it updates would be ideal. > > Ideal, but not possible - you cannot access an a

[android-developers] Re: Honeycomb: Isochronous endpoint type (currently not supported), When?

2011-07-14 Thread Devomat
Thanks for the info. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

Re: [android-developers] In-app billing. How to store information about transactions of unmanaged products?

2011-07-14 Thread Nikolay Elenkov
On Thu, Jul 14, 2011 at 10:59 PM, Mc Bell wrote: > The problem is that I can have different additional information for > similar products. So if something went wrong with the purchasing > process (for example network connetion was down) and I have queued > some orders on Market, I need to know exa

Re: [android-developers] new ExpandableList question

2011-07-14 Thread Jim Graham
On Thu, Jul 14, 2011 at 07:56:32PM -0400, Mark Murphy wrote: > Have you tried setOnChildClickListener() on ExpandableListView? I'd searched for that, earlier...got OnChildClickListener, just like this time. But last time, my brain either removed setOnChildClickListener, or it put something else i

Re: [android-developers] new ExpandableList question

2011-07-14 Thread Mark Murphy
Have you tried setOnChildClickListener() on ExpandableListView? On Thu, Jul 14, 2011 at 7:27 PM, Jim Graham wrote: > In the three examples I found for ExpanableLists, only the first one > has any reaction to a press on a child entry, and it requires a > long-press before it reacts.  Is this the n

Re: [android-developers] Eclipse - Android - can't connect my device to Eclipse

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 8:31 AM, Zwiebel wrote: > What can I do? Thanks for help! If you're on Windows, you need drivers. - TreKing - Chicago tra

[android-developers] new ExpandableList question

2011-07-14 Thread Jim Graham
In the three examples I found for ExpanableLists, only the first one has any reaction to a press on a child entry, and it requires a long-press before it reacts. Is this the norm? Or is it something that can be configured? I searched through the dev guide and the examples, and found nothing that

Re: [android-developers] cling Upnp media renderer sample application

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 6:41 AM, dhaval shah wrote: > I am currently working on UpNp. I want to play video on my android emulator > which is on my local system . > I am using cling UpNp library for the same. > Does this library not have a forum or group of it's own you can pose questions to? I do

Re: [android-developers] GeoFenceing Implementation

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 7:43 AM, dinesh wrote: > How to implement geofencing on android. Write code for geofencing on Android. - TreKing - Chicag

Re: [android-developers] Google Maps Javascript API for android Application

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 1:40 PM, Dimitris wrote: > My question is how to make that possible? > That is a very broad question. > How to put a mark of my users on Google Maps and how to show this to the > rest of my users? > That is also quite broad. > I know about Google Maps Javascript V3 A

Re: [android-developers] How to get a view of the interface?

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 7:52 AM, 842087...@qq.com <842087...@qq.com> wrote: > How to get a view of the interface? > To the browser as the interface of the record in the history page, it shows > the viewed page. But these pages are reduced! Put on the same page as the > Style Box. This effect is ho

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Thomas Economous
Thanks for your help. I'll try our Google contact and let you know if there is a good way to do it. On Thu, Jul 14, 2011 at 4:06 PM, Mark Murphy wrote: > On Thu, Jul 14, 2011 at 6:55 PM, Thomas Economous > wrote: > > The problem is it's too close to the ship date and changes to the > firmware >

Re: [android-developers] What is programming

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 1:54 AM, BrightestSirius wrote: > What is programming. > I just want to know. > Please reply me. > *http://tinyurl.com/2rfwr* - TreKing

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 6:55 PM, Thomas Economous wrote: > The problem is it's too close to the ship date and changes to the firmware > are not permitted. So even a small change like you mentioned is not > currently possible. In the future we could do something in the initial boot > like you menti

Re: [android-developers] Refunded users getting charged again for app update?

2011-07-14 Thread TreKing
On Wed, Jul 13, 2011 at 3:40 AM, Stork wrote: > If so, is there a way round this? Some users a free copy of my paid app > without having to refund them every time it updates would be ideal. > Ideal, but not possible - you cannot access an app you got a refund for. You'd have to use PayPal or som

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Thomas Economous
The problem is it's too close to the ship date and changes to the firmware are not permitted. So even a small change like you mentioned is not currently possible. In the future we could do something in the initial boot like you mentioned. On Thu, Jul 14, 2011 at 3:47 PM, Mark Murphy wrote: > On

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 6:41 PM, Thomas Economous wrote: > I work for an Tablet OEM that wants to get an approximate sale date from a > device during registration. Registration will be an app that is downloaded > later through the android market. Currently Retailers like Best Buy do not > provide

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Thomas Economous
I work for an Tablet OEM that wants to get an approximate sale date from a device during registration. Registration will be an app that is downloaded later through the android market. Currently Retailers like Best Buy do not provide sales information to the OEM. On Thu, Jul 14, 2011 at 3:34 PM,

[android-developers] Re: Android market search sucks

2011-07-14 Thread JonFHancock
Having a year's worth of downloads doesn't save you. My app, Custom Launcher Icons used to come up pretty high for every relevant search phrase. Since July 1, I'm buried under lots of very similar apps with lower/fewer ratings, less downloads and less relevancy than my own. I'm ok with competitio

[android-developers] Re: Android market search sucks

2011-07-14 Thread Bond
You can join others having the same problem here: http://www.google.com/support/forum/p/Android+Market/thread?tid=1e575cf9e437736c&hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 6:28 PM, Thomas Economous wrote: > It doesn't have to be accurate in all cases. Having something that is 80% > accurate would be be better than nothing at all. It could be something like > when setup wizard ran. I don't know if there are timestamps in the account stuff wit

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Thomas Economous
It doesn't have to be accurate in all cases. Having something that is 80% accurate would be be better than nothing at all. It could be something like when setup wizard ran. On Thu, Jul 14, 2011 at 3:16 PM, Mark Murphy wrote: > On Thu, Jul 14, 2011 at 6:07 PM, Thomas Economous > wrote: > > Thank

Re: [android-developers] Re: Android Widget onActive()

2011-07-14 Thread Mark Murphy
On Wed, Jul 13, 2011 at 10:36 AM, cathal coffey wrote: > You said that what I described --the android clock-- is not an app > widget... then what is it? It might be part of the home screen. Try installing an alternative home screen, see if you can add the clock, and see if it behaves as you expec

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 6:07 PM, Thomas Economous wrote: > Thanks but I need the time of the first boot not the last boot. You mean when the device was first turned on after purchase? I doubt that's possible, and I wouldn't rely upon it anyway -- the device might have been turned on in the store

Re: [android-developers] BroadcastReceivers and orientation changes

2011-07-14 Thread Mark Murphy
Rather than calling registerReceiver() on the Activity, call it on the Application context via getApplicationContext().registerReceiver(). Then, pass the receiver object via onRetainNonConfigurationInstance(), so you unregister the same receiver when you are done. On Thu, Jul 14, 2011 at 7:27 AM,

Re: [android-developers] Block home screen

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 1:12 AM, Jo wrote: > we are a little business that create stand for the public to show > interactive content about product and other stuff. We are looking for > android based tablet such as the xoom. The problem is that we need a > way to block the access to the home screen

Re: [android-developers] How to call Gallery Browser only!!

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 5:18 AM, Mohammad Abdelhadi wrote: > I'm using the following code to call gallery browser and pick an image in my > App: > > Intent intent = new Intent(); > intent.setType("image/*"); > intent.setAction(Intent.ACTION_GET_CONTENT); > startActivityForResult(Intent.createChoos

Re: [android-developers] Scrollable in a Listfragment

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 4:42 PM, mrmanishs wrote: > I have a couple of ListFragments that I would like to make > scrollable. > > It's two fragments within one LinearLayout, and each of those > fragments are ListFragments that I need to make scrollable. > > How is this done? A ListFragment hosts a

Re: [android-developers] PDF To Text

2011-07-14 Thread Mark Murphy
Step #1: Visit http://market.android.com Step #2: Search for PDF editor On Wed, Jul 13, 2011 at 4:36 AM, Mani wrote: > Hi, > > I want to know that can i open pdf file as a document file? so that i > can edit the pdf files content. After editing the file i want that doc > file save in PDF format.

Re: [android-developers] Alert Dialogs in Services

2011-07-14 Thread Mark Murphy
On Wed, Jul 13, 2011 at 8:59 AM, Durgadoss Ramanathan wrote: > During the loading of Android Services, in some service, I want the user to > choose > something. Popping up a dialog box in the middle of nowhere is a one-way ticket to one-star-ville. > Basically, a dialog box showing, "Do you want

Re: [android-developers] Decibel

2011-07-14 Thread Jim Graham
On Wed, Jul 13, 2011 at 05:03:21AM -0700, ?mer wrote: > Hello, > Is it posspible to measure the decibel of an ambient ? Of an ambient what? If you mean the ambient sound level, then yes. Check out the "decibel" app (and no doubt others---I think tricorder does this, for one). If you mean RF sig

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Thomas Economous
Thanks but I need the time of the first boot not the last boot. On Thu, Jul 14, 2011 at 3:02 PM, Mark Murphy wrote: > SystemClock.elapsedRealtime() tells you the number of milliseconds > since the last boot. > > On Thu, Jul 14, 2011 at 5:43 PM, Thomas Economous > wrote: > > I am trying to progra

Re: [android-developers] Rooting 2.3.4_r1 in to Nexus S

2011-07-14 Thread Mark Murphy
Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find the proper Google Group for your question Step #4: Ask there On Thu, Jul 14, 2011 at 11:48 AM, Rajeev Ranganathan wrote: > Hi, > > I downloaded the latest Gingerbread source code i.e. 2.3.4 from the > An

Re: [android-developers] how to build lodable kernel module in android

2011-07-14 Thread Mark Murphy
On Wed, Jul 13, 2011 at 11:27 AM, fox liu wrote: > Hi, my Question is how to build lodable kernel module in android? Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find the proper Google Group for your question Step #4: Ask there -- Mark Murphy (a Commo

Re: [android-developers] can Wi-Fi and 3G establish network connections individually and simutaneously on a single android?

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 12:33 AM, Ryan wrote: > can Wi-Fi and 3G establish network connections individually and > simutaneously on a single android? There is nothing in the Android SDK that supports this. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http:

Re: [android-developers] how to set number into the marker on the map

2011-07-14 Thread Mark Murphy
On Wed, Jul 13, 2011 at 3:17 AM, Titus mon wrote: > i have done a app in android on Map, in which i have to place markers > on map at different positions by using latitude and longitude.I have > read following  link to place markers and successfully placed the > markers. > > http://developer.andro

Re: [android-developers] Framework or Custom Events in Android.

2011-07-14 Thread Mark Murphy
On Wed, Jul 13, 2011 at 5:47 PM, Thulasi wrote: > I am trying to figure out if there is way to implement Custom events in > android to fully de-couple the code. Does any body any body know is it > possible in Android?? It would help if you would take the time to explain what you think "custom eve

Re: [android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Mark Murphy
SystemClock.elapsedRealtime() tells you the number of milliseconds since the last boot. On Thu, Jul 14, 2011 at 5:43 PM, Thomas Economous wrote: > I am trying to programatically get the date and time an android device > was first booted. Is this possible? -- Mark Murphy (a Commons Guy) http://c

Re: [android-developers] Using asynctask for frequent updates.

2011-07-14 Thread Mark Murphy
On Thu, Jul 14, 2011 at 2:15 PM, Thulasi wrote: > I am trying to implement an application which requires polling the server > every few seconds. what is the best way to proceed?? Poll less frequently, on a user-defined interval. Better yet, use some sort of long-poll mechanism (Web sockets, Come

Re: [android-developers] Missing "gen" folder & R.java in googlecode

2011-07-14 Thread Thomas Economous
R.java is auto-generated so it is not a big deal that it is missing. Eclipse however will fail if the folders in the R.java path are missing. Create the folders that are missing in the R.java path. This should fix your problem. On Thu, Jul 14, 2011 at 2:39 AM, mas_apri wrote: > Hi guys, > > I'

Re: [android-developers] database query

2011-07-14 Thread kamilia amellal
Hi, use SQLite it works well!!! 2011/7/14 Filip Havlicek > I suggest you read the tutorials on the Android Developers site. > > > 2011/7/14 kirti waykole > >> hello all, >> I am new in android . I want to use database for storing my application >> data.Plz tell me how to use database in androi

Re: [android-developers] Google Maps Directions API JSON response Copyright tags

2011-07-14 Thread Filip Havlicek
Note: the Directions API may only be used in conjunction with displaying results on a Google map; using Directions data without displaying a map for which directions data was requested is prohibited. Additionally, calculation of directions generates copyrights and warnings which must be displayed t

Re: [android-developers] database query

2011-07-14 Thread Filip Havlicek
I suggest you read the tutorials on the Android Developers site. 2011/7/14 kirti waykole > hello all, > I am new in android . I want to use database for storing my application > data.Plz tell me how to use database in android application > Thanks in advance > -- > You received this message beca

Re: [android-developers] SQLiteCursor problem

2011-07-14 Thread Simon Platten
I'm pretty sure I am closing them...ill double check. Ty Regards,Sy On 14 Jul 2011 22:10, "Kostya Vasilyev" wrote: Are you not closing the cursor before it goes out of scope and gets gc'd? When this happens again, resume the application and check the logcat, if my guess is correct, there'll be

Re: [android-developers] Ayuda con el emulador Android

2011-07-14 Thread Filip Havlicek
The official language for this group is English as far as I know. 2011/7/14 Jonathan Fajardo Roa > Buenos días señores, > > Tengo un problema cuando voy a iniciar un emulador Android con la > versión 2.3.1 y cualquiera, despues de que actualice en Windows 7 el > SDK de Android por la ultima vers

[android-developers] Is there a way to get the date and time of first boot

2011-07-14 Thread Thomas Economous
I am trying to programatically get the date and time an android device was first booted. Is this possible? Thanks, Tom -- 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

Re: [android-developers] Prompting a user once

2011-07-14 Thread Filip Havlicek
Is it a global application setting or a per-instance dialog? 2011/7/13 elvisdsdev > New to Android and playing with GPS settings. I've successfully been > able to get my location and find the nearest locations based on a > personal database. So far I have two activities. Activity 1 is a menu > w

[android-developers] Decibel

2011-07-14 Thread ömer
Hello, Is it posspible to measure the decibel of an ambient ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-dev

[android-developers] Refunded users getting charged again for app update?

2011-07-14 Thread Stork
Hi, I've had some users complaining about being charged for an update to my paid application in the Android market. I *think* this is because they were already refunded once when the app was first released as part of a 'promo' for the app launch, so the marketplace doesn't recognize them as having

[android-developers] Using asynctask for frequent updates.

2011-07-14 Thread Thulasi
Hi, I am trying to implement an application which requires polling the server every few seconds. what is the best way to proceed?? I have a problem with Asynctask as i may need to create a Asynctask for each request?? any other solutions or comment is appreciated.. thanks thulasi. -- You recei

[android-developers] 127.0.0.1 Connection refused when not connected to WiFi

2011-07-14 Thread Uffe
Hi! I am writing a service app which needs to be accessed from a browser (on the same device, never remotely) and whose URL needs to be http://127:0.0.1:. I cannot use any other IP address. The problem is that when I direct the browser to the URL, it fails with a Connection Refused error if I do

[android-developers] PC server and android Client

2011-07-14 Thread NoNick
I'm trying to open socket between Android (emulator) and PC and i can't get it works i have the client on PC also and i tried to move it to an Android program but it crushed... it crushed when i tried this: socket = new Socket(serverIp,7000); i tried serverIp as "localhost", "10.0.2.2", "1

[android-developers] Framework or Custom Events in Android.

2011-07-14 Thread Thulasi
Hi I am trying to figure out if there is way to implement Custom events in android to fully de-couple the code. Does any body any body know is it possible in Android?? Any solutions or comments is highly appreciated?? thanks thulasi. -- You received this message because you are subscribed to t

[android-developers] MapView NullPointerException / Black MapView in Fragment on Android 3.0

2011-07-14 Thread p.sturm
Unfortunately, I can't attach source code, but I will try to describe the problem. I created a Fragment containing an instance of a class extending MapView. The instance of this class is instantiated programmatically, the constructor of the custom MapView calls the MapView(Context c, String apiKey)

[android-developers] Rest location application

2011-07-14 Thread Vitaly Babiy
Hey, I am building a location based app that uses a REST api to pull data (text/images) and display it. I am looking for some best practices to achieve my goal. Should I cache the response in a sqlite db, memory? Also what android tools should I use? Thanks, Vitaly -- You received this messa

[android-developers] How to measure activity load time

2011-07-14 Thread sreenivas p m
Hi, I want to measure activity load time. ex. if an application has 3 screens. how to identify load time of all the 3 screens 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-deve

[android-developers] how to build lodable kernel module in android

2011-07-14 Thread fox liu
Hi, my Question is how to build lodable kernel module in android? I have a little LKM exp. in PC, now I would like to try LKM in android . And I have followed the instruction of source.android.com, the repo sync, and make -j4 are all done succesfully. What about next step? Can I start writing LKM

[android-developers] (java.lang.NullPointerException at android.widget.ListView.setupChild(ListView.java:1838))I use listview and BaseAdapter

2011-07-14 Thread zatenoi
I use a BaseAdapter to manage and show data to a listview. I use a Thread to add element to BaseAdapter one by one,and after each one be added I call BaseAdapter's notifyDataSetChanged(). At the same time ,I use a timer and timertask to scroll the listview, and update the element in BaseAdapter,af

[android-developers] JNI - dataflow from native to java

2011-07-14 Thread surya
Hi, I am trying to integrate my app written in c code along with android using JNI. In my native code, I am storing data in the form of a linked link and I would like to know how I can pass this data to Java using JNI Thanks in advance. -- You received this message because you are subscribed t

Re: [android-developers] New program to answer an incoming call

2011-07-14 Thread Sami Pardhan
That functionality is not supported. You could try using reflection and access the internal API but Google recommends you don't do it. On Mon, Jul 11, 2011 at 9:24 PM, yoav bbb wrote: > Hello, > I want to try and write a new program that will be used to answer an > incoming call, instead of the

[android-developers] BitmapFactory and RGB Formats

2011-07-14 Thread Андрей Жданов
Hello everyone! :) I've found next problem. I've convert image resource with: BitmapFactory.Options o = new BitmapFactory.Options(); o.inPreferredConfig = Bitmap.Config.RGB_565; BitmapFactory.decodeResource(r, R.raw.test003, o); Bitmap has format ARGB_/ (and others) but

[android-developers] Asmack Packetlistener + UI Update = Threading Problem ?

2011-07-14 Thread tuxfusion
I'm attaching a standard Packetlistener to my activity, from within I update my UI ( let's say I just change the color of button) like so : class ActionPackListener implements PacketListener { @Override public void processPacket(Packet packet

[android-developers] how to set number into the marker on the map

2011-07-14 Thread Titus mon
i have done a app in android on Map, in which i have to place markers on map at different positions by using latitude and longitude.I have read following link to place markers and successfully placed the markers. http://developer.android.com/resources/tutorials/views/hello-mapview.html But issue

  1   2   3   >