[android-beginners] TableLayout will not draw new row addition
I have TableLayout defined in the main.xml. Simple, 1 header row and 1 data row. TableLayout android:id=@+id/*reportsTable* android:layout_width=fill_parent android:layout_height=wrap_content TableRow TextView android:id=@+id/DateOfReport android:text=Report Date android:textSize=14px android:layout_width=wrap_content android:layout_height=wrap_content / TextView android:id=@+id/HeightHeading android:text=Height android:textSize=14px android:layout_width=wrap_content android:layout_height=wrap_content / TextView android:id=@+id/WeightHeading android:text=Weight android:textSize=14px android:layout_width=wrap_content android:layout_height=wrap_content / /TableRow TableRow android:id=@+id/r1 android:layout_width=wrap_content android:layout_height=wrap_content LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content EditText android:id=@+id/dateOfReport android:text=DD/MM/ android:textSize=11px android:layout_width=wrap_content android:layout_height=wrap_content / Button android:id=@+id/changeReportDate android:text=... android.textSize=12px android:layout_width=wrap_content android:layout_height=wrap_content / /LinearLayout EditText android:id=@+id/height android:text=inCmOrInch android:textSize=11px android:layout_width=wrap_content android:layout_height=wrap_content / EditText android:id=@+id/weight android:text=inKgOrPound android:textSize=11px android:layout_width=wrap_content android:layout_height=wrap_content / /TableRow Now in the code I have a function defined that adds a new row. private TableRow createNewTableRow(TableRow newRow){ newRow.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; LinearLayout newLinearLayout = new LinearLayout(appActivity) ; newLinearLayout.setOrientation(LinearLayout.HORIZONTAL); newLinearLayout.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT)) ; EditText newReportDate = new EditText(appActivity) ; newReportDate.setTextSize((float) 11.0); newReportDate.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; Button changeReportDate = new Button(appActivity) ; changeReportDate.setTextSize((float) 12.0); changeReportDate.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; changeReportDate.setText(...); EditText newHeight = new EditText(appActivity) ; newHeight.setTextSize((float) 11.0); newHeight.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; EditText newWeight = new EditText(appActivity) ; newWeight.setTextSize((float) 11.0); newWeight.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; newRow.addView(newLinearLayout); newLinearLayout.addView(newReportDate); newLinearLayout.addView(changeReportDate); newRow.addView(newHeight); newRow.addView(newWeight); return newRow ; } Now, in the main code I call this function if (v == (View) *addReportWidget*) { TableRow newRow = new TableRow(appActivity, null); *reportsTableWidget*.addView(createNewTableRow(newRow)); reportsTab.invalidate(); } Now, the new row just wont show up. If I run the code in the debugger, and watch *reportsTableWidget*.mChildren, everytime I click on *addReportWidget*, a new entry shows up in the debugger watch variables. What am I missing. Very frustating, please advice me. Regards Siddharth -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] شارك وتعرف على أصدقاء معنا فى منتدى أجدع أصحاب
(2010年01月17日 05:03), alagmy wrote: شارك وتعرف على أصدقاء معنا فى منتدى أجدع أصحاب إشترك معنا فى منتدى أجدع أصحاب لتفيد وتستفيد من كل ماهو موجود بالمنتدى من مناقشات وبرامج وألعاب وحوارات واشترك فى الجروب ليصلك كل جديد إلى جانب تعرفك على أصحاب من كل مكان من الشباب والبنات إشتراك الآن http://agd3as7ab.eb2a.com/vb للإشتراك بالجروب ليصلك كل جديد http://feedburner.google.com/fb/a/mailverify?uri=eb2a/Ouyoloc=en_US أو أدخل المنتدى وإشترك فى المربع الموجود بأول المنتدى pls block this sender -- Caius 'kaio' Chance ☺ かいお Fedora Project Contributor http://fedoraproject.org/wiki/User:kaio kaio at fedoraproject.org, kaio on irc.freenode.net, GPG: 17BEFCFA -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] احصل على ماستر كا رد MasterCard مجانا وتوصلك إلى بيتك
احصل على ماستر كارد MasterCard مجانا وتوصلك إلى بيتك احصل على بطاقة الانتماء مجانا حتى لو كنت في كوكب من غير الارض : جبتلكم اليوم طريقة لطلب بطاقة ماستر كارد بايونر مجانا وااالله حقيقة بدوون كدب و وصلتى خلال 20 يوم بسم الله الرحمان الرحيم اول شىء ارجوا ان نتفاهم على شىء واحد بعض الناس للاسف .لمعرفته ان البطاقه مجانيه يبدئ بطلب عشرات البطاقات و النتائج المترتبه على ذلك انه سيضر نفسه و دولة ستمنع ايبيات IP تلك الدوله من الاستفاده منها قبل كل شىء و سيضر اخوانه من بعده في عدم الاستفادة من البطاقه فالبطاقه واحده لها مصاريفها.عند التفعيل و مصاريف الصيانه الشهريه و مصاريف الاستعمال.لذا بطاقتين .انا اجزم انك لن تستفيد من اي شىء بهما و ربما انك تترك فرصه لاخيك احسن في الاستفاده و الحصول عليها مثلك احب لاخيك كما تحب لنفسك و اجعله فعل و ليس مجرد كلام و شعار باختصار هو موقع للتعارف تطلب منه البطاقة عبر الوسيط friendfinder احنا معندناش وقت لتعارف نشوف المهم الاول وههه !! اولا نشترك في في الموقع من هنا http://friendfinder.com/go/g1186007 ولمتابعة الشرح بالصور أدخل هنا http://agd3as7ab.eb2a.com/vb/showthread.php?p=99#post99 -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] TableLayout will not draw new row addition
I can't say for sure just looking at the code. However, you may want to run the hierarchy viewer tool (part of the SDK in the tools directory) and see if you can tell where your new row lands in the view hierarchy. On Sun, Jan 17, 2010 at 00:54, MCON Dev mcon...@gmail.com wrote: I have TableLayout defined in the main.xml. Simple, 1 header row and 1 data row. TableLayout android:id=@+id/*reportsTable* android:layout_width=fill_parent android:layout_height=wrap_content TableRow TextView android:id=@+id/DateOfReport android:text=Report Date android:textSize=14px android:layout_width=wrap_content android:layout_height=wrap_content / TextView android:id=@+id/HeightHeading android:text=Height android:textSize=14px android:layout_width=wrap_content android:layout_height=wrap_content / TextView android:id=@+id/WeightHeading android:text=Weight android:textSize=14px android:layout_width=wrap_content android:layout_height=wrap_content / /TableRow TableRow android:id=@+id/r1 android:layout_width=wrap_content android:layout_height=wrap_content LinearLayout android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content EditText android:id=@+id/dateOfReport android:text=DD/MM/ android:textSize=11px android:layout_width=wrap_content android:layout_height=wrap_content / Button android:id=@+id/changeReportDate android:text=... android.textSize=12px android:layout_width=wrap_content android:layout_height=wrap_content / /LinearLayout EditText android:id=@+id/height android:text=inCmOrInch android:textSize=11px android:layout_width=wrap_content android:layout_height=wrap_content / EditText android:id=@+id/weight android:text=inKgOrPound android:textSize=11px android:layout_width=wrap_content android:layout_height=wrap_content / /TableRow Now in the code I have a function defined that adds a new row. private TableRow createNewTableRow(TableRow newRow){ newRow.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; LinearLayout newLinearLayout = new LinearLayout(appActivity) ; newLinearLayout.setOrientation(LinearLayout.HORIZONTAL); newLinearLayout.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT)) ; EditText newReportDate = new EditText(appActivity) ; newReportDate.setTextSize((float) 11.0); newReportDate.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; Button changeReportDate = new Button(appActivity) ; changeReportDate.setTextSize((float) 12.0); changeReportDate.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; changeReportDate.setText(...); EditText newHeight = new EditText(appActivity) ; newHeight.setTextSize((float) 11.0); newHeight.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; EditText newWeight = new EditText(appActivity) ; newWeight.setTextSize((float) 11.0); newWeight.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT)) ; newRow.addView(newLinearLayout); newLinearLayout.addView(newReportDate); newLinearLayout.addView(changeReportDate); newRow.addView(newHeight); newRow.addView(newWeight); return newRow ; } Now, in the main code I call this function if (v == (View) *addReportWidget*) { TableRow newRow = new TableRow(appActivity, null); *reportsTableWidget*.addView(createNewTableRow(newRow)); reportsTab.invalidate(); } Now, the new row just wont show up. If I run the code in the debugger, and watch *reportsTableWidget*.mChildren, everytime I click on * addReportWidget*, a new entry shows up in the debugger watch variables. What am I missing. Very frustating, please advice me. Regards Siddharth -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack
Re: [android-beginners] Re: View-based vs Canvas-based graphics apps
It's written by Ed Burnett and published by Pragmatic Programmers. The web page for the book is http://www.pragprog.com/titles/eband2/hello-android It's available in print and e-book formats. I don't work for them, I'm just a happy owner of the book. On Thu, Jan 14, 2010 at 2:37 PM, Michael boggess coda5...@gmail.com wrote: Do you have anymore info on this book? On Jan 14, 7:11 am, Alessandro Pellizzari a...@amiran.it wrote: Il giorno mar, 05/01/2010 alle 08.29 -0800, Abolfoooud ha scritto: Now almost all of the examples i found in the SDK for graphics use the View metaphor, or SurfaceView. I was wondering how can i perform the second approach, draw to canvas directly. I've read Hello Android. The main app (used throughout all the book to cover various topics) is a Sudoku game that uses the canvas directly. Bye. -- Alessandro Pellizzari -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- Dylan Northrup - north...@gmail.com -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Drawing lines/shapes with Canvas that glow
I am working on a 2d interface and find the process pretty straight forward. However, I want to jazz it up a bit by drawing lines that appear to glow. That is, lines that will be white in the middle and the diffuse out to a darker color. Photoshoppers might recognize this as the outer glow effect. Is this possible as part of the standard API? If not, I guess the solution might be to extend the class so that it draws lines along side the original on both sides that darken in color to simulate the effect. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Iphone development versus Android
Thats a really nice good insight. Me particularly being a java developer for a while now must agree Android development is quite intuitive. Not to say that Objective C is any harder just depends on YOU. Well I must say that the android platform (market) isn't well stocked with lots of apps like the apple store but with psyched up developers and more people getting onto the bandwagon slowly we will get there. On Thu, Jan 14, 2010 at 2:18 AM, Kevin Duffey andjar...@gmail.com wrote: There are a number of factors I think you run in to for a fair answer. As Danny said, the market is MUCH larger on iPhone...for now. But you run in to some issues... which if you already developed for iPhone you may not have yourself. The primary one being forced to use mac hardware to develop on. The cheapest hardware for Mac is not very cheap and for most of us 1-off developers doing this on the side, most likely out of reach. Therefore, the choice is easy in that case, Android. I suppose it depends on the actual device you own too. If you already have iPhone and can't break contract to grab an Android device.. or don't want to pay either full price just for the hardware, or sign a 2nd contract with Verizon, T-Mobile or Sprint, then you may have to weight that in on your decision. For me, the other day I read a post on here (or another forum..can't remember) that I already knew, but it sort of woke me up. The biggest pain point of the iPhone for end users is the issue of switching apps. You can't. Any time you launch an app from another, you most of the time can't go back. I think there are a few cases where you can go back to FaceBook from the browser, for example. But most of the time, you have to completely restart the app and often times navigate your way back to where you were when you launched another app. Or, you hit their one home button, which effectively closes the app you were running, and start another. Then go back..and you just started it again. Again there are some apps that may save state between runs, I've not found one myself that does this. I asked my wife... a sort of anti-computer person who loves her iPhone, what her biggest complaint with it was. Without me saying anything to her, she said she hates having to switch to another app because she loses her place in the first app and has to start all over. I am gong out on a limb to guess that Apple, in their soon to be announced iPhone 4 might address the multi-tasking issue. But if they do, they are either going to have to make the underlying OS do true multi-tasking between multiple apps.. at the risk of potential battery life draining.. or update their SDK and require iPhone 3gs and previous apps to be recompiled to take advantage of say, some new lifecycle requirements in order to work in the new multi-tasking iPhone. I had a hard time understanding the one Activity running while all others are paused situation with Android, but now I understand that is due to battery concerns that this is done. It will be interesting to see if iPhone 4 will offer multi-tasking and if it does, how it handles it. My understanding is the new iPhone will be dual-core with more memory, dual cameras and some other things. We'll find out in April. I also consider the coding barrier. I did C a long time ago, been doing Java for years. Java to me is far easier to work with than Objective-C, although, to be fair, Android is a ways off from being nearly as capable as iPhone in areas like high-quality video games, high-quality music apps and so forth that you can find on the iPhone right now. But I think the Java vs Objective-C (for most things) is far easier for most to get in to.. and you can pretty much develop and test on any platform. Once you get into NDK native code, it may be a bit more level playing field. Anyway..that's my .02. On Wed, Jan 13, 2010 at 11:17 AM, Danny Pimienta danny...@gmail.comwrote: I would say do both. But if youre looking for a bigger audience then iPhone is the way to go for now. But the Android market will catch up. Sent via my Google Android device... On Jan 13, 2010 12:14 PM, gony stevemcgoni...@yahoo.co.uk wrote: Hi, I developed an iphone app about 6months ago and due to time constraints hadn't managed to write anymore. I would like to start work on a new app but I would like to consider developing on Android instead (esp after seeing the announcement of Nexus One in the UK). I was hoping that group members would consider sharing their views on what platform would be best to develop on. Thanks, -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more
[android-beginners] launching music player using intent
hi all, from my app i want to launch the default music player app and it should play a track from trackbrowser . I want to achieve this using intent. But not sure how to do it . Till now whatever i have tried just shows the trackbrowser activity , but doesnt play anything . using intent i want to play an mp3 file using music player app. anybody having clue how to do it ? regards pritesh -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] How to open web pages from emulator anyway?
Android 2.1. Browser cannot open Google.com. I searched this problem online, which now I believe is not a wi-fi connection issue. My PC does not have a proxy and connects to the router using wireless. I doubt this is the reason why the wikitionary demo didn't work. Any thoughts? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Setting up Netbeans with Android SDK
Hi guys Have seen a lot of posts and reviews/forums talking of how to set up eclipse and Android SDK. I came across a site that shows a step by step instructions of setting up netbeans with Android SDK just incase you cant get your eclipse to work {just like i had issues at first}. http://gerry.ws/2009/01/1074/how-to-setup-netbeans-for-android-development.html -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: AlarmManager and the PendingIntent that failed
Tone your force close is due to the fact that you haven't set the flags necessary for calling an activity from a receiver.. here is how you should call a public void onReceive(Context context, Intent intent) { Intent startalarm=new Intent(context,YOUR_CLASS_TO_CALL); startalarm.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP| Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(startalarm); } Setting these flags will solve your problem Regards Gino On Jan 14, 7:35 am, Justin Anderson janderson@gmail.com wrote: The force close is quite commonly caused by a null pointer ecxeption... The logcat info should be able to tell you where (and what) the problem is. On Jan 13, 2010 10:14 AM, Tone monot...@gmail.com wrote: In order to learn how to use the AlarmManager I created an activity that consists of a single button. When the button is pressed the activity creates an Intent of itself and loads it into the AlarmManager 3 seconds in the future before finishing. So activity opens, user pushes button, activity closes, 3 seconds later activity opens, repeat. Problem is instead of opening an activity 3 seconds later I get an error: The application [myappname] has stopped unexpectedly. Please try again. Here's the code for the button: thanksButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { setResult(RESULT_OK); Intent intent = new Intent(myappname.this, myappnameBroadcastReceiver.class); PendingIntent appIntent = PendingIntent.getBroadcast (myappname.this, 0, intent, 0); Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(System.currentTimeMillis()); calendar.add(Calendar.SECOND, 3); AlarmManager am = (AlarmManager)getSystemService (ALARM_SERVICE); am.set(AlarmManager.RTC, calendar.getTimeInMillis(), appIntent); finish(); } }); Here's the broadcast receiver: package com.myappname; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class myappnameBroadcastReceiver extends BroadcastReceiver { �...@override public void onReceive(Context context, Intent intent) { context.startActivity(new Intent(context, myappname.class)); } } - and here's the lines from the manifest.xml receiver android:name=.myappnameBroadcastReceiver android:process=:remote /receiver -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow athttp://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Acer Liquid Kernel
Acer is obliged to release the kernel source code for the Liquid (A1) phone. We want to get their attention and are asking them to publish it. Please sign the petition! http://www.petitionspot.com/petitions/AcerLiquid/ -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Need Help : canvas.drawtext() for a lengthy string
Dont you have to wrap the text? like android:layout_width=wrap_content On Jan 7, 12:57 am, Latha Shivanna latha...@gmail.com wrote: Hi All I am stuck in a very simple problem. I have one lengthy string I need to draw that on the device display. My code is as follows: void ShowText(String text) { canv = thread.mSurfaceHolder.lockCanvas(); if (text!= null) { canv.drawColor(Color.WHITE); //background color mPaint.setColor(Color.BLACK); //font color mPaint.setTextSize(15); //font size canv.drawText(text, 10, 200, mPaint); //startign at some (10,200) coordinates , dratext } unlockCanvasAndPost(canv); } But the problem here is, the string is going out of the screen. I want it to break down into multiple lines if it is too big for the screen width. Can anybody show me some example to do this? Thanks Latha -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Hello World / Emulator Problem
continue waiting ! On Jan 7, 4:22 pm, Jonathan jonathan.gord...@gmail.com wrote: Hey all, so I just completed the hello world tutorial but it won't seem to run. I waited for a long time at the Android screen with the blinking underscore, then finally I moved onto a screen with a fancy font Android and its kinda flashing silver. The console in eclipse still says waiting for Home anroid.process.acore... How long does it usually take to load?? Am I doing something wrong?? Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] I need to compile only the fastboot.exe
Hi, i am very new to android builds.but i need only the fastboot code to compile (it will save lots of time for me).therefore I made change on the FASTBOOT code and what to see those changes at output of FASTBOOT.exe . Please see the Makefile at development/build/tools/ make_windows_sdk.sh..I have made following changes. 1) Line 83 comment the make -j 4 emulator . 2) Line 86 comment only make adl fastboot || die Build failed 3) Line 187 to 206 line all other packages i have commented. 4) Line 211 change echo Done to echo Fastboot Done it is not working i need only the fastboot.exe and adb.exe Complete emulator build i do not need.. Kindly inform if i am doing some thing wrong or there is another way to compile working fastboot.exe and adb.exe only. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Failed to Create From Sample Project
I sucessfully configured and tested the HelloAndroid project using Eclipse 3.5. But the application wikitionary failed. I created this application by using creating from existing samples option. The application compiled, and I was able to added to the home screen, but it failed after showing Loading word of day..., with an exception message The application Wikitionary example (process com.example.android.wikitionary) has stopped unexcepectedly. Please try again. My android version is 2.1. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Custom inputType
Nope, I had to define a custom keyboard in the end to make my app useable. On Dec 22 2009, 3:21 pm, level32 leve...@gmail.com wrote: Ever get an answer for this issue? On Nov 27, 9:17 am, Lee le...@lsalmon9.wanadoo.co.uk wrote: Thanks for quick answer, And for useful way for setting the InputType in code, My problem is once the InputType is set, along with selecting the keyboard view, the text formatting is also controlled. Is it possible to hide the data formating using TYPE_MASK_CLASS or TYPE_MASK_FLAGS? I have tried several variations but to no avail. I plan to enter numeric data first, with an optional text suffix into one editBox, without having to pressing tye '?123' key on text keyboard to enter the inital numeric data. Any ideas? On Nov 23, 2:52 pm, Nithin nithin.war...@gmail.com wrote: Hi Leigh, try this, editText.setInputType(InputType.TYPE_CLASS_NUMBER); this is for numbers. InputType contains lot of constants like TYPE_CLASS_DATETIME, TYPE_CLASS_PHONE etc. You choose according to your requirement. Thanks On Nov 22, 7:41 pm, Leigh le...@lsalmon9.wanadoo.co.uk wrote: I have editText which accepts numeric details with an optional text suffix, (ie. 90.895t). I am using addTextChangedListeners and pattern/match to ensure correct data entry. Planning to call text soft keyboard in number/symbol view initally, with text view obtainable from this keyboard. I have tried inputType variations, with the only suitable view being datetime, this however only allows enrty text entry in the datetime format. As the pre-existing attributes are ignored if inputType has been defined, there is no way of tweaking inputType attributes? Or is there a simpler way of calling up specific soft keyboards (numeric, symbol, text)?- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] SDK Download Issues
Hi, Has anyone had problems downloading the new SDK? I'm new to Android and curiosity has led me to download the SDK but it keeps failing half way through the process 3x at 15 MB for a 22MB file. I have been able to download from other websites without an issue so I know it's not my connection. Can you please tell me the right place (email address) to post this problem it seems the server stops responding after a set amount of time. I have a capped connection and at this rate I will use up all of my 5GB/month mobile connection so any help will be most appreciated. Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: View-based vs Canvas-based graphics apps
I was looking for some good demos on how to do some graphics. These demos give a pretty straightforward way to do graphics by drawing directly to the canvas: git://github.com/eburke/android_game_examples.git On Jan 14, 2:37 pm, Michael boggess coda5...@gmail.com wrote: Do you have anymore info on this book? On Jan 14, 7:11 am, Alessandro Pellizzari a...@amiran.it wrote: Il giorno mar, 05/01/2010 alle 08.29 -0800, Abolfoooud ha scritto: Now almost all of the examples i found in the SDK for graphics use the View metaphor, or SurfaceView. I was wondering how can i perform the second approach, draw to canvas directly. I've read Hello Android. The main app (used throughout all the book to cover various topics) is a Sudoku game that uses the canvas directly. Bye. -- Alessandro Pellizzari -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Analog Clock
Can someone tell me how I can get the seconds hand to display on a analog clock? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] dx --junit
Someone can help me with dx --junit? I don't know how to use it and what does it ? thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Clock Widget
Can someone tell me how I can get the seconds hand to display on a clock widget? I have searched forum after forum and I am sure it will require additional java code. I have tried looking at the HTC clock widget and it seems they might have some other coding in theres. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Repo and Git
Hi, I am trying to get the source code of android into my linux. I am using a visualized ubuntu 9.10 version under virtualbox. Currently, I am in stage of initializing repo, but came to this problem, right after i execute this command. repo init -u git://android.git.kernel.org/platform/manifest.git Error displayed: Traceback (most recent call last): File /home/ooiyh/bin/repo, line 595, in module main(sys.argv[1:]) File /home/ooiyh/bin/repo, line 562, in main _Init(args) File /home/ooiyh/bin/repo, line 181, in _Init _CheckGitVersion() File /home/ooiyh/bin/repo, line 210, in _CheckGitVersion proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) File /usr/lib/python2.6/subprocess.py, line 621, in __init__ errread, errwrite) File /usr/lib/python2.6/subprocess.py, line 1126, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Android development on Netbeans
http://mail.google.com/mail/#inbox/1263df6dc636ce90 On Fri, Jan 15, 2010 at 1:26 AM, QterMgnus luc...@yahoo.com wrote: Can I use Netbeans for Android development ? is there a tutorial ? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Problem running my Projects on Ubuntu 9.10
Install the beta version of Eclipse. ADT works in it. On Jan 8, 8:53 am, Dave Feltenberger dave.feltenber...@gmail.com wrote: You installed the beta version of what -- Eclipse or Android? I'm having the same issue when I try to run my projects in Ubuntu 9.10 (64 bit) using Eclipse 3.5.1 and JDK 1.6.0_07. On Jan 5, 6:11 pm, Christopher Saunders c.saunders...@gmail.com wrote: I was having an issue with Eclipse on Ubuntu 9.10 (x86_64) as well. I grabbed the Beta version which works like a charm. On Tue, Jan 5, 2010 at 6:08 PM, Magno Kretzschmar Nardin magno.nar...@gmail.com wrote: Ubuntu 9.10? Please, install Eclipse 3.5.1 with Synaptic. Saludos! Magno 2009/12/21 Stefan some.fus...@gmail.com Hi, I have a problem with Eclipse and Ubuntu. I have created a new empty project but when I try to start it I just get a NullPointerException. Here's the full stacktrace: [...] I had problems to install ADT with the Eclipse that is in the Ubuntu repositories, so I have downloaded the precompiled version from eclipse.org. Is it possible that I have dome something wrong when I have setup the ADT environment? thanks, Stefan -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- Christopher Saunders Linux and Open Source Enthusiast blog.christophersaunders.ca -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: View-based vs Canvas-based graphics apps
The demo apps contain a few examples. For example, check out the FingerPaint app which uses the Canvas drawPath() method. There are also OpenGL examples here as well. These demos are bundled with the sdk and are available in the platform directories. Randeep On Jan 5, 11:29 am, Abolfoooud fcheh...@yahoo.com wrote: Hi I am totally new to Android so forgive my question if it is so trivial. I read in the Dev Guide about how Graphics are handled in Android apps and it says that developers can either use a View if they want to draw simple graphics that do not need to change dynamically and are not part of a performance-intensive game or draw directly to canvas otherwise. Now almost all of the examples i found in the SDK for graphics use the View metaphor, or SurfaceView. I was wondering how can i perform the second approach, draw to canvas directly. Regards AF -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: A webview has a white line at the right side
I had the same problem with phonegap. It seems the white line is some space spared for a scrollbar. I solved it by setting the scrollbar- style: webview.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY); On 20 Nov. 2009, 22:20, Micky m.ko...@gmail.com wrote: Hello! I'm trying usingwebviewin anandroidapplication, but there is one strange thing - awhiteverticallineat therightside of emulator's screen. I tried different layouts, different web-pages - nothing helps. You can see an image on the link below:http://picasaweb.google.com/m.kokho/RecentlyUpdated#5406296875878909314 layout/main.xml: ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical WebViewandroid:id=@+id/webview android:layout_width=wrap_content android:layout_height=fill_parent / /FrameLayout java code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //or like this: setContentView(newWebView(this)); // init fields: webview= (WebView) findViewById(R.id.webview); // setupwebview: final WebSettings webSettings =webview.getSettings(); webSettings.setSavePassword(false); webSettings.setSaveFormData(false); webSettings.setJavaScriptEnabled(true); webSettings.setSupportZoom(false); webview.setWebChromeClient(new MyWebChromeClient()); webview.setWebViewClient(new MyWebViewClient()); webview.loadUrl(file:///android_asset/index3.html); } -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] AlertDialog problem: always get NULL values
hello I have an Activity class in which I have this method which returns an AlertDialog: protected Dialog onCreateDialog(int id) { switch (id) { case 0: (returns an alert...) case 1: LayoutInflater factory = LayoutInflater.from(this); final View textEntryView = factory.inflate (R.layout.register_member, null); return new AlertDialog.Builder(CheatView.this).setIcon (R.drawable.alert_dialog_icon) .setTitle(R.string.register_title) .setView(textEntryView).setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { EditText editUsername = (EditText) findViewById(R.id.username_edit); EditText editPassword = (EditText) findViewById (R.id.password_edit); EditText editMail = (EditText) findViewById(R.id.email_edit); } }).setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { /* User clicked cancel so do some stuff */ } }).create(); } return null; } when the user presses OK I want to grab the information he entered in that AlertDialog EditText field (i.e. editUsername ) - my problem is that I always get NULL values. after pressing the OK button the application crashes. Does anyone have an idea what I am doing wrong? thanks for help! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Eclipse Debugger
To get the debugger to work in Eclipse requires that the emulator is up and running. If it isn't up and running, eclipse will attempt to start it. The startup prosses on my machine can take upto 5 mins. However, the debugger will not attach until the program starts running in the emulator. If however, you are wanting to step-through the android specific code, and not you own code, I haven't worked with it enough to answer that, yet. Happy Coding -KitzyKitt On Jan 14, 7:53 am, Yuvi yuvidr...@gmail.com wrote: Hi! I don't really have a solution for your problem...I can just tell you that I'm using Eclipse to develop Android apps, and the source line debugger is working fine ;) Are you trying just with the emulator or also with a real device? If you use a real device there might be drivers problems...instead, with the emulator you might try using different sdk versions. (although I don't know if it might help...). YuviOn Thu, Jan 14, 2010 at 12:57 PM, Lyndon lyn...@infomediauk.net wrote: Hi Thanks for your help XCaf. The problem was intermittent so I am not sure if the problem of vanishing LogCat output is solved yet... I'll keep you posted. Now for the real problem of the source line debugger. I would say that it is impossible (at least very undesirable) to develop any serious program without using the source line debugger. Therefore, I am assuming that most people using Eclipse are using the source line debugger. And most Android developers use Eclipse I believe. Since I can get the source line debugger working with stand-alone and web programs in Eclipse without any problem, I assume that this is an Android problem. I've been using Eclipse for over 5 years so I am no Newbie. Obviously there are technical issues involved, the Android program is running on the emulator but surely it IS POSSIBLE to be able to step line by line through Android code. Please tell me it is otherwise I might as well just give up. If Android is to beat or even catch up with the iPhone then tools like the source line debugger MUST work. And Android developers MUST help eachother. Regards Lyndon On Jan 13, 8:17 pm, XCaffeinated ssatn...@gmail.com wrote: Hi Lyndon, Regarding logcat output, make sure the 'Limit console output' checkbox is unchecked. This can be found at Windows-Preferences-Run/Debug- Console. XCaf On Jan 10, 1:03 pm, Lyndon lyn...@infomediauk.net wrote: Hi I am an experienced Java web developer and have been using Eclipse for about 5 years. I recently thought I'd give Android a go and so I set up Galileo with the Android ADK. I can get the example apps and widgets working no problem but... I cannot get the Eclipse debugger to work at all. I have followed the instructions and let the 'Debug as...' process start the AVD and I have set breakpoints but I can never get the process to stop on a breakpoint. It's very strange. Also, I have Logcat working but quite often that stops showing anything too. Is the ADK buggy?- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr i...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] AlertDialog problem: always get NULL values.
hello I have an Activity class in which I have this method which returns an AlertDialog: protected Dialog onCreateDialog(int id) { switch (id) { case 0: (returns an alert...) case 1: LayoutInflater factory = LayoutInflater.from(this); final View textEntryView = factory.inflate (R.layout.register_member, null); return new AlertDialog.Builder(CheatView.this).setIcon (R.drawable.alert_dialog_icon) .setTitle(R.string.register_title) .setView(textEntryView).setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { EditText editUsername = (EditText) findViewById(R.id.username_edit); EditText editPassword = (EditText) findViewById (R.id.password_edit); EditText editMail = (EditText) findViewById(R.id.email_edit); } }).setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { /* User clicked cancel so do some stuff */ } }).create(); } return null; } when the user presses OK I want to grab the information he entered in that AlertDialog EditText field (i.e. editUsername ) - my problem is that I always get NULL values. after pressing the OK button the application crashes. Does anyone have an idea what I am doing wrong? thanks for help! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Install Android SDK 2.0 on Ubuntu 9.10 error
Hi, I will install Android sdk 2.0 for my Ubuntu 9.10 But when I execute android to install sdk platform it show some error message : Starting Android SDK and AVD Manager No command line parameters provided, launching UI. See 'android --help' for operations from the command line. Exception in thread main org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source) at org.eclipse.swt.widgets.Display.create(Unknown Source) at org.eclipse.swt.graphics.Device.init(Unknown Source) at org.eclipse.swt.widgets.Display.init(Unknown Source) at org.eclipse.swt.widgets.Display.init(Unknown Source) at org.eclipse.swt.widgets.Display.getDefault(Unknown Source) at org.eclipse.swt.widgets.Shell.init(Unknown Source) at org.eclipse.swt.widgets.Shell.init(Unknown Source) at com.android.sdkuilib.internal.repository.UpdaterWindowImpl.createContents (UpdaterWindowImpl.java:116) at com.android.sdkuilib.internal.repository.UpdaterWindowImpl.open (UpdaterWindowImpl.java:96) at com.android.sdkuilib.repository.UpdaterWindow.open (UpdaterWindow.java:110) at com.android.sdkmanager.Main.showMainWindow(Main.java:281) at com.android.sdkmanager.Main.doAction(Main.java:247) at com.android.sdkmanager.Main.run(Main.java:92) at com.android.sdkmanager.Main.main(Main.java:81) thanks! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: source not found error!
If you generated a project with Eclipse you should've had to create an activity when you created the project. Open up your AndroidManifest.xml file and look at it (either using the ADT tool or simply the XML itself) and make sure you have something similar to this: application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.HelloAndroid android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity /application The Android documentation explains the manifest file quite well I suggest you check that out too. http://developer.android.com/intl/fr/guide/topics/manifest/manifest-intro.html Cheers, On Jan 15, 6:27 am, umar mr_muskura...@yahoo.com wrote: and which activity should i add??? please guide i am new to android. development.. On Jan 15, 4:17 pm, Manoj linkex.ma...@gmail.com wrote: You might have not added your activity in Manifest file, Add it there. On Jan 15, 4:11 pm, umar mr_muskura...@yahoo.com wrote: can any one provide me solution to this problem?? i using windows vista with ADT on eclipse and getting this error SOURCE NOT FOUND EDIT SOURCE LOOKUP PATH activitythread.performlaunchactivity(activitythread $activityrecord,intent) how to resolve this??- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Android Developer Needed - Atlanta
I hope everyone is having a wonderful day! If interested in our position please send a word copy of your resume to abrook...@sysdevit.com. Regards, Adam Client is looking for a mobile developer with Android/iPhone experience. This individual will also have the opportunity to learn/use other technologies such as Ruby and PHP. The client uses pairing for development and believes in a strong diverse team. This individual would serve as the mobile expertise of the team and would be expected to teach other members of the team. Job Summary: Designs, modifies, develops, implements and supports applications. Must ensure all work is fully covered by tests. Must be familiar with a variety of industry concepts, practices and procedures. Must employ the right technology for the best solution approach. Must be able to perform a variety of complicated tasks. May lead and direct the work of others. Must be a team player and willing to work in a pairing environment. Requires bachelors degree in a related area and 1-2 years of experience in the field, or a minimum 3 years of experience in the field without a degree. Essential Functions: * Provide architecturally sound software applications. * Provide meaningful testing implementations. * Provide production support. * Participate in planning meetings and software releases. * Share knowledge and stay atop industry trends. Skills: * Strong attention to detail and accuracy. * Excellent problem solving and communication skills. * Application technology agnostic. * Strong web technology (HTML, CSS, Javascript) knowledge. * Adroid and iPhone development experience required. * Ruby and PHP experience preferred. Adam Brookins Managing Partner abrook...@sysdevit.com O: 678-392-1328 C: 404-229-4765 F: 678-252-6625 www.sysdevit.com Adam Brookins Managing Partner abrook...@sysdevit.com O: 678-392-1328 C: 404-229-4765 F: 678-252-6625 www.sysdevit.com logo_sysdev_small image001.jpg-- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Keys don't work with SurfaceView
Hi, I have this View: public class Launcher4A extends SurfaceView implements SurfaceHolder.Callback, OnKeyListener { public Launcher4A(Context context) { super(context); System.loadLibrary(tcvm); instance = this; surfHolder = getHolder(); surfHolder.addCallback(this); setWillNotDraw(true); setFocusable(true); requestFocus(); setOnKeyListener(this); } public boolean onKey(View v, int keyCode, KeyEvent event) { Log.i(TotalCross, onKeyDown +keyCode); return true; } } When i run the application in Emulator, the onKey is never called if the Launcher4A class was clicked inside. Actually, i was able to get the onKeyDown log once, when i clicked somewhere outside the view, but i'm unable to get it when the view has focus. Am I missing something? Best, guich -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] my item and registered
http://www.shoppingreps.com?SourceId=11221 very cool and interesting. I search for a washing machine, their inventory is very bad I can’t find. I found an innovation they allowed the customers to add any goods to their inventory and register for them. I added my item and registered for that. The site says they will check if my item is available in the market. If it is available they will approve my new inventory and my group will be available for anybody else to join. It is fascinating, but time consuming. I am waiting. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Failed to reopen debug port for Selected Client to:
I am using Eclipse 3.5.1 M20090917-0800 on Ubuntu 9.10 and experienced the same problem. The fix suggested by Spad apparently resolved. Is this an Eclipse (ADT) problem or an Ubuntu/Debian problem? On Dec 29 2009, 3:37 am, Spad ultrona...@gmail.com wrote: I too am running Debian and experiencing this problem after a recent update. I am using eclipse 3.5 (galileo) downloaded from the eclipse website (rather than installed the package manager) and I am running sun's java 6. I added the following line to the eclipse.ini file: -Djava.net.preferIPv4Stack=true and after starting eclipse, I no longer experience the errors. This also fixed the problems I was having connecting to sites with Install New Software. On Dec 21, 11:11 am, Kai Hendry kai.hen...@gmail.com wrote: I am experiencing the same problem on my Debian machine. I noticed it does not seem to be problem on Ubuntu. :/ -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Intent filter doesn't work with service
Hey. I want my application to show up in the selection list that pops up when you share an image. This works fine with the following intent filter in the manifest: activity ... intent-filter action android:name=android.intent.action.SEND/ category android:name=android.intent.category.DEFAULT/ category android:name=android.intent.category.ALTERNATIVE/ data android:mimeType=image/jpeg / /intent-filter /activity However, this does only work when put within my main activity. The exact same filter doesn't work in a service section, my application won't show up in the selection list. But since I want my application to silently process the image I need a service to listen for the intent, not an activity that pops up a window. Any ideas on what I might be doing wrong? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: A webview has a white line at the right side
I had the same problem with phonegap. It seems the white line is some space spared for a scrollbar. I solved it by setting the scrollbar- style: webview.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY); On 20 Nov. 2009, 22:20, Micky m.ko...@gmail.com wrote: Hello! I'm trying usingwebviewin anandroidapplication, but there is one strange thing - awhiteverticallineat therightside of emulator's screen. I tried different layouts, different web-pages - nothing helps. You can see an image on the link below:http://picasaweb.google.com/m.kokho/RecentlyUpdated#5406296875878909314 layout/main.xml: ?xml version=1.0 encoding=utf-8? FrameLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical WebViewandroid:id=@+id/webview android:layout_width=wrap_content android:layout_height=fill_parent / /FrameLayout java code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); //or like this: setContentView(newWebView(this)); // init fields: webview= (WebView) findViewById(R.id.webview); // setupwebview: final WebSettings webSettings =webview.getSettings(); webSettings.setSavePassword(false); webSettings.setSaveFormData(false); webSettings.setJavaScriptEnabled(true); webSettings.setSupportZoom(false); webview.setWebChromeClient(new MyWebChromeClient()); webview.setWebViewClient(new MyWebViewClient()); webview.loadUrl(file:///android_asset/index3.html); } -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] I have note pad where are notepads files saved???
I just started to use the emulator and I have it setup with python, notepad and a file manager. I am wanting to port some python code to manipulate text files but I have no idea where the text files are (or if I need a different text editor). I was wanting to use a program called netcsound and I would need to send the files over to it after I had processed them. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Getting a string from HTTP
I think that the best way for me to start this post is to explain what I'm doing. I'm learning the Android platform because I want to learn how to program in Java (I'll need it for a class next year), and I reckon that the best way of doing this is for me to write simple apps. I have spent the last year programming in python so I know basic concepts, but I am teaching myself the most of it as I go along. This is the first time I have ventured outside of the relative safety of the book I am 'learning' from (in all honesty, I find these books better as references than actual tutorials). I am currently stuck on a certain part of an app I am writing. What the app is meant to do is grab a string from a dynamically generated text file (over the http protocol). This is then displayed on the screen. I tend to learn best by example, so I have been looking for examples of opening http resources. I have started with a book I am learning from (Beginning Android) and a snippet on stackoverflow. These two 'examples' are http://stackoverflow.com/questions/1959676/httpget-in-android-unresolvedhostexception/1960768 and http://github.com/commonsguy/cw-android/blob/a5108d95e07eb79807f865c21bcee005b9dac917/Internet/Weather/src/com/commonsware/android/internet/WeatherDemo.java which are either more complicated, complete ideas or are tiny samples. I have botched together some code, but it is not working, and whilst I am fairly sure why, I'm not entirely sure how I could remedy it. This is my source code at the moment for anyone interested: As you can see, I'm having some trouble with the whole http side of things. I am not looking for an explanation here or any sort of fix to my code (that would be rude for me to ask), more a list of places where I have gone wrong, and perhaps another example of a similar action to mine. I am new to Java in general, and whilst I am a fast learner at these sorts of things, I am still firmly in the 'noob' zone, and being spoon-fed in any way is not great for learning! My development device is API 3, if that changes anything. package com.bakes.ChuckNorrisFacts; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import org.apache.http.client.ResponseHandler; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.BasicResponseHandler; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.params.BasicHttpParams; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; public class ChuckNorrisFacts extends Activity implements View.OnClickListener { HttpEntity httpEntity; Button btn; TextView text; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); btn=(Button)findViewById(R.id.updatebutton); text=(TextView)findViewById(R.id.factbox); updateFact(); } public void onClick(View view){ updateFact(); } private void updateFact() { String url = http://www.site.com/norris.php;; HttpClient client = new DefaultHttpClient(); HttpGet getMethod=new HttpGet(url); HttpResponse httpResponse = client.execute(getMethod); httpEntity = httpResponse.getEntity(); try { ResponseHandlerString responseHandler = new BasicResponseHandler(); String responseBody=client.execute(getMethod, responseHandler); text.setText(httpEntity.getContent()); } catch (Throwable t) { text.setText(Chuck Norris doesn\'t need internet access. You do, so make sure you are connected and try again.); } } } -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Add more supported devices to USB Driver for Windows?
Hi! I bought an Android phone (Samsung Galaxy Spica i5700) from my mobile operator, with also development in mind. However, I now must accept that I cannot use it as a full-fledged development, at least not yet, since there doesen't seems to be suitable drivers available. The drivers coming with the device did do anything, and modifying the ini of the USB Driver for Windows of the SDK did not help either. ADB does not simply see the device. I can of course copy installation packets to the device and install, but I cannot debug and copying packets is tedious. I assume many of the beginners use MS Windows, and there the problem is the worst - virtually nothing can be done without proper drivers either from Android or manufacturer. For Mac things should be working, and for Linux the devices can be configured using instructions found from net. Currently, the drivers coming with the SDK support only few devices, 5 or 6? It would be very nice to add more supported devices to make development easier. Best Regards, Antti Karhu -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Extra SDK and NDK ability + couple questions
Hello there, I'm newbie in Android dev so maybe my questions will sound stupid, but: 1) Is there some additional SDK or NDK (ideally - both) extensions? Maybe some certificates must be obtained to get this extensions(or maybe core level API or 'root authorities')? 2) What kind of IPC between java and C++ apps can be established (exept JNI)? 3) Is there planning full C++ stl support for NDK? Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Community for Android Developers and Device Users
Hi everyone, I wanted to let you know about Duarlander - it's a community we created for Android developers and device owners. We started it out to get users and developers in the same place, so people who own Android devices can test out applications. Once we get more people we'll be not only testing applications but reviewing them as well. And of course, everyone is free to talk about their own apps, talk about apps that they like or use a lot, talk about their phones, discuss issues or questions that they have...etc. Take a look and sign up if you're interested in Android! The website is www.duarlander.com. Thanks! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Iphone development versus Android
Keep in mind there are a number of factors for a less populated market than iPhone/app store. First.. app store has almost 2 years head start. Even when there wasn't app store (until 3G came out), people were jail breaking and building apps for the original iphone. Second, a LOT of developer are both iPhone and Android.. and have come away with the knowledge of what is pure crap on the app store. More likely you see less bad apps than on app store right now. That's not to say tho with the ease of development, no restrictions on apps (for the most part) and lower cost to entry barrier that you wont see a flood of bad apps sooner than later, but so far it seems that there are less crap apps on the market. Next up is the differences in platforms. A lot of developers, myself included, realize that Android has quite a ways to go to catch up to the iPhone capabilities. Presently, it is very difficult if not impossible to build similar apps. For example, the low latency real-time music apps on iPhone are top notch... impossible to do on Android right now. High end games as well are impossible right now. There is an expected Open GL and Open CL updates along with a JIT coming soon we all hope that will substantially help Android take off. The JIT will boost performance quite a bit for most apps, and the hardware level audio and video libraries once they are part of Android should allow for much more robust/real-time low latncy games and music apps. A large population of the content on app store are high end video games.. as I think something like 30% of their sales come from iPod touch sales... mostly for video games use. I forget the number now tho..but it was quite a bit. So until Android is as capable, I think you'll see a lot less high quality games and music apps. As well, Android is still new, and only the past couple months has seen devices of iPhone caliber (moto droid, nexus one) arrive on the market. It will take some months for developers to really tap all the Android 2.0 and later features. I would give a fair bit of time, maybe another year, before you can compare fairly the two devices, and by then iPhone will be working on their 5th version... their 4th, rumored to be a dual-core beast, is due out in a couple months. On Thu, Jan 14, 2010 at 9:39 AM, Kenn Lisudza kennlisu...@gmail.com wrote: Thats a really nice good insight. Me particularly being a java developer for a while now must agree Android development is quite intuitive. Not to say that Objective C is any harder just depends on YOU. Well I must say that the android platform (market) isn't well stocked with lots of apps like the apple store but with psyched up developers and more people getting onto the bandwagon slowly we will get there. On Thu, Jan 14, 2010 at 2:18 AM, Kevin Duffey andjar...@gmail.com wrote: There are a number of factors I think you run in to for a fair answer. As Danny said, the market is MUCH larger on iPhone...for now. But you run in to some issues... which if you already developed for iPhone you may not have yourself. The primary one being forced to use mac hardware to develop on. The cheapest hardware for Mac is not very cheap and for most of us 1-off developers doing this on the side, most likely out of reach. Therefore, the choice is easy in that case, Android. I suppose it depends on the actual device you own too. If you already have iPhone and can't break contract to grab an Android device.. or don't want to pay either full price just for the hardware, or sign a 2nd contract with Verizon, T-Mobile or Sprint, then you may have to weight that in on your decision. For me, the other day I read a post on here (or another forum..can't remember) that I already knew, but it sort of woke me up. The biggest pain point of the iPhone for end users is the issue of switching apps. You can't. Any time you launch an app from another, you most of the time can't go back. I think there are a few cases where you can go back to FaceBook from the browser, for example. But most of the time, you have to completely restart the app and often times navigate your way back to where you were when you launched another app. Or, you hit their one home button, which effectively closes the app you were running, and start another. Then go back..and you just started it again. Again there are some apps that may save state between runs, I've not found one myself that does this. I asked my wife... a sort of anti-computer person who loves her iPhone, what her biggest complaint with it was. Without me saying anything to her, she said she hates having to switch to another app because she loses her place in the first app and has to start all over. I am gong out on a limb to guess that Apple, in their soon to be announced iPhone 4 might address the multi-tasking issue. But if they do, they are either going to have to make the underlying OS do true multi-tasking between multiple apps.. at the risk of potential
Re: [android-beginners] Data sharing between mobile users
Sumanth - This is very good idea.Better you can go for a web service application to use this. Regards, Justin James. On Tue, Jan 12, 2010 at 12:05 PM, Sumanth Prabhakar sumanth.prabha...@gmail.com wrote: Hi, I am completely new to Android. I have question regarding data storage and its accessibility to the mobile users. I want to come up with an application in which the data entered by one mobile user should be available to other mobile users also. I want to have common storage database, which will be accessed, updated by multiple mobile users. How can this be done? I wend through content provider but it tells about data sharing between multiple applications in a mobile, but i want data sharing between multiple mobile users. Thanks, K.P.Sumanth -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] aapt
Hi all , I am new to Android and i am trying to build already developed software to make j2me softs run in android. One of the steps needs aapt tool and i cant find that tool in sdk/tools in my system. I am having 2.1 SDK. Where can i download aapt or where will the appt tool will be, ? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] SDK and NDK. Additional possibilities
Hello there, I'm newbie in Android dev, so maybe my questions sound a little bit stupid, but: 1) Is there some possibility to obtain additional SDK and NDK api? (maybe some partners program or something else) 2) Are there any known SDK frameworks (interesting frameworks for network solutions) 3) What kind of IPC between java and c/c++ app exists (exept JNI) 4) Is there any possibility to get kernel access or to get 'root' privileges? Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: how to set the notification volume to the ringtone volume
it doesn't work for me, and I'm still searching a solution. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: how to set the notification volume to the ringtone volume
Hello Justin, no, it doesn't work for me and I'm still looking for a solution. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Key click sound using soft keyboard
I must be missing something obvious (if so I apologize). I am testing an app on a MOTO Droid that has the system setting Audible selection checked so that key clicks make sound when the buttons on my app are pressed. I have two buttons, a set button and a clear button. The set button essentially records a value from an EditText object. The problem occurs when the user selects the EditText and the soft keyboard appears. After a value is typed in and the user presses the Done button on the soft keyboard, the key click sound does not play. Is the proper behavior for the key click sound to play when the Done button is pressed, or do I have to force this programmatically? If I have to do it myself, is there an preferred way to play the sound? (I already listen for the Done button on the soft keyboard so I know where I would need to play the sound.) I am hoping I have missed some simple configuration thing here. Here are XML definitions of the buttons and Edit Text: EditText android:id=@+id/txtFoo android:layout_width=120dip android:layout_height=wrap_content android:paddingTop=0px android:textSize=40px android:layout_marginTop=160dip android:layout_gravity=center_horizontal|top android:textColor=#00 android:gravity=center android:text= android:hint=0 android:singleLine=true android:inputType=phone android:digits=0123456789 android:imeOptions=actionDone/ ImageButton android:id=@+id/btnSet android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginBottom=43dip android:layout_marginLeft=18dip android:src=@drawable/btnset android:background=@null android:layout_gravity=left|bottom/ ImageButton android:id=@+id/btnClear android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginBottom=43dip android:layout_marginRight=18dip android:src=@drawable/btnclear android:background=@null android:layout_gravity=right|bottom/ Thanks, Dan -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Cannot parse adb version
Alright, so here are some things you should do: 1 - When you run adb from your terminal window you get output 2 - When you run ant -v from the you get some output telling you your ant version and an error about build.xml If these two things are working, then you don't *need* Eclipse to do your android development. As was stated earlier, ADT on Windows7 doesn't work well if at all. You can do android development using whatever you want (vim, emacs, notepad, etc). If you need an IDE perhaps you should give NetBeans a try. There is an android development plugin made for NetBeans that might work on Windows 7. Either using NetBeans or some text editor try and get the Hello World application working on your emulator. The best way to do that would be to simply use ant to build your project (make sure your emulator is already running): yourandroidproject $ ant compile yourandroidproject $ adb install -r bin/yourandroidproject.apk In another window you may want to be running logcat so that you can be sure the application you are trying to install is actually being sent to your emulator. I highly suggest you try getting this working from the command line first. Cheers, CS On Jan 16, 11:21 am, Rc3375 rcobb3...@gmail.com wrote: Is there anyone willing to help me beat up ADB? I recently did a reinstall of:ECLIPSE/ANDROID ANT on a windows7 laptop. Some say that windows7 isn't compatible. Which leads me to this questionIF is ISN'T, then how are others developing IN WINDOWS7 Anyway, all of the files are in their proper locations (Eclipse/Android and Ant). ALL of the PATHS are setup correctly within window7 enviornment settings. With that being said, WHEN ECLIPSE is STARTED from WITHIN WINDOWS7, this ERROR comes up that says UNABLE TO PARSE ADB VERSION. I have tried running ADB KILL-SERVER / ADB START-SERVER from the command prompt. The emulator starts fine, but the app in question NEVER STARTS. Same result if the app is run from within ECLIPSE. All of the most recent AVD's are present and installed. Tried ALL the AVD's...but the app will not appear and run the way it should. Even checked the ADT version, that too is correct. SO, if windows7 is not compatible AND other are developing on windows7, then it comes down to OVER-LOOKING SOMETHING. Does ANYONE HAVE ANY IDEAS OF WHAT THAT COULD BE? I WOULD APPRECIATE THAT IF ANYONE HAS HAD this issue, let me know what the problem was, and how you found/solved it. Thanks to everyone for the help and assistance. Rc3375 -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Android dev phone and Mac snow leopard
hello, i am trying to use android htc phone (http://developer.htc.com/ adp.html) with a macbook pro running snow leopard (version 10.6.2). when i connect the phone to the computer over usb, the device is not getting mounted at all. however, i see the following error messages in the console: 1/17/10 Jan 17, 2010 7:54:29 PMkernel USBMSC Identifier (non- unique): HT851LZ02390 0xbb4 0xc01 0x100 1/17/10 Jan 17, 2010 7:54:30 PMkernel com_seagate_IOPowSec00: No ValidUSBVendor found pls. let me know how to resolve this. thanks in advance. cheers Dave -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Android Developer Needed - Atlanta
Just out of curiosity.. what are the pay rates for android developers? I am also curious for remote/work at home developers. I would love to find some contract work that doesn't entail travel (not a fan of flying). Not sure how to go about finding some work like that tho that pays decently. On Fri, Jan 15, 2010 at 10:59 AM, Adam Brookins abrook...@sysdevit.comwrote: I hope everyone is having a wonderful day! If interested in our position please send a word copy of your resume to abrook...@sysdevit.com. Regards, Adam Client is looking for a mobile developer with Android/iPhone experience. This individual will also have the opportunity to learn/use other technologies such as Ruby and PHP. The client uses pairing for development and believes in a strong diverse team. This individual would serve as the mobile expertise of the team and would be expected to teach other members of the team. Job Summary: Designs, modifies, develops, implements and supports applications. Must ensure all work is fully covered by tests. Must be familiar with a variety of industry concepts, practices and procedures. Must employ the right technology for the best solution approach. Must be able to perform a variety of complicated tasks. May lead and direct the work of others. Must be a team player and willing to work in a pairing environment. Requires bachelors degree in a related area and 1-2 years of experience in the field, or a minimum 3 years of experience in the field without a degree. Essential Functions: * Provide architecturally sound software applications. * Provide meaningful testing implementations. * Provide production support. * Participate in planning meetings and software releases. * Share knowledge and stay atop industry trends. Skills: * Strong attention to detail and accuracy. * Excellent problem solving and communication skills. * Application technology agnostic. * Strong web technology (HTML, CSS, Javascript) knowledge. * Adroid and iPhone development experience required. * Ruby and PHP experience preferred. *Adam Brookins* *Managing Partner* *abrook...@sysdevit.com* *O: 678-392-1328* *C: 404-229-4765* *F: 678-252-6625* *www.sysdevit.com* *Adam Brookins* *Managing Partner* *abrook...@sysdevit.com* *O: 678-392-1328* *C: 404-229-4765* *F: 678-252-6625* *www.sysdevit.com* [image: logo_sysdev_small] -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Starting Google Maps at pre-specified location
Hi Group, I have one problem with Google Maps, while opening them at some location. How could that be possible for user to specify city first (e.g. type in EditText field London) then press a button and see London on the map? I've succeded in opening GMaps at some pre- specified location, but only using coordinates:(. Cannot find anything on topic. Thanks in advance! Denis -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: aapt
Looks like it is platform specific. Here's a find from my SDK directory showing locations: $ find -name aapt ./platforms/android-1.1/tools/aapt ./platforms/android-2.1/tools/aapt ./platforms/android-2.0/tools/aapt ./platforms/android-1.6/tools/aapt ./platforms/android-2.0.1/tools/aapt ./platforms/android-1.5/tools/aapt On Jan 17, 12:29 pm, Naveen DS naveen.cse@gmail.com wrote: Hi all , I am new to Android and i am trying to build already developed software to make j2me softs run in android. One of the steps needs aapt tool and i cant find that tool in sdk/tools in my system. I am having 2.1 SDK. Where can i download aapt or where will the appt tool will be, ? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: how to set the notification volume to the ringtone volume
Why don't you use the AudioManager to set the volume? Ryan Sent from my DROID On Jan 17, 2010 3:36 PM, onDroid o.nabil.dr...@gmail.com wrote: it doesn't work for me, and I'm still searching a solution. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Community for Android Developers and Device Users
I signed up to check it out. Sent via my Google Android device... On Jan 17, 2010 3:29 PM, theresa theresa.val...@idealprojectgroup.com wrote: Hi everyone, I wanted to let you know about Duarlander - it's a community we created for Android developers and device owners. We started it out to get users and developers in the same place, so people who own Android devices can test out applications. Once we get more people we'll be not only testing applications but reviewing them as well. And of course, everyone is free to talk about their own apps, talk about apps that they like or use a lot, talk about their phones, discuss issues or questions that they have...etc. Take a look and sign up if you're interested in Android! The website is www.duarlander.com. Thanks! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Starting Google Maps at pre-specified location
Well, clearify, what I've said: I'm using next code in order to open Google Maps at London (for instance). public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.query); //my first layout with button Button searchbutton = (Button) findViewById(R.id.Button01); // simple button, when click by user comes - Maps are opened searchbutton.setOnClickListener(new OnClickListener(){ public void onClick(View view) { openmap (); //method that opens Maps (see below) }}); } private void openmap(){ //Now starting Intent with parameters, open a MyMap.class, where magic happens - map appears, but on standard North American view... Intent i = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse (geo:0,0?=London), this, MyMap.class); startActivityForResult(i, ACTIVITY_CREATE); } } What it could be? Any ideas? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] simple web search based on location
Hi Folks, wondering if any of you can help. This is what I am trying to do: simple app to get list of addresses I am interested in based on my current location. I get the current location using location services. Now, based on this current location I want to do a search on business places without really using the SearchManager's triggerSearch. The problem with the triggerSearch is that it launches the googlemap and show the business address I am looking for and it is blocked. I want to get the control back. I do not want to launch the map with the listing. all I want to do is the get the Geopoint of the business address I am interested in using a simple web search. I tried reverseGeocoding , but it is does not work with business address. It needs full address. any suggestion?. Simply put, all I want to do is a simple websearch , say query=whole foods, los gatos, CA to get its full address. and then use it to get the GeoPoint. I am stuck and wondering if anyone can give me some pointers. thanks a ton in advance. Sunny. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Android Developer Needed - Atlanta
Also, have you posted this to stack overflow? You might catch a good dev that can produce what you need. On Jan 17, 1:44 pm, Kevin Duffey andjar...@gmail.com wrote: Just out of curiosity.. what are the pay rates for android developers? I am also curious for remote/work at home developers. I would love to find some contract work that doesn't entail travel (not a fan of flying). Not sure how to go about finding some work like that tho that pays decently. On Fri, Jan 15, 2010 at 10:59 AM, Adam Brookins abrook...@sysdevit.comwrote: I hope everyone is having a wonderful day! If interested in our position please send a word copy of your resume to abrook...@sysdevit.com. Regards, Adam Client is looking for a mobile developer with Android/iPhone experience. This individual will also have the opportunity to learn/use other technologies such as Ruby and PHP. The client uses pairing for development and believes in a strong diverse team. This individual would serve as the mobile expertise of the team and would be expected to teach other members of the team. Job Summary: Designs, modifies, develops, implements and supports applications. Must ensure all work is fully covered by tests. Must be familiar with a variety of industry concepts, practices and procedures. Must employ the right technology for the best solution approach. Must be able to perform a variety of complicated tasks. May lead and direct the work of others. Must be a team player and willing to work in a pairing environment. Requires bachelors degree in a related area and 1-2 years of experience in the field, or a minimum 3 years of experience in the field without a degree. Essential Functions: * Provide architecturally sound software applications. * Provide meaningful testing implementations. * Provide production support. * Participate in planning meetings and software releases. * Share knowledge and stay atop industry trends. Skills: * Strong attention to detail and accuracy. * Excellent problem solving and communication skills. * Application technology agnostic. * Strong web technology (HTML, CSS, Javascript) knowledge. * Adroid and iPhone development experience required. * Ruby and PHP experience preferred. *Adam Brookins* *Managing Partner* *abrook...@sysdevit.com* *O: 678-392-1328* *C: 404-229-4765* *F: 678-252-6625* *www.sysdevit.com* *Adam Brookins* *Managing Partner* *abrook...@sysdevit.com* *O: 678-392-1328* *C: 404-229-4765* *F: 678-252-6625* *www.sysdevit.com* [image: logo_sysdev_small] -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr i...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Data sharing between mobile users
I agree. You are going to need a web based server to host the data to be accessed between the users. On Jan 17, 8:22 am, Justin James juztinja...@gmail.com wrote: Sumanth - This is very good idea.Better you can go for a web service application to use this. Regards, Justin James. On Tue, Jan 12, 2010 at 12:05 PM, Sumanth Prabhakar sumanth.prabha...@gmail.com wrote: Hi, I am completely new to Android. I have question regarding data storage and its accessibility to the mobile users. I want to come up with an application in which the data entered by one mobile user should be available to other mobile users also. I want to have common storage database, which will be accessed, updated by multiple mobile users. How can this be done? I wend through content provider but it tells about data sharing between multiple applications in a mobile, but i want data sharing between multiple mobile users. Thanks, K.P.Sumanth -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2Bunsubscr i...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Iphone development versus Android
Its hard to fairly compare the two because Android is an operating system that runs on multipule machines. The iPhone is just one well refined device. Market maturaty also has a big impact. People are more acustomed to and know waht to expect from the app store. The Android market is still young. On Jan 17, 1:35 pm, Kevin Duffey andjar...@gmail.com wrote: Keep in mind there are a number of factors for a less populated market than iPhone/app store. First.. app store has almost 2 years head start. Even when there wasn't app store (until 3G came out), people were jail breaking and building apps for the original iphone. Second, a LOT of developer are both iPhone and Android.. and have come away with the knowledge of what is pure crap on the app store. More likely you see less bad apps than on app store right now. That's not to say tho with the ease of development, no restrictions on apps (for the most part) and lower cost to entry barrier that you wont see a flood of bad apps sooner than later, but so far it seems that there are less crap apps on the market. Next up is the differences in platforms. A lot of developers, myself included, realize that Android has quite a ways to go to catch up to the iPhone capabilities. Presently, it is very difficult if not impossible to build similar apps. For example, the low latency real-time music apps on iPhone are top notch... impossible to do on Android right now. High end games as well are impossible right now. There is an expected Open GL and Open CL updates along with a JIT coming soon we all hope that will substantially help Android take off. The JIT will boost performance quite a bit for most apps, and the hardware level audio and video libraries once they are part of Android should allow for much more robust/real-time low latncy games and music apps. A large population of the content on app store are high end video games.. as I think something like 30% of their sales come from iPod touch sales... mostly for video games use. I forget the number now tho..but it was quite a bit. So until Android is as capable, I think you'll see a lot less high quality games and music apps. As well, Android is still new, and only the past couple months has seen devices of iPhone caliber (moto droid, nexus one) arrive on the market. It will take some months for developers to really tap all the Android 2.0 and later features. I would give a fair bit of time, maybe another year, before you can compare fairly the two devices, and by then iPhone will be working on their 5th version... their 4th, rumored to be a dual-core beast, is due out in a couple months. On Thu, Jan 14, 2010 at 9:39 AM, Kenn Lisudza kennlisu...@gmail.com wrote: Thats a really nice good insight. Me particularly being a java developer for a while now must agree Android development is quite intuitive. Not to say that Objective C is any harder just depends on YOU. Well I must say that the android platform (market) isn't well stocked with lots of apps like the apple store but with psyched up developers and more people getting onto the bandwagon slowly we will get there. On Thu, Jan 14, 2010 at 2:18 AM, Kevin Duffey andjar...@gmail.com wrote: There are a number of factors I think you run in to for a fair answer. As Danny said, the market is MUCH larger on iPhone...for now. But you run in to some issues... which if you already developed for iPhone you may not have yourself. The primary one being forced to use mac hardware to develop on. The cheapest hardware for Mac is not very cheap and for most of us 1-off developers doing this on the side, most likely out of reach. Therefore, the choice is easy in that case, Android. I suppose it depends on the actual device you own too. If you already have iPhone and can't break contract to grab an Android device.. or don't want to pay either full price just for the hardware, or sign a 2nd contract with Verizon, T-Mobile or Sprint, then you may have to weight that in on your decision. For me, the other day I read a post on here (or another forum..can't remember) that I already knew, but it sort of woke me up. The biggest pain point of the iPhone for end users is the issue of switching apps. You can't. Any time you launch an app from another, you most of the time can't go back. I think there are a few cases where you can go back to FaceBook from the browser, for example. But most of the time, you have to completely restart the app and often times navigate your way back to where you were when you launched another app. Or, you hit their one home button, which effectively closes the app you were running, and start another. Then go back..and you just started it again. Again there are some apps that may save state between runs, I've not found one myself that does this. I asked my wife... a sort of anti-computer person who loves her iPhone, what her biggest complaint
Re: [android-beginners] Re: Iphone development versus Android
I would assume that Apple will create a device that is not 100% compatible with their older device, like higher resolutions and added functionality and then they will also get some of the problems Android has but in lesser extent On Mon, Jan 18, 2010 at 12:31 PM, Michael boggess coda5...@gmail.comwrote: Its hard to fairly compare the two because Android is an operating system that runs on multipule machines. The iPhone is just one well refined device. Market maturaty also has a big impact. People are more acustomed to and know waht to expect from the app store. The Android market is still young. On Jan 17, 1:35 pm, Kevin Duffey andjar...@gmail.com wrote: Keep in mind there are a number of factors for a less populated market than iPhone/app store. First.. app store has almost 2 years head start. Even when there wasn't app store (until 3G came out), people were jail breaking and building apps for the original iphone. Second, a LOT of developer are both iPhone and Android.. and have come away with the knowledge of what is pure crap on the app store. More likely you see less bad apps than on app store right now. That's not to say tho with the ease of development, no restrictions on apps (for the most part) and lower cost to entry barrier that you wont see a flood of bad apps sooner than later, but so far it seems that there are less crap apps on the market. Next up is the differences in platforms. A lot of developers, myself included, realize that Android has quite a ways to go to catch up to the iPhone capabilities. Presently, it is very difficult if not impossible to build similar apps. For example, the low latency real-time music apps on iPhone are top notch... impossible to do on Android right now. High end games as well are impossible right now. There is an expected Open GL and Open CL updates along with a JIT coming soon we all hope that will substantially help Android take off. The JIT will boost performance quite a bit for most apps, and the hardware level audio and video libraries once they are part of Android should allow for much more robust/real-time low latncy games and music apps. A large population of the content on app store are high end video games.. as I think something like 30% of their sales come from iPod touch sales... mostly for video games use. I forget the number now tho..but it was quite a bit. So until Android is as capable, I think you'll see a lot less high quality games and music apps. As well, Android is still new, and only the past couple months has seen devices of iPhone caliber (moto droid, nexus one) arrive on the market. It will take some months for developers to really tap all the Android 2.0 and later features. I would give a fair bit of time, maybe another year, before you can compare fairly the two devices, and by then iPhone will be working on their 5th version... their 4th, rumored to be a dual-core beast, is due out in a couple months. On Thu, Jan 14, 2010 at 9:39 AM, Kenn Lisudza kennlisu...@gmail.com wrote: Thats a really nice good insight. Me particularly being a java developer for a while now must agree Android development is quite intuitive. Not to say that Objective C is any harder just depends on YOU. Well I must say that the android platform (market) isn't well stocked with lots of apps like the apple store but with psyched up developers and more people getting onto the bandwagon slowly we will get there. On Thu, Jan 14, 2010 at 2:18 AM, Kevin Duffey andjar...@gmail.com wrote: There are a number of factors I think you run in to for a fair answer. As Danny said, the market is MUCH larger on iPhone...for now. But you run in to some issues... which if you already developed for iPhone you may not have yourself. The primary one being forced to use mac hardware to develop on. The cheapest hardware for Mac is not very cheap and for most of us 1-off developers doing this on the side, most likely out of reach. Therefore, the choice is easy in that case, Android. I suppose it depends on the actual device you own too. If you already have iPhone and can't break contract to grab an Android device.. or don't want to pay either full price just for the hardware, or sign a 2nd contract with Verizon, T-Mobile or Sprint, then you may have to weight that in on your decision. For me, the other day I read a post on here (or another forum..can't remember) that I already knew, but it sort of woke me up. The biggest pain point of the iPhone for end users is the issue of switching apps. You can't. Any time you launch an app from another, you most of the time can't go back. I think there are a few cases where you can go back to FaceBook from the browser, for example. But most of the time, you have to completely restart the app and often times navigate your way back to where you were
[android-beginners] Re: AlertDialog problem: always get NULL values.
Hi, Try as below. public void onClick(DialogInterface dialog, int whichButton) { AlertDialog ad = (AlertDialog) dialog; EditText editUsername = (EditText) ad.findViewById (R.id.username_edit); EditText editPassword = (EditText) ad.findViewById (R.id.password_edit); EditText editMail = (EditText) ad.findViewById (R.id.email_edit); } Regards On Jan 16, 2:29 am, Dominik derbsl...@gmail.com wrote: hello I have an Activity class in which I have this method which returns an AlertDialog: protected Dialog onCreateDialog(int id) { switch (id) { case 0: (returns an alert...) case 1: LayoutInflater factory = LayoutInflater.from(this); final View textEntryView = factory.inflate (R.layout.register_member, null); return new AlertDialog.Builder(CheatView.this).setIcon (R.drawable.alert_dialog_icon) .setTitle(R.string.register_title) .setView(textEntryView).setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { EditText editUsername = (EditText) findViewById(R.id.username_edit); EditText editPassword = (EditText) findViewById (R.id.password_edit); EditText editMail = (EditText) findViewById(R.id.email_edit); } }).setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int whichButton) { /* User clicked cancel so do some stuff */ } }).create(); } return null; } when the user presses OK I want to grab the information he entered in that AlertDialog EditText field (i.e. editUsername ) - my problem is that I always get NULL values. after pressing the OK button the application crashes. Does anyone have an idea what I am doing wrong? thanks for help! -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: Android dev phone and Mac snow leopard
folks, btw, i forgot to mention the android details: firmware version: 1.6 kernel version: 2.6.29-00479-g3c7df37 build number: DRC83 any tips/suggestions would be welcome. cheers deva On Jan 17, 7:41 pm, dandroid deva.seetha...@gmail.com wrote: hello, i am trying to use android htc phone (http://developer.htc.com/ adp.html) with a macbook pro running snow leopard (version 10.6.2). when i connect the phone to the computer over usb, the device is not getting mounted at all. however, i see the following error messages in the console: 1/17/10 Jan 17, 2010 7:54:29 PM kernel USBMSC Identifier (non- unique): HT851LZ02390 0xbb4 0xc01 0x100 1/17/10 Jan 17, 2010 7:54:30 PM kernel com_seagate_IOPowSec00: No ValidUSBVendor found pls. let me know how to resolve this. thanks in advance. cheers Dave -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Starting Google Maps at pre-specified location
Try using the Geocoder class to get an Address for London which should contain a lat and lon you can pass to the maps app. - TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking On Sun, Jan 17, 2010 at 5:48 PM, Denis 87elem...@gmail.com wrote: Well, clearify, what I've said: I'm using next code in order to open Google Maps at London (for instance). public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.query); //my first layout with button Button searchbutton = (Button) findViewById(R.id.Button01); // simple button, when click by user comes - Maps are opened searchbutton.setOnClickListener(new OnClickListener(){ public void onClick(View view) { openmap (); //method that opens Maps (see below) }}); } private void openmap(){ //Now starting Intent with parameters, open a MyMap.class, where magic happens - map appears, but on standard North American view... Intent i = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse (geo:0,0?=London), this, MyMap.class); startActivityForResult(i, ACTIVITY_CREATE); } } What it could be? Any ideas? -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en
Re: [android-beginners] Re: Query on committing changes to content providers
Thanks Sreehari. Hi Sreehari, Actually that piece of code doesnt work for SDK 1.0 as well. I sorted out the issue. I had to simply follow the steps explained here : http://developer.android.com/guide/topics/providers/content-providers.html My bad. I didnt read the doc thoroughly before posting this query. Thanks, Kowshik On Tue, Jan 12, 2010 at 11:05 AM, SREEHARI sreehari.madhusooda...@wipro.com wrote: Hi, I think ur code will work for SDK 1.0 only. For higher version it will work by applying some small changes in your code. Use Contacts.People.createPersonInMyContactsGroup(getContentResolver(), values); Instead of ContentResolver contRes= getContentResolver(); contRes.insert(People.CONTENT_URI, values); Hope this will work. Thanks, SREEHARI On Jan 11, 11:32 pm, Kowsh kows...@gmail.com wrote: Hi, I am trying to write a simple app for my G1 phone that runs Android 1.6. The app should be able to access and modify the Contacts list at runtime. I configured my android project in eclipse with API level 4 for 1.6. I set read and write user permissions in the android manifest file and I tried using the following code to commit changes to the Contacts list in the onCreate(...) method of my Activitiy class : public class GolfScore extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); ContentValues values = new ContentValues(); //Set NAME for new contact values.put(People.NAME, John Mogambo); //Add contact to 'Favourites' list values.put(People.STARRED, 1); //Commit changes ContentResolver contRes= getContentResolver(); contRes.insert(People.CONTENT_URI, values); } } I find that when I minimise my app at runtime in the emulator and open the contacts app, the new contact : John Mogambo has been added to Favourites list alone. It doesnt figure in the main list of contacts. I would be grateful if somebody could point out whats missing in my code. Thanks, Kowshik -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en