Re: [android-developers] Re: how to replace with in android or java ?
In Java, I'm pretty sure the escape character is \ so you could call String.replace(\\, Replacement text); That should make the String appear as Replacement text. On Wed, Jul 11, 2012 at 3:03 AM, Doug beafd...@gmail.com wrote: What is the context for needing to do this? Doug On Wednesday, July 4, 2012 2:32:09 AM UTC-7, hari2012 wrote: hi I am working on a project.I have stuck in a problem so please help me asap. how to replace with in android or java ? how to replace two double quotes with single double quotes in android or java ? Thanks in advance, regards, hari -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.
If that's your entire Activity, I don't see an onCreate function or anything that calls setContentView to tell the app which xml file to use for the activity's layout. For example: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } On Wed, Jun 13, 2012 at 11:22 AM, Lars lars.breum...@gmail.com wrote: Here's my activity.java: package lars.browser; import lars.browser.dagensbilde; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; public class BrowserActivity extends Activity { /** Called when the activity is first created. */ public void onClick(View v) { if (v.getId() == R.id.dagens_button) { View dagens_button = findViewById(R.id.dagens_button); dagens_button.setOnClickListener((OnClickListener) this); Intent i = new Intent(this, dagensbilde.class); startActivity(i); And here's my main.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=fill_parent android:background=@color/background android:orientation=horizontal android:padding=30dip LinearLayout android:orientation=vertical android:layout_height=wrap_content android:layout_width=fill_parent android:layout_gravity=center TextView android:text=@string/main_title android:layout_height=wrap_content android:layout_width=wrap_content android:layout_gravity=center android:layout_marginBottom=25dip android:textSize=24.5sp/ Button android:id=@+id/nyeste_button android:layout_width=265dp android:layout_height=wrap_content android:layout_gravity=center android:text=@string/nyeste_text android:textSize=20sp / Button android:id=@+id/dagens_button android:layout_width=265dp android:layout_height=wrap_content android:layout_gravity=center android:text=@string/dagens_text android:textSize=20sp / Button android:id=@+id/måneds_button android:layout_width=265dp android:layout_height=wrap_content android:text=@string/måneds_text android:layout_gravity=center android:textSize=20sp/ Button android:id=@+id/alltid_button android:layout_width=265dp android:layout_height=wrap_content android:text=@string/alltid_text android:layout_gravity=center android:textSize=20sp/ Button android:id=@+id/aboutdev_button android:layout_width=265dp android:layout_height=wrap_content android:text=@string/aboutdev_button android:layout_gravity=center android:textSize=20sp/ /LinearLayout /LinearLayout Please tell me if i need anything. Den onsdag den 13. juni 2012 01.52.28 UTC+2 skrev cellurl: Get Jetboy working first. http://www.udemy.com/write-**and-publish-an-app-for-your-** android-smartphone/http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/ It will teach you a lot and only take 1hour. On Tue, Jun 12, 2012 at 5:50 PM, Justin Anderson magouyaw...@gmail.comwrote: Without seeing your code there is no way of knowing... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/**magouyawarehttp://sites.google.com/site/magouyaware On Thu, Jun 7, 2012 at 1:21 PM, Lars lars.breum...@gmail.com wrote: Hello I am new at this site and new at developing. The first activity in my application has 5 buttons, every one of them should(at som point when I get it done) lead to a web page using the webview wigdet. Eclipse does'nt show any errors or mistakes in the code ANYWHERE. BUT, when I try to run the app on my phone it only shows my background color and the applications name. This is what Eclipse shows (picture is taken with my phone) in main.xml https://lh6.googleusercontent.com/-Eh4Mstm6RTI/T9D-o7D2CsI/Edo/mNDvt-qH0k8/s1600/IMG_20120607_211404.jpg This is what my phone shows: as you can see theres something wrong. but what? please help me. Thanks, Lars. https://lh6.googleusercontent.com/-hF-KuNJLMk8/T9D9_s8LeXI/EdY/_iry-jMFNv4/s1600/Screenshot_2012-06-07-19-05-04.png -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@** googlegroups.com android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are
Re: [android-developers] Looking for a coder
Is this project still going on? On Thu, Dec 1, 2011 at 3:50 AM, Sushant Ratnaparkhi sushant.ratnapar...@gmail.com wrote: hey Alexander, I am an engineer in comp sci. I have good programming experience in JAVA and C++, and some exp in android SDK (have developed one app, didn't publish). and I am between the jobs, so i would like to work with you. email me if you are interested. Regards, Sushant R On Thu, Dec 1, 2011 at 2:16 PM, Alexander Turda gamingpione...@gmail.comwrote: Ok I'm working on a great app,and I really need someone to code with me. It's simple,if you are interested,you contact me,I give you a little test,if you pass it we are a team and I give you the source code. The app which I'm working on is finished 90%. If you are asking yourself about the money,yes you will be paid,but ONLY after the launch,and keep in mind that if you pass the test i will give you the source code to a unrealeased app. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re:my app
I see what you did there. On Tue, Nov 22, 2011 at 2:20 PM, Jim Graham spooky1...@gmail.com wrote: On Tue, Nov 22, 2011 at 11:19:08PM +0530, jaggu wrote: hi myt takeing 58mb memory space how to reduce the memory my application You've already got it down to 58 thousandths of a bit (0.058 b) How small do you really expect to get it? Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.comICBM/Hurr.: 30.44406N 86.59909W Now what *you* need is a proper pint of porter poured in a proper pewter porter pot.. --Peter Dalgaard in alt.sysadmin.recovery Android Apps Listing at http://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android Widget Design.
Hi, I've been programming apps for a while now and want to branch out into the realm of widgets. Does anyone have any suggestions on where to find good tutorials? I've googled the subject and my results are limited to maybe one or two specific widgets. What I'm looking for is more of a general tutorial. Thank you, Chris Ruskai -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en