[android-developers] attractive a soap
webpage; http//123maza.com/50/latha50 -- 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] attractive a soap
webpage; http//123maza.com5/50/latha50 -- 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 LBS - MASF client
Hi , I tried searching on net but could not find any information on MASF client or LocationMasfclient.java, Network Location provider makes use of Masf service in networkLocationProvider.java, Would Some one who had worked on networklocationprovider.java know about Masf client? and what is its role in Android platform ?, and i am also wondering what would MASF actually mean. There is no documention available in android website nor in the code. Regards Sunil. --~--~-~--~~~---~--~~ 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 enable Network Location provider.
Hi, Alex Thanks for your reply to my earlier mail, I am unable to get the location updates when i use Network location provider. >From the older posts i understood that to use NW location provider we need to do the following. for GPS provider lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1l, 1f, TestGPS.this); for N/W location provider lm.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 1l, 1f, TestGPS.this); And in my Android manifest file i have included the permissions ACCESS_COARSE_LOCATION( for N/W) and ACCESS_FINE_LOCATION (for GPS). But still the location is not updated. Regards Kumar. --~--~-~--~~~---~--~~ 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 the Network Location provider basic initialization sequence
Hi I am trying to make the use of Network location provider to get the location updates, But it seems to be that Network location provider makes use of MASF client . From the debug statements we found that Network provider does seems to launch MASF client , Would some one explain me the basic sequence of initialization of Network service provider ? and if MASF client is not getting initialized do we need to do some settings. What do i need to check .Any information on this is Highly appreciated. Thanks Kumar. --~--~-~--~~~---~--~~ 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: Does cupcake support Webview with Gears ?
I had to manually write code to mimic the Gears feature. Being that Gears will not be supported by WebView, I am curious when HTML5 standard will be supported in the WebView component? So we could reuse code in between iPhone/Android. Thanks, Kumar On Aug 14, 5:44 am, Samuel Michelot wrote: > On 13 août, 18:08, String wrote: > > > Have you looked at PhoneGap?http://phonegap.com > > > I'm not certain about the maturity of their Android support, but I > > know there's at least a foundation, and would give you a real head > > start on this. > > Yes, I know phonegap, but it currently doesn't support DB because of > this problem... --~--~-~--~~~---~--~~ 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] Browser App: Soft Keyboard int
I have a web page specifically designed to be displayed on the Android Browser. We would like to customize the soft keyboard or interact with the keyboard. Is there any practices suggested in this scenario ? We do not have access to the Java SDK because it is purely an web page (not running inside WebView). Any suggestions appreciated. Kumar --~--~-~--~~~---~--~~ 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 relative layout problem
Hiii i am new in android application developer.i had just created a one application with relative layout.its run smoothly in emulator.i never test this application on real android phone.there is no alignment problem in emulator.can its given a problem in real phone. plz reply me as soon as posiable. thank you in advance. bhavesh -- 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] Save user name and password with SharedPreferences
Hii i want to save user Name and password in my android application using the android save preference. but its not working. code is here\\\ import android.content.SharedPreferences; protected void Savepreference() { int mode = Activity.MODE_PRIVATE; SharedPreferences mySharedPreferences = getSharedPreferences (myprefs, mode); SharedPreferences.Editor editor = mySharedPreferences.edit(); String sip = sipText.getText().toString(); String user = UserText.getText().toString(); String pass = passText.getText().toString(); editor.putString(sipid,sip ); editor.putString(userid,user ); editor.putString(passid,pass ); editor.commit(); } public void loadpreference() { int mode = Activity.MODE_PRIVATE; SharedPreferences mySharedPreferences = getSharedPreferences (myprefs, mode); String sipid1 = mySharedPreferences.getString("sipid", "Sipid"); String userid1 = mySharedPreferences.getString("userid", "User Name"); String passid1 = mySharedPreferences.getString("passid", "Password"); sipText.setText(sipid1); UserText.setText(userid1); passText.setText(passid1); } Thank You in advance bhavesh -- 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 get camera specs.
Hi, Can someone tell me whether it is possible to get camera specs such as focal length, sensor size, crop factor etc using android api. Thank you. kumar -- 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: Regarding play audio files using SoundPool class
Hi thanks for the reply . On Wed, Dec 21, 2011 at 12:13 AM, Jeffrey Dunbar < nightsbird.mob...@gmail.com> wrote: > What requirements are you needing. I would suggest amrnb or ogg to > keep them small, > ogg for quality, never wav or mp3. I personally would put them in the > asset directory > it seemed to work better for my app > > Jeff > > On Dec 19, 11:15 pm, kumar varma wrote: > > I've created an application which uses around 40 small audio files. > > Right now I'm using mp3 files and each is around 250KB. These files > > are stored in my res/raw directory. > > I'm using SoundPool class to play the files in my application. > > > > Can one of you suggest what is the best way to store so many audio > > files? Will my application be scalable? > > Is wav or ogg format better approach instead of mp3? Please let me > > know. and one more doubt every time I wanna play 3 audio files one by > > one using SoundPool class can you > > please any one suggest me to do this > > > > Thanks , > > Kumar. > > -- > 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: Regarding play audio files using SoundPool class
Hi, Thanks for your early reply Md.Fazla Rabbi. * I have noted your point, in my app I am also using same as this, but here is my requirement below*: 1. Once i click on a button, it should give me three different sounds one after the other? I have three music files, which should be run one after the other as soon as the music of first complete, then second should start, once the second is completed then third should start, and complete. How to provide duration for each audio file? *Here the problem is: * In my app audio files are with different duration lengths. How can I find the duration length and play each audio file? If anyone knows soon for this, Please provide me. Thanks & Regards, Kumar Varma. On Wed, Dec 21, 2011 at 10:59 AM, Md.Fazla Rabbi OPU < md.fazlara...@gmail.com> wrote: > Hi Verma, > I have developed a app which holds some audio files(50 sound files). For > my app i have used *MediaPlayer* Object which play one sound file at a > time. So for these 50 sound files i have stored sound files in > *res/raw*folder. Then in my code i use an array which holds the > *id* of the sounds. After that i pass one sound file at a time to * > MediaPlayer* Object using the index number of the array. > > This is something like this: > > *int [] sounds=new int[] {R.raw.sound1, R.raw.sound2, R.raw.sound3}; > > MediaPlayer mp=new MediaPlayer( MyActivity.this, sounds[i] );///*Where *i*is > the index no. of the > *sounds array > mp.start();* > > Hope this will helpful for you. > > -- > 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] android-developers@googlegroups.com
Hi All, I need to implement calendar control in my application...where i should display a calendar, and have to mark some events(by placing image over that date) for some particular dates, when user clicks the date listview should open...I'm supporting for multiple os.. And also i found a link http://code.google.com/p/android-calendar-view/ but i don't know how to mark particular dates using this code... Note: I'll receive list of dates from webservice through this i have to mark in that calendar... Any suggestion will be really appreciated..Thanks in advance.. Thanks & Regards, Kumar. -- 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] Update Canvas
Hi all, I want to draw canvas in view. I want to update my canvas regularly, but i dont want to delete the old one. I used invalidate(), it called onDraw() method and creating new canvas. Any idea about update canvas kumar -- 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] Android live videos
https://spreadsheets6.google.com/a/jigsee.com/spreadsheet/viewform?hl=en_US&hl=en_US&formkey=dEp6WjkxdHFfQmQxbkNSNkNQU1FOV2c6MA#gid=0 I m working on Android app to stream live videos. People i need ur 30 secs ,it can immensely help me out to plan strategies for the App -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To 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 can i use hindi font
how can i use hindi font in ics like krutidev font -- 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] Openings for Fresher's/US IT Recruiter/ BDM - Hyderabad / Rajahmundry / Visakhapatnam
Hi Friends, We are Urgently looking for US IT Recruiter/Business Development Manager/BDM - Hyderabad / Rajahmundry / Visakhapatnam. Please share your resumes to lax...@tanuinfotech.com No of Positions: 10 Start: Immediate Designation: US IT Recruiter Experience: 0 to 4 Years Qualification: Bachelor’s Degree Location: Hyderabad / Rajahmundry / Visakhapatnam Salary: Rs:1.2L/P.A for Fresher's and Rs:10,000/- Incentive Per Placement/DOE for Experienced Professional's *IT Recruiter* The ideal candidate will be working as a Technical Recruiter for US Staffing, Need target oriented candidates with a history of achieving target. Very clear understanding and experience in hiring employees with work permits, visas related to H1B, L1, Green Cards, EAD and US citizens. Should have clear understanding of US immigrations visas related to technology workers. Experience working with different tax terms in hiring an employee (W2, C2C and 1099). Experience working in permanent and contract staffing. Experience with VMS portals and suppliers/vendors/agencies supporting Local Government clients in USA. Strong understanding and exposure to multiple IT technologies that are available in the market place. Experience in understanding the IT job description and multiple technologies listed in the job description, finding a suitable resume from job portals like DICE, MONSTER, CAREER BUILDER and LinkedIn. Experience in identifying suitable person from both active and passive search. Should be able to evaluate candidates based on job skills & requirements. Experience in sourcing, Recruiting, Pre-Screening, networking, internet search engines and referrals. Experience in all the post -selection activities and effectively communicate to the candidates. Experience working independently, with a keen eye to detail. Should have excellent written and verbal communication skills. Good Technical knowledge. Ability to work under pressure Willing to work on Eastern Time US *Business Development Manager* Salary: DOE Experience in Business Development/ New Client Acquisition (US Staffing/US Professional Services). Excellent Communication skills. New Business Development and account management direct as well as Tier-1 clients, Top Management / Client facing capabilities, Proven Track Record in Business development. Well versed with IT/Technology, Self-starter & highly competitive, Willing and able to cold call on new prospects, Excellent organizational skills and follow through. High level understanding and screening capability in various technologies / tools. Good understanding US Staffing statutory requirements, HR and contracting process, pay rates etc , experience in w2 , C2C , Contract to hire positions . Ability to work on multiple requirements and source quality profiles. Good track record of delivering recruited resources and excellent client interfacing skills, communication skills Organized, disciplined and productive. Should be Efficient in identifying new business opportunities with Direct Clients and Integrators. Expertise with establishing new service agreements with Direct Clients Penetrate target accounts and call to appropriate decision-makers through Telesales activities. Qualified candidate will be doing direct sales in the IT staffing industry including prospecting, cold calling, generating leads and client presentations within a professional business to business sales organization. Relationship building with decision makers to gather the necessary job requisitions to place qualified consultants. Build long-term relationships with direct clients and system integrators by meeting their IT Consulting resource needs and contributing to their growth. Build excellent customer relationships at the C-level in the client organization. Develop and sustain effective new business relationships with accounts/clients and independently handle staffing business & manage the team. Good understanding of technology concepts and its application Well aware of Recruitment life cycle and Staffing. Develop and execute Monthly sales strategies and proposals with marketing strategy plan & ability to lead the strategy for lead generation and other sales and marketing campaigns. Work with our team of recruiters and employee techniques to improve the process of finding the right candidates for specific IT requirements. Develop relationships with hiring / business managers of clients. Define and implement strategies that will help move up the value chain from staff augmentation to becoming a strategic solution provider to direct clients /Tier-1 Vendors. The selected candidate should have good Tier-1 Vendor relationships, and should be able to use the relationships to generate new Business/ Accounts. Negotiating Rates/ Contracts and Revenue Generation. Ability to work effectively with team members. -- You received this message because you are subscribed to the
[android-developers] Auto Scrolling Text in Canvas
Hi all, I want to place text onto canvas in such a way that the text should run upwards i.e, need the text to run Please help me or any helpful links 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 app only taking up part of screen
Aah, An example of apps running on different screen sizes and resolutions. Please have a look at this. http://developer.android.com/intl/de/guide/practices/screens_support.html Kumar Bibek On Mar 9, 1:07 am, Drew wrote: > I have an Android application that's seemingly only taking up 1/3 or > so of the screen on a Texas Instruments Zoom Android device. You can > see what I mean here: > > http://www.zitnay.com/stuff/IMG00910.jpg > > The upper-middle third or so of the screen contains the app, but the > rest of the screen is black. I have thousands of other people using > this app, but have never had a report of this before (and can't > reproduce it using the emulator). > > I'm typically building the layout programmatically (typically with a > ScrollView as the main view) then using setContentView() to display > it. I was originally using setContentView(View), but I tried adding > new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT, > ViewGroup.LayoutParams.FILL_PARENT) as the second parameter today, > which didn't seem to fix the problem. > > I'd appreciate any advice anyone can give. Thanks. > > Drew -- 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: a BET. if u can then do.I think Impossible
Hahahaha, It's basically impossible. Of course nothing is impossible. If you can make some source code changes and change the permissions, and then apply that upgrade to all the available phones in the world, then only it's possible. It won't work any other way. This is a kind of weird at first, since Google claims that Android is open source and all. But, on second thoughts, you should also be aware of what applications can do if they are given this permission. Someone can just write a simple application, that would hang up incoming calls at will. This is too dangerous. Thanks and Regards, Kumar Bibek On Mar 9, 4:09 pm, saru wrote: > Hey dude!! > > Whats up. Hope u all r doing all. Almost last 2 months i am searching > for an android application which can accept call automatically if > there is an incoming call . But i failed to find and i talked with > various developer out there and failed to get any response. > > Now if any guy out there have any idea or confident about building > such an application(Must be android Application) then please post your > concept here or can contact with me privately. Very Honestly if you > can then i will pay u a reasonable amount. As it comes to me it is > impossible but I know there is nothing IMPOSSIBLE. I dont know what is > true POSSIBLE or IMPOSSIBLE. > > Please it is my humble request do not give any answer if u are unsure > or not confident. -- 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 Add Rating Bar on App Widget???
The current AppWidget framework doesn't support all the widgets. Here are the supported widgets that you can use: A RemoteViews object (and, consequently, an App Widget) can support the following layout classes: * FrameLayout * LinearLayout * RelativeLayout And the following widget classes: * AnalogClock * Button * Chronometer * ImageButton * ImageView * ProgressBar * TextView Thanks and Regards, Kumar Bibek. On Mar 10, 4:08 pm, Gulfam Hassan wrote: > One Thing more I am using 1.5 SDK > > On Wed, Mar 10, 2010 at 4:06 PM, Gulfam wrote: > > Hi all, > > > I am trying to make an app widget, and i want to add three things in > > this widget > > 1: Text View > > 2: Button > > 3: Rating bar > > > I have added first two things successfully but when i have start to > > add "Rating Bar" in the widget its not adding and showing "Problem > > loading widget" message where should be widget with three thigs, and > > in log cat it show error like this > > > > updateAppWidget couldn't find any view, using error view > > android.view.InflateException: Binary XML file line #13: Error > > inflating class > > at android.view.LayoutInflater.createView(LayoutInflater.java:512) > > at > > > com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java: > > 56) > > at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java: > > 562) > > at android.view.LayoutInflater.rInflate(LayoutInflater.java:617) > > at android.view.LayoutInflater.inflate(LayoutInflater.java:407) > > at android.view.LayoutInflater.inflate(LayoutInflater.java:320) > > at android.widget.RemoteViews.apply(RemoteViews.java:830) > > at > > android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java: > > 167) > > at android.appwidget.AppWidgetHost.createView(AppWidgetHost.java: > > 218) > > at com.android.launcher.Launcher.completeAddAppWidget(Launcher.java: > > 653) > > at com.android.launcher.Launcher.onActivityResult(Launcher.java:335) > > at com.android.launcher.Launcher.addAppWidget(Launcher.java:957) > > at com.android.launcher.Launcher.onActivityResult(Launcher.java:332) > > at android.app.Activity.dispatchActivityResult(Activity.java:3595) > > at android.app.ActivityThread.deliverResults(ActivityThread.java: > > 3001) > > at android.app.ActivityThread.handleSendResult(ActivityThread.java: > > 3047) > > at android.app.ActivityThread.access$2300(ActivityThread.java:112) > > at android.app.ActivityThread$H.handleMessage(ActivityThread.java: > > 1721) > > at android.os.Handler.dispatchMessage(Handler.java:99) > > at android.os.Looper.loop(Looper.java:123) > > at android.app.ActivityThread.main(ActivityThread.java:3948) > > at java.lang.reflect.Method.invokeNative(Native Method) > > at java.lang.reflect.Method.invoke(Method.java:521) > > at com.android.internal.os.ZygoteInit > > $MethodAndArgsCaller.run(ZygoteInit.java:782) > > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) > > at dalvik.system.NativeStart.main(Native Method) > > Caused by: android.view.InflateException: Binary XML file line #13: > > Class not allowed to be inflated android.widget.RatingBar > > at android.view.LayoutInflater.failNotAllowed(LayoutInflater.java: > > 524) > > at android.view.LayoutInflater.createView(LayoutInflater.java:471) > > ... 25 more > > > > I want to know is it possible to add "Rating Bar" in a widget and if > > yes then How??? > > > Thanks in advance. > > Gulfam Hassan -- 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: Problem to open SMS after deleting another with my widget...
Hi, I guess the SMS api is not open for public use yet. There are no comprehensive docs on this topic as well. The way you are accessing the Content Provider might change in the future and hence, your app will break. The SMS table is tightly coupled with the notifications as well. You need to manage them, but at this point, it seems impossible to do so. http://tech-droid.blogspot.com/2009/09/sms-blocking-in-android.html Thanks and Regards, Kumar Bibek On Mar 10, 2:55 pm, Olivier wrote: > Hi! > It is the last problem I have before finishing my widget so I beg you > to help me! > I've created a widget wich can navigate in SMS/Inbox, and deleting > them... > When I delete one at the position 5 for example, this one is deleted, > the other next are at the position before and the messages before the > one deleted don't change of position... All seem's to bee right... but > the sms at postion 5 is null and so can't be open... When I exit from > the widget and relaunch it, all seem's normal, and the sms at position > 5 is the old at position 6, what is expected... > I use the classic method: > Uri uri=Uri.parse("content://sms/Inbox"); > Cursor cursor=getContentResolver()query(uri,null,null,null,null); > cursor.moveToPosition(i); > ... > > But I think that there is a probleme because the sms database isn't > close unless I close my widget. > So can I force android to close it and reopen after, or shoold I use > TWOpenHelper openHelper = new TWOpenHelper(context); > SQLiteDatabase database = openHelper.getReadableDatabase(); > in this last case I think I need the real uri of sms database (data/ > data//databses) wich is?... > > thank's for giving me your opinion and really hope a little help to > finish 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: Adding links to an email message
You cannot hook into another application. You can only share data through ContentProviders. But I don't think Gmail and other email apps would expose their data to other apps. It doesn't make sense as well. Thanks and Regards, Kumar Bibek. On Mar 10, 6:37 am, tom wrote: > Hello all, > > I was wondering if it is possible to hook into the gmail and email > applications and check to see if it contains text that matches a > regular expression, and if it does, make that text into a link with a > URI that would open my application. What i am thinking of is similar > to how the gmail application can detect a web address or phone number > and make it a link. Is something like this possible? > > Thank you, > Tom -- 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 to make customized UI component
Well, it sounds complicated, but you can achieve it. 1. Create a custom view by extending the View class. 2. In it's layout, you can have a text view, with "I like" 3. And then a Spinner with values "banana, apple, orange, etc" And then you can write utility methods in this class to get control of the text view and the spinner. Thanks and Regards, Kumar Bibek But to make it look as one, you will need to change the backgrounds of both to a similar image. On Mar 10, 5:15 am, cindy wrote: > IN our current project, I need to make a UI describled as follows. > > Basically it is a text input, it will display a string returned from > server , such as "I like banana". The word "banana" will be in red > color. When user clicks "banana", it will have a dropdown list shows > "apple, orange, pear". User would be able to select one of them, like > apple. So the text in that UI would be "I like apple". > > It sound very complicated to me, how could I build such a UI component > in Android. > > Thanks! > > Cindy -- 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 block incoming call in Android?
Hi All, I want to develop one call control application on android. As we know android sdk does not provide any API which block incoming call due to security reasion. Is there any possiablity to block incoming call using android open source api;s? Please help me. Thanks, Jitendra Kumar -- 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 Freezes when doing automation / Not detecting device with ADB 1.0.25
Try re-setting the adb. Run these commands adb kill-server adb start-server And then try . This should work. Thanks and Regards, Kumar Bibek On Mar 10, 8:30 pm, GK Gupta wrote: > Hi, > I am using Android tools rev4, which shows adb version as 1.0.25 and > my device is a 2.1 android device. When I do> adb start-server > > * daemon not running. starting it now * > * daemon started successfully *> adb devices > > List of devices attached > > It does not shows device attached, but for the same device if I use > adb version 1.0.20 It shows up me the device with state as device. > > So Now when I execute commands using "adb shell" in loop, then it > freezes after some time and do not proceed. > Can anyone help me in this regard ? Why it's freezing ? Is there any > solution to this? -- 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 to block incoming call in Android?
Not possible. Thanks and Regards, Kumar Bibek On Mar 10, 2:40 pm, jitendra kumar wrote: > Hi All, > > I want to develop one call control application on android. As we know > android sdk does not provide any API which block incoming call due to > security reasion. > > Is there any possiablity to block incoming call using android open source > api;s? > > Please help me. > > Thanks, > Jitendra Kumar -- 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: Which API Level to target
Targetting 1.5 would be the safest. But, you can gradually shift to 1.6 when the next SDK comes out. But again, it depends on your app. If you are using some things that are only available on 16 and up, you do not have a choice. And also, if you have taken care of multiple screen sizes, which is a feature in 1.6 and up, you cannot compile your code for 1.5. Thanks and Regards, Kumar Bibek. On Mar 11, 9:43 am, jb wrote: > Hi, > > Very basic, newbie question. I'm new to the Android world. I'm nearing > completion of a port of my iPhone app to Android. The uncertainty I > have is what API Level to target. I've only tested on the emulator at > 2.1 and 1.6. > > Any suggestions, ideas, things to consider? > > TIA, > > jb -- 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 to reset the price of application
"promote your app free for 24H or more" That's a nice idea. Ummm, Google doesn't seem to be working on the Android Market. :( Thanks and Regards, Kumar Bibek On Mar 11, 8:22 am, Carlo wrote: > Google folks are very wise and kudos to them for installing such of > good market policy to prevent the market to be hijacked by the > "promote your app free for 24H or more" , what about a "promote your > very good paid app for 24H or more" ? ;) > > > You cannot make a free application not-free, sorry! > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > Android 2.0 Programming Books:http://commonsware.com/books -- 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: Client Twitter and Android
I think you should re-use the apps that already exist without re- writing. Contact Twidroid and Seismic and see if they have any feature wherein you can send a tweet through there apps. Twidroid has. Don't know about Seismic. The whole purpose of the implicit Intent Mechanism is for different apps to talk to each other. Why should you re-write the same thing which is already available. Thanks and Regards, Kumar Bibek On Mar 11, 1:00 am, Thomas Riley wrote: > +1 on JTwitter. > > Was playing around with it the other week and it works well. > > On Mar 10, 7:56 pm, Mark Murphy wrote: > > > David Toledo wrote: > > > Excuse me. some client that is api "jar" and can using in the development > > > JTwitter works: > > >http://github.com/commonsguy/cw-andtutorials/tree/master/16-JAR/ > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > _The Busy Coder's Guide to *Advanced* Android Development_ > > Version 1.3 Available! -- 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: Restart LogCat without restarting eclipse?
>From the command line, run these commands, adb kill-server adb start-server Thanks and Regards, Kumar Bibek On Mar 10, 11:25 pm, Mike dg wrote: > Click the DDMS tab and ini the device tab there should be a "down > arrow button" next to the screenshot button. Press that and all the > way at the bottom should be reset ADB. > Hope this helps. > > Mike dg > > On Mar 10, 1:09 pm, DCheeseman wrote: > > > I was wondering if anyone knew how to restart LogCat without rebooting > > eclipse? Every once in a while LogCat will just die while I'm working > > and it seems like there should be a to get it working again. I've > > tried restarting the adb task, but that was just a haphazard guess at > > a solution. Any help? Any sentiment towards this annoying issue? -- 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 to launch YouTube with specified keywords?
Try this. Intent intent = new Intent(Intent.ACTION_SEARCH); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Here, you will get a Chooser activity. Now when you select Youtube, you will get video results for Android. Thanks and Regards, Kumar Bibek On Mar 11, 6:28 am, "David" wrote: > Dear All, > > I want launch the YouTube with specified video searching list at > startup(e.g I want YouTube shows the video list all related with the key > word "Susan" and "U.S" in the first page.) > > But The YouTube application is not open source in Éclair, would you > please tell me which YuTube API can implement this feature? > > Thanks, > > Best Regards, > > David -- 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: Client Twitter and Android
There are apis for almost everything. You just need to search for them. You would find those most probably on facebook developer site itself On Mar 11, 10:00 am, David Toledo wrote: > Thanks. exists api similar for the facebook? > > 2010/3/10 Thomas Riley > > > +1 on JTwitter. > > > Was playing around with it the other week and it works well. > > > On Mar 10, 7:56 pm, Mark Murphy wrote: > > > David Toledo wrote: > > > > Excuse me. some client that is api "jar" and can using in the > > development > > > > JTwitter works: > > > >http://github.com/commonsguy/cw-andtutorials/tree/master/16-JAR/ > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com| > >http://twitter.com/commonsguy > > > > _The Busy Coder's Guide to *Advanced* Android Development_ > > > Version 1.3 Available! > > > -- > > 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] Where is the source project location of YouTube in Eclair?
Intent intent = new Intent(Intent.ACTION_SEARCH); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Try this. It will open a Resolver activity. When you choose Youtube, it will show you video results for Android. Thanks and Regards, Kumar Bibek On Mar 10, 10:22 am, "David" wrote: > I searched "video intents', but did not match any documents by Google code > search, can you show me some reference code on how to launch YouTube with > special key words? > > Thanks, > > David > > _ > > 发件人: android-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] 代表 Mike Novak > 发送时间: 2010年3月10日 11:17 > 收件人: android-developers@googlegroups.com > 主题: Re: [android-developers] Where is the source project location of > YouTube in Eclair? > > The YouTube application is not open source.Try a google code search for > video intents. > > Mike > > On 03/09/2010 10:02 PM, android joy wrote: > > Hi All, > > I want launch the YouTube with specified video searching list at > startup(e.g I want YouTube shows the vidoe list all releated with the key > word "susan" and "U.S" in the first page.) > > so I downloaded all the source code of Elcair, but I can't find the > source code for youtube.apk. > > would you please tell me where is the source project location, or is > there a YuTube API can implement this feature? > > Thanks, > > Best Regards, > David > > -- > 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 > athttp://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 > athttp://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: Custom Spinner
It is possible. But we need to know first what your requirements are. You can fully customize any widget. Thanks and Regards, Kumar Bibek. On Mar 9, 6:42 pm, mmkr wrote: > Hi all, > > The default drop down view of the spinner occupies the entire > width of the screen. I tried to create a custom spinner which occupies > only some portion of the width of the screen, but I'm unable to do. I > want to see the objects behind the drop down. Here is what i tried, I > changed the drop down view as, > > adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item); > instead of > > adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); > > In the layout.simple_spinner_dropdown_item.xml file I specified the > width, but it still occupies the entire width. Can any one help. Is > there any other view which is similar to spinner but I should be able > to see the background objects like a alert dialog. Is it really > possible? Please reply. > > Thank you. -- 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 to launch YouTube with specified keywords?
This works Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setPackage("com.google.android.youtube"); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Thanks and Regards, Kumar Bibek. On Mar 11, 10:13 am, Kumar Bibek wrote: > Try this. > > Intent intent = new Intent(Intent.ACTION_SEARCH); > intent.putExtra("query", "Android"); > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(intent); > > Here, you will get a Chooser activity. Now when you select Youtube, > you will get video results for Android. > > Thanks and Regards, > Kumar Bibek > > On Mar 11, 6:28 am, "David" wrote: > > > Dear All, > > > I want launch the YouTube with specified video searching list at > > startup(e.g I want YouTube shows the video list all related with the key > > word "Susan" and "U.S" in the first page.) > > > But The YouTube application is not open source in Éclair, would you > > please tell me which YuTube API can implement this feature? > > > Thanks, > > > Best Regards, > > > David -- 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] Where is th e source project location of YouTube in Eclair?
This works Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setPackage("com.google.android.youtube"); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Thanks and Regards, Kumar Bibek. On Mar 11, 1:21 pm, "David" wrote: > Actually, I tried like this: > Intent intent = new Intent(Intent.ACTION_SEARCH); > > intent.setClassName("com.google.android.youtube", > "com.google.android.youtube.QueryActivity"); > intent.putExtra("query", "Susan, American"); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(intent); > > but occurred android.content.ActivityNotFoundException: Unable to find > explicit activity class > {com.google.android.youtube/com.google.android.youtube.QueryActivity}; have > you declared this activity in your AndroidManifest.xml? > > So I think I got the wrong YouTube package name and QueryActivity name. > > Who know what's the exactly package name and QueryActivity name for YouTube > in Éclair? > > Thanks in advance. > > Best Regards, > David > > -邮件原件- > 发件人: android-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] 代表 a a > 发送时间: 2010年3月11日 16:00 > 收件人: android-developers@googlegroups.com > 主题: Re: 答复: [android-developers] Where is the source project location of > YouTube in Eclair? > > Dear kumar, > > David what's to invoke the yutube only, and invoke it directly, not > like you gave he method that list all of the activity and let user to > choose.. > > Dear David, > > i'm harvey, you konw me..hahaDo you know how to translate the > > "放長線調大魚" with english? > > -- > 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 > athttp://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 to launch YouTube with specified keywords?
Check this link http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-android.html Thanks and Regards, Kumar Bibek On Mar 11, 5:01 pm, Kumar Bibek wrote: > This works > > Intent intent = new Intent(Intent.ACTION_SEARCH); > intent.setPackage("com.google.android.youtube"); > intent.putExtra("query", "Android"); > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(intent); > > Thanks and Regards, > Kumar Bibek. > On Mar 11, 10:13 am, Kumar Bibek wrote: > > > Try this. > > > Intent intent = new Intent(Intent.ACTION_SEARCH); > > intent.putExtra("query", "Android"); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > startActivity(intent); > > > Here, you will get a Chooser activity. Now when you select Youtube, > > you will get video results for Android. > > > Thanks and Regards, > > Kumar Bibek > > > On Mar 11, 6:28 am, "David" wrote: > > > > Dear All, > > > > I want launch the YouTube with specified video searching list at > > > startup(e.g I want YouTube shows the video list all related with the key > > > word "Susan" and "U.S" in the first page.) > > > > But The YouTube application is not open source in Éclair, would > > > you > > > please tell me which YuTube API can implement this feature? > > > > Thanks, > > > > Best Regards, > > > > David -- 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] Where is th e source project location of YouTube in Eclair?
Check this link http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-android.html Thanks and Regards, Kumar Bibek On Mar 11, 5:01 pm, Kumar Bibek wrote: > This works > > Intent intent = new Intent(Intent.ACTION_SEARCH); > intent.setPackage("com.google.android.youtube"); > intent.putExtra("query", "Android"); > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > startActivity(intent); > > Thanks and Regards, > Kumar Bibek. > > On Mar 11, 1:21 pm, "David" wrote: > > > Actually, I tried like this: > > Intent intent = new Intent(Intent.ACTION_SEARCH); > > > > intent.setClassName("com.google.android.youtube", > > "com.google.android.youtube.QueryActivity"); > > intent.putExtra("query", "Susan, American"); > > > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > startActivity(intent); > > > but occurred android.content.ActivityNotFoundException: Unable to find > > explicit activity class > > {com.google.android.youtube/com.google.android.youtube.QueryActivity}; have > > you declared this activity in your AndroidManifest.xml? > > > So I think I got the wrong YouTube package name and QueryActivity name. > > > Who know what's the exactly package name and QueryActivity name for YouTube > > in Éclair? > > > Thanks in advance. > > > Best Regards, > > David > > > -邮件原件- > > 发件人: android-developers@googlegroups.com > > [mailto:android-develop...@googlegroups.com] 代表 a a > > 发送时间: 2010年3月11日 16:00 > > 收件人: android-developers@googlegroups.com > > 主题: Re: 答复: [android-developers] Where is the source project location of > > YouTube in Eclair? > > > Dear kumar, > > > David what's to invoke the yutube only, and invoke it directly, not > > like you gave he method that list all of the activity and let user to > > choose.. > > > Dear David, > > > i'm harvey, you konw me..hahaDo you know how to translate the > > > > "放長線調大魚" with english? > > > -- > > 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 > > athttp://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: updating app on android market using different name
I think you can just make the change. It should work. Thanks and Regards, Kumar Bibek On Mar 11, 4:51 pm, Yahel wrote: > Hi, > > I believe only the package name have a significance. > > You can just change the name of your app (eg. /res/strings.xml/ > appname), and resubmit it. > > Beside in the market you have a field for the AppName, which I believe > is the name used when browsing the market. > > Anyway, the submit process won't let you mess with it, you can try and > upload your new app with a new name and the same package name on top > of your old one. If it is not allowed the market will tell you and > refuse your new version. > > You can also try with a dummy app you make just for testing purpose. > You simply won't publish it and remove it afterwards. > > I say that from the top of my head, so please come back afterward and > tell us how you did. > > Good luck. > > Yahel -- 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 to use built in email application to send email from my application
Use this code. Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setData(Uri.parse("mailto:t...@gmail.com";)); intent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); intent.putExtra(Intent.EXTRA_TEXT, "this is the body of the mail"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); Thanks and Regards, Kumar Bibek On Mar 11, 5:47 pm, Satish wrote: > Hello, > > I want is to automatically compose an e-mail with a > subject line, recipient address and an image attachment, and an e-mail > app should then pop up with this automatically composed message, to > let the user decide whether to send, edit or discard the message. > > 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: HTML content on AppWidget
You cannot use a WebView on a widget. However, you can use TextView and convert a HTML string to Spannable string and set it to the TextView. It will show the simple formatted stuff. Thanks and Regards, Kumar Bibek On Mar 10, 1:16 pm, Deepak wrote: > Hello Guys, > > I need to know if it is possible to display HTML content on an > AppWidget. As for my research in this regards, I came across WebView > which can easily display HTML content on the window but it needs an > activity class to make a view of it, while AppWidgets can reside on > the homescreen easily. But I am not sure about there capabilities > about displying any HTML content. > Is there any way it can be doneplease do let me know.. > Thanks, > Deepak Tyagi -- 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 to run a prefs activity from my widget !!
Hi, It's called the ConfigureActivity http://developer.android.com/guide/topics/appwidgets/index.html#Configuring Thanks and Regards, Kumar Bibek On Mar 11, 2:30 pm, Frandroid wrote: > Hi droids! > > I havnt found any solution to my problem plz help ! > > Situation : I've made an application for network monitoring "Myapp" > under com.domain.monitor package and which contains a Prefs-activity . > After that , I made a widget to let the admin keep an eye on hosts > status "the information is presented as a graph in the widget" , also > the widget has it's own package different of the Myapp's one & has a > unique Prefs button ! (complicated Crying or Very sad , I know) > > The Problem : Is there any way To run Myapp and show the prefs- > acitvity by clicking on the widget's buttton !!! -- 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: help
What I can figure out is that you are using localhost. Instead, give the IP of your machine, and it will work. The app running on the emulator doesn't recognize the localhost as the localhost of your system. This should fix your problem. Thanks and Regards, Kumar Bibek On Mar 11, 2:04 pm, subrat kumar panda wrote: > hello all, > subrat here.im struggling with android soap which not getting any respone from > axis server.currently i want 2 authenticate the username & password. > im sending my client code. > help me, plz. > > android-client.txt > 4KViewDownload -- 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: ViewFlipper caching issue
You can try animating the view flipper. in the flipper, there's a method to animate. AnimationUtils class should be used to do this. Thanks and Regards, Kumar Bibek On Mar 11, 1:33 pm, Farha Ansari wrote: > The views are not cached in a ViewFlipper. Is there a way wherein we > can get an image of the view and show it to user so that he sees the > Ui as we see on Home scrren(when we swipe the previous view also moves > along and when we lift our finger, only then the next view is shown > completely.) > > What I want to do is that when the user starts moving his finegr on > screen, the view should also move along(create an image of view). > > I am not getting to do this, as when we swipe the present view goes > and next view comes, we do not get both visible when we r moving our > finger on screen. > > Please if anyone gets what I am trying to do, do help me. > > Thanks, > Farha -- 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: Not able to see EmailProvider.db in file explorer (DDMS)
Even if you figure out this time, it might change in the future. This is not the correct way of accessing the ContentProvider. The content provider should be public and well documented. Use only the constants mentioned in the docs and then your code won't break with the future releases. Thanks and Regards, Kumar Bibek On Mar 12, 10:03 am, Android Developer wrote: > Hi, > > In the email application, EmailProvider.db is not seen. Can anyone > tell me how to retrieve the same? > Earlier in eclair code it was present in data/data/com.android.email/ > databases/EmailProvider.db > > So how do we retrieve the same? > > Regards > Kavitha -- 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: TextView before ListView
This looks good to me.. Thanks and Regards, Kumar Bibek On Mar 12, 8:06 am, Brion Emde wrote: > Maybe I'm not understanding what the question is; you be the judge. > With this layout: > > > http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:visibility="gone" > /> > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:text="@string/default_search_header" > /> > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:gravity="center_horizontal" > /> > android:layout_width="fill_parent" > android:layout_height="0dip" > android:layout_weight="1" > android:transcriptMode="normal" > /> > > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:background="#00" > android:src="@drawable/beer" > android:scaleType="centerCrop" > /> > > > > I produce this layout on > Android:http://picasaweb.google.com/lh/photo/3fBAdPCyjWVMOHhixCENkg?authkey=G... > > On Mar 11, 4:21 pm, Bob Kerns wrote: > > > Are you sure? This sounds like exactly what I was asking earlier > > today, based on my experience with Spinner. I speculated that ListView > > might exhibit the same behavior. > > > You describe the behavior I was expecting. Instead, the Spinner > > ignored all constraints. If I put it first in the layout, it would > > overlay or squeeze out the text. (I forget what distinguished the two > > behaviors). > > > If I put it second, the text would fail to wrap and the Spinner would > > get squeezed out. I just could not get the Adapter-supplied views to > > participate in the sizing process. > > > I expect that I could have given it a fixed size, but that would be a > > bug itself. > > > I don't have time to try it again with ListViews at the moment, but if > > anyone can confirm this working, especially with RelativeLayout, I'd > > appreciate it. > > > On Mar 11, 10:35 am, Brion Emde wrote: > > > > You can totally do this. > > > > Make sure that your TextView is set to > > > android:layout_height="wrap_content" and not to "fill_parent". That > > > will surely do what you are describing. > > > > --- > > > > On Mar 11, 5:35 am, Pipen wrote: > > > > > Dear All, > > > > > I've tried to add a TextView before a ListView in a LinearLayout. The > > > > result is that the ListView wont show at all. The same thing happens > > > > if I put the TextView after the ListView, but then I will only see the > > > > ListView. > > > > > Is there a way to get a text view above the ListView without to much > > > > of a hassle? > > > > > Kind regards -- 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 Virtual Devices, can i uses it to simulate a android phone with most if not all features
You wont get settings for WIFI, accelerometer, GPS(not directly) and bluetooth and stuff like that. You can do everything else. Thanks and Regards, Kumar Bibek On Mar 12, 4:43 am, Cobra wrote: > any help?? > > On Mar 11, 1:00 am, Cobra wrote: > > > Hi, I want to gain expedience with goggle android both to help people > > with the likes of setting up email and connecting to wifi, and to > > gain some expeinces before i start to try and develop a app for them> > > > I am hoping to do this by using AVD. > > > Will ADV be able to give me most if not all the menu like settings > > (email, network, wifi, programs, ect ect) as well as being able to > > simulate sending email, sms ect > > > Many thanks > > > D -- 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: Not able to see EmailProvider.db in file explorer (DDMS)
Then you should refrain from using it. It's not meant to be used by other apps. Nobody will stop you from using it, but it might not work with future releases. Thanks and Regards, Kumar Bibek On Mar 12, 10:13 am, kavitha sunil wrote: > But Email Content provider is not public. it is private to the application > right? > > On Fri, Mar 12, 2010 at 10:38 AM, Kumar Bibek wrote: > > Even if you figure out this time, it might change in the future. This > > is not the correct way of accessing the ContentProvider. > > > The content provider should be public and well documented. Use only > > the constants mentioned in the docs and then your code won't break > > with the future releases. > > > Thanks and Regards, > > Kumar Bibek > > > On Mar 12, 10:03 am, Android Developer > > wrote: > > > Hi, > > > > In the email application, EmailProvider.db is not seen. Can anyone > > > tell me how to retrieve the same? > > > Earlier in eclair code it was present in data/data/com.android.email/ > > > databases/EmailProvider.db > > > > So how do we retrieve the same? > > > > Regards > > > Kavitha > > > -- > > 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: How to launch Y ouTube with specified keywords?
It works for me, I checked with 3-4 queries. Thanks and Regards, Kumar Bibek On Mar 12, 1:34 pm, "David" wrote: > Got you and this article is great! > > But If you searched with YouTube by some keyword, even you changed the > keyword for the second time, YouTube won't renew the Result list, that means > on this way, YouTube will always shows the result list by the keyword which > inputted at the very first time. > > Thanks, > > Best Regards, > David > > -邮件原件- > 发件人: android-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] 代表 Kumar Bibek > 发送时间: 2010年3月11日 20:12 > 收件人: Android Developers > 主题: [android-developers] Re: How to launch YouTube with specified keywords? > > Check this link > > http://tech-droid.blogspot.com/2010/03/youtube-intent-for-search-in-a... > > Thanks and Regards, > Kumar Bibek > > On Mar 11, 5:01 pm, Kumar Bibek wrote: > > > > > This works > > > Intent intent = new Intent(Intent.ACTION_SEARCH); > > intent.setPackage("com.google.android.youtube"); > > intent.putExtra("query", "Android"); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > startActivity(intent); > > > Thanks and Regards, > > Kumar Bibek. > > On Mar 11, 10:13 am, Kumar Bibek wrote: > > > > Try this. > > > > Intent intent = new Intent(Intent.ACTION_SEARCH); > > > intent.putExtra("query", "Android"); > > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > > startActivity(intent); > > > > Here, you will get a Chooser activity. Now when you select Youtube, > > > you will get video results for Android. > > > > Thanks and Regards, > > > Kumar Bibek > > > > On Mar 11, 6:28 am, "David" wrote: > > > > > Dear All, > > > > > I want launch the YouTube with specified video searching list > > > > at > > > > startup(e.g I want YouTube shows the video list all related with the key > > > > word "Susan" and "U.S" in the first page.) > > > > > But The YouTube application is not open source in Éclair, would > > > > you > > > > please tell me which YuTube API can implement this feature? > > > > > Thanks, > > > > > Best Regards, > > > > > David > > -- > 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 > athttp://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 to save files?
Try this FileWriter fw = new FileWriter("/sdcard/test.txt"); fw.write("Test text"); fw.flush(); fw.close(); Thanks and Regards, Kumar Bibek On Mar 12, 9:55 pm, TreKing wrote: > On Fri, Mar 12, 2010 at 10:25 AM, Nox wrote: > > Do you know how to save files? > > Yes, I read the > documentation:http://developer.android.com/intl/de/guide/topics/data/data-storage.h... > > - > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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: very urgent.. problem in writing file..
Try this, FileWriter fw = new FileWriter("/sdcard/text.txt"); fw.write("some text"); fw.flush(); fw.close(); Thanks and Regards, Kumar Bibek On Mar 13, 9:19 am, Farproc wrote: > Basically you can not modify the resources of your app. > They are read-only after build. > > You can write data to sd card and modify it then use. > > On Mar 12, 10:07 pm, RV wrote: > > > Hi, > > I am stuck on this for a very long. > > I have my txt file in res/raw/myfile.txt. > > I want to append some text into this file. But I am unable to do so. > > I used the code as follows: > > > FileOutputStream out = context.openFileOutput( > > > > "res/raw/myfile.txt", > > > > Context.MODE_WORLD_WRITEABLE > > | > > Context.MODE_APPEND); > > > OutputStreamWriter osw = new > > OutputStreamWriter(out); > > > osw.write(entry); > > osw.flush(); > > osw.close(); > > > It is not giving any error but also do nothing to my file. > > > Also How could I edit only the 1st line of my file. (my file contain > > huge data.) > > > Any help will be appreciated. > > > Thank you > > > RV -- 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 can i call one activity to other activity without using intents and services
Why would you want to do it? Intents are the best and the only way to achieve this. Are you having problems with the Intent mechanism? Thanks and Regards, Kumar Bibek On Mar 14, 9:57 am, murali raju wrote: > Hi satish, > > It is not possible.. > > On Fri, Mar 12, 2010 at 1:31 PM, satish k wrote: > > > On Fri, Mar 12, 2010 at 1:30 PM, satish k wrote: > > >> Hi All, > > >> How can i call one activity to other activity without using intents and > >> services > > >> is there any solution for this > > >> please help me > > >> cheers, > >> k.satish > > > -- > > 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: NoClassDefFoundError for gdata CalendarService class
It doesn't really matter if you create a lib folder and put the jars and link them. It just works if you have added the jars the the build path. Though I am not able to figure out why you are getting this error. > But I *highly* recommend not using Eclipse for your production builds, > but rather have a build script that handles checkout, version > numbering, naming the resulting builds, etc. Well, as far as developing with Eclipse is concerned, I would say that eclipse is the best and the only IDE available for Android. You can also try Motodev Studio, but that's almost similar to eclipse. Learning Android command line tools is great, but eclipse does make your development and publishing task a lot easier. Thanks and Regards, Kumar Bibek On Mar 14, 8:54 am, Bob Kerns wrote: > What I do is to create a libs/ directory in Eclipse, and add them to > the Eclipse build path. Android Tools/Export Signed Application > Properties works fine. > > But I *highly* recommend not using Eclipse for your production builds, > but rather have a build script that handles checkout, version > numbering, naming the resulting builds, etc. A disciplined build > process greatly reduces the possibility of confusion and mistakes > making it into customer's hands. > > Unforutnately, the way Eclipse does things, that means two different > build methodologies; one for debugging, one for production. > Fortunately, the Eclipse side of that is generally pretty painless, > and the 'android' command gives you a leg up on an ant script for the > production builds. > > But as to your problem. If you have a 3rd party jar file which is > working fine, and it's set up the same way, then the way it's set up > isn't really the problem. You need to find out what the problem is. > > NoClassDefFoundError does not mean what you think it means. Reading > the name, you'd think it means what ClassNotFoundException means. > > No, what it means is that while LOADING a class, and probably while > actually running the static initializers of a class, an exception was > encountered. If that happens, you don't get a reference to the class, > and NoClassDefFoundError is thrown. > > Unfortunately, you don't get told what the problem was. So you have to > use the debugger to figure it out. Set an exception breakpoint on > NoClassDefFoundError, and ones for Exception and Error, and run your > code. This should expose what the original problem was. > > I can never understand why NoClassDefFoundError doesn't include the > original cause -- it really makes such problems a lot more obscure > than they need to be. > > On Mar 13, 4:00 pm, Tom wrote: > > > I created the libs directory where you specified and copied the > > gdata .jar files in there, then from Eclipse ran "Export" project, > > then installed on the phone - but with the same result - > > NoClassDefFoundError for CalendarService. > > > It seems that Eclipse is "silently" failing to handle the gdata jar > > files somehow - my project contains another 3rd party jar file which > > appears to work just fine. > > > Something tells me that I have to stop relying on Eclipse and actually > > learn how to use the Android SDK command-line tools... I knew it > > wouldn't be this easy. ;-) > > > Thanks for all of your help. > > > On Mar 13, 3:24 pm, Mark Murphy wrote: > > > > Tom wrote: > > > >>> This code compiles with no errors, using Eclipse on MacOS, using > > > >>> external jar files from the Google gdata project: > > > >>> gdata/java/lib/gdata-calendar-2.0.jar > > > >>> gdata/java/lib/gdata-calendar-meta-2.0.jar > > > >> Did you copy these into your project's libs/ directory? > > > > > No, I merely specified the path to the external jar in the Eclipse > > > > "Java build path" libraries dialog. This seemed to work for other > > > > projects I've developed. I look in my Eclipse project workspace and > > > > see assets, bin, gen, res, and src directories but no libs. Where > > > > should that directory appear? > > > > As a peer to assets/, bin/, gen/, res/, and src/. > > > > Now, it is conceivable that Eclipse handles things differently. I don't > > > use Eclipse, and from the command line, just dropping the dependent JARs > > > in libs/ is all you need. My recommendation to my students is that they > > > put their dependent JARs in libs/ plus add them to the Eclipse build path. > > > > -- > > > Mark Murphy (a Commons > > > Guy)http://commonsware.com|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: Saving/Restoring List
Yes this is a Java question. You cannot serialize a list. If you want that, then you can create your own Custom list, extending from ArrayList/List which implements Serializable. And then you can do what you need to do. Thanks and Regards, Kumar Bibek On Mar 15, 12:00 am, Ferm wrote: > Maybe this is more of a Java question.. > > I have a java.utils.List populated with instances of my own class. I > want to save them and have them restored when running the app again. > > I'm thinking of saving it as a string in SharedPreferences. I need to > serialize everything so I guess my CustomClass needs to implement > Serializeable.. but List does not implement it. I was hoping to just > call serialize on the list and the list would call serialize on all > its items. > > How would you do it? > > Thx -- 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: Saving/Restoring List
But I couldn't think of s situation where you will need it. Shared preferences are not a way to store your data. Either use the database or a file(xml). Thanks and Regards, Kumar Bibek On Mar 15, 10:22 am, Kumar Bibek wrote: > Yes this is a Java question. You cannot serialize a list. If you want > that, then you can create your own Custom list, extending from > ArrayList/List which implements Serializable. > > And then you can do what you need to do. > > Thanks and Regards, > Kumar Bibek > > On Mar 15, 12:00 am, Ferm wrote: > > > Maybe this is more of a Java question.. > > > I have a java.utils.List populated with instances of my own class. I > > want to save them and have them restored when running the app again. > > > I'm thinking of saving it as a string in SharedPreferences. I need to > > serialize everything so I guess my CustomClass needs to implement > > Serializeable.. but List does not implement it. I was hoping to just > > call serialize on the list and the list would call serialize on all > > its items. > > > How would you do it? > > > Thx -- 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: What xml encodings work for non-europian languages
UTF-8 is the de-facto standard for encoding. You can find all the encoding types in the Http class. Thanks and Regards, Kumar Bibek On Mar 16, 1:15 am, Nikolay Ananiev wrote: > Just use UTF-8 encoding and everything should work fine. UTF-8 is like > magic! > > On Mon, Mar 15, 2010 at 10:07 PM, lordjoe wrote: > > Assume I want to write an xml resource file with a a non-europian > > language, say > > japanese, thai or chinese- What encodings can I use and > > what do I have to to to both the xml header and the Writer to makes > > these work - > > Also is there an easy way to map a Locale into acceptable encodings > > > -- > > 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: ADB bug: italic TextView disappears
Oh yeah, I have seen that too. But when you run your app, it renders correctly. So I never cared to file it as a bug. Thanks and Regards, Kumar Bibek On Mar 16, 12:14 am, Marco Alexander Schmitz wrote: > dear developers, > > I am layouting my xml file with eclipse using adb. > > Changing the Text Style to italic makes the whole TextView disappears : > ( > > Greetings, > Marco -- 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: cacerts.bks availability on device
Yes, this would be available in all the devices. This is a storehouse of all the valid certificates that Android(Browser and other apps) accepts by default. But, I guess, with this fact, you don;t have much freedom to do anything with this file. You cannot edit this file from your program if that is what you are looking for. You cannot even update this file on a device through the adb. Thanks and Regards, Kumar Bibek On Mar 15, 12:19 pm, p c wrote: > cacerts.bks is a certificate store, which is present on Droid at the > location /system/etc/security/cacerts.bks. > > Would this certificate store be present on all the devices ? I > searched through the Android documentation but could not find any > mention of it. > > Does the default Android browser and mail client use it ? If not do > they ship with their own certificate store ? -- 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: Problem of Installation ADP Plugininto Eclipse
I guess, there's a conflict between older versions of the plugin. Do an uninstall and a re-install of the plugin. That should solve your problem. Thanks and Regards, Kumar Bibek On Mar 15, 4:25 am, 浩(Hao) 冯(Feng) wrote: > Hi, > I have met a problem when I try to install the ADP Plugin into > Eclipse. > The error logs are showed as follows. > > Cannot complete the install because one or more required items could > not be found. > Software being installed: Android Development Tools > 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group > 0.9.6.v201002051504-24846) > Missing requirement: Android Development Tools > 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group > 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.sse.core 0.0.0' > but it could not be found > > best > hao -- 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: Getting quick location fix in alarm service
While trying to get the location, request for location updates. And then, on Location changed method, retrieve the location.Using the Network provider gives you a fix faster than GPS, normally. GPS will be faster than network when you are away from any signal, but you are out in the open. Thanks and Regards, Kumar Bibek On Mar 15, 10:15 pm, Franklin wrote: > By the way, I need to add that I'm talking about a location fix by > means of wireless networks and not by GPS satellites. -- 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: Custom Dialog
Try getBaseContext(); Thanks and Regards, Kumar Bibek On Mar 16, 1:50 am, Dirk Vranckaert wrote: > I'm trying to create a custom dialog in my application to show an > about window but it ain't working. Maybe one of you knows a solution? > > So I have an activity with the onCreateDialog(int id) overriden in it: > > @Override > protected Dialog onCreateDialog(int id) { > Dialog dialog = null; > switch (id) { > case EPISODE_LOADING_DIALOG: > ... > case EXCEPTION_DIALOG: > ... > case ABOUT_DIALOG: > dialog = new Dialog(getApplicationContext()); > dialog.setContentView(R.layout.aboutdialog); > dialog.setTitle("MyTitle"); > break; > default: > ... > } > return dialog; > } > > My aboutdialog layout files looks like this: > > http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:padding="10dp" > > > android:layout_width="wrap_content" > android:layout_height="fill_parent" > android:textColor="#FFF" > android:text="@string/aboutText" > /> > > > This is exactly as described > here:http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog > However this my exception thrown: > > 03-15 21:48:32.055: ERROR/AndroidRuntime(2004): Uncaught handler: > thread main exiting due to uncaught exception > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): > android.view.WindowManager$BadTokenException: Unable to add window -- > token null is not for an application > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.ViewRoot.setView(ViewRoot.java:429) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.WindowManagerImpl.addView(WindowManagerImpl.java:178) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.app.Dialog.show(Dialog.java:231) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.app.Activity.showDialog(Activity.java:2407) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > eu.vranckaert.episodeWatcher.EpisodesWatchListActivity.onOptionsItemSelected(EpisodesWatchListActivity.java: > 130) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.app.Activity.onMenuItemSelected(Activity.java:2085) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java: > 820) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java: > 139) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java: > 813) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java: > 519) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java: > 122) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.View.onTouchEvent(View.java:3828) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.widget.TextView.onTouchEvent(TextView.java:6291) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.View.dispatchTouchEvent(View.java:3368) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > com.android.internal.policy.impl.PhoneWindow > $DecorView.dispatchTouchEvent(PhoneWindow.java:1691) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.view.ViewRoot.handleMessage(ViewRoot.java:1525) > 03-15 21:48:32.130: ERROR/AndroidRuntime(2004): at > android.os.Handler.dispatchMessage(Ha
[android-developers] Re: AVD which resembles the Nexus One?
Try with WVGA800 and SDK 2.1 or 2.0 Thanks and Regards, Kumar Bibek On Mar 16, 1:10 pm, petter wrote: > Where can I find an AVD or AVD spec for the emulator which match the > Nexus One? -- 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: Is it possible to know when the network went down/up?
You can listen to the Network state intents. Write a receiver for these events and you will know when the network state changes. Thanks and Regards, Kumar Bibek On Mar 16, 4:57 pm, Cleverson wrote: > Hi, > > I would like to be able to get events from the platform telling when > the network coverage has been lost and, after, recovered. Is that > possible? > Thanks in advance! > > Cleverson -- 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: Some Queries about ListView
Yes, the ListView is fully customisable. Look for some examples on the net. http://tech-droid.blogspot.com/2009/07/custom-listview-for-android.html Thanks and Regards, Kumar Bibek On Mar 16, 2:14 pm, SheikhAman wrote: > Hello all. > I am very new to Android, but I love it because it has given me back > what i was longing for : Java. > > but I am facing some doubts and confusions about is, since I am > totally new to Mobile App Development. :-| > > I am listing my queries here- > > 1.) I wish to put various items in a single element of a ListView. > Like one image in the left, so many > TextViews in a single element, and more things. Is it possible? > > 2.) I wish to give my text different colors, different sizes, and > different fonts. > how to do this? > > 3.) I wish to insert or delete elements from a List in ListView. How > to do that? > > 4.) I wish to change the background color of my list. how to do this? > > Please reply so that i can advance with my programming. > Thanks in advance 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
[android-developers] Re: removed android library
Try this, Right click on the Project. Android Tools - Fix Project Properties. If this doesn't work, right click on the project and click on properties. Select an SDK version of it is not set already. Then do a "Fix Project Properties". This should solve your problem. Thanks and Regards, Kumar Bibek On Mar 16, 9:59 am, Brian wrote: > I am using Windows and Ecilpse. Through a few mis-clicks, I removed > the Android library from my project. I am able to add the android.jar > file from the specific version I want but that is does not allow me to > run. > > In ecilpse, how do I add an Android library like 1.6 to an existing > project? -- 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: ORM tool for ANDROID Applications
ORM tools are good and efficient for large systems where you have a large backend. But for a phone, you don't have the necessary resources to cater to such complex ORM tools. Thanks and Regards, Kumar Bibek On Mar 16, 3:19 am, Hari wrote: > Hi, > I am new to ANDROID application development. I am in the process of > learning ANDROID framework and trying to understand the examples. I > noticed that the data manipulation was using native SQL. Is there a > ORM tool for ANDROID framework? (Like, Hibernate for J2EE > applications) > > Any response is greatly appreciated. > > Regards > Hari -- 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: My installed app wont display on home screen in emulator
Do you have a launcher activity in the manifest? Thanks and Regards, Kumar Bibek On Mar 16, 12:31 am, jarryd hall wrote: > Hi > > I have the emulator running in eclipse, and my app is installed, i can > view it under the manage applications option. > > But no launch button exists or any other means of running the app? > > I have read through some suggestions but haven't had any luck. > > Any help will be appreciated. > > Regards > > Jarryd -- 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: Deleting an entire table in a content provider?
Prachi's method does work. Try it out. Thanks and Regards, Kumar Bibek. On Mar 17, 11:12 am, prachi wrote: > H > > Yaa u can delete the whole table table using delete method supplying > table name and where and whereargs as null.Inside the delete method of > your contentprovider call the delete method of SQLiteDatabase. > > I guess this will work. > > On Mar 16, 1:04 pm, Makas Tzavellas wrote: > > > Can't say that I have tried this myself, but you can perhaps "cheat" > > by doing something like this > > > String where = "_id != -1"; > > > You probably would not have any id fields with negative value, so in > > theory, all records in the table should match that and therefore be > > deleted. > > > Makas > > > On Mar 16, 1:33 pm, Hugh wrote: > > > > Hello, > > > > Is it possible to delete all rows of a content provider's table with > > > the content provider's delete() method? > > > > I see that you can delete a single row, and multiple rows, but if you > > > supply no WHERE clause, will that be the same as deleting all rows? It > > > does not seem to work for me: > > > > int delRows = getContentResolver().delete(MUSIC.CONTENT_URI, null, > > > null); > > > Log.i(TAG, "number of del rows: " + delRows); > > > > How can I accomplish leaving the table structure but emptying its > > > contents using a content provider? > > > > Thanks!- Hide quoted text - > > > - Show quoted text - -- 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: Handler is not using seperate Thread
Handler is not meant to do this. Handler should be called from a background thread to update the UI. Thanks and Regards, Kumar Bibek On Mar 17, 3:03 pm, Nithin wrote: > Hi, > > For showing loading screen, in the activity's main thread, I draw > loading screen and created a handler for doing other extensive > operations like database creations, parsing etc. > > But unfortunate;y, for me, all is executing in main thread only. Seems > like Handler is not working as a seperate Thread. Any idea please.. > > Nithin -- 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] Android Map...
Hi all... can i integrate my application with the inbuilt Android Map(Google API 7 enabled device)... Actually i am showing the listing of a particular city and want to display it on Map.. pleaseAny help is 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
[android-developers] Change label of a Activity at run-time in Android
Hi.. how can i change value of a Activity label in AndroidManifest.xml file through the code in java. welcome your respose.. 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: Why add child Activities to TabActivity instead of simply using Views
Yup, If the individual activities would maintain their own activity stack, then it would have been good. I mean, from inside a tab, you launch another activity, and the new activity should be displayed inside the tab, that would have been a better use. Perhaps, the only one advantage that I can see here is that, if an Activity is being used somewhere else, other than the TabActivity, then you can write a separate Activity and then just include this activity inside a tab whenever you want. Morever, writing code for all the views for the tab inside a single Java file is too complex. Apart from this, there's no reason I can see. Thanks and Regards, Kumar Bibek On Mar 18, 6:30 am, Mark Murphy wrote: > Biosopher wrote: > > I've been programming in Android for two years now and just joined an > > Android project where they are using a TabActivity to host multiple > > Activities. It's unclear why this is better than rewriting the > > TabActivity to simply use Views instead. > > IMHO, it's not. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Training in US: 14-18 June 2010:http://bignerdranch.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: Answer automatically to Incoming Call
This is simply not possible if you are not modifying the source code. Don't waste time. Thanks and Regards, Kumar Bibek On Mar 18, 11:52 am, Andreas wrote: > Hi, > > I have not tried this, but it seems to me that you use the > ACTION_CALL_BUTTON in your code, rather than the ACTION_ANSWER, and > you should probably broadcast it using Context.sendBroadcast rather > than startActivity. Just my cents. > > Regards > > Andreas > > On Mar 18, 7:40 am, midoub wrote: > > > hello, > > I know this is not the good forum to post my question, but I need help > > and I spend 3 days to try to find solution ,but no way:(. > > I'm trying to develop application that can answer incoming call > > automatically. > > In my code I use the intent "Action_Anwser" but it's seem not work. > > The snippet of my code > > : > > public void onCallStateChanged(int state, String incomingNumber) { > > super.onCallStateChanged(state, incomingNumber); > > : > > Intent intent = new Intent(Intent.ACTION_CALL_BUTTON); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); > > startActivity(intent); > > > > Maybe I had forget the permission in manifest or somthing like this!!! > > Thanks for your help. > > best regards, -- 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: Hi All TabWidget Show is Small
I would recommend to go for a Gallery view for such a requirement. Have a look at some examples and think about it. Thanks and Regards, Kumar Bibek On Mar 18, 4:47 pm, Kantesh wrote: > Hi takky > wenever u create tab by using > TabHost.addTab(TabSpec); rite?? store all tabspecs in array list of > type tab spec > lik this ArrayList list = new > ArrayList(); and initialy show up to 3 in a for > loop ... > as u told add a button at left... set a onclick listner... wenever u > click that button show next 3 tabs... i think may work... > > On Mar 17, 4:14 pm, takky takazawa wrote: > > > Hi All > > > I'm developing application in android v.2.1. My tab host > > contain 6 tab. But All tab show smaller, How to increase tab widh ?. > > or How to show Three first tab and show button at the left sight, > > after click this button it show another tab ?. > > > Thanks in advances. -- 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: Avoid launching a task twice from notification manager
Try launching the Activity without setting the flag. Read up a bit about Tasks and Affinity. http://developer.android.com/guide/topics/fundamentals.html#acttask Thanks and Regards, Kumar Bibek On Mar 18, 10:59 pm, Loki117 wrote: > Hey Wah check out the use of a Singleton design pattern on your > receiver to a notification and create or display a Activity or I do > believe there is a manifest attribute that allows for redisplay rather > than recreate. > > On Mar 18, 1:37 pm, Wah wrote: > > > Hi all: > > > From notification manager, how do I resume a task instead of creating > > a new instance of it? > > > I want to create a link in the status bar on the phone through > > notification manager. When I click on it, I want want a particular > > task to come to the foreground. > > > However, it seems my code always launch a new task even if there is an > > existing one running. For example, I click on the link the first time, > > a task shows up. When I click the second time, I see an animated task > > showing up again ... repeat that 5 times. And then when I hit "back" > > button, the 5 instances will disappear one by one (proving it's not > > just a single instance). Very annoying. > > > Code snippet: > > === > > CharSequence text = getText(R.string.my_service_started); > > > // Set the icon, scrolling text and timestamp > > Notification notification = new Notification(R.drawable.lock, > > text, System > > .currentTimeMillis()); > > > Intent intent = new Intent(Intent.ACTION_MAIN); > > intent.addCategory(Intent.CATEGORY_LAUNCHER); > > intent.setComponent(new ComponentName(this, > > StartActivity.class.getName())); > > intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK > > | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); > > > PendingIntent contentIntent = PendingIntent.getActivity(this, 0, > > intent, 0); > > > notification.setLatestEventInfo(this, > > getText(R.string.lock_service_label), > > text, contentIntent); > > > notificationManager.notify(R.string.lock_service_started, > > notification); -- 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: NoClassDefFoundError for gdata CalendarService class
According to me, you should also add the gdata-base and gdata-client. Perhaps, here are the super classes of CalendarService. Try it once and I am sure that this will work. Thanks and Regards, Kumar Bibek On Mar 17, 4:04 am, Bob Kerns wrote: > From your log messages, I would guess that the class > com.google.gdata.client.GoogleService lives in a different .jar, that > you haven't included somehow. > > (At least, googling com.google.gdata.client.calendar.CalendarService > suggests that's the superclass in question). > > Check inside the .dex file to see if it's got the classes in question. > You can pull out the classes.dex file from the .apk using any .zip > tool, and then tear IT apart using dexdump (from the Android platform > SDK) or baksmali. > > On Mar 15, 9:00 am, Tom wrote: > > > Thanks everyone for all of your suggestions. I haven't been able to > > get the com.google.gdata classes to load properly in the emulator or > > my N1 phone. > > > The stack trace indicates that the DVM cannot load classes in the > > com.google.gdata.client packages, despite the jars being included in > > the Eclipse project. My test app generates the following messages when > > trying to instantiate a > > com.google.gdata.client.calendar.CalendarService object: > > > W/dalvikvm( 220): Unable to resolve superclass of Lcom/google/gdata/ > > client/ca > > lendar/CalendarService; (6) > > W/dalvikvm( 220): Link of class 'Lcom/google/gdata/client/calendar/ > > CalendarSe > > rvice;' failed > > E/dalvikvm( 220): Could not find class > > 'com.google.gdata.client.calendar.Cale > > ndarService', referenced from method > > com.tomoreilly.CalendarTest.onCreate > > W/dalvikvm( 220): VFY: unable to resolve new-instance 15 (Lcom/google/ > > gdata/c > > lient/calendar/CalendarService;) in Lcom/tomoreilly/CalendarTest; > > D/dalvikvm( 220): VFY: replacing opcode 0x22 at 0x0012 > > D/dalvikvm( 220): Making a copy of Lcom/tomoreilly/ > > CalendarTest;.onCreate cod > > e (608 bytes) > > W/dalvikvm( 220): Unable to resolve superclass of Lcom/google/gdata/ > > client/ca > > lendar/CalendarService; (6) > > W/dalvikvm( 220): Link of class 'Lcom/google/gdata/client/calendar/ > > CalendarSe > > rvice;' failed > > I/dalvikvm( 220): Could not find method > > com.google.gdata.client.calendar.Cale > > ndarService.setUserCredentials, referenced from method > > com.tomoreilly.Calendar > > Test.onCreate > > W/dalvikvm( 220): VFY: unable to resolve virtual method 46: Lcom/ > > google/gdata > > /client/calendar/CalendarService;.setUserCredentials (Ljava/lang/ > > String;Ljava/ > > lang/String;)V > > D/dalvikvm( 220): VFY: replacing opcode 0x6e at 0x0025 > > W/dalvikvm( 220): Unable to resolve superclass of Lcom/google/gdata/ > > data/cale > > ndar/CalendarFeed; (20) > > W/dalvikvm( 220): Link of class 'Lcom/google/gdata/data/calendar/ > > CalendarFeed > > ;' failed > > > I haven't been able to solve this specific problem, but instead have > > decided to take the alternate approach suggested by Jim Blackler > > athttp://jimblackler.net/blog/?p=151. His approach does not rely on > > com.google.gdata classes, but instead uses an Intents mechanism that > > is not documented by Google. > > > Regards, > > Tom > > > On Mar 14, 12:37 am, Bob Kerns wrote: > > > > Yes. The reason I do copy them (and recommend copying them) to a lib/ > > > directory is twofold: > > > > 1) It makes them an explicit part of your project for versioning. If > > > you use Subversion you can make these be a copy from a directory of > > > third-party components. You could copy the third-party directory for > > > tagging as well as your project, but this makes the dependency more > > > apparent. > > > > 2) It's compatible with how the ant build scripts are set up out-of- > > > the-box, so it makes it easier to transition to an ant-based > > > production build. > > > > But as you note, Eclipse doesn't really care. > > > > On Mar 13, 9:14 pm, Kumar Bibek wrote: > > > > > It doesn't really matter if you create a lib folder and put the jars > > > > and link them. It just works if you have added the jars the the build > > > > path. Though I am not able to figure out why you are getting this > > > > error. -- 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: Life cycle
onStop method is always called. But, there is noi guarantee that onDestroy will be called when the application is being killed by the OS. So, it really depends on your requirement as to which code goes where. Thanks and Regards, Kumar Bibek On Mar 18, 8:23 pm, Mark Murphy wrote: > Anzi wrote: > > 1. I want to know the behavior of activity for the cases where onStop > > and onDestroy were not called like low memory situations. > > The process is destroyed, so the activity has no more behavior. > > > 2. I was registered my handler in onCreate() and unregistring in > > onDestroy, what is the behavior if other thread sends messages to the > > registrants after the activity was killed by android without calling > > onDestroy. I know that those handler were not removed by GC as they > > are still referring by the thread. > > The process is destroyed, so the activity has no more behavior, and the > threads are terminated, so the threads cannot send messages. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 2.0 Available! -- 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: Can't dynamically update ListAdapter for ListView
What errors or problem do you get? Thanks and Regards, Kumar Bibek On Mar 19, 8:07 pm, Tatyana Ulyanova wrote: > Hello, friends! > > I have a problem with adding new items to ListView. > > I use custom adapter MyListAdapter. I do that way: > > public class MyView extends ListActivity{ > > private ArrayList m_orders = null; > privateMyListAdapter m_adapter; > private Runnable viewOrders; > > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.main); > m_orders = new ArrayList(); > this.m_adapter = new OrderAdapter(this, R.layout.row, > m_orders); > setListAdapter(this.m_adapter); > > viewOrders = new Runnable(){ > @Override > public void run() { > getOrders(); > } > }; > Thread thread = new Thread(null, viewOrders, > "MagentoBackground"); > thread.start(); > m_ProgressDialog = ProgressDialog.show(MyView.this, > "Please wait...", "Retrieving data ...", true); > } > private Runnable returnRes = new Runnable() { > > @Override > public void run() { > if(m_orders != null && m_orders.size() > 0){ > m_adapter.notifyDataSetChanged(); > for(int i=0;i m_adapter.add(m_orders.get(i)); > } > m_adapter.notifyDataSetChanged(); > } > }; > > private void getOrders(){ > try{ > m_orders.addAll(/*some order collection*/) > runOnUiThread(returnRes); > } > > private class OrderAdapter extends ArrayAdapter { > //code about how to get view > > } > } > > But when I add items to my adapter: > for(int i=0;i m_adapter.add(m_orders.get(i)); > the application hangs because of m_orders increase there size, > everytime where new item adds to adapter. > > Friends, do you have any ideas how to implement dynamically adding > items to custom ListAdapter? Do you see any errors in my code? > > Thank you very much :))) -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Regarding CTS
Hi umang, Thanks for the reply. I just got it working . I dont know what was wrong for the first time. I just restarted my system and it worked flawlessly. Thanks again. Regards, Navin. On Thu, Mar 18, 2010 at 11:26 AM, Uander wrote: > Navin , > > Here is my explanation : > > . build/envsetup.sh > > It just setup environments for your Android compilation , like on which arch > / host you are compiling and > > whats the target , which version of android file system you have . > > > > lunch 1 > Its shows you are compiling android for arm target , a generic build for > emulator .It printouts : > PLATFORM_VERSION_CODENAME=Eclair > > PLATFORM_VERSION=Eclair > TARGET_PRODUCT=generic > TARGET_BUILD_VARIANT=eng > TARGET_SIMULATOR=false > TARGET_BUILD_TYPE=release > TARGET_ARCH=arm > HOST_ARCH=x86 > HOST_OS=linux > HOST_BUILD_TYPE=release > BUILD_ID=ECLAIR > > > you can get into detail by looking into $(BUILD_SYSTEM)/product_config.mk > and > BUILD_SYSTEM)/version_defaults.mk and envsetup.mk file . > > > make cts . > This will compile your cts code . > make sure you have build/core/tasks/cts.mk ( A make file for cts compilation > . ) > > > > Where you are breaking actually ? Elaborate your error here . > > > Thanks : > Uander > > > > > > On Thu, Mar 18, 2010 at 11:11 AM, Uander wrote: > >> Lets discuss it on groups so that others can get benefits of it . >> >> - Umang >> >> -- Forwarded message -- >> From: navin kumar >> Date: Wed, Mar 17, 2010 at 4:03 PM >> Subject: Regarding CTS >> To: uandro...@gmail.com >> >> >> Hi Umang, >> >> I saw your post on android developers site. It will be great if you could >> help me. I learnt from your posts that you have build and compiled CTS. I am >> stuck at that. >> >> You have mentioned the command >> >> . build/envsetup.sh; lunch 1; make cts >> >> the shell script runs but after that the two commands just dont. and there >> is no make file for CTS. Plzz tell me how to overcome this , so that i can >> build and compile cts. >> >> Looking forward for an early reply. >> >> Thanks and regards. >> Navin. >> >> > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Additional code generation after aapt runs?
I don't think so it is possible. Thanks and Regards, Kumar Bibek On Mar 21, 8:34 pm, HippoMan wrote: > I'd like to do some additional code generation after the R.java file > has been created by aapt. Specifically, I want to auto-generate some > helper methods to retrieve items from R.java. > > Is there any way put my own, custom utility in place which will > generate this extra code as part of every Android build within > Eclipse? > > Yes, I know that I can already do this: > > String foobar = this.getString(R.string.foobar); > > I just want to generate some extra code which will allow me to so > something like the following: > > String foobar = something.getFoobar(); > > (where "something" is either a previously instantiated object or a > static class reference -- depending on how I ultimately decide to > implement this) > > This way, I won't have to keep adding, changing, and deleting these > helper methods manually in my Activity class as I change the items in > strings.xml. > > Thanks in advance for any suggestions. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: How the implicit Intent works.
What are you looking for exactly. The docs clearly explain their usage. You can also search some examples. Thanks and Regards, Kumar Bibek On Mar 21, 11:24 am, chetan wrote: > Hi All, > Can somebody help me to understand the implicit intents by > example. > > Thanks > Chetan -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Change label of a Activity at run-time in Android
Oh sorry..i think u misunderstood me... i discovered the solution for me.. that is..within a Activity class, i called the function.. "this.setTitle("MyTitle")" and it worked... thanks.. On Mar 18, 12:08 am, Dianne Hackborn wrote: > Sorry, you can't. > > On Wed, Mar 17, 2010 at 1:02 AM, vikas kumar wrote: > > > Hi.. > > how can i change value of a Activity label in AndroidManifest.xml file > > through the code in java. > > welcome your respose.. > > 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 > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Android Map...
Oh sorry to say..i already developed a map.. but it lacks lots of feature..that's why i want to access the inbuild emulator map through my own application..is it possible to integrate? thanks in advance.. On Mar 17, 10:17 pm, Mark Murphy wrote: > vikas kumar wrote: > > Hi all... > > > can i integrate my application with the inbuilt Android Map(Google API > > 7 enabled device)... > > Actually i am showing the listing of a particular city and want to > > display it on Map.. > > pleaseAny help is appreciated > > Here is a sample project showing the use of Google Maps: > > http://github.com/commonsguy/cw-android/tree/master/Maps/NooYawk/ > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android App Developer Training:http://commonsware.com/training -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Avoid Black Screen on starting application?
You must be doing a lot of things in the onCreate method. Exit from onCreate method as soon as possible. This would bring up the activity faster. THanks and Regards, Kumar Bibek On Mar 22, 1:15 pm, javame_android wrote: > Hi, > > Whenever I start any Android Application, initially a black screen > comes to the foreground for a split of a second and then the splash > screen comes up of the Application. > > Can anyone let me know the way of avoiding it? > > Hope to get a reply soon. > > Thanks & Regards > Sunil -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: [android-developers] Re: How to block incoming call in Android?
Thanks Bibek for the information. *If we can't block incoming call using android SDK, in that case how GBlocker application works???* *GBlocker Application Link:* http://bubiloop.com/android-communication-gblocker Regards, Jitendra Kumar On Wed, Mar 10, 2010 at 11:54 PM, Kumar Bibek wrote: > Not possible. > > Thanks and Regards, > Kumar Bibek > > On Mar 10, 2:40 pm, jitendra kumar wrote: > > Hi All, > > > > I want to develop one call control application on android. As we know > > android sdk does not provide any API which block incoming call due to > > security reasion. > > > > Is there any possiablity to block incoming call using android open source > api;s? > > > > Please help me. > > > > Thanks, > > Jitendra Kumar > > -- > 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Build with customized SDK
Yes you can do it, but there is no point if you are not making a new device/handset with the modified SDK. Thanks and Regards, Kumar Bibek On Mar 23, 11:23 pm, Porting beginner wrote: > Hi, > > I want to use my own SDK ( Android SDK + few new app + modified apps ) along > with Eclipse on Windows / Linux machine. > Am I able to do this ? can anyone share setup procedure for this ? > > -- > 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Call a ListActivity from an Activity
Well, this clearly shows that you haven't included your activity in the manifest file. Use the proper package and class name and this should work. Thanks and Regards, Kumar Bibek On Mar 23, 9:39 pm, ikalbeniz wrote: > Ok, this logs was not correct.. this is the correct one: > > E/AndroidRuntime( 1754): android.content.ActivityNotFoundException: > Unable to find explicit activity class {com.goear/ > com.goear.SearchResult}; have you declared this activity in your > AndroidManifest.xml? > E/AndroidRuntime( 1754): at > android.app.Instrumentation.checkStartActivityResult(Instrumentation.java: > 1404) > E/AndroidRuntime( 1754): at > android.app.Instrumentation.execStartActivity(Instrumentation.java: > 1378) > > i missed to add my activity to the manifest.. so i have added an other > activity tag on manifest with the ListActivity class and works ok. > > Thanks! > > On 23 mar, 17:26, Mark Murphy wrote: > > > ikalbeniz wrote: > > > Here my adb log... > > > E/AndroidRuntime( 1674): java.lang.RuntimeException: Can't create > > > handler inside thread that has not called Looper.prepare() > > > E/AndroidRuntime( 1674): at android.os.Handler.(Handler.java: > > > 121) > > > E/AndroidRuntime( 1674): at android.widget.Toast.(Toast.java: > > > 68) > > > E/AndroidRuntime( 1674): at android.widget.Toast.makeText(Toast.java: > > > 231) > > > E/AndroidRuntime( 1674): at com.goear.Goear.run(Goear.java:69) > > > E/AndroidRuntime( 1674): at java.lang.Thread.run(Thread.java:1096) > > > Your exception is above. You are trying to display a Toast from a > > background thread. If you change that around (e.g., only display the > > Toast from the main application thread), this problem will go away. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Can anyone hook me up with an Exchange email account that I could use for testing?
Umm, Microsoft online has a hosted trial of 30 days for 2007 exchange accounts. You can try that. Thanks and Regards, Kumar Bibek. On Mar 23, 12:09 am, Flying Coder wrote: > Hi, > I'm putting together a lightweight email provider for use with one > of my apps (based on the K9 mail client). I'd love to test it with an > Exchange account before releasing it. > > I'm hoping that some kind sole out there will be able to hook me up > with an Exchange account that I can use for testing. > > Thanks a bunch! > > Steve -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: How to change app names on the runtime
Not possible. Thanks and Regards, Kumar Bibek On Mar 23, 3:21 pm, Marek Pola wrote: > Look in the application's Manifest, the "application" tag, > "android:label" option. But probably the name is cached so maybe you > need to restart the phone after changing it. > > /Marek > > On Mar 22, 7:21 pm, "yves...@gmail.com" wrote: > > > Is there a way that after install a app, user can have the option to > > change the app name through a configuration page in that app? Where > > are all app names saved in the system? 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Build with customized SDK
First of all you will have to download the whole source code. Make your changes, and build the system image. Install it on your phone. The whole process cannot be explained here. There are a lot of resources available on the net. Do a search and you will get pointers. A good starting point is the Android Source code. http://source.android.com/ Thanks and Regards, Kumar Bibek. On Mar 24, 12:22 am, Porting beginner wrote: > On Tue, Mar 23, 2010 at 12:15 PM, Kumar Bibek wrote: > > Yes you can do it, but there is no point if you are not making a new > > device/handset with the modified SDK. > > > thanks for detail, can you specify procedure for this ? > > Thanks and Regards, > > > > > Kumar Bibek > > > On Mar 23, 11:23 pm, Porting beginner > > wrote: > > > Hi, > > > > I want to use my own SDK ( Android SDK + few new app + modified apps ) > > along > > > with Eclipse on Windows / Linux machine. > > > Am I able to do this ? can anyone share setup procedure for this ? > > > > -- > > > 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 > > > To unsubscribe from this group, send email to android-developers+ > > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > > ME" as the subject. > > -- > 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Is it possible to embed an app widget in an activity?
I don't think this is possible. Morever, I guess, there is no practical use of this. AppWidgets are not meant to be put on an Activity. Thanks and Regards, Kumar Bibek On Mar 19, 11:05 am, Benny wrote: > Hi, I want to embed the analog clock in my application. > I use > android:layout_width="wrap_content" > android:layout_height="wrap_content" /> > in my layout XML file, but the clock's appearance is different from > the one added in Home screen. > I know I can copy the AlarmClock's images to my project. And in xml > file, set the android:dial, android:hand_hour,and android:hand_minute > to my project's images. > But I want to know is there a way to directly reference the resource > in the AnalogClock? > > second question, > Can I add the app widget from code? > I tried use following code to add a appwidget, but it seems the > getAppWidgetIds don't work? > Anybody knows why? > > AppWidgetManager mAppWidgetManager; > AppWidgetHost mAppWidgetHost; > > ComponentName THIS_APPWIDGET =new ComponentName("com.android.music", > "com.android.music.MediaAppWidgetProvider"); > > mAppWidgetManager = AppWidgetManager.getInstance(this); > > int[] > appWidgetId=mAppWidgetManager.getAppWidgetIds(THIS_APPWIDGET); > int b=appWidgetId.length; //always 0 -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: requestLocationUpdates Problems
locationManager is not initialized. That is why you are getting this error. LocationManager locationManager = context.getSystemService(Context.LOCATION_MANAGER_SERVICE); You need to initialize it before using it. Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Mar 25, 12:37 am, hwrdprkns wrote: > Hi Guys, > > I just have a quick question about location updates. I don't know why > but it keeps saying I have an error on line 47, where I make the call > to start requesting location updates. > > I don't know why but whenever i try to run the program on my AVD it > says that I have a NullPointerException on line 47, which I can't seem > to get through. > > If you guys have any ideas, that would be very helpful. Thanks a > bunch! > > Here is the code from PasteBin > > http://pastebin.com/d3KVVyFV -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Estimated Time App Verification
Hahah, There's not approval process for Android apps, so you can see it instantly. Ya, may be a minute or less. Thanks and Regards, Kumar Bibek. On Mar 24, 10:16 pm, TreKing wrote: > On Mon, Mar 22, 2010 at 10:38 PM, leo wrote: > > My question how long my application will get published since the app > > submitted? > > Like a minute ... maybe more, maybe less. > > - > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: cannot select target when creating new project
In the AVD manager, check for the Available Packages. I am sure, there's something wrong with your installation. Thanks and Regards, Kumar Bibek On Mar 25, 12:22 pm, kavitha wrote: > Hi All > > I am not able to select build target when i create new project in android > eclipse on mac system. > > I have installed eclipse-java-cocoa 32 bit version and ADT-0.96 version. > > This was a fresh installation and i also installed AVD and SDK Manager and > have created 2 avd's. > > I tried creating bash profile. > > Even then i am not able to select build target,,the targets are not visible > at all. > > I have attached image to show how it looks in eclipse. > > please help. > > Thanks > Kavitha > > target.tiff > 1551KViewDownload -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Filtered ListView with custom Adapter derived from ArrayAdapter is not updated
Hi, What exactly are you trying to do? Can you please explain? Thanks and Regards, Kumar Bibek On Mar 25, 3:17 pm, Anton Pirker wrote: > Hi! > > I have a ListView with a custom Adapter that extends ArrayAdapter. It's > a ArrayAdapter of Type Artist. (There are about 1200 artists in my list) > > Artist is a very small class that has a name and an id. The Artist Class > has toString() overridden to return just the name. > > I have an EditText. The EditText has an TextChangeListener where i call > .getFilter().filter(chars, callback) on my adapter. > > In the Filter.Filterlistener().onComplete() callback i print the count > and it looks really good. As i type the count decreases. So it seams > everything works as advertised, but the List stays the same. I tried to > call artistAdapter.notifyDataSetChanged() to force the list to redraw, > but nothing happens. [see 2.)] > > I am tinkering around for days now! I am desperate.. Hopefully someone > can have a look on my code and tell me what i am doing wrong! How can i > force the list to be redrawn? > > Thanks! > > (I have posted this question also on > stackoverflow:http://stackoverflow.com/questions/2505800/filtered-listview-not-updated) > > Here is what i have done: > > 1.) Defined a ListView and an EditText like this: > > http://schemas.android.com/apk/res/android"; > android:id="@+id/list_search_text" > android:layout_width="fill_parent" > android:layout_height="35dip" > android:layout_below="@id/header"> > > http://schemas.android.com/apk/res/android"; > android:id="@+id/list_search" > android:layout_width="fill_parent" > android:layout_height="fill_parent"> > > > 2.) Setup my ListView in the Activities onCreate(): > > private ListView listView = null; > private ArtistAdapter artistAdapter = null; > > @Override > protected void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.search_artists); > > artistAdapter = new ArtistAdapter(this, R.layout.row, list); // > 'list' is an ArrayList > > listView = (ListView) findViewById(R.id.list_search); > listView.setAdapter(artistAdapter); > listView.setFastScrollEnabled(true); > listView.setTextFilterEnabled(true); > > listView.setOnItemClickListener(new OnItemClickListener() { > public void onItemClick(AdapterView av, View v, int > position, long id) { > // do something > } > }); > > EditText txtSearch = (EditText) findViewById(R.id.list_search_text); > txtSearch.addTextChangedListener(new TextWatcher() { > public void afterTextChanged(Editable arg0) { } > > public void beforeTextChanged(CharSequence arg0, int arg1, > int arg2, int arg3) { } > > public void onTextChanged(CharSequence chars, int start, int > before, int count) { > artistAdapter.getFilter().filter(chars, new > Filter.FilterListener() { > public void onFilterComplete(int count) { > Log.d(Config.LOG_TAG, "filter complete! count: " > + count); > artistAdapter.notifyDataSetChanged(); > } > }); > } > }); > } > > 3.) This is my ArtistAdapter in short. I added an remove() and add() method: > > public class ArtistAdapter extends ArrayAdapter implements > SectionIndexer { > private List items; > > /* other stuff like overridden getView, getPositionForSection, > getSectionForPosition and so on */ > > @Override > public void remove(Artist object) { > super.remove(object); > items.remove(object); > } > > @Override > public void add(Artist object) { > super.add(object); > items.add(object); > } > } > > 4.) My artist has also the toString() overridden: > > public class Artist implements Comparable { > public String uid; > public String name; > > public Artist(String id, String name) { > this.uid = id; > this.name = name; > } > > public int compareTo(Artist another) { > return this.name.compareToIgnoreCase(another.name); > } > > @Override > public String toString() { > return this.name; &g
[android-developers] Re: Need help: How to disable a view(provided there are 2 views in xml) ??
You can hide and show a View by setVisibility to GONE and VISIBLE. Thanks and Regards, Kumar Bibek On Mar 25, 3:15 pm, Latha Shivanna wrote: > Hi All, > > In one of my applications i have 2 views(1 surfaceview and 1 > videoview). And my main requirement now is > > to disable videoview( & its corresponding surface obtained thru > videoview->getholder->getsurface()) when i dont need it. > > The reason for me to do this, > > I have created these 2 views in the beginning of the app. SO they are > always present. > But in some cases where i want only 1 view(which is surfaceview) and > if i dont need the 2nd view(i.e, videoview), i am still getting a > black patch at the palce where i have defned a videoview. > > I want to get rid of this. > > Can anyone please tell me if it is possible to disable views/surfaces > corresponding to them? If so how can we do this? > > Please do advise. Your help is very much needed. > > thanks, > Latha. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Understanding Broadcast Receiver
Yes, you are right. When the specific broadcast is created, this broadcast will be sent to all the Receivers that are designed to catch such broadcasts. There is nothing as activating a receiever. Thanks, Kumar Bibek On Mar 25, 3:02 pm, nep0x wrote: > Hi > > I m trying to understand the use of the broadcast receiver and the way > of activate it. There's two ways isn't it? Register it from an > activity or declare it in the manifest. So my question is: If i code a > broadcast receiver which is watching incoming messages and i register > it in the manifest, when a message comes my broadcast receiver will > catch it automatically although any activity of my app had registered > it. In a nutshells, i dont have to activate it so it works, only > register it either in the manifest or in an activity. > > thank you -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] Re: Deletion of a view from the screen
Hey dude... try this site...i found.. http://www.techjini.com/blog/category/android/ No need for thnx... enjoy.. On Mar 26, 11:05 am, Shekhar wrote: > Hi, > > I have to implement the following requirement. > > There are multiple views(not application widget) placed in my > application screen.When I long press on a particiular view,trash icon > should appear in the screen and I should be able to drag the > view to the trash,so that end user get a feel that the view is dragged > and dropped in the > trash > > Any pointers on how to achieve the above objective? > > Thanks, > Shekhar -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
[android-developers] How to show adds at bottom of an activity(with custom view)?
Hi all, I need show ads in my application. Ads in my custom view must move from bottom of screen with animation. How can I add my view in bottom of screen? Please help to find out the solution.. Thnx... -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.