Re: [android-developers] As close my android application

2012-04-23 Thread Kristopher Micinski
On Thu, Apr 19, 2012 at 3:42 PM, julian Garcia julio.styl...@gmail.com wrote: I need to know how I can close my android application and all its activities. Any ideas that might help me do this? No you don't. You don't close your app. What are you trying to do, why do you really want to close

Re: [android-developers] Android GridView----not able to get correct item by touch event

2012-04-23 Thread Gink Labrev
Try to do it without the OnGestureListener interface and post the result. Em 18 de abril de 2012 23:43, h...@isb.co.jp h...@isb.co.jp escreveu: I implemented a gridview with 7 rows and 3 columns(7,3). I am trying to get an item in gridview on touch. (want to get an touched item not clicked

Re: [android-developers] As close my android application

2012-04-23 Thread Kristopher Micinski
You can use Activity.finish(), as Gink notes, this is the preferred way: note that interrupting the user's control flow through your app in strange ways usually pisses them off. That wasn't meant as condescending as it came off. I mean to say, a common thing I hear from regular people who

Re: [android-developers] Cache data in SqlLite or keep querying the web

2012-04-23 Thread Gink Labrev
What's kind of data ? Maybe system folder can be more adequate than sqlite. Em 16 de abril de 2012 13:33, Jethro Borsje jethrobor...@gmail.comescreveu: Hi all, I am building a new app which gets (and updates) data from one of Googles API's. Now I and am struggling with the following

Re: [android-developers] Novato

2012-04-23 Thread Gink Labrev
Ok. Good luck. Em 20 de abril de 2012 19:59, Carlos Solano carlosenrriqu...@gmail.comescreveu: Hola, soy un estudiante de secundaria y estoy tratando de entrar en el mundo de la programacion. Necesito ayuda, quiero iniciar la carrera en programacion y quiero crear una alplicacion que sea un

Re: [android-developers] Listview show funny stuff

2012-04-23 Thread Gink Labrev
You are returning a list of Client class objects. You need to implements a method that returns a list of client name String. Em 19 de abril de 2012 23:13, Ricardo Rivera dist...@gmail.com escreveu: I a listview connecto to a datbase and is showing in the list the value of the record for the

Re: [android-developers] File upload in android app.

2012-04-23 Thread Gink Labrev
http://lmgtfy.com/?q=android+file+upload Em 23 de abril de 2012 02:04, asheesh arya asheesharya...@gmail.comescreveu: tell clearly whta exactly you want to do with your file wheather to upload file on server or sumthing else -- You received this message because you are subscribed to the

[android-developers] Re: what broadcast or method is called when the application is uninstalled

2012-04-23 Thread albnok
Even if there was, your app would not be around to delete it. :( You may have to save your files to your context's getExternalFilesDir(null) instead, where it will be deleted together with the app. On Apr 23, 1:19 pm, ANKUR GOEL ankur1...@gmail.com wrote: Hi all , i want to delete some files

Re: [android-developers] Re: what broadcast or method is called when the application is uninstalled

2012-04-23 Thread Gink Labrev
what broadcast or method is called None. Em 23 de abril de 2012 03:29, albnok alb...@gmail.com escreveu: Even if there was, your app would not be around to delete it. :( You may have to save your files to your context's getExternalFilesDir(null) instead, where it will be deleted together

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread StarTraX
Check out my new Examine GPS times https://play.google.com/store/apps/details?id=com.gpsanimator.gpsTimerDisplayfeature=search_result#?t=W251bGwsMSwyLDEsImNvbS5ncHNhbmltYXRvci5ncHNUaW1lckRpc3BsYXkiXQ..free app that displays both GPS times and System time. On Monday, April 23, 2012 7:52:09 AM

Re: [android-developers] ANDROID BASED VEHICLE TRACKING ISSUES on a remote Server

2012-04-23 Thread Gink Labrev
Do these calculus in server side, not in Android. Em 23 de abril de 2012 01:08, Bhuvan Chandra bhuvanchandr...@gmail.comescreveu: Hello , I dont have an answer for u but i have a question, as part of my project i have to develop an android app which could receive the gps coordinates and

[android-developers] window memory leaked

2012-04-23 Thread arun kumar
Hi... I declared the dailog box in asyn task onPostExecute() if i do this am getting window leaked erroram attaching Code and Logcat Error ...((.and also in log cat am getting. Grow heap (frag case) to 14.789MB for 2975968-byte allocation .))) Thank In advance private class

[android-developers] Re: As close my android application

2012-04-23 Thread Alger Lin
You can kill your application by calling Process.killProcess(). http://developer.android.com/reference/android/os/Process.html#killProcess(int) However, this function call will kill process forcibly, in other words the onDestroy() functions not be called when Activity be terminated. julian

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread Andrew Gregory
Some of the time confusion arises because GPS units can report a variety of GPS Time, UTC and semi-corrected GPS Time. I discovered this when building a precision timer for an industrial corrosion monitoring device. On startup the GPS would report UTC plus one second. Within 12.5 minutes it would

[android-developers] Undefined behaviors due to Non-thread safe nature of Bitmaps(Skia)

2012-04-23 Thread mark robinsion
Solving heap corruption/ undefined behaviors is really frustrating. And Bitmap / is one of such culprit, there are two major issues with Bitmap. 1) App developer doesn't have a clue that Bitmap is wrapped over Skia, and Skia is *thread-UNSAFE.* So, all those using Bitmap in non-UI threads

Re: [android-developers] Re: As close my android application

2012-04-23 Thread Kristopher Micinski
2012/4/23 Alger Lin addr...@gmail.com: You can kill your application by calling Process.killProcess(). http://developer.android.com/reference/android/os/Process.html#killProcess(int) *don't* do this.. kris -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] ANDROID BASED VEHICLE TRACKING ISSUES on a remote Server

2012-04-23 Thread deb-account
On 16/04/12 02:20, JOHN BOSCO BAHUNGIREHE wrote: Hi friends; Have got a problem in my code and some how confused of how t include some of the features in the project. The project is about vehicle tracking using android,when I try to test the attached code it runs with no error but the does

[android-developers] Developing application: Android Vs HTML5

2012-04-23 Thread Aitor Mendaza Ormaza
Hi to everything: Currently I'm developing an Android application for my company using android, and another department has suggested to use HTML5 in an embedded webapp to develop the application. I want to know the pros and cons of using HTML5 vs android for developing android applications. I

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread StarTraX
Hey Andrew - what interesting revelations! What's the story behind the 12.5 minutes wait - is there some time offset update in the GPS signal? Where can I go to learn more? I'm now getting some very interesting results from my little app (above). When first receiving a signal, it's reporting a

Re: [android-developers] Developing application: Android Vs HTML5

2012-04-23 Thread Kristopher Micinski
On Mon, Apr 23, 2012 at 4:37 AM, Aitor Mendaza Ormaza aitorthe...@gmail.com wrote: Hi to everything: Currently I'm developing an Android application for my company using android, and another department has suggested to use HTML5 in an embedded webapp to develop the application. I want to

[android-developers] Re: How to distribute free in-app content?

2012-04-23 Thread Larissa Lucena
Could anyone help me??? Thanks! Em sexta-feira, 13 de abril de 2012 09h42min33s UTC-3, Larissa Lucena escreveu: Hi, there! I´m new in android world and I have to publish a free application that will allow people access from it (users don´t need to leave the application to access the

Re: [android-developers] How to distribute free in-app content?

2012-04-23 Thread Nikolay Elenkov
On Fri, Apr 13, 2012 at 9:42 PM, Larissa Lucena larissaluc...@gmail.com wrote: Hi, there! I´m new in android world and I have to publish a free application that will allow people access from it (users don´t need to leave the application to access the content) and download free content in it.

[android-developers] How to animate my gif image?

2012-04-23 Thread Febi.M.Felix Maliakkal
i stored a gif image in my assets folder..And i need that image to be displayed in imageView in my xml file...the image should animate too..how to do the same?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Free of cost e-mail marketing tip

2012-04-23 Thread Lelaina Pierce
Email marketing is one of the highly used medium to reach thousands of peoples through internet but it isn’t that much effective in most of the cases. Until and unless you have a good, established reputable website with genuine client base, it doesn’t work well. Though it cost little but what is

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread Andrew Gregory
The Wikipedia article on GPS has a lot of info. The Official source of info would be: http://www.gps.gov/technical/ Lots of technical PDFs there! I used the Interface Control Document IS-GPS-200 and SPS Performance Standard Specification, mostly the latter. In short, though, the GPS comms cycle

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread Andrew Gregory
I've not looked at the relevant Android API before, but I would imagine that if you get a GpsStatus object from the LocationManager, then check each satellite for hasAlmanac(), then you might be more likely to have the correct GPS/UTC offset. It is still possible to have received the almanac data

[android-developers] Re: Opengl ES scaling (zoom out) shows rare square tiles on my textures. How to avoid it?

2012-04-23 Thread saex
I tryed it, it is not the solution El sábado, 21 de abril de 2012 20:23:26 UTC+2, Nightwolf escribió: Change zNear and zFar parameters in GLU.gluPerspective(gl, 45.0f, (float)width / (float)height, 0.1f, 100.0f) to 1 and 1000. If it helps then your square is near far clipping plane.

Re: [android-developers] Re: How to get accurate time stamps from Android GPS location.

2012-04-23 Thread lbendlin
not an expert on that matter - good one. Keep it up. On Sunday, April 22, 2012 8:20:57 PM UTC-4, StarTraX wrote: Ibendin, I think it's good practice to employ words like perhaps, possibly or maybe when speculating on technical subjects. It's less confusing to the reader and makes it

[android-developers] Re: Cache data in SqlLite or keep querying the web

2012-04-23 Thread lbendlin
How often does the data change? How important is is to the end user to see data without having to wait? You can always combine both approaches. Show stale data first and then replace it with the updated data once fetched. On Monday, April 16, 2012 12:33:35 PM UTC-4, Jethro Borsje wrote:

Re: [android-developers] Reading ROM version through code

2012-04-23 Thread JP
Didn't find anything unfortunately. Is this really impossible to do? JP Den tirsdag den 17. april 2012 23.24.22 UTC+2 skrev JP: I just found that code myself... am cloning as I type. Will report what I find. JP Den tirsdag den 17. april 2012 23.19.04 UTC+2 skrev Mark Murphy (a Commons

[android-developers] Re: searchview theming issue

2012-04-23 Thread Lars
i did sv.getContext().setTheme(android.R.style.Theme_Holo_Light); // sv is the searchview but now it also changes the theme of the other views is there a possibility to only change the searchview Op maandag 23 april 2012 01:21:16 UTC+2 schreef dnkoutso het volgende: When you instantiate the

[android-developers] Set Ringtone

2012-04-23 Thread baturanija1
Hey people, is there any chanse to set ringtone that i implement in my activity.This song is not placed on SD ,so is it possible? send me some solutions or link if you have ..Thanks people and thans for sharing -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Add Weekly,Fortnightly,Monthly Recurring events to calendar.

2012-04-23 Thread Michael Chan
Hi, Please take a look at the 4th bullet in http://developer.android.com/guide/topics/providers/calendar-provider.html#add-event What do you mean by it doesn't work? What do you see in the logcat? Did you get an exception? If so, please share. What did resolver.insert() return? If the insert was

[android-developers] Custom ROM for tablet

2012-04-23 Thread whataboutbob
I understand that the Motorola Xoom is discontinued. That is the only tablet listed on the source.android.com website as a device that a custom ROM can be built for ( http://source.android.com/source/building-devices.html ). We have been working with the Nexus S but have to rebuild the ROM and

[android-developers] building ffmpeg-0.10.2 with ndk-r7c

2012-04-23 Thread roemer
hey there! i've successfuly configured ffmpeg and am now stuck in compiling it. I always get the warning: WARNING: /android-ndk-r7c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-pkg-config not found, library detection may fail. and then the build fails

Re: [android-developers] building ffmpeg-0.10.2 with ndk-r7c

2012-04-23 Thread Marcin Orlowski
ask on android-ndk group Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray* http://bit.ly/dateintraypro - current date at glance... WebnetMobile on *Facebook http://webnetmobile.com/fb/*, *Google+*http://bit.ly/webnetmobile-gpand

Re: [android-developers] Reading ROM version through code

2012-04-23 Thread Chris Stratton
On Monday, April 23, 2012 7:54:50 AM UTC-4, JP wrote: Didn't find anything unfortunately. Is this really impossible to do? Open an adb shell, type getprop and look at the result. Some entries which may be of interest: ro.build.fingerprint ro.build.version.* ro.product.version These should

[android-developers] How to remote wipe particular application data

2012-04-23 Thread Bunty syed
HI All, I want to wipe all data for particular application.I went through device admin api. It provides option to wipe all device data not for particular app. Is there any way to wipe data for particular app... Regards, Bunty Syed -- You received this message because you are subscribed to the

Re: [android-developers] Reading ROM version through code

2012-04-23 Thread Chris Stratton
Update: none of these are stable APIs and you will need to use the call the native function property_get() or invoke the getprop routine to retrieve them. That makes this method off topic for this group. On Monday, April 23, 2012 10:53:25 AM UTC-4, Chris Stratton wrote: On Monday, April 23,

Re: [android-developers] How to remote wipe particular application data

2012-04-23 Thread Mark Murphy
On Mon, Apr 23, 2012 at 10:54 AM, Bunty syed itsmeatfo...@gmail.com wrote: I want to wipe all data for particular application.I went through device admin api. It provides option to wipe all device data not for particular app. Is there any way to wipe data for particular app... Not on a

Re: [android-developers] Reading ROM version through code

2012-04-23 Thread Kostya Vasilyev
Or just read /system/build.prop directly from Java. It's off-topic, that's true. OP: you may want to also try asking on xda-developers. -- K 23 апреля 2012 г. 18:58 пользователь Chris Stratton cs07...@gmail.comнаписал: Update: none of these are stable APIs and you will need to use the call

Re: [android-developers] Set Ringtone

2012-04-23 Thread Kristopher Micinski
Try googling set ringtone android? http://stackoverflow.com/questions/1271777/how-to-set-ringtone-in-android-from-my-activity Kris On Mon, Apr 23, 2012 at 9:24 AM, baturanija1 jadrankobodiroga1...@gmail.com wrote: Hey people, is there any chanse to set ringtone that i implement in my

Re: [android-developers] how to get the average speed with GPS android

2012-04-23 Thread putzz12
@TreKing if u wont help in anything just back to your cave, trooll. El miércoles, 18 de abril de 2012 12:43:29 UTC-6, James Black escribió: Just get where you start, at time zero, and then you could just get the current location every several seconds. Determine the distance, there is a call

[android-developers] Is there a way to programmatically enable call forwarding in Android on GSM phones?

2012-04-23 Thread borisb13
I'd like to be able to have my app enable No Answer and Busy call forwarding on GSM Android phones that support it. I don't mean dialing the * or # codes, I mean changint the call forwarding settings on the phone itself, just like Goolge Voice is able to do. Or, if changing that setting

[android-developers] Re: how to get the average speed with GPS android

2012-04-23 Thread putzz12
@TreKing, if u wont help in anything just back to your cave Troll. @Panam im doing something like RunKeeper App. -- 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

[android-developers] Sending POST data in Android to a database?

2012-04-23 Thread Marcus Maximus
Hey guys, I want to send android post data(with a servlet) to a database(in fact google app engines db) How can I submit data from the phone to the database(for example: locationbased data...)? greetings and thx in advance -- You received this message because you are subscribed to the Google

Re: [android-developers] Sending POST data in Android to a database?

2012-04-23 Thread James Black
Have you Googled it? You will end up using HttpClient though. On Apr 23, 2012 1:02 PM, Marcus Maximus marcus.pres...@gmail.com wrote: Hey guys, I want to send android post data(with a servlet) to a database(in fact google app engines db) How can I submit data from the phone to the

Re: [android-developers] Listview show funny stuff

2012-04-23 Thread YuviDroid
Add a toString() method in the Client class that returns the Name. On Fri, Apr 20, 2012 at 4:13 AM, Ricardo Rivera dist...@gmail.com wrote: I a listview connecto to a datbase and is showing in the list the value of the record for the app. Something like

[android-developers] Radio buttons in list - need only one selectable button

2012-04-23 Thread Farhan Tariq
Hi, I have a listView to which I am adding a number of rows at run time. Each row has a radio button in it. I want only one radio button to be selected at one time, but currently they are all selectable. How can I achieve that? Thanks in advance Regards, Farhan -- You received this message

Re: [android-developers] Radio buttons in list - need only one selectable button

2012-04-23 Thread Mark Murphy
Step #1: Use android.R.layout.simple_list_item_single_choice for your rows, or otherwise switch to CheckedTextView instead of RadioButton. Step #2: Use android:choiceMode=singleChoice. This sample project shows this approach the multipleChoice/android.R.layout.simple_list_item_multiple_choice

Re: [android-developers] Application force closing after selecting it from the recent apps list after an application update

2012-04-23 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your crash. On Mon, Apr 23, 2012 at 3:00 PM, Dang Sananikone dang.sananik...@gmail.com wrote: Hi, I have encountered a bug whereby my application force closes after selecting

Re: [android-developers] Set Ringtone

2012-04-23 Thread jadranko bodiroga
sorry..still did not solve my problem.any other suggestions where to start... -- 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

[android-developers] Hidden widgets in android plugin?

2012-04-23 Thread Elhanan Maayan
hi.. as a GWT user i've found out the plug in does display ALL the widgets available and now i see that this habit extends to the android plugin for example NumberPicker is usable, but is not in any of the pallet i see, so what other hidden widgets are there? (actually i'm looking to create a

Re: [android-developers] Application force closing after selecting it from the recent apps list after an application update

2012-04-23 Thread Dang Sananikone
Hi, sorry I should have elaborated a bit more. I have some code to catch exceptions when accessing my database at process initialisation, and this is where the app comes unstuck. At startup, a single worker thread is given the job of reading from the database. While this is happening a splash

Re: [android-developers] Set Ringtone

2012-04-23 Thread Kristopher Micinski
How did it not solve your problem? What did you try? Kris On Mon, Apr 23, 2012 at 3:13 PM, jadranko bodiroga jadrankobodiroga1...@gmail.com wrote: sorry..still did not solve my problem.any other suggestions where to start... -- You received this message because you are subscribed to the

[android-developers] Re: how to get the average speed with GPS android

2012-04-23 Thread JP
1. Register a location listener for GPS 2. Request GPS location/dataset at 1s (for greatest accuarcy) interval 3. For each location update, retrieve the data element that contains the device speed 4. Use a moving average algorithm to calculate average speed. A reference design to maintain the

Re: [android-developers] Application force closing after selecting it from the recent apps list after an application update

2012-04-23 Thread Dang Sananikone
Oh dear, I see what's going on. After the app update, upon selecting the app through the recent apps list a new process is created, and the activity that was in the foreground when the Home button was pressed is started in the new process with a null savedInstanceState. My assumption was that

[android-developers] Webview not using cache

2012-04-23 Thread darrinps
I am having a problem with Webview in that it will not use the cache. I start my app up, load the HTML5 page, then back out of the page, enter airplane mode on the phone, then try to go to the web page again. It should be cached, but I get a message saying that the URL could not be retrieved.

Re: [android-developers] ANDROID BASED VEHICLE TRACKING ISSUES on a remote Server

2012-04-23 Thread Justin Anderson
Do you really expect us to wade through the code in all those files to solve your problem for you? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Apr 23, 2012 at 2:24 AM, deb-account theedge...@free.fr wrote: On 16/04/12 02:20, JOHN BOSCO

Re: [android-developers] how use data from xls file in content provider(SQLite)?

2012-04-23 Thread Justin Anderson
am kinda new to android...working on ERP applicationwanna knw d difference btwn customarrayadapter and customadapter Don't hijack someone else's question to ask your own... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sun, Apr 22, 2012 at

Re: [android-developers] how use data from xls file in content provider(SQLite)?

2012-04-23 Thread Justin Anderson
Hi any suggestion, want to do read xls file select only selected cells and convert it into table. e.g : my xls. file contains Name,Addr,Phone Number, etc.. I want only two cells Name, and Number and make that to contact list ! http://catb.org/esr/faqs/smart-questions.html Thanks, Justin

Re: [android-developers] RadioGroup OnClickListener

2012-04-23 Thread Justin Anderson
So how come that RadioGroup class has a setOnClickListener but not a getOnClickListener? It's not just RadioGroup... it is all Views... What can I use to go around this problem? Keep a member variable around for use when you need it... Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Seeing user information

2012-04-23 Thread Justin Anderson
It is my understanding that for an app which requires a fee to be downloaded (so not for free apps), the developer can see each buyer's detailed information, which among other things, contain their email address. That is correct... Is this true? Yes Only in case of apps which require

Re: [android-developers] android source code build error

2012-04-23 Thread Justin Anderson
There is a google group specifically for building the android source... I would try asking there. This group is for building apps with the Android SDK. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Apr 17, 2012 at 8:02 AM, Mao

Re: [android-developers] Totally transparent, always-on-top, clickable, dialog during incoming / outgoing calls

2012-04-23 Thread Justin Anderson
Set the theme for your activity as follows: *android*:*theme*=@*android*:style/*Theme*.*Translucent* Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware 2012/4/18 José Pacheco jose.pach...@gmail.com Hello all, I am new to Android. I am trying to display

[android-developers] ListView addHeader(View) problem control image enhancement

2012-04-23 Thread Jim Graham
Seems so simple...create a textview, prior to adding the arrayAdapter, apply the header as myListVew.addHeader(t); then (or before) set the text for the TextView (t) with t.setText(aString). (I believe the actual variable's name was flashCurrentMode). Here's basically what I did (I originally

[android-developers] Registration ID

2012-04-23 Thread ndiiie 90
Hi all, I am interested in implementing C2DM for the push notification feature in my application. However, when I read the docs https://developers.google.com/android/c2dm/#lifecycle It states that: Note that Google may periodically refresh the registration ID, so you should design your

[android-developers] Persistent build error

2012-04-23 Thread Luiz Santos
Hello everybody. I'm trying to build a project on Netbeans, but I always get the same build error: *C:\Projects\AndroidProject\nbproject\build-impl.xml:338: Execute failed: * *java.io.IOException: Cannot run program ${platforms.Android_2.2.aapt} (in directory C:\ Projects\AndroidProject ):

[android-developers] Touch Screen problem in Blaze

2012-04-23 Thread Mamatha K
Dear All, I am new to android and working on touch screen porting on blaze board. The problem I am facing is, When the kernel is up I can seen touch screen events, and as soon as android boots the touch events are not seen. Then I analyzed and got to know that the android is