[android-developers] Re: NullPointerException at MyService.onStartCommand ?

2011-12-20 Thread Terry
Thanks, Kostya, for the additional info. It was interesting - and informative - reading. Terry On 19 Des, 13:51, Kostya Vasilyev kmans...@gmail.com wrote: And speaking of firmware updates - please see this old thread: https://groups.google.com/forum/#!topic/android-developers/2H-zkME9FB0

Re: [android-developers] How to build ICS for HTC Wildfire?

2011-12-20 Thread mingzhou zhuang
So, where can i get help, please? -- 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: One process, two live Application objects?

2011-12-20 Thread Doug
On Dec 19, 8:18 pm, Y2i yur...@gmail.com wrote: Hm, so when do you need to just have code start running in your process first thing?  Generally it needs to run for something else -- and that something else needs to make a call somewhere to get what it wants.  Having that call

[android-developers] Re: Wait and notify

2011-12-20 Thread Ali Chousein
I would suggest you to think twice about your if statement if(a == b). If 'a' and 'b' are not primitive data types but objects, it's highly probable that you need to change it into if(a.equals(b)) or if(b.equals(a)). This is a common mistake most of the people do when they are experienced in C++

[android-developers] Re: pleasehelp me on below query

2011-12-20 Thread Ali Chousein
Develop in Eclipse and use the debugger. I doubt that you'll find a breathing debugger, member to this forum (and if you find one, my respects to him/her). - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com |

Re: [android-developers] Need help on making mobile catalog

2011-12-20 Thread David Setiawan
I'm actually looking for an example or maybe step by step tutorial on how to make a mobile product catalog for android device. If you dont know what i mean with mobile product catalog, maybe you can look at samsung mobile catalog from android market. And that's the one that i want to make or at

[android-developers] Re: NFC at Digital Protocol Layer

2011-12-20 Thread ikki_fenix
hello! If i right, you said me that i need to root my phone, didn't you? If i don't, i can't access to libnfc-nxp resources, didn't I? Best Regards, On 20 dic, 02:52, Alex Che alexey.tchervin...@gmail.com wrote: Hello, You are right, I had to ask you more details to avoid confusion. In

[android-developers] Re: NDK Sample program: Hello-Neon

2011-12-20 Thread Kloze
hi, I find following comment in source code // NOTE: Currently, we have to turn off the support for NEON explicitly. // Since the ARMCodeEmitter.cpp is not ready for JITing NEON // instructions. it seem's that ICS not always support NEON right now. At least in part of JIT . hope that be

[android-developers] Re: Help for dynamic views in Social Networking Application

2011-12-20 Thread Ali Chousein
I think you are a bit confused about design concepts. My humble suggestion to you is, your server should provide only the data. Your app should be fully responsible for defining and implementing the UI at the client side. What if you want to develop an app for iPhone/ iPad, Blackberry or Windows

[android-developers] Re: find word in faster speed

2011-12-20 Thread martypantsROK
Don't forget there are more than data structures involved here. The method searching could be improved. As Jim suggested, breaking things down with an index (search for zulu beginning in the z section) could be sped up even more. Search for the last letter in the string first. By searching for

[android-developers] Re: Should i develop for android 2.1, 2,2 or 2.3?

2011-12-20 Thread Ali Chousein
If you don't need a feature which is supported starting from 2.2 or 2.3 etc choose 2.1. You'll be targetting more devices then. Check the documentation. It tells which feature is supported starting from which version. - Ali Chousein Weather-Buddy

Re: [android-developers] Re: Should i develop for android 2.1, 2,2 or 2.3?

2011-12-20 Thread Kostya Vasilyev
This might be useful in deciding: http://developer.android.com/resources/dashboard/platform-versions.html I'd go with 2.0 at this time, unless you need something introduced in 2.1: http://developer.android.com/sdk/android-2.1.html -- Kostya 20 декабря 2011 г. 13:13 пользователь Ali Chousein

[android-developers] HTC Hero API upgrade and root access?

2011-12-20 Thread andu
hello all! I want to ask one question. I have HTC Hero (With API level-7). The API does not have org.w3c.dom.Text.getWholeText() function. Because of these I want to either upgrade it to API level-8 (or more) or have external library access to org.w3c.dom jar file. Is it possible to upgrade? or

[android-developers] Re: How to control the speed of the OpenGL thread?

2011-12-20 Thread Alex Cohn
Usually, the GL thread calls your override of android.opengl.GLSurfaceView.Renderer.onDrawFrame()http://android-developers.blogspot.com/2009/04/introducing-glsurfaceview.htmlmethod. You can add there

Re: [android-developers] Re: One process, two live Application objects?

2011-12-20 Thread Kostya Vasilyev
Do you have more info on when this happens? 20.12.2011 6:59, Richard Schilling пишет: This topic seems to have become re-relevant with the 4.0 release. I'm seeing Application.onCreate being called multiple times. It looks like what Diane described above with multiple processes getting their

[android-developers] Re: Using queueEvent for OpenGL

2011-12-20 Thread Alex Cohn
On Thursday, August 18, 2011 10:46:11 AM UTC+3, Jeffrey wrote: public boolean onTouchEvent(final MotionEvent event) { queueEvent(new Runnable(){ public void run() { mRenderer.setColor(event.getX() / getWidth(), event.getY() /

[android-developers] Re: pleasehelp me on below query

2011-12-20 Thread Zsolt Vasvari
Ali, you are a saint... For actually responding to this query. On Dec 20, 4:49 pm, Ali Chousein ali.chous...@gmail.com wrote: Develop in Eclipse and use the debugger. I doubt that you'll find a breathing debugger, member to this forum (and if you find one, my respects to him/her).

Re: [android-developers] Re: Using queueEvent for OpenGL

2011-12-20 Thread Christopher Van Kirk
Try GLSurfaceView. On 12/20/2011 5:32 PM, Alex Cohn wrote: On Thursday, August 18, 2011 10:46:11 AM UTC+3, Jeffrey wrote: public boolean onTouchEvent(final MotionEvent event) { queueEvent(new Runnable(){ public void run() {

[android-developers] Re: find word in faster speed

2011-12-20 Thread Solution 9420
Hi, I'm the auther of 9420 Thai Keyboard which incorporates English word suggestion feature as well. I've around 200K words and can look up in average of 80 mSec. Assuming the word DB is static, I've done the following... 1. pre-sorted your word in file. 2. pre-index your words. 3. Use binary

[android-developers] GPS information with logcat

2011-12-20 Thread Hera
Hello, I’m trying to see if the assistance data is injected into the GPS by examining the logcat but I’m not able to know where the problem is. As I can see in logcat messages, Android fist tries to connect with the SUPL server but it fails, whereas the NTP time injection is well done. Finally, a

Re: [android-developers] Re: find word in faster speed

2011-12-20 Thread Kristopher Micinski
On Tue, Dec 20, 2011 at 4:10 AM, martypantsROK martyg...@gmail.com wrote: Don't forget there are more than data structures involved here. The method searching could be improved. As Jim suggested, breaking things down with an index (search for zulu beginning in the z section) could be sped up

[android-developers] Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread B.Arunkumar
Hi, I have a progress dialog which shows up on a Button Click. Now I want to change same the button as a cancel button to dismiss the ProgressDialog. Can it be done? Thank you, B.Arunkumar -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Customize Android Source Code to run multiple Application on same Screen.

2011-12-20 Thread Varun Tewari
I have encountered similar situation. The only difference is i don't want to preview different application created by others. I have multiple apks each one has one preview to show inside one base application. All these previews in each apk, is a fragment of 2x2. Can anybody help me with that?

Re: [android-developers] Re: find word in faster speed

2011-12-20 Thread Christopher Van Kirk
Three points. 1) Building the searching functionality twice is far more expensive than building it once, no matter what approach you use. Be sure that the performance of the DB approach is acceptable before you go and build it that way. 2) It can be quite challenging to get decent

Re: [android-developers] Re: find word in faster speed

2011-12-20 Thread Kristopher Micinski
On Tue, Dec 20, 2011 at 4:59 AM, Christopher Van Kirk christopher.vank...@gmail.com wrote: Three points. 1) Building the searching functionality twice is far more expensive than building it once, no matter what approach you use. Be sure that the performance of the DB approach is acceptable

[android-developers] TextView ellipsize marquee on Ice Cream Sandwich

2011-12-20 Thread YuviDroid
Hey there, I found something strange about ellipsize=marquee on my Galaxy Nexus...or better...it doesn't work. Instead of seeing nice fading edges at the end of the word (when the word doesn't fit the view of course), you get the normal dots (...). After some digging through the ICS source code I

[android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread srihari babu
build custom progress dialog, which is a combination of progress bar and a button. Regards, Srihari -- 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

[android-developers] Couldnt find full_maguro-userdebug in the lunch menu for Samsung Nexus S(2.3.4-r1 AOSP)

2011-12-20 Thread s.rawat
HI , I have not been able to find the full_maguro-userdebug option while issuing the the lunch command while building for Samsung Nexus fom 2.3.4-r1?Plz assist.How to add this in the config file. Rgds, Softy ..pain is temporary.quitting lasts forever.. -- You received this message

[android-developers] Showing fragment of multiple apks in other apk's activity

2011-12-20 Thread Varun Tewari
Guys, I have encountered a situation which i don't know how to proceed with. I have multiple apks , each one has one preview to show inside one base activity of other apk. All these previews in each apk, is a fragment of 2x2. Is there a way i can do it on SDK level? If yes can anybody help me

Re: [android-developers] android robot

2011-12-20 Thread Michael Banzon
+1 Thanks for sharing - it looks like a very cool project!! I'm trying to get more time to experiment with NXT 2.0 + Android ;-) On Tue, Dec 20, 2011 at 6:51 AM, Kristopher Micinski krismicin...@gmail.com wrote: Arnaldo, Very cool, thanks for sharing! kris On Tue, Dec 20, 2011 at 12:07

[android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread B.Arunkumar
Hi, This can be done. What I want is a way to use the same button for showing the progressdialog and later cancelling it. Probably I should go in for some animated imagview instead of progressdialog for my requirement, I guess. Thank you, B.Arunkumar On Dec 20, 3:58 pm, srihari babu

[android-developers] How to resolve this error 'Failure [INSTALL_FAILED_DEXOPT]' during coping .apk to device

2011-12-20 Thread Abhishek Kumar Gupta
When I am trying to install .apk file to device, it is showing 'Failure [INSTALL_FAILED_DEXOPT]' . I have used the *./adb install -r ClockWidget.apk * in the platform-tools of the Android SDK in terminal. This .*apk* with .* odex* is generated(corresponging to the particular Application) after

Re: [android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread Kostya Vasilyev
Um, unless I'm missing something... You can't use the same button because presumably the button to launch the long-running operation is not in the dialog, it's in the activity - and dialogs prevent interaction with activity UI elements while displayed. What you can do is one of: 1) Build your

[android-developers] Where did toast come from?

2011-12-20 Thread Mathew Goldsborough
Is it possible to programmatically determine where a Toast notification came from? I'm thinking maybe register a BroadcastReceiver or some kind? Or are toast notitifications so generic that it is impossible to determine? Thanks. -- You received this message because you are subscribed to the

Re: [android-developers] Slow emulator, solutions ?

2011-12-20 Thread Michael Banzon
Get a real Android device. IMHO you'll be much happier testing a snake sample program on a real device. On Tue, Dec 20, 2011 at 7:35 AM, sl.laptop@maxis ecp_...@my-rialto.com wrote: I am still troubled by the slow emulator, which takes about 10 to 15 minutes to start an activity, eg snake

Re: [android-developers] Slow emulator, solutions ?

2011-12-20 Thread Michael Banzon
Oh - and to elaborate some more. AFAIK the reason it is so slow is that it is not an emulator but a simulator. On Tue, Dec 20, 2011 at 7:35 AM, sl.laptop@maxis ecp_...@my-rialto.com wrote: I am still troubled by the slow emulator, which takes about 10 to 15 minutes to start an activity, eg

[android-developers] Re: December 2011: Market downloads are dropping like crazy - why?

2011-12-20 Thread Terry
December 20 (afternoon): Suddenly it was fixed again! Strange. Terry On 20 Des, 08:58, Zsolt Vasvari zvasv...@gmail.com wrote: I'd say this is just a slow week with Chirstmas and everything, but I am seeing the same thing. On Dec 20, 3:44 pm, Terry terb...@gmail.com wrote:

[android-developers] Re: Let device sleep while playing VideoView

2011-12-20 Thread lbendlin
What's the rationale behind playing the video when a) nobody is watching and b) when nobody can even see it? Just stop the video after your inactivity timer expires. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Where did toast come from?

2011-12-20 Thread Mark Murphy
On Tue, Dec 20, 2011 at 6:58 AM, Mathew Goldsborough mgoldsboro...@mg2innovations.com wrote: Is it possible to programmatically determine where a Toast notification came from? Only if you build your own firmware. I'm thinking maybe register a BroadcastReceiver or some kind? No. -- Mark

Re: [android-developers] Fragment IPC : How could I instantiate a fragment that exists in another project's package?

2011-12-20 Thread Mark Murphy
On Tue, Dec 20, 2011 at 2:26 AM, Android Holder skybrea...@yahoo.cn wrote: Since fragment can be used in different activities,so I think it is reasonable that an activity of project A can use the fragment of project B. Only if Project B is an Android library project, compiled into Project A.

Re: [android-developers] Need help on making mobile catalog

2011-12-20 Thread TreKing
On Tue, Dec 20, 2011 at 2:50 AM, David Setiawan david.android1...@gmail.com wrote: Do you have any example or tutorial about how to make a mobile catalog like that? I don't and it'll probably be difficult to find an example of something that specific. Design your app, figure out how you want

Re: [android-developers] How to change the design size of the application for each and every mobiles

2011-12-20 Thread TreKing
On Mon, Dec 19, 2011 at 11:19 PM, mohana priya gpriyara...@gmail.comwrote: I have designed my phonegap android application using html and javascript. If you have a question or problem on configuring your PhoneGap-developed application, you should ask on a PhoneGap-related group or forum.

[android-developers] Re: GPS information with logcat

2011-12-20 Thread lbendlin
this is totally depending on the GPS chipset implementation in each device. You will have to raise your question with the device manufacturers. -- 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] Accessing extra Call features like Hold, SWAP, Conference from Third party Application

2011-12-20 Thread Swapnil Dalal
Hi All, I am developing an application where I need to provide functionality of Hold Active call, Make conference call, Swap Calls and Mute the call. I tried to use ITelephony.aidl for Mute and it didn't work as required. Also I didn't got any help in implementing other functions too. Can any

Re: [android-developers] Wait and notify

2011-12-20 Thread TreKing
On Mon, Dec 19, 2011 at 11:47 PM, seema seema22...@gmail.com wrote: The wait is never been notified. There are many facilities in the Android SDK to simplify threading. Review them and see if there is a better option to what you're doing. I get force close after few minutes. Debug your

[android-developers] Problem on button click

2011-12-20 Thread B.Arunkumar
Hi, I have a very unique problem which is sort of difficult to describe. We have developed an application where we connect to a server on the first screen with a button click (call it button1 which can also cancel) using an asyncTask as given in this url:

Re: [android-developers] Problem on button click

2011-12-20 Thread TreKing
On Tue, Dec 20, 2011 at 8:32 AM, B.Arunkumar awsnetworkrecor...@gmail.comwrote: Why does this happen? You have a bug in your app. And can somebody give me any pointers to atleast stop the listview clicklistener from firing? Debug your app. Step through the code with your debugger and /

[android-developers] Animation effect from button?

2011-12-20 Thread Duygu Kahraman
It can be basic but i didnt do before. I have a button.And i add a window from button.But i want to this window color lightening like a alarm effect(Means black window will turn red smooth effect). How can i do that? I must use animation or a can do it this way. THX. Duygu Kahraman -- You

Re: [android-developers] Re: pleasehelp me on below query

2011-12-20 Thread Md.Fazla Rabbi OPU
Actually your problem is in your * imageInSD String. *Because this string takes the *id* of the image not the *path*. But the* *method *decodeFile *takes path of the image as a parameter that should be stored in sdcard.* *So first store the image into sdcard then refer the path*. Change

Re: [android-developers] Animation effect from button?

2011-12-20 Thread TreKing
On Tue, Dec 20, 2011 at 9:17 AM, Duygu Kahraman duygu.kahram...@gmail.comwrote: How can i do that? Your question is not very clear. Have you reviewed the documentation on Animation? What have you tried?

Re: [android-developers] Re: pleasehelp me on below query

2011-12-20 Thread chowdary nani
Hi, thanks for reply. I to do the same thing but image is not displaying.I can not understand how the image in sdcard is taken in to the application.Please help on this. On Tue, Dec 20, 2011 at 8:50 PM, Md.Fazla Rabbi OPU md.fazlara...@gmail.com wrote: Actually your problem is in your *

Re: [android-developers] Re: pleasehelp me on below query

2011-12-20 Thread Md.Fazla Rabbi OPU
If you are using eclipse then it is very easy. Click* DDMS *then u will see*File Explorer *. If *File Explorer* is not displayed click *Window-Show View-File Explorer* .In File Explorer u can see 3 folders click on *mnt *folder then u can see *sdcard*. Select *sdcard* . Right side of the *File

[android-developers] Re: question about lockscreens

2011-12-20 Thread kalzenith
well that was a very well considered response, thanks. you are probably right, undertaking a lockscreen right off the bat is probably not a good idea. you see, the reason why i wanted to develop one was so that i could make a passworded lockscreen, but the password would have only been a backup.

[android-developers] Re: GPS information with logcat

2011-12-20 Thread Hera
Thank you Ibendlin but both devices are Nexus One (differente ANDROID versión) therefore I think that I am misleading something when I get the logcat messages. On 20 dic, 14:34, lbendlin l...@bendlin.us wrote: this is totally depending on the GPS chipset implementation in each device. You will

[android-developers] Re: NFC at Digital Protocol Layer

2011-12-20 Thread Alex Che
Hello, I do not know exactly about rooting for libnfc-nxp. I have no experience with the phones. You should to try or to ask someone else. Best regards, Alexei On Dec 20, 11:59 am, ikki_fenix piltzin1...@gmail.com wrote: hello! If i right, you said me that i need to root my phone, didn't

[android-developers] Re: Showing fragment of multiple apks in other apk's activity

2011-12-20 Thread Varun Tewari
I know we can share layouts from other apks. Have successfully did it. But not able to inflate layouts with Fragments from others apk. Do we need to specify anything special for it. Reg, Varun On Tue, Dec 20, 2011 at 4:45 PM, Varun Tewari varuntewari2...@gmail.comwrote: Guys, I have

[android-developers] Re: One process, two live Application objects?

2011-12-20 Thread Y2i
No, Diane is saying that you can say Singleton.getInstance(context.getApplication()) to pass the Application reference to the singleton and it will be used to initialize the singleton if not already. No, Diane was clearly saying Singleton.getInstance(context) to pass context (not the

Re: [android-developers] Re: One process, two live Application objects?

2011-12-20 Thread Kostya Vasilyev
Um... Singleton.getInstance(Context) can call getApplicationContext on the Context that's passed in, without requiring the caller to do that. 20 декабря 2011 г. 21:57 пользователь Y2i yur...@gmail.com написал: No, Diane is saying that you can say Singleton.getInstance(context.getApplication())

[android-developers] Moving shifting

2011-12-20 Thread unionmoversuae
Welcome Enjoy world-class moving services at local rates! Union Mover Dubai is the moving company created to make your moving experience a stress free one. Our focus is on top notch customer service, and fast, professional moving services. We aim to offer our customers the quality of service they

Re: [android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread TreKing
2011/12/20 Kostya Vasilyev kmans...@gmail.com 1) Build your own dialog with a cancel button; 2) Use Dialog.setOnCancelListener which gets called if the user presses the Back key; here the dialog is dismissed automatically; 3) Set a key listener in the dialog and check for when the back key

[android-developers] Power button

2011-12-20 Thread Jeffrey Dunbar
I am developing an app, I would like to use the power button as a panic button. Is there a way to hook into and catch globally from a service. I know that android fires the intent.action SCREEN_ON and _OFF but this causes issues. I have a service that monitors for screen on/off sets an alarm on

[android-developers] Indoor Maps - API

2011-12-20 Thread José
Hello all, I have been searching for a way to use the new feature of indoor maping, that came with Google Maps 6.0. As developer I'm eager to know how to adapt the new feature to my applications. - Is it possible to retrieve the user location, when he is inside a registered building (IKEA)? -

[android-developers] Re: Couldnt find full_maguro-userdebug in the lunch menu for Samsung Nexus S(2.3.4-r1 AOSP)

2011-12-20 Thread bradgog
you are in the wrong group, try Android-building -- 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

Re: [android-developers] How to build ICS for HTC Wildfire?

2011-12-20 Thread bradgog
but no one is going to be able to tell you how to build that port in a group like these, that is way to specific and complicated (not to mention you are working from the wrong repo, you will need to start with CM9) -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Indic language support in Android 2.3.x

2011-12-20 Thread Mandeep Singh
In latest ICS Release Bengali, Tamil and Hindi are properly rendered. But some languages like Punjabi have problems rendering certain glyphs. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to build ICS for HTC Wildfire?

2011-12-20 Thread bradgog
android-porting -- 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: Sync on Android Emulator

2011-12-20 Thread GJTorikian
Bump, as I also would like to know this. Sync is still broken on a 4.0.3 emulator. On Nov 23, 7:44 am, Flávio Ramalho f.ramal...@gmail.com wrote: Hello, I want to test an application that retrive Events from google calendar, for that I have to sync the android emulator with my google

[android-developers] Unable to Create a File in System Local Driver from Android Project/Junit Test

2011-12-20 Thread propovip
Hi All, How do i create a simple txt file in local drive(C:\tmp.txt) from an android project or from android junit test. I am getting Error for Write Permission , if i use like new File(C:\\tmp.txt).CreateNewFile(); Thanks, Muhil -- You received this message because you are

[android-developers] Android 3.2 BUG in settings

2011-12-20 Thread silvan_liu
Hi, I found a bug in APN editor of settings Duplicate procedure is below, 1.Settings -Wirelessnetworks-Mobile networks-Access Point Names 2.Press menu on top-right-New APN 3.Edit access pointdialog show up 4.Press Home button to go to home page 5.Do step 1 again 6.Error message appears Log msg

[android-developers] Re: 4.0 Action Bar - remove app title.

2011-12-20 Thread Andrew
hmm, can't you just do SetTitle() on the ActionBar? On Dec 19, 1:56 pm, Nathan critter...@crittermap.com wrote: I looked here, but I didn't find it. I could have missed it: http://developer.android.com/intl/de/guide/topics/ui/actionbar.html In ICS, they can't display my entire app name

[android-developers] Help with Displaying Overlay

2011-12-20 Thread Francesca Trinidad
I'm a beginner at Android programming. I want to display to GeoPoints that I've hardcoded in my app. But I still don't see them when I run the app on my emulator. Help is appreciated. Main.java package com.rcm.mflwa; import java.util.List; import com.google.android.maps.GeoPoint; import

[android-developers] Crash when opening Option Menu

2011-12-20 Thread Warlock
I have ordinary activity with Option Menu, which I created by this code: @Override public boolean onCreateOptionsMenu(Menu menu) { menu.add(0, 1, 0, A); menu.add(0, 2, 0, B); menu.add(0, 3, 0, C); return true; } On Android 2.3 and older (2.2, 2.1) is everything fine. But when I run this

[android-developers] phone call screen

2011-12-20 Thread aisha hr
How can i add button in the default call screen and how to activate the back button during the call?? http://www.talkandroid.com/android-forums/attachments/android-development-answers-tutorials-code-snippets/604d1266560652-custom-call-screen-caller.jpg -- You received this message because you

[android-developers] How to start learning to code for augmented reality

2011-12-20 Thread Balraj Singh
Hi, I am beginner in Android and had developed couple of applications only can you tell me that I need to start learning to code for augmented reality in android. So where to start from? What are material should i read? -- You received this message because you are subscribed to the Google

[android-developers] AdMob not showing up on my tablet

2011-12-20 Thread Dinosaur
I just installed Eclipse Helios, the latest Android SDK, and AdMob. I'm trying to incorporate AdMob into my app, and it seems to be working fine when I export the apk to my OG Droid (or run a 2.2 AVD), but the ad banner isn't showing up at all on either my tablet (3.1) or my tablet AVD. I'm trying

[android-developers] Automatic Exchange account configuration on android 4.0

2011-12-20 Thread Avinash
The early versions of android had a way by which Exchange account could be automatically configured through an app - by feeding in the email and password. The android 4.0 email application had changed a lot. Any reference as to how it can be done on the latest version? -- You received this

[android-developers] Split Action Bar - Action Item disappear in landscape mode

2011-12-20 Thread Andrew
I've got a split action bar working in my app. There are several action items and an overflow menu for the extra ones. However, when I rotate the device to landscape, the overflow (menu) button appears at the top action bar, and all the other action items disappear. All these menu items have

[android-developers] Re: Access denied error while trying to install new API

2011-12-20 Thread mattbrand
I am having a similar issue. I only have the Tools, Android 4.0.3 (API 15) and the Google USB Driver package installed through the Android SDK Manager. Anytime I try to install any other versions (I've tried 2.2, 2.3.3 and 1.5), I get this error: Downloading SDK Platform Android 2.3.3, API 10,

[android-developers] Edit boxes in OpenGL?

2011-12-20 Thread Jeresam515
Is there a way to put Edit Boxes into an OpenGL rendered program, such as putting the GL view into the main.xml somehow? -- 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

[android-developers] Image rotation is not uniform across devices. ExifInterface.TAG_ORIENTATION returns 1 for all orientation on some pictures

2011-12-20 Thread Tolga Ekmen
This seems to be related to a bug I found on android issue database; http://code.google.com/p/android/issues/detail?id=19268 The above bug is that when taking pictures with intent ACTION_IMAGE_CAPTURE, it saves the image in the location specified in Extras bundle but it also saves the image in

[android-developers] Regarding play audio files using SoundPool class

2011-12-20 Thread kumar varma
I've created an application which uses around 40 small audio files. Right now I'm using mp3 files and each is around 250KB. These files are stored in my res/raw directory. I'm using SoundPool class to play the files in my application. Can one of you suggest what is the best way to store so many

[android-developers] vpn does not work over wireless network

2011-12-20 Thread Marcos Milohanich
Hi people I have a samsung galaxy ACE with android 2.3.4 and i want to use an L2TP VPN connection, but if I connect the wireless , vpn does nothing never connected to the server. Can i use the vpn over wifi or only over 3G? there is some third-party application that does not require root

[android-developers] Listview

2011-12-20 Thread Venigalla Ranga rao
I want example programs of list view -- 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] error creating grid view

2011-12-20 Thread Vick
I have problem, friends. i had the application about grid view. but error and can't view data. + main.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical

[android-developers] Fragments with respect to activity

2011-12-20 Thread Geet
Hi, I am starting a Listview fragment in an activity.Once the user clicks on list itel, i am showing another listview in the same fragment(with fragment replace).Now if i turn my device, I am shown with first listview as the activity is getting re-started. I want my secong listview to be shown.

[android-developers] how to see/ work on 2 emulator same time

2011-12-20 Thread manjunath shirageri
hello 'm developing sms transfer between two android emulator . i want to no wat are setting to made two see two emulator same time -- 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] hy

2011-12-20 Thread mos_bek
i'm beginner developer in android and i want to use tabs for my layout. i have tried to drag and drop from the graphics layout but it doesn't work. i also tried by upgrading the android version to 4.0 but it displays this message Could not create tab content because could not find view with id

[android-developers] Help: getting illegal argument exception in glcolorpointer

2011-12-20 Thread Raghav Dwivedi
Hello all, I'm getting illegal argument exception in my Renderer class, here is the code, see if some one can help me out, i have attached the code and the exception log: code: public class VortexRenderer implements GLSurfaceView.Renderer{ @SuppressWarnings(unused) private static final String

[android-developers] Android Fragments

2011-12-20 Thread Geet
Hi, I have a main.xml layout in which I am adding one fragment.when the activity is started I am displaying a listview in fragment.When the user clicks on the itme in the list view, I am replacing the current listview with another listview, with the same fragment. Now if I turn my device, I

[android-developers] How can i terminate message, after sending it

2011-12-20 Thread surabhi jain
Hi to all. Pls send me the source code or send the souce code link... Thanks you all. -- 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,

Re: [android-developers] How to move Object in android?

2011-12-20 Thread karthees waran
Which image you want?Copy that image and paste to drawable folder. On Mon, Dec 19, 2011 at 10:44 AM, android developer android.developer4...@gmail.com wrote: Hi i want small car game, in that let me know how to move object(car image). can anyone send me sample code for that.. Thank you

Re: [android-developers] where can get the Android sample source codes?

2011-12-20 Thread karthees waran
developer.android.com Here you get some sample code On Mon, Dec 19, 2011 at 11:32 AM, android developer android.developer4...@gmail.com wrote: where can get the Android sample source codes? send me the site links Thanks you all... -- You received this message because you are subscribed

[android-developers] onPreviewFrame not being calling in ICS

2011-12-20 Thread JohnOR
Hi, I updated Nexus S to ICS and for some reason onPreviewFrame() is not now being called in our application. Any idea why this might be the case? Thanks, John -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] USB communication

2011-12-20 Thread manjunath M
Hello Sir, Currently im using samsung mobile(model no:GT-I5801) with android 2.2, now i need to communicate with my PC through USB cable. The text which i type from my phone should simultaneously be visible in PC. How to go through this problem ?? Apart from android is there any

[android-developers] Re: Pls send me android souce code....

2011-12-20 Thread Sangeeth Krishnan
http://source.android.com/source/download.html On Dec 20, 9:00 am, android developer android.developer4...@gmail.com wrote: Hi to all. Pls send me android source code files(Sample Projects) or else send the souce code links... Thanks you all. -- You received this message because you are

[android-developers] Memory leaks when using bitmaps in android

2011-12-20 Thread shyama
I know this question has been asked over and over again in these forums. But the reason I am posting it again is because I have nt received a clear answer to it. It would be great if someone could help me with this. I am current using opencv + android to make some simple app that will do image

[android-developers] Did Intent.FLAG_ACTIVITY_SINGLE_TASK disappear ?

2011-12-20 Thread Apple92
I have just noticed that parameter FLAG_ACTIVITY_SINGLE_TASK is no more available in the Android developer documentation: I am just trying to do this (removeCard in an Intent) removeCard.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TASK); startActivity(removeCard); I have already seen such a parameter

[android-developers] develop launcher problems

2011-12-20 Thread Angus Pang
hi everyone, i want to develop an android application the idea is: when the user click on the app icon, it will prompt the list of launcher they already save in the android system. the image like this: http://files.dotblogs.com.tw/neil/1108/201181303222527.png they click the name of the launcher

[android-developers] adding button to the default call screen

2011-12-20 Thread aisha hr
How can i add button in the default call screen and how to activate the back button during the call?? http://www.talkandroid.com/android-forums/attachments/android-development-answers-tutorials-code-snippets/604d1266560652-custom-call-screen-caller.jpg -- You received this message because you

[android-developers] Automation Tests for Sync Adapter

2011-12-20 Thread Madhu
Hello All, I am writing a sync service using Sync Adapter framework in android. It works great, but I want to validate code with some automation testing. Right now, every time i need to test the sync code, I have to go to Emulator - Development Tools - Sync Tester and explicitly start sync

  1   2   >