[android-developers] Re: SurfaceHolder.Callback.surfaceCreated not being triggered when surface is re-created

2011-11-29 Thread tobias
Had exactly the same problem. As it looks like, the issue is not that the callback isn't fired, but that when Android creates a new SurfaceView, it also creates a new holder. Check if this helps you: http://groups.google.com/group/android-developers/browse_thread/thread/3514e1890ed958e2/8874eff5e48

[android-developers] Re: Skip activity to maintain activity stack

2011-11-29 Thread JP
I have just implemented the startActivityForResult solution I outlined above, and that does the trick! Thanks a lot! JP On 29 Nov., 08:58, JP wrote: > Hi Guys, > > Thanks for the input. I can see how you would do this by overriding > the back button functionality, which I was hoping not to do.

Re: [android-developers] Re: NFC Secure Element

2011-11-29 Thread fuful
I only have a checkbox 'NFC', to activate the NFC reader. Activated (or not), the phone doesn't act as a Mifare tag on every Mifare test system I own. Is there something else I can check ? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] database connectivity on real device

2011-11-29 Thread Narendra Singh Rathore
Hi all, plz help me connecting the sqlite database onto a real device. I have connected it to the android emulator easily, using push in DDMS -> file Explorer -> data/data/package name/ur_database. It worked fine. But, now when I going to use real device (Samsung Galaxy Pop) for database, it is gi

Re: [android-developers] database connectivity on real device

2011-11-29 Thread NaveenShrivastva
data/data/package name/ur_database, Database folder you creating or not by Ur own code . On Tue, Nov 29, 2011 at 2:27 PM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > Hi all, plz help me connecting the sqlite database onto a real device. > I have connected it to the android emulator e

[android-developers] Re: [Applications signed by manufacturer/Permissions not granted] Correct approach to develop appliations for device manufacturers

2011-11-29 Thread cpphool
Hi! Thank you for your response! Ok, I understand that it would be quite a difficult task and I should get familiar with Android source code in the first place. On 28 Lis, 14:39, Mark Murphy wrote: > On Mon, Nov 28, 2011 at 5:15 AM, cpphool wrote: > > I was wondering what is the correct approa

Re: [android-developers] Re: NFC Secure Element

2011-11-29 Thread Fernando Miguélez
Then the patches are not correctly applied. On Tue, Nov 29, 2011 at 9:56 AM, fuful wrote: > I only have a checkbox 'NFC', to activate the NFC reader. > Activated (or not), the phone doesn't act as a Mifare tag on every Mifare > test system I own. > Is there something else I can check ? > > -- >

[android-developers] Re: How do you load class from a sharedUser apk file?

2011-11-29 Thread gil eichenbaum
I have also found this: http://yenliangl.blogspot.com/2009/11/dynamic-loading-of-classes-in-your.html which did seem to help, but still can't get to load my class from another apk. any suggestions ? -- You received this message because you are subscribed to the Google Groups "Android Developer

Re: [android-developers] database connectivity on real device

2011-11-29 Thread Narendra Singh Rathore
Absolutely creating.. Actually its data/data/package_name/database/database_name. is it ok, now.? -- 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

[android-developers] Re: Multi-touch with multiple buttons

2011-11-29 Thread al
There are some basic "principles" in android regarding multi-touch that you should be aware of. Especially, wrt. your code these two come to my mind: 1) If the first "finger" touches view A, all other touches will be directed to view A as long as the first finger is still there, even if the subsequ

Re: [android-developers] database connectivity on real device

2011-11-29 Thread Narendra Singh Rathore
On Tue, Nov 29, 2011 at 3:01 PM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > > Absolutely creating.. > Actually its data/data/package_name/database/database_name. > > is it ok, now.? > I m even unable to open data folder (DDMS->file Explorer -> *data*), while using real device. --

[android-developers] how to copy an object?

2011-11-29 Thread 杨辉
Hi: I try to copy an object in android with the method of Serializable,but failed. The method and the logcat are following. * Method:* public PPTObject copyObject(PPTObject oldObj){ Log.i(TAG, "copyObject"); Object obj = null; if (oldObj == null) { return (PPTObject)obj; } try { // Wr

[android-developers] Re: How do I get glow effect on a ImageView?

2011-11-29 Thread Ali Chousein
I would override the onTouchEvent method of ImageView and in it change the related picture to a one with glow effect. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-f

[android-developers] Re: How to move an android market app from an old account to a new account?

2011-11-29 Thread Ali Chousein
I suppose the answer to both of your questions is, you can't. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filtered Assistant http://geo-filtered-assistant.blogspot.com https://marketplace.cisco

[android-developers] How to force Share Intent to open a specific app?

2011-11-29 Thread saex
Hi, I like share intent, it is perfect to open sharing apps with image and text parameters. But now i'm researching the way to force share intent to open a specific app from the list, with the paramters given to the share intent. This is my actual code, it shows the list of sharing apps installed

[android-developers] Re: Null pointer exception in sending SMS..

2011-11-29 Thread Ali Chousein
Check your logcat. It'll give you very good log information where exactly (e.g. on which exact line) you are getting the null pointer exception. - Ali Chousein Weather-Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy Geo-Filt

Re: [android-developers] how to copy an object?

2011-11-29 Thread Daniel Drozdzewski
On 29 November 2011 09:41, 杨辉 wrote: > Hi: >      I try to copy an object in android with the method of Serializable,but > failed. Your object that you are trying to 'copy' needs to implement interface Serializeable. It is a place-holder interface marking given class as serialiseable. Have a r

Re: [android-developers] Re: Null pointer exception in sending SMS..

2011-11-29 Thread Rocky
Provide the logcat/error. On Tue, Nov 29, 2011 at 3:18 PM, Ali Chousein wrote: > Check your logcat. It'll give you very good log information where > exactly (e.g. on which exact line) you are getting the null pointer > exception. > > - > Ali Chousei

[android-developers] Re: How to force Share Intent to open a specific app?

2011-11-29 Thread skink
saex wrote: > Hi, I like share intent, it is perfect to open sharing apps with image > and text parameters. > > But now i'm researching the way to force share intent to open a > specific app from the list, with the paramters given to the share > intent. > > This is my actual code, it shows the li

Re: [android-developers] how to copy an object?

2011-11-29 Thread 杨辉
Thank you for yoir help,i will have a try later. Daniel Drozdzewski 编写: >On 29 November 2011 09:41, 杨辉 wrote: >> Hi: >> I try to copy an object in android with the method of Serializable,but >> failed. > > >Your object that you are trying to 'copy' needs to implement interface >Serializeabl

[android-developers] Re: How do you load class from a sharedUser apk file?

2011-11-29 Thread skink
gil eichenbaum wrote: > Hello Everyone! > > I am trying to load a class from another .apk which uses the same > sharedUser as my apk. > > No matter what I try, I always get just ClassNotFoundExeption. > > This is one thing I have tried: > > classLoader = context.createPackageContext(pInfo.package

[android-developers] Re: How to connect to Facebook and publish in the wall

2011-11-29 Thread Ali Chousein
If you Google for "oauth tutorial" you can find wonderful tutorials as in this link: http://drupal.org/node/349516 . Or you can refer to this also http://developer.linkedin.com/documents/oauth-overview (I used this one to integrate LinkedIn in one of my applications. If you follow the explanation,

[android-developers] Re: How to force Share Intent to open a specific app?

2011-11-29 Thread saex
Hi, thanks for your answer, i'm checking your link but i can't understand how can i use that class to achieve my objectives Please can you give me some help to do it? thanks! On Nov 29, 11:13 am, skink wrote: > saex wrote: > > Hi, I like share intent, it is perfect to open sharing apps with imag

[android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
Hey guys, I have a problem while using intents. Can you please suggest me the right way. I have an Activity1 which contains some methods ( addData(),deleteData() ). when I use intent to other Activity2 Class.. I am not able to access the methods which are in Activity1. I cant copy paste all the m

[android-developers] Re: How to force Share Intent to open a specific app?

2011-11-29 Thread skink
saex wrote: > Hi, thanks for your answer, i'm checking your link but i can't > understand how can i use that class to achieve my objectives > Please can you give me some help to do it? > > thanks! > > On Nov 29, 11:13 am, skink wrote: > > saex wrote: > > > Hi, I like share intent, it is perfect

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
h.. Poor architecture of the application.Please follow the MVC Pattern thats helps, just dont write the code blindly. Have a util package of the application and put all your common methods there. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2

[android-developers] Re: How do you load class from a sharedUser apk file?

2011-11-29 Thread gil eichenbaum
Tried that one as well (my.package.myclass), but still get the same result. -- 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] Re: problem parsing the package

2011-11-29 Thread rachana govilkar
above described was 1 way i tried. it was to develop customized camera feature as given in Android guide/ camera... i also tried another way of using existing camera feature but am getting NullPointerException can u tel where am going wrong?? On Nov 29, 10:13 am, rachana govilkar wrote: > hey

[android-developers] confusion about activity?

2011-11-29 Thread Hitendrasinh Gohil
Hi, There is one activity class called BaseActivity.java. There are other 2 activities called childactivity1 and childactivity2. Now childActivity1 extends BaseActivity and childActivity2 extends BaseActivity My problem is that i am calling childactivity2 from childactivity1 and finishes child

[android-developers] rooting android phone

2011-11-29 Thread Sumedh
hi, I want to execute an application which is having root permission, is it necessary to root my phone to run this application. thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@g

Re: [android-developers] confusion about activity?

2011-11-29 Thread Mukesh Srivastav
The Design is good. Please remove the onPause,onResume,onDestroy from the ChildActivities and keep it in only parentActivity.Things will work. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2011 at 4:59 PM, Hitendrasinh Gohil < hitendrasin...@gmail.

Re: [android-developers] rooting android phone

2011-11-29 Thread Raghav Sood
Yes. And this list is for SDK related questions. Do not post questions like this here again. On Tue, Nov 29, 2011 at 5:00 PM, Sumedh wrote: > hi, > I want to execute an application which is having root permission, is > it necessary to root my phone to run this application. > thanks > > -- > You

Re: [android-developers] confusion about activity?

2011-11-29 Thread Hitendrasinh Gohil
I have some timers in both child activities which must be stopped on onPause. On Tue, Nov 29, 2011 at 5:03 PM, Mukesh Srivastav wrote: > The Design is good. > > Please remove the onPause,onResume,onDestroy from the ChildActivities and > keep it in only parentActivity.Things will work. > > Warm Re

Re: [android-developers] confusion about activity?

2011-11-29 Thread Mukesh Srivastav
why do u want to extend it from the parentactivity, you have your own extendable activity. Things will work. On Tue, Nov 29, 2011 at 5:10 PM, Hitendrasinh Gohil < hitendrasin...@gmail.com> wrote: > I have some timers in both child activities which must be stopped on > onPause. > > On Tue, Nov

[android-developers] Device Administration API policy prevent change set date time

2011-11-29 Thread Anil from the Alps
We are developing an Enterprise App and want to use Device Administration API as it is explained on http://developer.android.com/guide/topics/admin/device-admin.html. This seems to be a good solution for us. We would like to prevent the user of the device to be able to set time settings. In other w

Re: [android-developers] confusion about activity?

2011-11-29 Thread Hitendrasinh Gohil
There is a commonview in 2 activities.In both activities the half part is common and half is different. On Tue, Nov 29, 2011 at 5:23 PM, Mukesh Srivastav wrote: > why do u want to extend it from the parentactivity, > you have your own extendable activity. > > Things will work. > > > > On Tue, Nov

[android-developers] Re: Fragment Re-instantiation on Activity Restart

2011-11-29 Thread Doug Gordon
Rony, you are correct, but of course if (savedInstanceState != null) then I'd need to use the manager findFragmentByTag call to find these recreated fragments since I need to be able to add them to their container view and also to be able to call custom methods that update the displayed data, etc.

[android-developers] Re: problem parsing the package

2011-11-29 Thread rachana govilkar
Hey Its Working... yaaay! i knw it must hv been very simple for u but for me its a start 1st android program n exception was comingu can guess how sick i was feeling... but no more sick now i just need to focus more on itthnk u for help On Nov 29, 4:08 pm, racha

Re: [android-developers] Need Intent Help

2011-11-29 Thread siva prakash
If you want to access those methods in various activities, why dont you create a simple java class and acess them?? , if you want to share variables across different activities, u can save them in AppPreferences . Please provide me more details if i didnt get u :) On 11/29/2011 04:04 PM, Kiran

Re: [android-developers] confusion about activity?

2011-11-29 Thread Mukesh Srivastav
u might needs to have some condtion bases, where u can hide the controls, tht is the best solution. On Tue, Nov 29, 2011 at 5:32 PM, Hitendrasinh Gohil < hitendrasin...@gmail.com> wrote: > There is a commonview in 2 activities.In both activities the half part is > common and half is different.

[android-developers] Re: Multi-touch with multiple buttons

2011-11-29 Thread ColletJb
Thanks for your answer. I tried what you mentioned and put this on my onTouch method: this.aRect = new Rect(); this.aBtn.getLocalVisibleRect(aRect); if(aRect.contains((int)event.getRawX(), (int)event.getRawY())){ Log.i(TAG, "inA"); if(action == MotionEvent.ACTION_DOWN){

Re: [android-developers] Re: Start application on System boot without home screen

2011-11-29 Thread Mark Murphy
On Mon, Nov 28, 2011 at 9:27 PM, Goodwin wrote: > I have a doubt. if that,there are two home screens,and the user must > choose one in the alert dialog. Yes. > it is not convenient. To you, perhaps not. To the user, it is, because the user retains control over their device. > is there any way

[android-developers] Re: Galaxy Nexus can't go in USB Host mode, no mouse no usb stick.

2011-11-29 Thread sblantipodi
Isn't this a google phone? I'm not talking about the volume problem that is samsung related, I'm talking about the USB Host feature that it is a "non enabled" kernel feature. On Nov 27, 4:21 pm, Christopher Van Kirk wrote: > How many mails from Google do you see in this list on a given day? One?

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
Hey Siva and Mukhesh, Thanks for the response. The problem which I am forcing to use this unfair architecture is.. I have hard time to show different options menu for different layout XML files.. Can you please give me a quick example how to change the options based on the layout. Thanks, KIRANK

[android-developers] Re: Device Administration API policy prevent change set date time

2011-11-29 Thread appel
That is not possible. The supported policies are listed in Table 1 on the page you linked to. -- 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 thi

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
Why not go with TAB Activity, that helps. On Tue, Nov 29, 2011 at 6:22 PM, Kiran Kumar Kendole < k.kirankumar1...@gmail.com> wrote: > Hey Siva and Mukhesh, > Thanks for the response. > > The problem which I am forcing to use this unfair architecture is.. I have > hard time to show different opt

Re: [android-developers] Need Intent Help

2011-11-29 Thread Yahor Paulavets
Hello, If you need to use some methods in all your Activities - create a base Activity class with these methods :) And use these methods in dirived Activity A and B. No copy past is needed. Best regards, Yahor On Tue, Nov 29, 2011 at 3:01 PM, Mukesh Srivastav wrote: > Why not go with TAB Activ

Re: [android-developers] Re: NFC Secure Element

2011-11-29 Thread fuful
OK, understood. Now my next question will be about this patch : how can I apply it ? I'm totally new at Android, and I have no idea how to add this patch to my phone. Is there some information on the web somewhere I can follow do perform this ? Thank for your answer. -- You received this messag

[android-developers] Slow Down In Android Emulator (AVD)

2011-11-29 Thread Mitul Patel
Hello, I need help to get fast run time of Android AVD. It takes about 3-5 minutes. I can't able to test is fast. I have Window 7 as Operating system with Android SDK 2.3 API 10 Level. Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: How to move an android market app from an old account to a new account?

2011-11-29 Thread tobias
You can contact the market team via this support link http://www.google.com/support/androidmarket/developer/bin/request.py?contact_type=contact_policy A thread that's related to your question: http://www.google.com/support/forum/p/Android%20Market/thread?tid=4e3d0dbf24d46167&hl=en -- You receive

[android-developers] Resize VideoView (no picture just audio)

2011-11-29 Thread New Developer
This is an offshoot of Hardware Acceleration, With my new tests I'm not sure that was the problem I have created a new project that is Nothing but the Video Player I'm trying to create this time I did **not** enable any hardware acceleration I still have the same problem video plays , hear t

[android-developers] Re: Have an extra $800 lying around for a mobile ESRB rating? Didn't think so.

2011-11-29 Thread Oli Wright
http://xkcd.com/285/ -- 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

[android-developers] Re: I/O date change

2011-11-29 Thread Oli Wright
Cheers for the alert Mark. Now I just need to convince myself that I have a good reason to fly to SF for it! -- 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 unsub

[android-developers] Re: HI,i have a question

2011-11-29 Thread Oli Wright
What icon are you expecting to see? -- 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...@google

Re: [android-developers] Re: How do I get glow effect on a ImageView?

2011-11-29 Thread Jovish P
You can use selectors like below ,based on the state of imageview it will show the corresponding image. selector.xml http://schemas.android.com/apk/res/android";> you have to set "src" of imageview , which you need glow effect to @drawable/selector in the xml . chekout t

[android-developers] Touch events cross Activities.

2011-11-29 Thread xamous
Hi All, I'm wondering is it possible to make touch events cross activities. I have 2 activities, Activity A and Activity B. Activity A starts Activity B. User can drag something on Activity B, when Activity B detects a long- press event, it finish itself and back to Activity A. User can continue

[android-developers] listactvity should not scrooll inmy view can any one tell how to do this

2011-11-29 Thread jaggu
Hi iam useing list actvity should not be scroll can any one tell me for ths guidance package com.android.wt360weather.more; import java.io.UTFDataFormatException; import java.util.HashMap; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import and

Re: [android-developers] Re: Video Conference

2011-11-29 Thread Oli Wright
I'll say it again, where have you looked already? Otherwise the likely answer you'll get from anyone is that you can refer to Google. -- 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@

[android-developers] Update notification when user launches app

2011-11-29 Thread Bipin Shashi
Hey: I have seen in many apps that it notifies the user of new updates if any when they launch the app. Can someone please guide me as to how to achieve this. I guess we need to add code to the onCreate method which checks the version number on the android market. But how can we achieve this easil

[android-developers] Re: Distribute banned app outside Android Market with donation app in Market

2011-11-29 Thread Oli Wright
This may be a dumb question, but why not just take donations through Paypal / Google Checkout directly rather than letting Google take a cut through the Market? You can advertise this facility both in your free app and at the locations you provide it for download. -- You received this message

[android-developers] Reusing Views in Custom Adapter

2011-11-29 Thread authorwjf
Hi Android Framework Gurus! I am hoping someone out there can answer a question for me about re- using views in my adapters. My understanding, is that for performance reasons this is something I should always always always do. Yet in my experience, doing so always results in the view, whether a

[android-developers] iterator blues

2011-11-29 Thread bob
I'm looking at the Best Practices section of "Beginning Android Games", and it says: "Don't use iterators, as they create new objects." Can someone help me understand? The reason I ask is because I'm seeing performance issues with this method: public static void burnfire() {

[android-developers] Re: Fragment Re-instantiation on Activity Restart

2011-11-29 Thread Doug Gordon
To wrap this up, I've found that the arguments "sent" to the fragment with setArguments are preserved when the fragment is reinstantiated by the framework. So what I'm now doing is only creating a new fragment if there is no previous one after a config-change restart. For example: mTabBar = (

[android-developers] How can i specify the position of a videoview? (top left, top right, bottom left… etc )

2011-11-29 Thread saex
Hi, i have a VideoView that i know how to center it on the screen, but now i need to specify dinamically (java code, not xml code) the position on the screen. This is my actual code: VideoView vv = new VideoView(this); this.setContentView(vv); LayoutParams vvParams = (LayoutParams) vv

Re: [android-developers] Touch events cross Activities.

2011-11-29 Thread Mark Murphy
This is not possible. You cannot have two activities on the screen at one time. On Tue, Nov 29, 2011 at 9:53 AM, xamous wrote: > Hi All, > > I'm wondering is it possible to make touch events cross activities. > > I have 2 activities, Activity A and  Activity B. > Activity A starts Activity B. > U

[android-developers] Re: Reusing Views in Custom Adapter

2011-11-29 Thread Kumar Bibek
What exactly is the problem. "Bonkers" doesn't really tell us much. On Nov 29, 8:12 pm, authorwjf wrote: > Hi Android Framework Gurus! > > I am hoping someone out there can answer a question for me about re- > using views in my adapters.  My understanding, is that for performance > reasons this i

Re: [android-developers] Update notification when user launches app

2011-11-29 Thread Mark Murphy
On Tue, Nov 29, 2011 at 10:08 AM, Bipin Shashi wrote: > I have seen in many apps that it notifies the user of new updates if > any when they launch the app. Can someone please guide me as to how to > achieve this. I guess we need to add code to the onCreate method which > checks the version number

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
Hey Guys, Thank you all for your Help . Finally I completed my assignment. Finally I have one question. I have created the APK in 2.3.3 . We have different mobiles with different versions.. Its not working on all due to compatibility may be. Can you guys suggest me what I suppose to do so that in

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
What is not working? *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:04 PM, Kiran Kumar Kendole < k.kirankumar1...@gmail.com> wrote: > Hey Guys, > Thank you all for your Help . > > Finally I completed my assignment. Finally I

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
Hi, When I install the APK in my mobile (Froyo 2.2) , application is not working. But its working fine in AVD with 2.3.3 version. I want to make my APK in such a way that it should work in all devices. Thanks, KIRANKUMARKENDOLE On Tue, Nov 29, 2011 at 11:42 AM, Kumar Bibek wrote: > What is no

[android-developers] Re: How to force Share Intent to open a specific app?

2011-11-29 Thread Kumar Bibek
You can't unless you know the component name and/or package name of the target activity. On Nov 29, 3:37 pm, skink wrote: > saex wrote: > > Hi, thanks for your answer, i'm checking your link but i can't > > understand how can i use that class to achieve my objectives > > Please can you give me so

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
"application not working" !! That doesn't say much. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:16 PM, Kiran Kumar Kendole < k.kirankumar1...@gmail.com> wrote: > Hi, > > When I install the APK in my mobile (Froyo 2.2) , ap

Re: [android-developers] Need Intent Help

2011-11-29 Thread Raghav Sood
Yes. That's all very good. What is not working in your app on 2.2? On Tue, Nov 29, 2011 at 10:16 PM, Kiran Kumar Kendole < k.kirankumar1...@gmail.com> wrote: > Hi, > > When I install the APK in my mobile (Froyo 2.2) , application is not > working. But its working fine in AVD with 2.3.3 version. I

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
When I try to install on the APK on my mobile which have 2.2 versionof android... I see the error "Parsing Error". Thanks, KIRANKUMARKENDOLE On Tue, Nov 29, 2011 at 11:48 AM, Raghav Sood < raghavs...@androidactivist.org> wrote: > Yes. That's all very good. What is not working in your app on 2.2

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
Ok, So, it doesn't even gets installed. Look at your manifest file and remove stuff which are not available on 2.2 *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:30 PM, Kiran Kumar Kendole < k.kirankumar1...@gmail.com> wrote:

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
you need to do the clean build or Delete the bin directory, recompiled it and deploy it, that will help. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2011 at 10:32 PM, Kumar Bibek wrote: > Ok, So, it doesn't even gets installed. Look at your m

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kiran Kumar Kendole
I hope I am confusing you guys. I created the app using 2.3.3 . When I install this APK , in Samsung galaxy S2(2.3.3) the application is working good. But the same application is not working in HTC (2.2). Parsing error. I WANT MY APPLICATION TO BE RUN ON ALL DEVICES WHETHER IT MAY BE 2.1 , 2.2 or

Re: [android-developers] Need Intent Help

2011-11-29 Thread Kumar Bibek
See my previous answer :) That might help. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 10:51 PM, Kiran Kumar Kendole < k.kirankumar1...@gmail.com> wrote: > I hope I am confusing you guys. > > I created the app using 2.3.3 . W

Re: [android-developers] Need Intent Help

2011-11-29 Thread Raghav Sood
> > I hope I am confusing you guys. You seem more confused than us right now, > I created the app using 2.3.3 . When I install this APK , in Samsung > galaxy S2(2.3.3) the application is working good. But the same application > is not working in HTC (2.2). > Parsing error. I WANT MY APPLICATION

Re: [android-developers] Need Intent Help

2011-11-29 Thread Mukesh Srivastav
Application always would be back to forward compatibility , not from forward to backward. You create your apps on 2.1 and deploy it in 2.1 and above. Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Tue, Nov 29, 2011 at 10:51 PM, Kiran Kumar Kendole < k.kirankum

[android-developers] Re: How to force Share Intent to open a specific app?

2011-11-29 Thread skink
Kumar Bibek wrote: > You can't unless you know the component name and/or package name of > the target activity. > > On Nov 29, 3:37 pm, skink wrote: > > saex wrote: > > > Hi, thanks for your answer, i'm checking your link but i can't > > > understand how can i use that class to achieve my object

Re: [android-developers] iterator blues

2011-11-29 Thread Kristopher Micinski
On Tue, Nov 29, 2011 at 10:31 AM, bob wrote: > I'm looking at the Best Practices section of "Beginning Android > Games", and it says: > > "Don't use iterators, as they create new objects." > > Can someone help me understand? > Using iterators creates new heap allocated "Iterator" objects, where

[android-developers] help me!! MediaRecorder record video and send to server?is it possible??

2011-11-29 Thread muhammad.ume...@hotmail.com
Hi, I am succeed to record video through Mediarecorder on SD card but i want to send this video to pc server without writing to SD card. I search it and i found the parcelFileDescriptor is the way to send video to TCP socket but i don't know how to receive it on server side please explain it

[android-developers] Re: Update notification when user launches app

2011-11-29 Thread Bipin Shashi
Hey mark: thanks for your reply. If its a site that i control - then i will have to update the version numbers on the site everytime i make an update to the app? Is there a way to get this info from the android market? Thanks On Nov 29, 11:17 am, Mark Murphy wrote: > On Tue, Nov 29, 2011 at 10:08

Re: [android-developers] Hiding a nested PreferenceScreen

2011-11-29 Thread TreKing
On Mon, Nov 28, 2011 at 3:16 PM, dashman wrote: > the PreferenceScreen is found - but note removed. You're certain "ot_cat" is a sub-preference of the root? And you're doing this *before* you set the preference hierarchy on the activity?

Re: [android-developers] Re: Update notification when user launches app

2011-11-29 Thread Kumar Bibek
Nope. You cant get this info from the market from within your app. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Nov 29, 2011 at 11:31 PM, Bipin Shashi wrote: > Hey mark: thanks for your reply. If its a site that i control - then i > will hav

Re: [android-developers] Get Alternate Backgrounds for items in listview

2011-11-29 Thread TreKing
On Wed, Nov 23, 2011 at 4:17 AM, Akshay Patil wrote: > Can you please tell me what i should be looking for ? > getView() of the adapter that backs the ListView. or any sample code Try the documentation. -

Re: [android-developers] issue with table row not showing up in table layout

2011-11-29 Thread TreKing
On Sun, Nov 27, 2011 at 9:05 AM, therekz wrote: > Any suggestions? Few people are going to look through and debug your code. Fewer people would be able to tell you what's wrong simply from looking at it. Comment out all of your code and add back bit by bit of the core functionality that should

Re: [android-developers] How can I use android transition effects in web view?

2011-11-29 Thread TreKing
On Wed, Nov 23, 2011 at 1:46 PM, Alex Georgantas wrote: > I call the effect in my main java activity but it only applies to the > first page. > If you call the effect once, it probably will only work once. The thing that I want is the effect to apply in every page that links loads > in webview.

[android-developers] Docs: TestSuite - createTest

2011-11-29 Thread mellery451
Can anyone else make sense of this description for the createTest method? http://developer.android.com/reference/junit/framework/TestSuite.html#createTest(java.lang.Class,%20java.lang.String) I was trying to figure out how to dynamically create test suites and cases at runtime (data driven tests)

[android-developers] Does the mediaplayer keep running even in orientation change ?

2011-11-29 Thread KK
hi All, I'm working on a small app where I'm trying to play one mp3 media using the default mediaplayer (android.media.MediaPlayer). In this regard, I wanted to know, does the mediaplayer keep running even when the orientation changes? I think, since the mediaplayer runs as a service, it must be ru

Re: [android-developers] How to restart the Android AVD????

2011-11-29 Thread TreKing
On Sat, Nov 26, 2011 at 1:26 AM, Caleb Prince wrote: > when i select "power off" the AVD,it displays "shuttind down" for a > long time , has not any change. > Close it, then restart it. That's "restarting". ---

Re: [android-developers] Get Alternate Backgrounds for items in listview

2011-11-29 Thread Carol Bolger
I was working on a similar project and found a great tutorial at http://dustinbreese.blogspot.com/2009/12/creating-listview-with-alternating.html Carol On Wed, Nov 23, 2011 at 5:17 AM, Akshay Patil wrote: > Hi guyz... > > I just started android development yesterday I have made a complete >

Re: [android-developers] Re: Distribute banned app outside Android Market with donation app in Market

2011-11-29 Thread Kristopher Micinski
On Tue, Nov 29, 2011 at 10:10 AM, Oli Wright wrote: > This may be a dumb question, but why not just take donations through > Paypal / Google Checkout directly rather than letting Google take a cut > through the Market? You can advertise this facility both in your free app > and at the locations

Re: [android-developers] Re: Null pointer exception in sending SMS..

2011-11-29 Thread Gergely Juhász
0. Read the docs: http://developer.android.com/reference/android/telephony/gsm/SmsManager.html 1. Check the official example: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/os/index.html 2.Set the second argument to null in   sms.sendTextMessage(phoneNumber, "

[android-developers] Re: Informations about Dev Phone 1 characteristics (for Wikitude use)

2011-11-29 Thread Pedro Teixeira
Thank you ver much for the info Mark. On Nov 20, 1:00 pm, Mark Murphy wrote: > ADP1, IIRC, was the HTC Dream/T-Mobile G1. That does not support > either of your requirements AFAIK. Though you might find a modded ROM > that could offer 2.2. I'm fairly certain the Dream only offered OpenGL > ES 1.1

Re: [android-developers] Query

2011-11-29 Thread TreKing
On Sun, Nov 27, 2011 at 2:10 PM, Megz wrote: > can you help me in making database for it ( means what fields should i > take etc), and should i place my database in server side . > Help you how? The answers to these questions depend on your app's purpose and functionality which only you know so

[android-developers] Re: Fail to connect to camera service

2011-11-29 Thread Pedro Teixeira
Yes, actually my application is using the camera when I'm calling another intent. I'll take a look on it and try to stop the camera before starting the new intent. Thank you very much for the input, always helpful. On Nov 28, 12:40 am, Mark Murphy wrote: > One place I have encountered that error

Re: [android-developers] Get Button Coordinates

2011-11-29 Thread TreKing
On Wed, Nov 23, 2011 at 3:57 PM, andry wrote: > In my case however I will not know the screen layout of the app before > hand so I was wondering if there is a way to generically do it > irrespective of what app is installed. > I'm not clear what you're getting at, but determining if a button was

Re: [android-developers] Re: Reusing Views in Custom Adapter

2011-11-29 Thread YuviDroid
You should always set the whole content of the layout in getView(). When "v" is not null right now you are returning that view without setting your text. Something like this: public View getView(int position, View convertView, ViewGroup parent) { View v = convertView;

  1   2   >