[android-developers] NumberPicker widget conflicting behaviour
Hi I am trying to use the NumberPicker control in a 4.0.3 app. The issue is that depending on what other controls are there in the view, the NumberPicker behaves differently. In some cases NumberPicker always goes into edit mode and shows the virtual keyboard even when values are changed with scrolling. In the code snippet below: test.xml: - ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent android:orientation=vertical TimePicker android:id=@+id/timePicker1 android:layout_width=match_parent android:layout_height=wrap_content / NumberPicker android:id=@+id/numberPicker1 android:layout_width=match_parent android:layout_height=wrap_content / /LinearLayout test.java: - public class TestActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.test); NumberPicker np =(NumberPicker) findViewById(R.id.numberPicker1); np.setMinValue(50); np.setMaxValue(99); } } The above case works perfectly and Virtual Keyboard is not popped up. In case I replace the 'TimePicker' with say 'TextView' in the xml, the NumberPicker starts showing up the VIrtual Keyboard every time even for scroll events. Using 'TimePicker' or 'EditText' as first control fixes the issue. It seems like a SetFocus issue but an not able to figure out how I can fix it. --- Cheers Pankaj -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: i am looking job on android in banglore
what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Streaming buffering problem for high bitrate video (10Mbps)
Any developers here have any idea what the problem is? or willing to get paid to help me fix this? On Mar 25, 6:21 pm, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: Hi, We are developing applications that allows one to stream video from any LAN device (e.g. computer, Android phone/tablet, etc) to an Android device. Recently, we encountered a very strange problem on buffering and we believe the issue is possibly related to Android's platform/framework, i.e. lower level stuff. This video shows the problem we are experiencinghttp://hdmp4.com/TCC9302_STB_buffering_problem.3gp I have tested the same operation on 7 Samsung Galaxy Tab (Android 2.2), Nexus S (Android 2.3) and an Android setop box the one shown in the video). The issues is that when the STREAMING video exceeds a certain bitrate, the video either stops after 5-10 seconds, and then dies (or may continue playing for a few more seconds before dying) or it simply do not play at all. However, if I use an application that decodes the video by software decoding instead of hardware decoding. The video was able to play from start to the end without any problems. (due to slow CPU, arm11, 800mhz, video playback by software decoding as shown in the video link above actually lags but it does play fine.) I run the test streaming the video from a computer connected to the LAN via 100Mbps ethernet. All the test device are connected to the LAN via a b/g WIFI router. I can confirm that there is absolutely no problem with my network bandwidth and I can copy files from/to the computer to/from the Android device using ftp (using File Expert Application) at 16-24Mbps. (I get the live transfer bandwidth by looking at the software running at my computer which is monitoring my computer's network traffic.) I used the same mp4 test video encoded at different bitrate. The resolution of the streaming video does not matter because I can reproduce this using a 720x480 video as well. All the Android devices I have tested suffer the same problem. The Android STB suffers from this problem when video bitrate exceeds about 10Mbps. 7 Samsung Galaxy Tab suffers from this problem when video bitrate is at or exceeds 6Mbps. Nexus S suffers from this problem when video bitrate is at or exceeds 3Mbps. From these results, it is obvious that this is related to the Android OS or the chip used. If the same video is being played locally from the device's SDcard, there is no such buffering problem, even at several times the bitrate compared to when it is streamed. We have no idea what is going on here and are seeking solutions. I can perform more tests and report here if you can tell me what/how to do the test as a non-programmer (I can't code). However, from our test (or apparent in the video), it seems to me that Android OS is dumping the buffer and then refilling it for no obvious reason. This only occurs when hardware decoding was used. Software decoding does not have any buffering problems. This means the problem is definitely not related to bandwidth and most likely related to hardware decoding buffering. For lower bitrate video, we do not see this problem at all. We are also interested to hire developers who can fix this problem for us, preferably at the application but fixing this at the OS level is also fine.. Please e-mail me directly if you are capable of fixing this problem and available for hire. Otherwise, please provide your opinion on this issue. (I have searched online but did not see anyone encountering this problem. Maybe because no one have tried streaming such high bitrate video yet..) Thanks Eric -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.comwrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
Hi Tushar, Please share your profile with us along with the below details: CTC ECTC Current Organization: Notice Period Thanks, Sapna On Tue, Mar 27, 2012 at 12:07 PM, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.comwrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: i am looking job on android in banglore
On Mar 27, 5:37 pm, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Any experience in multimedia? Interested in remote contract jobs or only Bangalore based jobs? Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.comwrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
CTC: 1.92 ECTC: 3.0 - 3.4 Current Organization: INNEFU Labs Pvt. Ltd. Notice Period : 15 days. On Tue, Mar 27, 2012 at 12:12 PM, Sapna Saxena sapna.saxena...@gmail.comwrote: Hi Tushar, Please share your profile with us along with the below details: CTC ECTC Current Organization: Notice Period Thanks, Sapna On Tue, Mar 27, 2012 at 12:07 PM, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.comwrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
Yes, Sir I'm also open to remote contract jobs and can you please elaborate the term multimedia. I have worked with audio/video players in the phonegap application. But something thing tell me that you have some thing else in mind when you say the term multimedia. On Tue, Mar 27, 2012 at 12:21 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: On Mar 27, 5:37 pm, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Any experience in multimedia? Interested in remote contract jobs or only Bangalore based jobs? Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.com wrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
CAN YOU PLEASE HAVE THESE DISCUSSIONS SOMEWHERE ELSE! THIS IS NOT THE RIGHT PLACE FOR JOBS/HIRING, OR I WOULD HAVE BEEN THE FIRST ONE ASKING FOR A JOB! On Tue, Mar 27, 2012 at 11:57 AM, Tushar Lal tush...@gmail.com wrote: Yes, Sir I'm also open to remote contract jobs and can you please elaborate the term multimedia. I have worked with audio/video players in the phonegap application. But something thing tell me that you have some thing else in mind when you say the term multimedia. On Tue, Mar 27, 2012 at 12:21 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: On Mar 27, 5:37 pm, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Any experience in multimedia? Interested in remote contract jobs or only Bangalore based jobs? Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.com wrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How Many Android App Stores to Submit …?
You may consider Handster: http://www.handster.com/administrator Once you submit to Handster, your application is distributed at other stores also (e.g. HP, LG...) When you add a product you'll see the complete list of all stores where your application will be distributed. Other than that, if you want to distribute your app in multiple stores, yes, you have to submit one by one. - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy http://www.codeproject.com/KB/android/PayGol-Android.aspx http://geo-filtered-assistant.blogspot.com -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to reference custom xml attributes in a testing xml resource?
Just a thought. I think you need an identifier in your attrs.xml to define what type is your custom_view (boolean,etc) On 25 Mar 2012 21:20, James Su james...@gmail.com wrote: Hi all, I'm developing an android application which has a custom view with some custom xml attributes. The attributes are defined in res/values/attrs.xml, like: resources declare-styleable name=CustomView attr name=custom_attr / /declare-styleable resources And in CustomView.java, the attributes are loaded with TypedArray, like: public class CustomView extends View { public CustomView(Context context, AttributeSet attrs) { TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CustomView); ...; a.recycle(); } This CustomView works correctly in the main apk. Then I want to write an instrumentation test to test this CustomView, so I write a test layout file, which looks like: tests/res/layout/test-layout.xml: LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; xmlns:myapp=http://schemas.android.com/apk/res/com.mycompany.myapphttp://schemas.android.com/apk/res/com.google.android.apps.myapp com.google.android.apps.myapp.CustomView android:layout_width=wrap_content android:layout_height=wrap_content myapp:custom_attr= / /LinearLayout But Eclipse always complains: No resource identifier found for attribute 'custom_attr' in package '...'. I know that in the recent Android SDK r17, a new special xmlns http://schemas.android.com/apk/res-auto; is introduced to solve this issue for library projects, but unfortunately, it doesn't work for my case. Anybody know how to fix this problem? Best Regards James Su -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] push notification opened and multiple instances of activity created
Hi friends, In my MainActivity (extends TabActivity) has 5 tabs. suppose i am in 2nd tab and i receive a push notification,without closing the app i open the notification it switches to 3rd tab,when i press back, i show a dialog saying 'Are you sure you want to exit' when i say YES it goes to the third tab. but I want to exit the app. How to acheive this.In the manifest I have declared as activity android:name=.MainActivity android:launchMode=singleTask android:alwaysRetainTaskState=true android:screenOrientation=portrait android:theme=@style/MyTheme android:windowSoftInputMode=stateAlwaysHidden / Below is the onReceive method of IntentReceiver @Override public void onReceive(Context arg0, Intent aIntent) { String action = aIntent.getAction(); if (action.equals(PushManager.ACTION_NOTIFICATION_OPENED)) { // user opened the notification so we launch the application // This intent is what will be used to launch the activity in our // application Intent lLaunch = new Intent(Intent.ACTION_MAIN); // Main.class can be substituted any activity in your android // project that you wish // to be launched when the user selects the notification from the // Notifications drop down lLaunch.setClass(UAirship.shared().getApplicationContext(), MainActivity.class); lLaunch.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); UAirship.shared().getApplicationContext().startActivity(lLaunch); } else if (action.equals(PushManager.ACTION_PUSH_RECEIVED)) { // push notification received, perhaps store it in a db } } Please tell me what I am supposed to do and where I am going wrong. -- Regards, Vani Reddy -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Is there any functionality like 'Ticker of Facebook' in Android which keeps on revolving?
You can try C2DM to notify your phone and a listview to refresh itself when receives notification from the Google server On 25 Mar 2012 21:54, Manish Dubey manishja...@gmail.com wrote: I am doing my final year project named- eNotice Board which will be an android app and flashed on a LCD attached to Android device. So I want the notices to rotate in a manner like that of ticker in Facebook. Also if not ticker then can I show the notices swapping with time, like 5 notices for 15 seconds and rest 5 for another 15 seconds? Guys!! Please come to my rescue!!! -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Re : passing data between activities
Google for android pass data between activities and you'll find multiple discussion threads on this. Since I'm a nice guy (:-P) I copied and pasted the first one from the list for you http://stackoverflow.com/questions/2091465/how-do-i-pass-data-between-activities-in-android But seriously, if you google for what you are looking for, chances are high that you'll get an answer to your question in 5 mins. Otherwise you need to spend 10 mins to post your question here, wait some hours/ days hoping that someone is going to answer it, etc etc etc - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy http://www.codeproject.com/KB/android/PayGol-Android.aspx http://geo-filtered-assistant.blogspot.com -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: i am looking job on android in banglore
On Mar 27, 5:57 pm, Tushar Lal tush...@gmail.com wrote: Yes, Sir I'm also open to remote contract jobs and can you please elaborate the term multimedia. I have worked with audio/video players in the phonegap application. But something thing tell me that you have some thing else in mind when you say the term multimedia. Well, 1st, see if you can solve this problem that we are having before we discuss other related projects we have. http://groups.google.com/group/android-developers/browse_thread/thread/7287a847ddcff147 On Tue, Mar 27, 2012 at 12:21 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: On Mar 27, 5:37 pm, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Any experience in multimedia? Interested in remote contract jobs or only Bangalore based jobs? Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.com wrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can this be done on android?
Dear friends, i am a university student competting for my bsc(hons) in IT! i suggested to have my final year project based on android, n for your info, i have never codded in android. im am supposed to give a suggestion by tomorow! and i would be completing my project by august! What the program is to to do, it 1) automatically locate where you are in mauritius 2) you select your destination upon tapping on specific location in maritius 3) it will tel u the route you need to take to got thier...eg by car, the km and the duration u will reach their 4) you may also wish to select to go by public bus, which will then retrieve the info from a database, about the bus schedule using the actual time, and tell you the bus fare My question is that be possible to be done on android, the map of mauritius with multiple roads, and locations, and route? Please help thanks a lot -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Someone use GridLayout (ADT-17) in v7?
Hi, I got the same error messages when I tried to use the library provided with the v7 compatibility package plus another one: ..\gridlayout_v7\res\values\attrs.xml:22: error: Attribute orientation has already been defined I tried both adding the project via ADT and importing it manually into my workspace. The former resulted into an empty gridlayout_v7 folder and the latter returned the error messages above plus a problem in the generated R.java: A closing curly brace is missing at the end of the file to close the R class. But I suppose that is a consecutive fault of the errors above? Also: ADT installs the support package every time I try to add a GridLayout to a layout.xml file, even though it should be clearly marked as installed. I suppose I cannot just use the .jar file provided in the lib package, can I? The .xml files in the values folder seem to be responsible for the export of some style variables. Kind regards Christian Geschkat On Thursday, 22 March 2012 20:06:16 UTC+1, André Luiz R. Silva wrote: Someone use GridLayout (ADT-17) in v7? Errors: [GridLayoutTest] ERROR: In declare-styleable GridLayout_Layout, unable to find attribute android:layout_marginEnd [GridLayoutTest] ERROR: In declare-styleable GridLayout_Layout, unable to find attribute android:layout_marginStart Use sdk/extras/android/support/v7/gridlayout. -- *Atenciosamente, André Luiz R. Silva @andreronsilva* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] problem in bluetooth pairing
Hi, I have to connect my android phone with my hardware device; my hardware device will communicate only on 19600 baud rate, but the android phone transmitting data at 57600 baud rate. Is there any possible for reducing the baud rate of android phone using any API or some code? Please provide some solution. -- Regards Balakrishnan R -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] LinkedIn integration issue
Please help me to integrate LinkedIn. I just want to access user profile. We have tried using many libraries like linkedin-j-android.jar SocialLibBeta2_2.jar and SCRIBE During the implementation browser is not redirecting on app after authentication. Please provide some code snippet for the same problem. 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Faster Image Processing on Android
On Sat, 24 Mar 2012 07:58:16 -0700 (PDT) Christopher Wade christopher.w...@btinternet.com wrote: take a look at the BufferedImage class. I am using getPixel and setPixel on the bitmap to do this. This is unfortunately incredibly slow. -- Bill Morgan b...@bmorgan.com -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
i have 6 month exp on android and developed one app its name engineering hand book in android marketif any openings on android in Bangalore plz inform me... On Tue, Mar 27, 2012 at 12:21 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: On Mar 27, 5:37 pm, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Any experience in multimedia? Interested in remote contract jobs or only Bangalore based jobs? Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.com wrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
How much are you ready to pay if i fix your bug? Mail me. On Tue, Mar 27, 2012 at 1:26 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: On Mar 27, 5:57 pm, Tushar Lal tush...@gmail.com wrote: Yes, Sir I'm also open to remote contract jobs and can you please elaborate the term multimedia. I have worked with audio/video players in the phonegap application. But something thing tell me that you have some thing else in mind when you say the term multimedia. Well, 1st, see if you can solve this problem that we are having before we discuss other related projects we have. http://groups.google.com/group/android-developers/browse_thread/thread/7287a847ddcff147 On Tue, Mar 27, 2012 at 12:21 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: On Mar 27, 5:37 pm, Tushar Lal tush...@gmail.com wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Any experience in multimedia? Interested in remote contract jobs or only Bangalore based jobs? Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.com wrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Processing camera preview frames and display results via OpenGL
hi there I am trying to write a program to process camera preview data on-the- fly, and display the results as (semitransparent) overlays. I found one example that is particularly useful: http://nhenze.net/?p=172 the source code is at http://nhenze.net/uploads/OpenGL_Cam_1_2.zip In this sample, two Views are used, one SurfaceView for camera preview (CamLayer.java), one GLSurfaceView for showing the processed image (GLLayer.java). Unfortunately, the sample code maps the image to a rotating cube, while in my case, I just need to match the view with the camera preview in the background. I am new to OpenGL. I am wondering if there is a simple way to display a 2D texture on a GLSurfaceView that matches the preview SurfaceView? Appreciated if there are any suggestions. Qianqian -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Can’t unit test TabActivity with ActivityUnitTestCase
Hi. I’m beginner of unit testing and I need to make test cases and report test coverage. I’m writing unit testing code for my application with ActivityUnitTestCase. Everything works perfect until I have to test my TabActivity. As described in reference, in configuration of ActivityUnitTestCase, startActivity may be called but will not do anything. TabActivity starts activities that will be rendered as tab contents. As TabHost’s startActivity() do nothing, TabHost’s addTab() makes NullPointerException when I called startActivity() from setUp() of ActivityUnitTestCase. Here’s code I used for the test and the exception. Other activities rather than tab activity works fine with this code. public class ProductInfoActivityTest extends ActivityUnitTestCaseProductInfoActivity { private ProductInfoActivity activity; @Override protected void setUp() throws Exception { super.setUp(); startActivity(new Intent(), null, null); activity = getActivity(); } ... java.lang.NullPointerException at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:277) at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:654) at android.widget.TabHost.setCurrentTab(TabHost.java:326) at android.widget.TabHost.addTab(TabHost.java:216) at com.tvstorm.app.ProductInfoActivity.onCreate(ProductInfoActivity.java:40) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.test.ActivityUnitTestCase.startActivity(ActivityUnitTestCase.java:159) at com.tvstorm.app.test.ProductInfoActivityTest.setUp(ProductInfoActivityTest.java:19) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448) If I use ActivityInstrumentationTestCase2 instead, some test cases are covered. But, it doesn’t support mock context injection which I need to make isolated environment for testing. Is there any way to unit test TabActivity with mock context? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Modify a textview value in a custom listview after clicking
Hi Jason, If you have to change view which is already displayed and you have data in your adapter which you have to display then, On List item click you will get the view of clicked position adapter view and you can change what ever you want in that adapter view. Thanks Regards, Deepchand Singh On Mar 26, 2:29 am, Jason Tian tianji...@gmail.com wrote: Hi, Justin May I ask why we shouldn't modify the view after it has been displayed? Cause I've been doing this a lot in my app... Thanks, Jason On Mar 26, 9:12 am, Justin Anderson magouyaw...@gmail.com wrote: Modify the data in the adapter and then call notifyDataSetChanged(). Once the view has been created and displayed on the screen you should NEVER modify it directly. Thanks, Justin Anderson MagouyaWare Developerhttp://sites.google.com/site/magouyaware On Sat, Mar 24, 2012 at 5:44 AM, Akram akram0...@gmail.com wrote: This listview has an adapter that is linked to a layout for each row (itemrow.xml) The price value (500-250 300) is a textview How can we access to it, to modify it, once clicked on a button ? Thanks you for the help. l Android Price: 500 l Php Price: 250 l C++ Price: 300 l -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] open menu in preferenceactivity class from activity class.
hello all i want to open the menu which is created in main activity into prefeernce activity? So can i open the menu and also work all the item as work in main activity. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Closing / Launching Activity, but through ProgressDialog thread
i have a problm my application ussually in log cat 03-25 19:56:12.332: D/ddm-heap(244): Got feature list request 03-25 19:56:13.032: D/AndroidRuntime(244): Shutting down VM 03-25 19:56:13.032: W/dalvikvm(244): threadid=3: thread exiting with uncaught exception (group=0x4001b188) 03-25 19:56:13.032: E/AndroidRuntime(244): Uncaught handler: thread main exiting due to uncaught exception 03-25 19:56:13.072: E/AndroidRuntime(244): java.lang.RuntimeException: Unable to start activity ComponentInfo{islam.adhanalarm/islam.adhanalarm.AdhanAlarm}: android.view.InflateException: Binary XML file line #89: Error inflating class com.esprit0.qibla0.QiblaCompassView 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.ActivityThread.access$2200(ActivityThread.java:119) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.os.Handler.dispatchMessage(Handler.java:99) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.os.Looper.loop(Looper.java:123) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.ActivityThread.main(ActivityThread.java:4363) 03-25 19:56:13.072: E/AndroidRuntime(244): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 19:56:13.072: E/AndroidRuntime(244): at java.lang.reflect.Method.invoke(Method.java:521) 03-25 19:56:13.072: E/AndroidRuntime(244): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 03-25 19:56:13.072: E/AndroidRuntime(244): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 03-25 19:56:13.072: E/AndroidRuntime(244): at dalvik.system.NativeStart.main(Native Method) 03-25 19:56:13.072: E/AndroidRuntime(244): Caused by: android.view.InflateException: Binary XML file line #89: Error inflating class com.esprit0.qibla0.QiblaCompassView 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:618) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:621) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:702) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:614) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:621) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:621) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.rInflate(LayoutInflater.java:621) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.inflate(LayoutInflater.java:407) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.inflate(LayoutInflater.java:320) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.inflate(LayoutInflater.java:276) 03-25 19:56:13.072: E/AndroidRuntime(244): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.Activity.setContentView(Activity.java:1622) 03-25 19:56:13.072: E/AndroidRuntime(244): at islam.adhanalarm.AdhanAlarm.onCreate(AdhanAlarm.java:63) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459) 03-25 19:56:13.072: E/AndroidRuntime(244): ... 11 more 03-25 19:56:13.072: E/AndroidRuntime(244): Caused by: java.lang.ClassNotFoundException: com.esprit0.qibla0.QiblaCompassView in loader dalvik.system.PathClassLoader@44da2808 03-25 19:56:13.072: E/AndroidRuntime(244): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) 03-25 19:56:13.072: E/AndroidRuntime(244): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 03-25 19:56:13.072: E/AndroidRuntime(244): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.createView(LayoutInflater.java:466) 03-25 19:56:13.072: E/AndroidRuntime(244): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565) 03-25 19:56:13.072: E/AndroidRuntime(244): ... 26 more 03-25 19:56:13.112: I/dalvikvm(244): threadid=7: reacting to signal 3 03-25 19:56:13.192: I/dalvikvm(244): Wrote stack trace
[android-developers] write addPreferencesFromResource(R.xml.preferences); without extending preferenceactivity
hello all i want to write addPreferencesFromResource(R.xml.preferences); in class file that does not extend prefercneceactivity.so how can i write that? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Accessing a class function from another class
Hi Guys, I've not been doing Android (or Java) programming very long, so I'm still getting my head around the android/Java specific features. I'm trying to integrate C2DM into a simple app I've made. My current app grabs some JSON data and puts it into a ListView, this is all handled within a single class. My app then polls the ser ver regularly to see if there are any updates to the data. I've then had a go at integrating C2DM into my app by adding in classes and buttons from the C2DM tutorial at vogella.de (http:// www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html) This works, I can get a message through telling me that there is new data, however, I can't see how to integrate it any further. What I want to do is have the C2DM class trigger a function in my main class that will go collect the new data. Any ideas what I should do? Cheers, Matt -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] I can't connect to Superpad (Flytouch 3) using USB
I installed the USB driver (google driver doesn't work) but adb can't see my device. Any clues? I try restarting the server but doesn't help. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Driver in Linux to access the IOCTL from JNI application. It is failed with error code 13(Permission denied).
A) I am writing an eMMC driver in Linux to access the IOCTL from Linux application. It is working. B) I am writing an eMMC driver in Linux to access the IOCTL from JNI application. It is failed with error code 13(Permission denied). 1) Where to set the permission in android application? 2) Is it possible to access IOCTL from JNI Application? 3) Is there any settings in Android.mk file for permission (in JNI)? Regards, GSK -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Stanford U WhiteBoard apps
Hi, Just started to work on a new project with Stanford open source for White Board apps on Android phones. Does anyone out there know what version of eclipse and libs will be required to develop new apps for this project on Android 2.3.3 (or 4)? My concern is to not have major issues attempting to integrate and develop new apps with the wrong environment. /mpd -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Save the whole Intent and context at somewhere
hello Ali Chousein , your reply will not handle my call when my application is running in background.Is there any other way? On Saturday, March 24, 2012 3:37:30 PM UTC+5:30, Ali Chousein wrote: When you register to ACTION_ANSWER it should work normally actually. There is a short thread on this here: http://stackoverflow.com/questions/5990590/how-to-detect-phone-call-broadcast-receiver-in-androidhttp://stackoverflow.com/questions/5990590/how-to-detect-phone-call-broadcast-receiver-in-android This is such a common functionality, I'm sure you can find lots of other examples. If your implementation doesn't work, it's probable you are doing something wrong when handling the related broadcast receiver. It might be worth to check out this tutorial: http://www.vogella.de/articles/AndroidServices/article.htmlhttp://www.vogella.de/articles/AndroidServices/article.html ----- Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1 http://weatherbuddy.blogspot.com http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy http://twitter.com/weather_buddy http://www.codeproject.com/KB/android/PayGol-Android.aspxhttp://www.codeproject.com/KB/android/PayGol-Android.aspx http://geo-filtered-assistant.blogspot.comhttp://geo-filtered-assistant.blogspot.com On Mar 24, 6:30 am, Jagruti Sangani jagruti.sang...@inextrix.com wrote: My problem is that when the application go in background running and call arrive then that application cant handle the call in front. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ADB method profiling causes app to crash
I'm experiencing the same problem. On Mar 2, 2:03 pm, voullie ulas.albay...@gmail.com wrote: Hi, The app I'm developing has very high CPU usage, causing the battery to run out very quickly when you run it. To more accurately pinpoint what consumes all that CPU I decided to use the ADB method profiling feature. Starting method profiling causes my app to crash however. I have tried to start method profiling both through Eclipse-DDMS and the command line, both with the same result. The only message I get from LogCat is *Fatal signal 11 (SIGSEGV) at 0x (code=1)*. I have tried starting method profiling several times and only once did I get a more verbose error message complaining about the Google Maps Service. I haven't been able to reproduce this message though which is why I cant post it here. I'm developing for Android Google API 14. I'm debugging on a Samsung Galaxy Nexus with Android version 4.0.2. Has anyone run into this problem or knows how to remedy 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how do u play a game
Where u must purchase papayas. but u r not sllowed to do.that. I'm am inall honedtly.womdering h.ow I'm.going to finidh.my game. meed to purchsde psays. and cant. whats the new way to.fo.this. I'm not happy -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers]
i have problem in this file xml Could not create tab content because could not find view with id -1 ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Etends two activity in one class file
Hello all, i have one class file in which i have extends preferenceActivity.now i also want to extends mainactivity because in main activity i have created the menu that menu i need in this preference class.so is it possiblem to extend preferenceactivity and mainactivity within on class file? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem for calling ListActivity
I am making an application for android, and trying to create a Dashboard in this style = http://www.androidhive.info/2011/12/ android-dashboard-design-tutorial/ but I don't can call a ListActivity by clicking a button. Can anyone help me with this problem? [] 's -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re : passing data between activities
u have to use bound concept properly. On Mon, Mar 26, 2012 at 3:03 PM, vivek elangovan elangovan.vi...@gmail.comwrote: hi members, I am having two activities in my project, In my Ist activity i m getting two values from my loop (for eg : Violation : WITHOUT HELMET and Violation : USING CELLULAR PHONE WHILE DRIVING(H) ) using putExtra i am passing these values to my IInd activity,what i need to display here is like this : violation : WITHOUT HELMET place : some place Violation : USING CELLULAR PHONE WHILE DRIVING(H) place : some place -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Starting emulator for AVD
Hi all, Could you please help me with this error message, I have been getting this error evey time I start my android emulator. I uninstalled and reinstalled my entire application hopeing that it would solve the issue, but still no luck. Other everything else is fine. Thank you. PANIC: Could not open: C:\Users\prakash\.android/avd/MyMobile.ini -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers]
i will give 1month salary to u -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Document databases on Android
Can you provide a bit more info about this? Where do i find the couchdb installation apk? I thought the only thing that is available was couchbase mobile syncpoint! Which by itself i'm not able to get it running successfully! :/ On Monday, April 25, 2011 8:12:15 PM UTC+5:30, Mark Murphy wrote: On Mon, Apr 25, 2011 at 10:34 AM, Diego Barbosa diegobcarne...@gmail.com wrote: But, I have a commercial application, it communicates with a webservice and the database is a SQL Server, my application has to work offline, and have to store thedata on the device itself, which would be the best solution? SqlLite or CouchDB? That is impossible to answer in the abstract. Note that, at this time, CouchDB for Android is a ~10MB APK that the user has to install in addition to your app. That makes deployment of your app more complicated, compared to one that uses the built-in SQLite database. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2 -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: android.permission.ACCESS_WIFI_STATE or android.permission.WAKE_LOCK for wifi lock
I'm only getting Wifi lock to make sure Wifi doesn't go to sleep while a file is being downloaded. The exception happens on wifiLock.release(). Thanks On Mar 26, 8:03 pm, Irfan Sheriff isher...@gmail.com wrote: What else are you doing ACCESS_WIFI_STATE is needed for most of the Wi-Fi API On Mon, Mar 26, 2012 at 4:28 AM, DraganA dand...@gmail.com wrote: Hi there, the documentation (http://developer.android.com/reference/android/net/ wifi/WifiManager.WifiLock.html) clearly says that in order to acquire and lock Wifi state android.permission.WAKE_LOCK is needed in the manifest. Now, in Dev. console I'm getting errors from some users that goes like: java.lang.SecurityException: WifiService: Neither user 10078 nor current process has android.permission.ACCESS_WIFI_STATE. So, I'm not sure which one is it. I'm not very keen just to ask for a new permission if I don't really need to. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
Great!!! :) *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Tue, Mar 27, 2012 at 1:38 PM, rudraswamy mc rudraswamy.17...@gmail.comwrote: i will give 1month salary to u -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Etends two activity in one class file
you mean extending from two classes into one? That's not possible in Java. Try using interfaces or think again about your structure. If you reached the necessity of extending two classes, I'm pretty sure your structure is not well-orientated. On márc. 27, 08:10, jugni jugni1sm...@gmail.com wrote: Hello all, i have one class file in which i have extends preferenceActivity.now i also want to extends mainactivity because in main activity i have created the menu that menu i need in this preference class.so is it possiblem to extend preferenceactivity and mainactivity within on class file? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Wifi - connecting to a preferred network.
Through code, is there anyway I can connect to a preferred wifi network? I can provide the 'WifiInfo.NetworkID' to mention my preferred network. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Etends two activity in one class file
Thanks Fina, actually i need the menu which is created in mainactivty so thats why i am thinking for extending whole activity in preferenceactivity.can you solve this problem or any idea about this..? On Tue, Mar 27, 2012 at 1:57 PM, Fina Perez fina.pere...@gmail.com wrote: you mean extending from two classes into one? That's not possible in Java. Try using interfaces or think again about your structure. If you reached the necessity of extending two classes, I'm pretty sure your structure is not well-orientated. On márc. 27, 08:10, jugni jugni1sm...@gmail.com wrote: Hello all, i have one class file in which i have extends preferenceActivity.now i also want to extends mainactivity because in main activity i have created the menu that menu i need in this preference class.so is it possiblem to extend preferenceactivity and mainactivity within on class file? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards jagruti Sangani *iNextrix Technologies* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: i am looking job on android in banglore
Hi Tushar, can u please send me the source code of stock trading application. I am a newbie to android.I want to learn this app. please ... send me -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Building a project without ant
Hello, I'd like to remove ant from my build process as ant often has wierd errors and is hard to install, so I am creating a Windows batch script to substitute it, but I have some issues: 1 How can I add JNI native libraries to the apk? I tryed everything I could think of, but aapt add just doesnt work properly, it ignores the relative path and adds the file into the root of the apk =( Worse even that it seams that my file needs to be moved from libs\armeabi into lib\armeabi in the zip which isnt the same. Does anyone know how to tell aapt to add my native library to the APK? Here is what I tryed: F:\Programas\lazarussvn\examples\androidlcl\androidaapt a bin \androidlcltest.ap _ libs\armeabi\liblclapp.so 'libs\armeabi\liblclapp.so' as 'liblclapp.so'... --- I want it to add as lib\armeabi\liblclapp.so 2 Who adds the META-INF directory and its files to the APK? The sign process? Or do I need to add it myself? How to generate the files inside it then? 3 Signing. How can I create a debug key and sign the APK without having to ask for user input? I am trying to do this: keytool -genkey -v -keystore bin\LCLDebugKey.keystore -alias LCLDebugKey -keyalg RSA -validity 1 -keypass senhas But it still asks for user input for the password. It seams that - keypass is ignored. Here is my current build file: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/examples/androidlcl/android/build_debug_apk.bat?view=markuproot=lazaruspathrev=36379 thanks, Felipe -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding application created data access on android phone
Hi, Hope all doing well. My application created on database programatically.. On emulator,I can see the created database using File Explorer under data folder .. But on device I cant see my app data.. Thanks Regards, Ashiq Sayyad -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Fwd: [android-developers]
hello i have problem in this file xml please help me Could not create tab content because could not find view with id -1 this is my code xml ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
Only 1 month salary ? On Tue, Mar 27, 2012 at 1:38 PM, rudraswamy mc rudraswamy.17...@gmail.comwrote: i will give 1month salary to u -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
code java ? 2012/3/27 med Mehdi bettaieb medmehdi.betta...@gmail.com hello i have problem in this file xml please help me Could not create tab content because could not find view with id -1 this is my code xml ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- - Marcelo Henrique - Se não puder se destacar pelo talento, vença pelo esforço. (Dave Weinbaum) -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html 2012/3/27 Marcelo Henrique marceloh...@gmail.com code java ? 2012/3/27 med Mehdi bettaieb medmehdi.betta...@gmail.com hello i have problem in this file xml please help me Could not create tab content because could not find view with id -1 this is my code xml ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical ?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost?xml version=1.0 encoding=utf-8? TabHost xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/tabs android:layout_width=fill_parent android:layout_height=wrap_content LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TabWidget android:id=@android:id/tabs android:layout_width=fill_parent android:layout_height=wrap_content / FrameLayout android:id=@android:id/tabcontent android:layout_width=fill_parent android:layout_height=wrap_content ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content1 layout=@layout/tab_today / /ScrollView ScrollView android:layout_width=fill_parent android:layout_height=wrap_content include android:id=@+id/content2 layout=@layout/tab_qibla / /ScrollView /FrameLayout /LinearLayout /TabHost -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- - Marcelo Henrique - Se não puder se destacar pelo talento, vença pelo esforço. (Dave Weinbaum) -- - Marcelo Henrique - Se não puder se destacar pelo talento, vença pelo esforço. (Dave Weinbaum) -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
package islam.adhanalarm; import islam.adhanalarm.dialog.SettingsDialog; import islam.adhanalarm.receiver.StartNotificationReceiver; import islam.adhanalarm.service.FillDailyTimetableService; import islam.adhanalarm.util.GateKeeper; import islam.adhanalarm.util.LocaleManager; import islam.adhanalarm.util.ThemeManager; import islam.adhanalarm.view.QiblaCompassView; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.HashMap; import java.util.Locale; import android.app.Activity; import android.app.AlarmManager; import android.app.AlertDialog; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.hardware.SensorListener; import android.hardware.SensorManager; import android.location.Location; import android.net.Uri; import android.os.Bundle; import android.text.SpannableString; import android.text.method.LinkMovementMethod; import android.text.util.Linkify; import android.util.DisplayMetrics; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup.OnHierarchyChangeListener; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.SimpleAdapter; import android.widget.TabHost; import android.widget.TextView; public class AdhanAlarm extends Activity { private static ThemeManager themeManager; private static LocaleManager localeManager; private ArrayListHashMapString, String timetable = new ArrayListHashMapString, String(7); private SimpleAdapter timetableView; private static SensorListener orientationListener; private static boolean isTrackingOrientation = false; @Override public void onCreate(Bundle icicle) { VARIABLE.context = this; if(VARIABLE.settings == null) VARIABLE.settings = getSharedPreferences(settingsFile, MODE_PRIVATE); themeManager = new ThemeManager(this); super.onCreate(icicle); localeManager = new LocaleManager(); setTitle(Schedule.today().hijriDateToString(this)); setContentView(R.layout.main); for(int i = CONSTANT.FAJR; i = CONSTANT.NEXT_FAJR; i++) { HashMapString, String map = new HashMapString, String(); map.put(time_name, getString(CONSTANT.TIME_NAMES[i])); timetable.add(i, map); } timetableView = new SimpleAdapter(this, timetable, R.layout.timetable_row, new String[]{mark, time_name, time, time_am_pm}, new int[]{R.id.mark, R.id.time_name, R.id.time, R.id.time_am_pm}) { public boolean areAllItemsEnabled() { return false; } // Disable list's item selection public boolean isEnabled(int position) { return false; } }; ((ListView)findViewById(R.id.timetable)).setAdapter(timetableView); ((ListView)findViewById(R.id.timetable)).setOnHierarchyChangeListener(new OnHierarchyChangeListener() { // Set zebra stripes private int numChildren = 0; public void onChildViewAdded(View parent, View child) { child.setBackgroundResource(++numChildren % 2 == 0 ? themeManager.getAlternateRowColor() : android.R.color.transparent); if(numChildren CONSTANT.NEXT_FAJR) numChildren = 0; // Last row has been reached, reset for next time } public void onChildViewRemoved(View parent, View child) { } }); DisplayMetrics displayMetrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); ((ListView)findViewById(R.id.timetable)).getLayoutParams().height = displayMetrics.heightPixels * 3/5; ((ListView)findViewById(R.id.timetable)).getLayoutParams().width = displayMetrics.widthPixels * 4/5; TabHost tabs = (TabHost)findViewById(R.id.tabs); tabs.setup(); tabs.getTabWidget().setBackgroundResource(themeManager.getTabWidgetBackgroundColor()); TabHost.TabSpec one = tabs.newTabSpec(one); one.setContent(R.id.content1); one.setIndicator(getString(R.string.today), getResources().getDrawable(R.drawable.calendar)); tabs.addTab(one); configureCalculationDefaults(); /* End of Tab 1 Items */ TabHost.TabSpec two = tabs.newTabSpec(two); two.setContent(R.id.content2); two.setIndicator(getString(R.string.qibla), getResources().getDrawable(R.drawable.compass)); tabs.addTab(two);
[android-developers] How to send/pass string to a web service from emulator and that web service returns same string.
Hello developers, I want to send string from emulator to web service and that web service returns same string to us. if any one has such tutorial or application then please send me. can anyone knows url of web service that returns string that we had just pass.i.e.returning the same string that we had pass. Help please..Thanks in advanced.. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: i am looking job on android in banglore
This is NOT a job posting board. So take it somewhere else On Tuesday, March 27, 2012 8:37:13 AM UTC+2, Tushar Lal wrote: I have a work experience of 1.3yr in Android, Blackberry, in which I have created both native phonegap application. I have worked on a Mobile banking application, Stock Trading application, Album/Artist Application and some native Blackberry applications. Regards: Tushar On Tue, Mar 27, 2012 at 11:52 AM, Anirudh Loya loya.anir...@gmail.comwrote: 6 months experience or a fresher? On Tue, Mar 27, 2012 at 11:49 AM, Eric Wong (hdmp4.com) ericwon...@gmail.com wrote: what application did you build previously? On Mar 27, 5:46 am, rudraswamy mc rudraswamy.17...@gmail.com wrote: sir i have 6month exp on 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] User Interface
Hi all , Is there anyway we can build the user interface for the android in a very efficient and easy way. I have already tried droidraw , but is there something that is much better than that. -- ThanksRegards Kaushik Pendurthi http://kaushikpendurthi.blogspot.com/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Camera onPreviewCallback buffer cordinates
Hello, I would like to know the coordinates of the frame buffer that in camera onPreviewCallback i.e its top-left, bottom-right corners in PORTRAIT mode (I have used setDisplayOrientation(90)). I would like to know where exactly the origin starts in the frame byte buffer. Regards, Shodhan -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Transitioning from debug to release builds
I am in the process of building my first app using Eclipse, and am preparing to start doing release builds. For example I am going through to make sure I have the right logging level for my log statements. But I do not really see how to produce a release build. For example in the documentation for Log ( http://developer.android.com/reference/android/util/Log.html) it says: Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. It isn't clear to me how *I* do that or if that is done on my behalf when a release build is done... And to the last point there, I don't see where I actually do a release build... 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Start service
write like context.startservice(); On Sunday, 4 July 2010 23:29:34 UTC+5:30, Alex wrote: Hi there, I am trying to start a service from the BroadcastReceiver, but I keep getting the startService line marked as an error (The constructor Intent(alarmReceiver, ClassaService) is undefined) public class alarmReceiver extends BroadcastReceiver{ NotificationManager notifMgr; private static final int NOTIFICATION_ID = 0; @Override public void onReceive(Context context, Intent intent) { startService(new Intent(this,aService.class)); } } Any help is greatly appreciated. Thanks!! On Sunday, 4 July 2010 23:29:34 UTC+5:30, Alex wrote: Hi there, I am trying to start a service from the BroadcastReceiver, but I keep getting the startService line marked as an error (The constructor Intent(alarmReceiver, ClassaService) is undefined) public class alarmReceiver extends BroadcastReceiver{ NotificationManager notifMgr; private static final int NOTIFICATION_ID = 0; @Override public void onReceive(Context context, Intent intent) { startService(new Intent(this,aService.class)); } } Any help is greatly appreciated. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] User Interface
Use Eclipse and the Graphical Layout tool. On Tue, Mar 27, 2012 at 8:25 AM, kaushik p kaushiks...@gmail.com wrote: Hi all , Is there anyway we can build the user interface for the android in a very efficient and easy way. I have already tried droidraw , but is there something that is much better than that. -- ThanksRegards Kaushik Pendurthi http://kaushikpendurthi.blogspot.com/ -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Can this be done on android?
You may want to look at the navigator to see if that will do part of what you want. If it does then yes. The hard part is to be able to determine the best bus route to get to the destination in a timely fashion. On Mar 27, 2012 3:57 AM, Ajay Motah ajaymo...@gmail.com wrote: Dear friends, i am a university student competting for my bsc(hons) in IT! i suggested to have my final year project based on android, n for your info, i have never codded in android. im am supposed to give a suggestion by tomorow! and i would be completing my project by august! What the program is to to do, it 1) automatically locate where you are in mauritius 2) you select your destination upon tapping on specific location in maritius 3) it will tel u the route you need to take to got thier...eg by car, the km and the duration u will reach their 4) you may also wish to select to go by public bus, which will then retrieve the info from a database, about the bus schedule using the actual time, and tell you the bus fare My question is that be possible to be done on android, the map of mauritius with multiple roads, and locations, and route? Please help thanks a lot -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Faster Image Processing on Android
You could use ndk and do processing on the gpu On Mar 25, 2012 4:18 PM, Christopher Wade christopher.w...@btinternet.com wrote: Hi guys, my first post here so I hope this post is in the right place. I am currently writing an app that reads handwriting from a photograph, but I am having an issue doing the image processing. When you take a photograph it passed the bitmap to a new class and runs some edge detection etc on it. However, this is incredibly slow. I am using getPixel and setPixel on the bitmap to do this. This is unfortunately incredibly slow. I was just wondering, is there a faster way to process the image than this, and without using OpenGL? I am not adverse to using OpenGL but it will add a lot of time to development. Thanks guys. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to load web page in background
How to load web page in background ? As part of my application, Im supposed to present a web-page to the user. The webpage is about .5M (has lot of images and js), so i cant fire an activity, as user has to see the page loading for considerable amount of time, if user is on slow network connection. Is there any way that I can load it in background and show the activity, when the loading is complete? 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Android reset in dalvik layer(system_server or zygote process crash)
Hi all, Please help me, thanks !!! 2012/3/23 xhy xhyg...@gmail.com: Hi all, The system reset many times recently which in the dalvic layer. I get that the watchdog of framework layer kills ActivityManagerService or WindowsManagerService from log info. Some cases are caused by 3party apps, some are the overloading in system. I try to enlarge the dalvik.vm.heap.size from 32MB to 48MB or increase the timeout(ANR, IDLE,Service,App freeze etc), but not any valuable. Now I have no ideas about this issue, Please help me.Many thanks!!! Hardware Info: 1433MHz ,2GB ROM+512MB RAM, 400*800 Log Info: Log 1: 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 184 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 185 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 186 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 187 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 188 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 190 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 191 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 199 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 200 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 201 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 202 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 203 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 209 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 210 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 221 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 223 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 224 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 225 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 231 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 232 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 234 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 235 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 236 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 237 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 238 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 239 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 240 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 241 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 242 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 243 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 244 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 245 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 246 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 248 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 249 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 250 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 251 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 252 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 254 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 255 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 259 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 260 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 261 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack of tid 263 : 13 (Permission denied) 03-06 11:40:16.442 E/Watchdog_N( 184): Unable to open stack
Re: [android-developers] Can this be done on android?
It is easy to incorporate google maps in your application, plotting your location, etc. How would you write a database for the different routes of different buses, that would be a tricky thing to do. On Tue, Mar 27, 2012 at 6:51 PM, James Black planiturth...@gmail.comwrote: You may want to look at the navigator to see if that will do part of what you want. If it does then yes. The hard part is to be able to determine the best bus route to get to the destination in a timely fashion. On Mar 27, 2012 3:57 AM, Ajay Motah ajaymo...@gmail.com wrote: Dear friends, i am a university student competting for my bsc(hons) in IT! i suggested to have my final year project based on android, n for your info, i have never codded in android. im am supposed to give a suggestion by tomorow! and i would be completing my project by august! What the program is to to do, it 1) automatically locate where you are in mauritius 2) you select your destination upon tapping on specific location in maritius 3) it will tel u the route you need to take to got thier...eg by car, the km and the duration u will reach their 4) you may also wish to select to go by public bus, which will then retrieve the info from a database, about the bus schedule using the actual time, and tell you the bus fare My question is that be possible to be done on android, the map of mauritius with multiple roads, and locations, and route? Please help thanks a lot -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Notifications in Notification Manager without icon in status bar
Hi, Is it possible to add Notifications to the Notification Manager without showing an icon in the status bar? Only this works: Notification note = new Notification(R.drawable.appicon, title, System.currentTimeMillis()); This does not work:- Notification note = new Notification(); Thank you, B.Arunkumar -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] drawing an empty circle
Hi all, I am here trying to draw a circle using Canvas class, but my requirement is just to draw the boundary/circumference of the circle. The remaining part of the circle should be empty. For eg, I am drawing a circle of yellow color, just want to show the yellow boundary, else should be empty. Paint mPaintYellow = new Paint(); mPaintYellow.setColor(0xFF00); mPaintYellow.setStrokeWidth(1); mCanvas.drawCircle(mScreenCentreX, mScreenCentreY, mBoundaryRadius_inner, mPaintYellow); I have used the above code to draw the circle, which is giving the completely colored circle. I have one more alternative for achieving that, that is, drawing another circle with the same color as that of the background, with reduced radius than that of the yellow circle. But in this case, I need to have draw two circles for showing just the boundary. As well as it seems somewhat unapropriate for doing so. Is there any other alternative which may be helpful to do what I want. I will surely be glad to apply your suggestions. With Regards, Narendra.. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Notifications in Notification Manager without icon in status bar
On Tue, Mar 27, 2012 at 9:58 AM, B.Arunkumar awsnetworkrecor...@gmail.com wrote: Is it possible to add Notifications to the Notification Manager without showing an icon in the status bar? AFAIK, no. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to load web page in background
I think u could use HttpClient from http://hc.apache.org/httpclient-3.x/ if you try something like this, it might be useful: * HttpGet httpget = new HttpGet(http://www.your_url.com); HttpResponse response = httpClient.execute(httpget); HttpEntity entity = response.getEntity(); entity.consumeContent(); if (entity != null) { entity.consumeContent(); }* I hope it helps you! On Tue, Mar 27, 2012 at 10:54 AM, rk ramakrishnar...@gmail.com wrote: How to load web page in background ? As part of my application, Im supposed to present a web-page to the user. The webpage is about .5M (has lot of images and js), so i cant fire an activity, as user has to see the page loading for considerable amount of time, if user is on slow network connection. Is there any way that I can load it in background and show the activity, when the loading is complete? 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Mobile to Mobile remote access
it's complex but may be it helpful for you. I think you have to capture the screen shots of which mobile that you want to get the control and send it to the other mobile. also send opposite the touchListener from which you are controling the other mobile and then you can control the mobile with this. Regards, UMER Date: Thu, 22 Mar 2012 12:50:45 -0700 From: tears.blos...@gmail.com To: android-developers@googlegroups.com Subject: [android-developers] Mobile to Mobile remote access i just want to know that how i could develop an android application who give remote access to other Android mobile.I just want to know the ways of implementing an application through which I can access Another Android device including all the events that happens on the host device(just like TeamViewer for desktop). is there any protocol for Android device sharing ? (Note: I would like to do it using internet)please let me know any idea about 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Mobile to Mobile remote access
yes i am also doing the same trick i have face problem in controlling the other mobile phone with screen shot. touchListener can solve this problem?? On Tue, Mar 27, 2012 at 7:32 PM, Muhammad UMER muhammad.ume...@hotmail.comwrote: it's complex but may be it helpful for you. I think you have to capture the screen shots of which mobile that you want to get the control and send it to the other mobile. also send opposite the touchListener from which you are controling the other mobile and then you can control the mobile with this. Regards, UMER -- Date: Thu, 22 Mar 2012 12:50:45 -0700 From: tears.blos...@gmail.com To: android-developers@googlegroups.com Subject: [android-developers] Mobile to Mobile remote access i just want to know that how i could develop an android application who give remote access to other Android mobile. I just want to know the ways of implementing an application through which I can access *Another Android device* including all the events that happens on the host device(just like TeamViewer for desktop). is there any protocol for Android device sharing ? (Note: I would like to do it using internet) please let me know any idea about 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Regards: Madiha Khalid Bscs Hons. 2008 GCU lahore Web and Desktop App Developer madihaey...@gmail.com www.eycon.co http://www.facebook.com/eyconians - -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Mobile to Mobile remote access
yes i am also doing the same trick i have face problem in controlling the other mobile phone with screen shot. touchListener can solve this problem?? On Friday, March 23, 2012 12:50:45 AM UTC+5, MadihaKhalid wrote: i just want to know that how i could develop an android application who give remote access to other Android mobile. I just want to know the ways of implementing an application through which I can access *Another Android device* including all the events that happens on the host device(just like TeamViewer for desktop). is there any protocol for Android device sharing ? (Note: I would like to do it using internet) please let me know any idea about 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Re : passing data between activities
Hi Vivek you have created Intent for starting activity and passed intent as a parameter in startActivity(Intent) method like this in A class Intent intent = new Intent(this, B.class); intent.putExtra(Voilation1, USING CELLULAR PHONE WHILE DRIVING(H)); intent.putExtra(Place1,chetpet signal); startActivity(intent); And In Class B Retrieve values in onCreate() method like this String strVoilation1 = getIntent().getStringExtra(Voilation1); String strPlace1 = getIntent().getStringExtra(Place1); That's it Or you can put the Serialized object or parceble object in the intent in your case you have a list of object of Voilations and Places, create a model class of it add each object in the ArrayList and put ArrayList into Intent, since ArrayList implemented serializable interface you can add it into intent. And get serialized object from other activity as a key value object from the intent. Thanks Regards Animesh Sinha On Mar 26, 3:53 pm, vivek elangovan elangovan.vi...@gmail.com wrote: Using DOMParser i m getting values and passing it to my IInd activity.In my IInd activity i need to display like this Violation : USING CELLULAR PHONE WHILE DRIVING(H) Place : chetpet signal Violation : WITHOUT HELMET Place : Tnagar signal On Monday, March 26, 2012 4:20:26 PM UTC+5:30, vivek elangovan wrote: Hi, This is how my xml looks like remarks offense violationWITHOUT HELMET/violation rule177-A/rule amnt100/amnt date26-3-2012/date placechetpet signal/place /offense offense violationUSING CELLULAR PHONE WHILE DRIVING(H)/violation rule177-H/rule amnt1000/amnt date20-3-2012 /date placeTnagar signal /place /offense /remarks On Monday, March 26, 2012 3:03:38 PM UTC+5:30, vivek elangovan wrote: hi members, I am having two activities in my project, In my Ist activity i m getting two values from my loop (for eg : Violation : WITHOUT HELMET and Violation : USING CELLULAR PHONE WHILE DRIVING(H) ) using putExtra i am passing these values to my IInd activity,what i need to display here is like this : violation : WITHOUT HELMET place : some place Violation : USING CELLULAR PHONE WHILE DRIVING(H) place : some place -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google IO
someone registered ? -- - Marcelo Henrique - Se não puder se destacar pelo talento, vença pelo esforço. (Dave Weinbaum) -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Mobile to Mobile remote access
No, it can't. You have to send the data over the network, and then on the other side, you have to force the clicks into the UI. You can make this work for a *specific* app, i.e., one that you write, but you can't make this work for all apps on the platform. The system doesn't expose the ability for you to make a click at some random place at a random time, that would be a big security bug. Kris On Tue, Mar 27, 2012 at 10:43 AM, MadihaKhalid tears.blos...@gmail.com wrote: yes i am also doing the same trick i have face problem in controlling the other mobile phone with screen shot. touchListener can solve this problem?? On Friday, March 23, 2012 12:50:45 AM UTC+5, MadihaKhalid wrote: i just want to know that how i could develop an android application who give remote access to other Android mobile. I just want to know the ways of implementing an application through which I can access Another Android device including all the events that happens on the host device(just like TeamViewer for desktop). is there any protocol for Android device sharing ? (Note: I would like to do it using internet) please let me know any idea about 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Google IO
Wrong group... Try the android discuss group On Mar 27, 2012 8:47 AM, Marcelo Henrique marceloh...@gmail.com wrote: someone registered ? -- - Marcelo Henrique - Se não puder se destacar pelo talento, vença pelo esforço. (Dave Weinbaum) -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Mobile to Mobile remote access
Alright. Any other solutions do you have ? Do you thing it can be implement by using any other trick.? On Friday, March 23, 2012 12:50:45 AM UTC+5, MadihaKhalid wrote: i just want to know that how i could develop an android application who give remote access to other Android mobile. I just want to know the ways of implementing an application through which I can access *Another Android device* including all the events that happens on the host device(just like TeamViewer for desktop). is there any protocol for Android device sharing ? (Note: I would like to do it using internet) please let me know any idea about 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Mobile to Mobile remote access
On Tue, Mar 27, 2012 at 10:50 AM, MadihaKhalid tears.blos...@gmail.com wrote: Alright. Any other solutions do you have ? Do you thing it can be implement by using any other trick.? If it can be implemented by using a trick then the android platform is severely broken, and I'm going to write this as malware so that I can control my enemies' phones. Kris -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to load web page in background
Thanks Lucas, Have a small question on the following, entity.consumeContent(); if (entity != null) { entity.consumeContent(); } after consuming, why should we again check for null and consume again ? Can we use SerializableEntity instead of HttpEntity? Please share, If you have any link to sample android program. Thanks Rk On 27 March 2012 19:33, Lucas Diego diegoluc...@gmail.com wrote: I think u could use HttpClient from http://hc.apache.org/httpclient-3.x/ if you try something like this, it might be useful: * HttpGet httpget = new HttpGet(http://www.your_url.com ); HttpResponse response = httpClient.execute(httpget); HttpEntity entity = response.getEntity(); entity.consumeContent(); if (entity != null) { entity.consumeContent(); }* I hope it helps you! On Tue, Mar 27, 2012 at 10:54 AM, rk ramakrishnar...@gmail.com wrote: How to load web page in background ? As part of my application, Im supposed to present a web-page to the user. The webpage is about .5M (has lot of images and js), so i cant fire an activity, as user has to see the page loading for considerable amount of time, if user is on slow network connection. Is there any way that I can load it in background and show the activity, when the loading is complete? 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Transitioning from debug to release builds
Export a signed .apk from eclipse... On Mar 27, 2012 6:47 AM, RedBullet scottedchap...@gmail.com wrote: I am in the process of building my first app using Eclipse, and am preparing to start doing release builds. For example I am going through to make sure I have the right logging level for my log statements. But I do not really see how to produce a release build. For example in the documentation for Log ( http://developer.android.com/reference/android/util/Log.html) it says: Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. It isn't clear to me how *I* do that or if that is done on my behalf when a release build is done... And to the last point there, I don't see where I actually do a release build... 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers]
I'll even take a half month's salary... You're awesome! On Mar 27, 2012 5:32 AM, Anirudh Loya loya.anir...@gmail.com wrote: Only 1 month salary ? On Tue, Mar 27, 2012 at 1:38 PM, rudraswamy mc rudraswamy.17...@gmail.com wrote: i will give 1month salary to u -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thank you Anirudh Loya | Android Developer** Desk: +9140-30681824 | Mobile: +91*9246561265* *Love your Job but don't Love your company, Because you may not know when your company stops loving you.-- Voice Of Love* -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Transitioning from debug to release builds
if you are not yet ready to post to the market, you can also simply use Run rather than Debug in Eclipse. On Tuesday, March 27, 2012 10:55:26 AM UTC-4, MagouyaWare wrote: Export a signed .apk from eclipse... On Mar 27, 2012 6:47 AM, RedBullet scottedchap...@gmail.com wrote: I am in the process of building my first app using Eclipse, and am preparing to start doing release builds. For example I am going through to make sure I have the right logging level for my log statements. But I do not really see how to produce a release build. For example in the documentation for Log ( http://developer.android.com/reference/android/util/Log.html) it says: Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. It isn't clear to me how *I* do that or if that is done on my behalf when a release build is done... And to the last point there, I don't see where I actually do a release build... 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] use of audio streams
I am building an app that will do TTS to read turn by turn directions for navigation. When I am using a bluetooth headset I turn on SCO and use the STREAM_VOICE_CALLhttp://developer.android.com/reference/android/media/AudioManager.html#STREAM_VOICE_CALL stream. My question is, when I am NOT using bluetooth and just want to use the phone (optionally speaker) which stream do I use? STREAM_MUSIChttp://developer.android.com/reference/android/media/AudioManager.html#STREAM_MUSIC or something else? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Transitioning from debug to release builds
In my app I have Warning, Debug, Information, and Verbose logging. They ALL see to get logged whether I am running, debugging, or running on the device (exported the app from eclipse and installed/run on my phone). On Tuesday, March 27, 2012 10:59:57 AM UTC-4, lbendlin wrote: if you are not yet ready to post to the market, you can also simply use Run rather than Debug in Eclipse. On Tuesday, March 27, 2012 10:55:26 AM UTC-4, MagouyaWare wrote: Export a signed .apk from eclipse... On Mar 27, 2012 6:47 AM, RedBullet wrote: I am in the process of building my first app using Eclipse, and am preparing to start doing release builds. For example I am going through to make sure I have the right logging level for my log statements. But I do not really see how to produce a release build. For example in the documentation for Log ( http://developer.android.com/reference/android/util/Log.html) it says: Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. It isn't clear to me how *I* do that or if that is done on my behalf when a release build is done... And to the last point there, I don't see where I actually do a release build... 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 group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] drawing an empty circle
http://developer.android.com/reference/android/graphics/Paint.html#setStyle%28android.graphics.Paint.Style%29 http://developer.android.com/reference/android/graphics/Paint.Style.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 27, 2012 at 8:01 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: Hi all, I am here trying to draw a circle using Canvas class, but my requirement is just to draw the boundary/circumference of the circle. The remaining part of the circle should be empty. For eg, I am drawing a circle of yellow color, just want to show the yellow boundary, else should be empty. Paint mPaintYellow = new Paint(); mPaintYellow.setColor(0xFF00); mPaintYellow.setStrokeWidth(1); mCanvas.drawCircle(mScreenCentreX, mScreenCentreY, mBoundaryRadius_inner, mPaintYellow); I have used the above code to draw the circle, which is giving the completely colored circle. I have one more alternative for achieving that, that is, drawing another circle with the same color as that of the background, with reduced radius than that of the yellow circle. But in this case, I need to have draw two circles for showing just the boundary. As well as it seems somewhat unapropriate for doing so. Is there any other alternative which may be helpful to do what I want. I will surely be glad to apply your suggestions. With Regards, Narendra.. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how do u play a game
Where u must purchase papayas. but u r not sllowed to do.that. I'm am inall honedtly.womdering h.ow I'm.going to finidh.my game. meed to purchsde psays. and cant. whats the new way to.fo.this. Please learn to type, and then try asking again... I'm not happy I'm sorry... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 26, 2012 at 12:00 AM, Margaret Barmann margob...@gmail.comwrote: Where u must purchase papayas. but u r not sllowed to do.that. I'm am inall honedtly.womdering h.ow I'm.going to finidh.my game. meed to purchsde psays. and cant. whats the new way to.fo.this. I'm not happy -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] The linked program is no longer installed on your phone ????
I am using the sharedPrefrences in my app for Registration, it work's perfect on amulator but when i install it to my device mobile and enter the name and phone no. and when i close the app and then re-open it, it show me The linked program is no longer installed on your phone. what's it can have a problem with this. any suggestion please. Thanks and Regards, umer -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] write addPreferencesFromResource(R.xml.preferences); without extending preferenceactivity
hello all i want to write addPreferencesFromResource(R.xml.preferences); in class file that does not extend prefercneceactivity 1. That method is deprecated... are you sure you want to use that? 2. That method is part of the PreferenceActivity class... Therefore, you can't use it outside of that class so how can i write that? Well, you would write it like this: addPreferencesFromResource(R.xml.preferences); But it won't compile unless you are in a PreferenceActivity Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 26, 2012 at 6:04 AM, jugni jugni1sm...@gmail.com wrote: hello all i want to write addPreferencesFromResource(R.xml.preferences); in class file that does not extend prefercneceactivity.so how can i write that? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Fragments and rotation
Hello, I made a simple application with layouts, based on screen orientation. Each layout used a different custom Fragment class. When the phone is in a given orientation and I start the application, the correct layout is loaded. If I then rotate the phone (after the application started), then the correct general layout is loaded, but the wrong fragment is used. Here is a very simple application to show the problem. http://www.gyscos.fr/TestAndroid.zip Alternatively, the separate files are available on http://www.gyscos.fr/TestAndroid/ (I know this may look unsafe to link files from unknown sites, but this involve several files, which would have been inconvenient on pastebin). As you'll see, turning the screen after the application started leads to hybrid layouts, with the correct layout file being used, but the incorrect Fragment being included. Is this the expected behaviour ? If so, how could I force the application to load the correct Fragment ? Thanks a lot. -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Accessing a class function from another class
Sounds like you want to implement the observer pattern... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 26, 2012 at 7:34 AM, Matt Green madbobmc...@gmail.com wrote: Hi Guys, I've not been doing Android (or Java) programming very long, so I'm still getting my head around the android/Java specific features. I'm trying to integrate C2DM into a simple app I've made. My current app grabs some JSON data and puts it into a ListView, this is all handled within a single class. My app then polls the ser ver regularly to see if there are any updates to the data. I've then had a go at integrating C2DM into my app by adding in classes and buttons from the C2DM tutorial at vogella.de (http:// www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html) This works, I can get a message through telling me that there is new data, however, I can't see how to integrate it any further. What I want to do is have the C2DM class trigger a function in my main class that will go collect the new data. Any ideas what I should do? Cheers, Matt -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Running camera preview while recording video at the same time
hi I am working on a real-time video processing project. I used setPreviewCallbackWithBuffer() and display both the preview image and the processed image on SurfaceViews. Now, I'd like to record video at the same time. I read from some posts that the video recording involves low-level io that is not in conflict with the preview buffer. I took some sample code from the second post of this link to do the video recording: http://stackoverflow.com/questions/1817742/android-video-recording-sample however, after merging it with my camera setPreviewCallbackWithBuffer() code, I kept getting MediaRecorder: start called in an invalid state 4 when I tried to call mrec.start(). Both the initRecorder() and prepareRecorder() ran fine when the surface is created. Anyone know what might be causing this error? the MediaRecorder object does share the same camera object that is used for buffered preview. thanks Qianqian -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Modify a textview value in a custom listview after clicking
If you have to change view which is already displayed and you have data in your adapter which you have to display then, On List item click you will get the view of clicked position adapter view and you can change what ever you want in that adapter view. Just because you CAN do something doesn't mean you SHOULD. The proper way to implement this is by changing the data in the adapter and calling notifyDataSetChanged() on the adapter. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 26, 2012 at 1:22 AM, Deep deep...@gmail.com wrote: If you have to change view which is already displayed and you have data in your adapter which you have to display then, On List item click you will get the view of clicked position adapter view and you can change what ever you want in that adapter 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Getting Problem to run .sh file via system call in Android NDK
Hi All I want to run script file on android Shell using Native C program. I tried using system function but it's not working. result = system(sh ./test.sh); LOGD(result is %d, result); system command returns 0 means its executed script file successfully. but i cant able to see script file Output. Means system call executed successfully but script is not started. test.sh contains echo test Android NDK application could not print test when this system call runs. Even any script can not be started using system call. i checked more than 10 different scripts. test.sh have 777 permissions Any help would be appreciated. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Getting Problem to run .sh file via system call in Android NDK
Please use the android-ndk Google Group for Android NDK questions. On Tue, Mar 27, 2012 at 12:12 PM, A B saurbh...@gmail.com wrote: Hi All I want to run script file on android Shell using Native C program. I tried using system function but it's not working. result = system(sh ./test.sh); LOGD(result is %d, result); system command returns 0 means its executed script file successfully. but i cant able to see script file Output. Means system call executed successfully but script is not started. test.sh contains echo test Android NDK application could not print test when this system call runs. Even any script can not be started using system call. i checked more than 10 different scripts. test.sh have 777 permissions Any help would be appreciated. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Driver in Linux to access the IOCTL from JNI application. It is failed with error code 13(Permission denied).
ioctl works in the NDK, but Android SDK applications are by design unable to acquire permission to do most of what a driver would probably need to. Android driver-level programming belongs in the discussion of making builds for custom hardware, which would be found on android-porting rather than here or on the ndk group. On Tuesday, March 27, 2012 12:05:39 AM UTC-4, GSelvaraj wrote: A) I am writing an eMMC driver in Linux to access the IOCTL from Linux application. It is working. B) I am writing an eMMC driver in Linux to access the IOCTL from JNI application. It is failed with error code 13(Permission denied). 1) Where to set the permission in android application? 2) Is it possible to access IOCTL from JNI Application? 3) Is there any settings in Android.mk file for permission (in JNI)? Regards, GSK -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how do u play a game
Isn't this group moderated?!? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] how do u play a game
Only for blatant spam.., and only first posters. kris On Tue, Mar 27, 2012 at 1:02 PM, Oli Wright oli.wri...@gmail.com wrote: Isn't this group moderated?!? -- 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 options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en