[android-developers] Re: mediaserver always occupy 90%+ cpu when there is a wmv file existing on the sdcard.

2012-09-07 Thread 王鑫
I have found the reason that the hardware didn't support this WMV file , so i disable the hardware decoding and problem fix. On Thu, Sep 6, 2012 at 10:35 AM, 王鑫 tremendoustur...@gmail.com wrote: I have a wmv file (about 130MB) in the sd card, i reset and reboot the device , the mediaserver

[android-developers] Re: help require regarding address application

2012-09-07 Thread Calin Perebiceanu
Hello, Sqllite has no security , thus you have to encrypt your data. We can use GCM to send notifications to devices. On Friday, 7 September 2012 08:51:30 UTC+3, pankajdev wrote: Hi, want to build an application where i can store address of one of the office location , these location are

Re: [android-developers] Re: help require regarding address application

2012-09-07 Thread pankaj dev
Thanks Calin , but how to begin with this kind of application is also what i need help on. with regards On Fri, Sep 7, 2012 at 11:59 AM, Calin Perebiceanu calin.perebice...@gmail.com wrote: Hello, Sqllite has no security , thus you have to encrypt your data. We can use GCM to send

Re: [android-developers] Re: help require regarding address application

2012-09-07 Thread Calin Perebiceanu
Here you can find some great information http://developer.android.com/index.html On Friday, 7 September 2012 09:54:08 UTC+3, pankajdev wrote: Thanks Calin , but how to begin with this kind of application is also what i need help on. with regards On Fri, Sep 7, 2012 at 11:59 AM, Calin

[android-developers] Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread JPS
Hi I am developing a live wallpaper and want the preview mode to display a bitmap as opposed to the regular animation in run mode. I know I should use the isPreview() call and all my searches indicate that I should do this in the onCreateEngine() method which is what I did. However I get a

[android-developers] Re: Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread Calin Perebiceanu
Can you also provide the stack for the crash ? On Friday, 7 September 2012 10:19:42 UTC+3, JPS wrote: Hi I am developing a live wallpaper and want the preview mode to display a bitmap as opposed to the regular animation in run mode. I know I should use the isPreview() call and all my

Re: [android-developers] Re: help require regarding address application

2012-09-07 Thread pankaj dev
great , i have seen this url ...:( the Beginning always require help if i am not wrong. On Fri, Sep 7, 2012 at 12:43 PM, Calin Perebiceanu calin.perebice...@gmail.com wrote: Here you can find some great information http://developer.android.com/index.html On Friday, 7 September 2012

[android-developers] Help required in packaging android library project as a jar in android application.

2012-09-07 Thread india123
Hi All, I am trying to use Android Library Project as a jar in my android application. But i am not able to use library project as a jar because it contains .xml and images, so i can't make jar of this. Can any one guide me to resolve this? -- You received this message because you are

[android-developers] Re: Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread JPS
On Friday, September 7, 2012 9:19:42 AM UTC+2, JPS wrote: Hi I am developing a live wallpaper and want the preview mode to display a bitmap as opposed to the regular animation in run mode. I know I should use the isPreview() call and all my searches indicate that I should do this in

[android-developers] How to override Theme.Light title-text in styles.xml ?

2012-09-07 Thread aprogrammer
I'm using Theme.Light in an app and noticed that Theme.Light automatically sets the title-text of the title-bar. The title-text is set to the android:label of MainActivity. However, I want the title to be New Text, not the label attached to MainActivity. Now, it is possible to change

[android-developers] Re: Help required in packaging android library project as a jar in android application.

2012-09-07 Thread RichardC
See Referencing a Library Project: http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject On Friday, September 7, 2012 8:59:49 AM UTC+1, india123 wrote: Hi All, I am trying to use Android Library Project as a jar in my android application. But i am

[android-developers] date

2012-09-07 Thread Sadhna Upadhyay
Hi, how to store date in sqlite and do sql query on date -- 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: Native code crashes on constructor call

2012-09-07 Thread cpares
Solved! In the end you were right, RichardC. It was the constructor of another class, which was firing implicitly, finding some exception and closing the program. Thank you, you set me on the right track! :) -- You received this message because you are subscribed to the Google Groups Android

[android-developers] EditTextPreference: Problems with android:dialogMessage

2012-09-07 Thread BearTi
Hi, I got two questions: 1.) How can I make the Text android:dialogMessage in an EditTextPreference bold? I tried bTest1/b Test2, but this don´t work! 2.) This android:dialogMessage is not shown direct over the Textfield where the User can type something... there es a padding of (i think 2-3

[android-developers] 【android-developers】meta-data

2012-09-07 Thread 安藤玲生
im japanese programmer. In the character string and what that are defined as the usual string.xml does meta-data differ? thanks. REO ANDO -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Translating time Executing time

2012-09-07 Thread ehsan azimzadeh
Hi A breakdown of execution time shows that compilation constitutes a fraction of total execution time in android application. How can we measure the time spent*translating* and *executing* for android application separately? Are there any tools? Thanks Ehsan -- You received this message

Re: [android-developers] Re: help require regarding address application

2012-09-07 Thread pankaj dev
I request if somebody can understand my question and help , that how i should create an app that will store address in sqllite database and will fetch based on specific search word , i also want to understand can i keep database in remote server and it will sync based on the update button clicked

[android-developers] Re: help require regarding address application

2012-09-07 Thread pankajdev
I request if somebody can understand my question and help , that how i should create an app that will store address in sqllite database and will fetch based on specific search word , i also want to understand can i keep database in remote server and it will sync based on the update button

[android-developers] Re: Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread Calin Perebiceanu
I've looked at WallpaperService source code, and I pretty sure you can't use isPreview in onCreateEngine. On Friday, 7 September 2012 11:00:46 UTC+3, JPS wrote: On Friday, September 7, 2012 9:19:42 AM UTC+2, JPS wrote: Hi I am developing a live wallpaper and want the preview mode to

[android-developers] Animation moving image in random

2012-09-07 Thread Haris
For my application I need to move my image randomly throughout the screen using motion sensor The motion sensor part completed. So as the next step I need to move an arrow throughout the screen. I searched in internet a lotPlease help.. thanks in advance -- You

[android-developers] How to remove(clear) shared preferences of one application from other application?

2012-09-07 Thread Abhishek Kumar Gupta
I want to remove(clear) the sharedpreferences of one application from other application. I have tried the following code in the other application to remove preferences of application having package com.android.blesettings: Context context =

Re: [android-developers] EditTextPreference: Problems with android:dialogMessage

2012-09-07 Thread Kostya Vasilyev
You can do this by creating your own layout for the dialog. http://developer.android.com/reference/android/preference/DialogPreference.html#attr_android:dialogLayout -- K 2012/9/7 BearTi mlrti...@gmail.com Hi, I got two questions: 1.) How can I make the Text android:dialogMessage in an

Re: [android-developers] School project help needed.

2012-09-07 Thread Amey Bapat
Domin8rJ listen up buddy, wid due respect to the prev posts on this thread heres an idea for u.. u might take tym fr it but its k jus take any chap or couple of chaps frm any subject and jus create an app.. so i would b like having a chap in ur phone.. automating it in a way towards smarter

Re: [android-developers] How to remove(clear) shared preferences of one application from other application?

2012-09-07 Thread Amey Bapat
id u try doing this remove all SharedPreferences.Editor.clear() followed by a commit() also removing the package can also b an option On Fri, Sep 7, 2012 at 4:31 PM, Abhishek Kumar Gupta akgaec2...@gmail.comwrote: I want to remove(clear) the sharedpreferences of one application from other

[android-developers] Help for newbie game development (views? drawables? what?)

2012-09-07 Thread Andrea Rossi
Hi everybody, newbie here! In Android development, at least. I'm definitely not new to game development in Java, but now I need some initial advices for my first silly game on Android. All I need is a background (probably horizontally scrolling), a hot air balloon going up and down on the

[android-developers] Google Now APIs?

2012-09-07 Thread Andrés Pachón
Are there any plans to release a Google Now API in the Android SDK? Maybe as another type of notificationhttp://developer.android.com/design/patterns/notifications.html ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Peer to Peer video streaming

2012-09-07 Thread Ariv
Hi All, I am looking to develop a android application to do a peer to peer video chat. No servers in between. it can be through once of the networks lie WIFI, 3G bluetooth etc. Please provide some suggestions and example and any applications that is already available and capable of doing

[android-developers] Problem when loading Assets on Eclipse

2012-09-07 Thread Siflou
Hello guys, I've been reading the book Beginning Android Games and I have a problem because I have a test project that load assets via the asset manager and in the first project it worked great. Now we are in another project further in the book and I need to read Assets too, but It keeps

[android-developers] rSAP in Android

2012-09-07 Thread chencho
Hi all, Is there any chance to add rsap to android? most of the new bluetooth devices use this profile and i cannot use them with my cellphone. There is a web called www.android-rsap.com but unfortunatelly only develop the app for samsung and htc (i have a sony mobile). chencho -- You

[android-developers] Re: question, has any one use the void glDrawElements(intmode,intcount,inttype,intoffset) in GL11

2012-09-07 Thread Shitesh
So I believe the answer to this question is here: http://stackoverflow.com/questions/7708745/whats-the-offset-parameter-in-gles20-glvertexattribpointer-gldrawelements-an You can use the int offset function if you've called glBindBuffer first. On Sunday, 4 January 2009 08:35:39 UTC+2, 边蓬 wrote:

[android-developers] Android Assets are not loading

2012-09-07 Thread Siflou
Hi guys, I have a androind project and I'm working with AssetManager to read images and I'm reading a book (Beginning Android Games) and we made a framework to load assets from, and I'm using it to load images. Basiclly I have 2 different projects. In 1 project, I'm loading a texte file and it

[android-developers] Support for indian languages in android devices

2012-09-07 Thread Amit Dhage
Hello everyone, I am developing an android application. In that I am using some Indian language fonts (e.g. Hindi). I have used TTF font files but it is not rendering joint alphabets properly. That's why In my application I want to detect weather Indian (e.g. Hindi

[android-developers] javascript Bookmark in Android Browser

2012-09-07 Thread Aravind S
Hi, I want to add a bookmark in android chrome browser programetically. And, my bookmark starts with javascript: as my bookmark will need to get the currently opened website address. Any help is really appreciated. PS: I tried to add bookmark that starts with javascript: manually and it didn't

[android-developers] Android ResourceType Too many attributes references, stopped at: 0x010102c5

2012-09-07 Thread BusDeath
Hello, i scale the layouts of my android app programmatically. So my application looks the same on any device. It works fine so far. But now the logcat reports a warning like: ResourceType - Too many attribute references, stopped at: 0x010102c5 and my application layout does not look

[android-developers] Android features for aging Baby Boomers

2012-09-07 Thread bobbi
While enlarging/shrinking images is inherent in Android, not so is the font size. Some of us old farts need larger fonts to be able to read without glasses. Allowing FONT sizes to be user-selected would go a long way to making Android easier for older users. And, some of us are increasingly

[android-developers] Android Track Location Issue

2012-09-07 Thread AndroidDev
Friend, I am working on app in which I have to calculate the total distance from start point to end point. I use the Location Manager of the Android SDK, use location listener and use both provider(GPS and network provider) and in every 20 seconds I have track the location and put the tracked

Re: [android-developers] CheckMark

2012-09-07 Thread Manmohan Singh
Hi 1. You can do this by making the custom button. Make a class and extends the button class in same class and in the paint method(inheritanced from button class) you can draw the checkmark. 2. Set the background of the button with a check mark image on runtime. Best regards Man Mohan On Fri,

[android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-07 Thread Arjun
Hi Karthikeyan R, I used your example in my android Testproject but i got some exception, java.lang.NoClassDefFoundError: com.android.chimpchat.adb.AdbBackend Can you please tel me whats wrong i did? Thanks Arjun On Wednesday, August 3, 2011 11:21:16 AM UTC+5:30, Karthikeyan R wrote:

[android-developers] Re: PBAP CLIENT

2012-09-07 Thread yulongfei
my proble is the same with you , can you show your source code on the web? did you use uuid? 在 2011年5月20日星期五UTC+8下午6时27分18秒,Anirudh Kashyap写道: Hi, I have implemented a PBAP client. I am able to establish a OBEX Connection and connect to the PBAP server on the other android device. I

[android-developers] Re: WebView lost JavaScript update contents after called goBack()

2012-09-07 Thread Pan Ng
Did u come up with an anwser for this issue? On Friday, November 18, 2011 6:23:32 PM UTC+8, alex wrote: I have a problem that when I click back button on a WebView, my previous page losts all contents updated by JavaScript. My steps in WebView was below: - after Main page loaded, JavaScript

[android-developers] Android support for Bluetooth LE (low energy 4.0) peripheral

2012-09-07 Thread maushah
Does Android (AOSP) support Bluetooth LE (4.0) *peripheral* support? Basically, can I use a peripheral LE broadcast module with another app processor running Android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Bluetooth Low Energy (BLE) - bluetooth 4.0 support

2012-09-07 Thread maushah
I would love to get the same answer. iOS 6 adds LE peripheral support so I am assuming AOSP will as well. When is the question!! On Monday, November 28, 2011 9:47:13 AM UTC-8, Mik wrote: Dear all, I am looking forward the time when we could connect our android devices towards devices

[android-developers] Porting Andriod OS Intel's Crossville Board

2012-09-07 Thread nitin singh
HI All, I am having Crosville IVI development board with Meego OS installed on it. I want to port Android OS on same board by removing Meego one. Could anyone cite me the complete procedure to do the desired task. Also how can i get the android OS image which is compatible for this board (Intel

[android-developers] clearing Activity stack after crash

2012-09-07 Thread prashant
I looked into several blogs related to this topic. But have not got a suitable solution. I use ACRA. When the application crashes I have an over ridden uncaughtException handler in which a custom message is displayed and kill the process and do an exit

[android-developers] Dalvik's Instruction scheduling function is where?

2012-09-07 Thread DSS
Hi, I'm studing for Dalvik machine in Android. I'm serching for the funtion that execute Global Instruction Scheduling. But I don't find where it's located. Can you help me? please. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: PBAP CLIENT

2012-09-07 Thread yulongfei
/** * Defines the OBEX SERVICE UNAVAILABLE response code. * P * The value of codeOBEX_HTTP_UNAVAILABLE/code is 0xD3 (211). */ public static final int OBEX_HTTP_UNAVAILABLE = 0xD3; I can connect to htc increditable s , it returns response code : 0xD3.

[android-developers] Re: Multiple rows in 'Gallery' widget.

2012-09-07 Thread gbohrn
Write a custom adapter for the Gallery On Friday, May 18, 2012 9:16:08 AM UTC-6, Put_tiMe wrote: Doesn't 'Gallery' widget support multiple rows? It just shows one row, no matter what ever I try. Basically I want 'GridView' widget with horizontal scrolling only. -- You received this

[android-developers] Re: Rotated map view - how to get the touches back to where they belong?

2012-09-07 Thread Moésio Medeiros
on touch event you must use the inverted matrix used on dispatch draw of the view. Follow both method implementation: private Matrix invertedMatrix = new Matrix(); private float[] tempLocation = new float[2]; @Override protected void dispatchDraw(Canvas canvas) {

[android-developers] Re: Best Open Source MDM servers for Android

2012-09-07 Thread Squince
I have been attempting to get rid of our solution for some time, the products out there today are usually a yearly cost, and a high one at that. Here are some tools I have found recently researching the question? Is anyone going to build an open source MDM solution for smart phones? There is

[android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Javier Garcia Crespo
* According to the note written in this documentation, the old groups are depecated (small, normal, large, and xlarge)*, thas why we have to migrate to new techique defined in Android 3.2 * Note:* Beginning with Android 3.2 (API level 13), these size groups are deprecated in favor of a new

[android-developers] installation of audio in /mnt/sdcard

2012-09-07 Thread drstikko
Hello, as far as I know only audio that is located in /mnt/sdcard is played by the webview class. No my question is: how do I let the installation apk install the in a folder on /mnt/sdcard? Or if people think it is possible to play them from the res or assets folder : how do I do that?

[android-developers] Intercept layout android loading choice

2012-09-07 Thread Jose Ayerdis
Is there a way that I can intercept when does android decided which layout to use, like for instance I want to have two different kind layouts tested on different set of users, but I would like some random users load the regular(even if they have hdpi devices) and others uses the hdpi. The only

[android-developers] asp.net to Android

2012-09-07 Thread prakash jha
I am a asp.net Developer know i want to move to android Development. what i have to start from to learn 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

[android-developers] place audio in /mnt/sdcard during install

2012-09-07 Thread drstikko
Hi, as far as I know I only can play sound from a webview with html5 if it is located in a folder on /mnt/sdcard. My question is: how can I let a apk install place audio in a /mnt/sdcard folder? Or, if it is possible: how can I play a audio file from the 'res' or 'assets' folder from a html5

[android-developers] upload photos on web server.

2012-09-07 Thread vivekdave
Hi I am new to Android and I would like to create a simple application to upload photos on webserver. please let me know how to achieve it.any steps to complete it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] doubt on customview

2012-09-07 Thread vadivel rajan
hi friends help me i just want to create TextView , Button and Edittext using java code and also extends the Linear layout in the class how to do? advance thanks to u -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Any body have a clue with this bug : Adding window failed ?

2012-09-07 Thread 张维亚
我也遇到此问题了,解决了求告知 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] Re: Intercept layout android loading choice

2012-09-07 Thread sparky
I think switching it in setContentView() is exactly right. The main question then is, how do you decide which user gets which layout, and how do you make it consistent? The latter, I would accomplish by writing something into Shared Preferences. On Sep 7, 2:16 pm, Jose Ayerdis

[android-developers] Re: doubt on customview

2012-09-07 Thread sparky
http://developer.android.com/training/basics/firstapp/index.html On Sep 7, 10:52 am, vadivel rajan getvadi...@gmail.com wrote:  hi friends help me i just want to create TextView , Button and Edittext using java code and also extends the Linear layout in the class how to do?

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Mark Murphy
On Fri, Sep 7, 2012 at 6:28 AM, Javier Garcia Crespo jgarc...@gmail.com wrote: According to the note written in this documentation, the old groups are depecated (small, normal, large, and xlarge), thas why we have to migrate to new techique defined in Android 3.2 Deprecated in Android usually

Re: [android-developers] Dalvik's Instruction scheduling function is where?

2012-09-07 Thread Mark Murphy
Questions regarding the Android open source code belong on a Google Group listed on the http://source.android.com site. This group is for developing applications with the Android SDK. On Fri, Sep 7, 2012 at 1:48 AM, DSS frombc7...@gmail.com wrote: Hi, I'm studing for Dalvik machine in Android.

[android-developers] soap+android related problem

2012-09-07 Thread rauf qureshi
can any body tell me how to send soap request in json format please reply thanks in advance -- 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

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Javier Garcia Crespo
OK, then there is no way in the new technique. No solution to consider. El viernes, 7 de septiembre de 2012 15:26:49 UTC+2, Mark Murphy (a Commons Guy) escribió: On Fri, Sep 7, 2012 at 6:28 AM, Javier Garcia Crespo jgar...@gmail.comjavascript: wrote: According to the note written in

[android-developers] How to add a dynamic editable text area to a LinearLayout

2012-09-07 Thread plw
I am writting an app that reads a database and dispays the record contents to the screen which can the be changed and the database updated. How do I add the text field dynamically to the linearlayout do they are editable? I thought it was something like TextView tv = new TextView(null); to

Re: [android-developers] How to add a dynamic editable text area to a LinearLayout

2012-09-07 Thread Justin Anderson
I thought it was something like TextView tv = new TextView(null); to start with but that crashes. Well... did you look at the error you get when it crashes? I'm guessing that you can't pass in null for a context... Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] soap+android related problem

2012-09-07 Thread Justin Anderson
Yeah... it is called Google - http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html - http://lmgtfy.com/?q=android+soap+request Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Sep 7, 2012 at 7:38 AM, rauf qureshi

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Mark Murphy
On Fri, Sep 7, 2012 at 9:44 AM, Javier Garcia Crespo jgarc...@gmail.com wrote: OK, then there is no way in the new technique. No solution to consider. You already posted the answer for the new technique in your original email. It's just that the new technique only works on new devices. -- Mark

Re: [android-developers] asp.net to Android

2012-09-07 Thread Justin Anderson
Step 1: Learn Java... There are lots of Java tutorials online Step 2: Learn Android... Start here: http://developer.android.com Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Sep 7, 2012 at 1:15 AM, prakash jha pramu...@gmail.com wrote: I am a

Re: [android-developers] How to add a dynamic editable text area to a LinearLayout

2012-09-07 Thread Knutsford Software
I did but it wasn't very helpful. I have just this minute solved it though I needed something like EditText et = new EditText(v.getContext()); Thanks - Original Message - From: Justin Anderson To: android-developers@googlegroups.com Sent: Friday, September 07, 2012

Re: [android-developers] Screen Support in Android 3.2 (API level 13)

2012-09-07 Thread Javier Garcia Crespo
Yes new devices with android 3.2 upper. Hvga wvga no way to select diferent layout with new technique. Poor. I have to make a test mixing horenration and dps selector .h240-por or h320-land -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: How to remove(clear) shared preferences of one application from other application?

2012-09-07 Thread Abhishek Kumar Gupta
Hi Amey, Thanks for the reply. I have tried but it is not working. I am unable to delete .bak file of the sharedpreferences(profile_preference) of application having package com.android.blesettings. I have tried the following code: File file = new

Re: [android-developers] Re: Live wallpaper. nullPointerException when detecting preview mode

2012-09-07 Thread Harri Smått
Hi, It's very much sure isPreview() does not work within service Engine instantitation method. Not only for null pointer but there's no way newly created Engine knew whether it's in preview mode or not. Also, bear in mind it's not guaranteed a new Engine is created for preview and actual

Re: [android-developers] How to add a dynamic editable text area to a LinearLayout

2012-09-07 Thread Justin Anderson
I did but it wasn't very helpful. If you know how to read a Java stacktrace it would be very helpful. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Sep 7, 2012 at 8:21 AM, Knutsford Software i...@knutsford-software.co.uk wrote: I did but

Re: [android-developers] Re: How to remove(clear) shared preferences of one application from other application?

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 10:13 AM, Abhishek Kumar Gupta akgaec2...@gmail.comwrote: I am unable to delete .bak file of the sharedpreferences(profile_preference) of application having package com.android.blesettings. I have tried the following code: File file = new

Re: [android-developers] upload photos on web server.

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 5:22 AM, vivekdave vivekdd...@gmail.com wrote: I am new to Android and I would like to create a simple application to upload photos on webserver. please let me know how to achieve it.any steps to complete it? If you don't already know how to go about this, this is not

Re: [android-developers] clearing Activity stack after crash

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 12:16 AM, prashant kspr...@gmail.com wrote: I have an over ridden uncaughtException handler in which a custom message is displayed and kill the process and do an exit android.os.Process.killProcess(android.os.Process.myPid()); System.exit(10); Why? By default

Re: [android-developers] Android Track Location Issue

2012-09-07 Thread TreKing
On Thu, Sep 6, 2012 at 8:54 AM, AndroidDev androidteste...@gmail.comwrote: After several test, Not got the accurate result. Approximately 60-70% of actual odometer value. Please guide if have some other alternative to be used. Please guide me how I got more accurate result. Don't use the

Re: [android-developers] School project help needed.

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 7:33 AM, Amey Bapat amey.n.ba...@gmail.com wrote: Domin8rJ listen up buddy, wid due respect to the prev posts on this thread heres an idea for u.. u might take tym fr it but its k jus take any chap or couple of chaps frm any subject and jus create an app.. so i would

Re: [android-developers] Animation moving image in random

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 5:49 AM, Haris haris...@gmail.com wrote: So as the next step I need to move an arrow throughout the screen. I searched in internet a lotPlease help.. Help with what? You provided almost no information. What *exactly* do you need help with?

Re: [android-developers] date

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 3:31 AM, Sadhna Upadhyay sadhna.braah...@gmail.comwrote: how to store date in sqlite and do sql query on date A: This is not specific to Android. B: http://justfuckinggoogleit.com/

[android-developers] Thread

2012-09-07 Thread bob
What do you normally do on Android when you spawn a thread but the thread needs to access your Activity object? Do you typically pass the Activity object to your own constructor for the Thread? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Thread

2012-09-07 Thread RichardC
Pass in the Activity object and hold it in a WeakReference in the thread class. Using a WeakReference means that you will not leak memory if your Activity is destroyed before your thread completes and also if you find that the WeakReference is null you know that the Activity has gone away.

Re: [android-developers] Thread

2012-09-07 Thread Larry Meadors
That's probably unsafe due to the lifecycle of activities. What's the use case? Larry On Fri, Sep 7, 2012 at 10:18 AM, bob b...@coolfone.comze.com wrote: What do you normally do on Android when you spawn a thread but the thread needs to access your Activity object? Do you typically pass

Re: [android-developers] School project help needed.

2012-09-07 Thread Mark Phillips
+200 On Sep 7, 2012 8:57 AM, TreKing treking...@gmail.com wrote: On Fri, Sep 7, 2012 at 7:33 AM, Amey Bapat amey.n.ba...@gmail.com wrote: Domin8rJ listen up buddy, wid due respect to the prev posts on this thread heres an idea for u.. u might take tym fr it but its k jus take any chap or

Re: [android-developers] School project help needed.

2012-09-07 Thread Amey Bapat
well i agree its a bit difficult to understand it.. but it is ok.deal with it..!! On Fri, Sep 7, 2012 at 10:16 PM, Mark Phillips m...@phillipsmarketing.bizwrote: +200 On Sep 7, 2012 8:57 AM, TreKing treking...@gmail.com wrote: On Fri, Sep 7, 2012 at 7:33 AM, Amey Bapat

Re: [android-developers] upload photos on web server.

2012-09-07 Thread Vivek Dave
I worked on android, I am not newbie to it. actually, I got the idea but it was not impressive. but i need help for it. or any thing which can help me to sort out the problem. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] speak action automatic

2012-09-07 Thread Ray da Costa
Hi friends, a help ... Anyone know if there is any listener to be listening to the microphone to a sound when it detects it recener this sound in the onActivityResult Activity? -- Ray da Costa The best way to predict the future is to invent it. Alan Kay -- You received this message because you

[android-developers] Adding Contacts

2012-09-07 Thread akash
Hi, I am trying to add new contact using my android application, but not able to get this. This code always execute catch and returns false. Is there any additional settings i need to apply. I have already added following permissions to my Manifest file. uses-permission

[android-developers] Customer can't see my app in the app store.

2012-09-07 Thread Toby
I've got hundreds of install, but this is the first person that can't find my app by searching in the play store. I'm requiring Android 2.2, and she says she is running 2.6. I'm requiring some permissions: HARDWARE CONTROLS TAKE PICTURES AND VIDEOS Allows the app to take pictures and videos

Re: [android-developers] School project help needed.

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 11:58 AM, Amey Bapat amey.n.ba...@gmail.com wrote: well i agree its a bit difficult to understand it.. but it is ok.deal with it..!! No, it is not OK. You make it difficult for everyone to understand what you're saying and you come off like an illiterate spammer.

Re: [android-developers] upload photos on web server.

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 11:59 AM, Vivek Dave vivekdd...@gmail.com wrote: but i need help for it. or any thing which can help me to sort out the problem. First you need to clearly explain what it is that you need help for and what this problem is that you need help sorting out. Your post is

Re: [android-developers] speak action automatic

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 12:24 PM, Ray da Costa raydaco...@gmail.com wrote: Hi friends, a help ... Anyone know if there is any listener to be listening to the microphone to a sound when it detects it recener this sound in the onActivityResult Activity? If I understood you correctly, I think

Re: [android-developers] Customer can't see my app in the app store.

2012-09-07 Thread TreKing
On Fri, Sep 7, 2012 at 12:49 PM, Toby t...@tobiah.org wrote: I'm requiring Android 2.2, and she says she is running 2.6. The fact that 2.6 does not exist might be the first problem. http://developer.android.com/about/dashboards/index.html TAKE PICTURES AND VIDEOS Allows the app to take

Re: [android-developers] Thread

2012-09-07 Thread bob
The use case is that the thread may want to call Activity.startActivity(). On Friday, September 7, 2012 11:35:50 AM UTC-5, Larry Meadors wrote: That's probably unsafe due to the lifecycle of activities. What's the use case? Larry On Fri, Sep 7, 2012 at 10:18 AM, bob

[android-developers] How can I put different resources for different dpi on ICS with the same sw800dp smallest width?

2012-09-07 Thread Leo
How can I put different resources for different dpi on ICS with the same sw800dp smallest width? Details: There are two tablets with ICS 4.0.4. First one has 1280x800 resolution and mdpi (160) density. Second one has 1920x1200 resolution and hdpi (240) density. So in terms of smallest width

[android-developers] Operation Timeout

2012-09-07 Thread SoftMan
Hi, I would like some help with this error. I can not find the way to go with this. The error is: The operation timed out I have two projects stopped by this error, and can not find the solution. I set the value of the timeout to zero, so I never stops for time. But I never work and always

Re: [android-developers] How can I put different resources for different dpi on ICS with the same sw800dp smallest width?

2012-09-07 Thread Mark Murphy
On Fri, Sep 7, 2012 at 2:27 PM, Leo leonidthek...@gmail.com wrote: I need to have different layouts and images for these two resolutions. I can see having different images. Why different layouts based on density? -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: How can I put different resources for different dpi on ICS with the same sw800dp smallest width?

2012-09-07 Thread RichardC
Have you taken into account that the smallest width is the available width (to your application) not the physical screen width i.e. it is the physical width minus any persistent UI elements such as soft buttons (home, back, etc). On Friday, September 7, 2012 7:27:35 PM UTC+1, Leo wrote: How

Re: [android-developers] Thread

2012-09-07 Thread Streets Of Boston
I'm guessing here a little bit, but is this what you want?: The user is in ActivityA. THe user clicks on a button or does something that requires a background Thread to do so processing. When the Thread is done (successfully), the thread needs to spawn/start ActivityB If so, use an AsyncTask.

[android-developers] Re: tts text to speech can read Russian

2012-09-07 Thread lselwd
is it able an Android app speak Russian TTS? jelly bean? IF YES WHAT VERSIONS FROM 2.2 AND ABOVE? On Wednesday, September 5, 2012 11:08:14 PM UTC+3, lselwd wrote: tts text to speech can read Russian, ...? I make it read English but Russian spell slash and numbers arbitrarily...? yes can

  1   2   >