[android-beginners] Re: How to increase storage space in the emulator?
Thanks. For my case, I am just running the application comes with android sdk in the emulator. So i did not write the logic in how to store the data. Hence, i am not sure why it run out of space in the emulator. On 1/30/09, Mark Murphy wrote: > > > With respect to storage, though, if your emulator runs out of storage, > the answer may not be to increase storage in the emulator, but rather to > determine how better to store your data. If it does not fit in the > emulator, it may not fit on a real device. So, for example, large files > should go on the SD card, not in an application's own private files area. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Published! > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: What is the meaning of 'window shade' in android?
I think I find the answer to my question... from here: http://www.moconews.net/entry/419-t-mobile-g1-review-rivals-the-iphone-in-fun-but-is-no-workhorse-like-a/ On Fri, Jan 30, 2009 at 10:35 AM, lucius wrote: > Hi, > > What is the meaning of 'window shade' in android platform? I google > and read this: > > http://www.androidtapp.com/ak-notepad/ak-notepad-notification-in-window-shade/ > > But I still don't understand what 'window shade' means. > > Thank you. > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 got "Intent resolved to different package ..." Error
Hi, I was trying to develop some testcases againast Android Contacts and when I try to run them, I got an java.lang.RuntimeExcecption: Intent resolved to different package com.android.contacts: Intent { action=android.intent.action.MAIN flags=0x1000 comp= {com.android.contacts/com.android.contacts.ContactsListActivity} } at android.app.Instrumentation.startActivitySync (Instrumentation.java: 452) at android.test.InstrumentationTestCase.launchActivity (InstrumentationTestCase.java 77) at android.test.ActivityInstrumentationTestCase.setup (ActivityInstrumentationTestCase.java 67) .. My testing class is very simple, It just extended ActivityInstrumentationTestCase and my test method is to invoke Menu - ContactsListActivity.MENU_NEW_CONTACT to add a new contact. Doea anyone has the same experience and could share the reason with me? Thanks - tester --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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] new dev question
i just joined the developer's team and wish to purchase the unlocked phone but am uncertain if my service provider can carry it. i have a sprint plan which is not sim-based operation, my question is: does the unlocked dev version require or a sim card or can it be programmed to operate on a sprint network? i can determine with my provider if so by giving them a sample ESN from on the of the dev phones, but i'd rather not purchase it to find out that i can't use it... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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] What is the meaning of 'window shade' in android?
Hi, What is the meaning of 'window shade' in android platform? I google and read this: http://www.androidtapp.com/ak-notepad/ak-notepad-notification-in-window-shade/ But I still don't understand what 'window shade' means. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: Zip inflate error while scaning the /system/app
On Jan 29, 8:35 am, Kishor wrote: > i get this error only when i enable the L2 cache on. > With L2 cache off i dont get this error. Sounds like a hardware or OS problem. The android-porting list might be more appropriate than android-beginners. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 increase storage space in the emulator?
silverburgh.me...@gmail.com wrote: > How can I increase the storage space in the emulator? > > I get the following installation error when I try to run ApiDemos from > eclipse: > > [2009-01-30 15:07:28 - ApiDemos] Starting activity > com.example.android.apis.ApiDemos on device > [2009-01-30 15:07:29 - ApiDemos] Installation error: > INSTALL_FAILED_INSUFFICIENT_STORAGE > [2009-01-30 15:07:29 - ApiDemos] Please check logcat output for more > details. > > Where should I go to get the logcat output for more details? logcat is shorthand for adb logcat, also accessible as the error log within DDMS or Eclipse. adb and DDMS are SDK tools, found in the tools/ directory of your SDK installation. With respect to storage, though, if your emulator runs out of storage, the answer may not be to increase storage in the emulator, but rather to determine how better to store your data. If it does not fit in the emulator, it may not fit on a real device. So, for example, large files should go on the SD card, not in an application's own private files area. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Published! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 increase storage space in the emulator?
How can I increase the storage space in the emulator? I get the following installation error when I try to run ApiDemos from eclipse: [2009-01-30 15:07:28 - ApiDemos] Starting activity com.example.android.apis.ApiDemos on device [2009-01-30 15:07:29 - ApiDemos] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2009-01-30 15:07:29 - ApiDemos] Please check logcat output for more details. Where should I go to get the logcat output for more details? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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] debugging native apps of Android with eclipse... gdbserver
Hi...does anybody have set of instructions to debug the native code of Android in eclipse using gdbserver..if so can you plz help.. I am pretty new to this.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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] Hello World Article
I wish to point out this article. Android First Example in Java: Hello World http://programmaremobile.blogspot.com/2009/01/android-first-example-hello-world.html It expain the steps(from java code to running into emulator) to make the first hello world without eclipse. I hope it is welcome! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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] Projet
Hello, I am a young student from cameroon.I like to be part of this groupe.I am currently developing an application on android and I would like your help because I have very problem.I want to receive the coordinate GPS with android ( on the emulator). First, I have not a supplier but I use the DDMS to generate coordinate.But I can not receive GPS coordinates provided by the DDMS.This my code package android.phonedial; import java.util.List; import android.app.Activity; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationManager; import android.location.LocationListener; import android.location.LocationProvider; import android.os.Bundle; import android.widget.TextView; public class TestProviderController extends Activity { publicLocationManager locationManager; public LocationListener locationlistener; @Override public void onCreate(Bundle tracabilite) { super.onCreate(tracabilite); setContentView(R.layout.main); String location_context = Context.LOCATION_SERVICE; locationManager = (LocationManager)getSystemService (location_context); testProviders(); } public void testProviders() { TextView tv = (TextView)findViewById(R.id.myTextView); StringBuilder sb = new StringBuilder("Enabled Providers:"); List providers = locationManager.getProviders (true); for (String provider : providers) { locationManager.requestLocationUpdates(provider, 1000, 0, new LocationListener() { public void onLocationChanged(Location location) {} public void onProviderDisabled(String provider){} public void onProviderEnabled(String provider){} public void onStatusChanged(String provider, int status, Bundle extras){} }); sb.append("\n").append(provider).append(": "); Location location = locationManager.getLastKnownLocation (provider); if(location != null) { double lat = location.getLatitude(); double lng = location.getLongitude(); sb.append(lat).append(", ").append(lng); } else { sb.append("No Location"); } } tv.setText(sb); } } Please help me --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: Using a layout defined in xml with a custom class
Thank you Mark, I found the answer. What I needed was the LayoutInflater (that used to be ViewInflate). I actually stumbled upon that blog before posting here but I missed that part. Thanks again. On Jan 30, 7:55 am, Mark Murphy wrote: > Cristian Radu wrote: > > I did an extensive search prior to posting over here and I couldn't > > find anything to help me. > > > Could you please give me an example? > > For using custom layouts in ListView rows: > > http://androidguys.com/?s=fancy+listviews > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: R.java file is not getting updated
Ashwani Rao wrote: > HI, > > I have created xml file for UI. > I later added identifiers (@+/id) to few elements but the R.java file > is not getting updated. There are many possible causes for this. Can you post the layout XML file? -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: Using a layout defined in xml with a custom class
Cristian Radu wrote: > I did an extensive search prior to posting over here and I couldn't > find anything to help me. > > Could you please give me an example? For using custom layouts in ListView rows: http://androidguys.com/?s=fancy+listviews -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: Arabic localization project
HI shimon , could u send me the keyboard , maybe i can put arabic on it and test , it would be really nice ill be waiting for your replay , and dont worry , ill not take credit for the keyboard , ill just add arabic to it On Jan 28, 10:37 pm, "shimo...@gmail.com" wrote: > Hi, > > No info on layouts. I was content with the fact I can read my > emails, SMS, web pages, contacts... > > I wrote my own keyboard utility (a12Keys) to allow myself to > write Hebrew SMS, emails, etc. and it works quite well for me. > > On Jan 27, 2:32 pm, gfather wrote: > > > Hello > > > thanks shimonsh > > > i sure know that > > > this is good info > > > ill try to test it , but how about layout , u got info on that ? > > and i hope someone from dev could provide us with more info > > > On Jan 26, 10:25 pm, "shimo...@gmail.com" wrote: > > > > Hi, > > > > I would like to add my request for this - Hebrew is also RTL. > > > > I know if you replace the built-in fonts to files with Hebrew > > > characters they show up correctly (even RTL). > > > > On Jan 24, 9:58 pm, moh fah wrote: > > > > > Hello every one > > > > > we would like to start Arabic localization for android , and it would be > > > > great to achieve that an have android for the middle east , its one of > > > > the > > > > biggest mobile markets in the world > > > > > we want the localization to be official for the android and that could > > > > be > > > > available for every one , > > > > > Arabic is an RTL language , in rendering and in menus , so it should > > > > have > > > > its own settings , fonts , and rendering , because the letter get > > > > connected > > > > to each other > > > > > we could start immediately , but we hope that someone from the android > > > > developer team contact us , to see what can we do about it , and how the > > > > localization process gonna be , > > > > > I hope its get to your interest , and guys we don't use camels and live > > > > in > > > > tents :) > > > > > Regards > > > > > MJ Fahmi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: Total noob
Before you try to start coding I recommend learning the basics of the IDE with the incredible and FREE tutorials here: http://eclipsetutorial.sourceforge.net/index.html There are four tutorials: Using the Eclipse Workbench Eclipse and Java for Total Beginners Introducing Persistence Using the Debugger I suggest you follow them in that order. Even though you may know Java, I think following the 'Total Beginners" tutorial is well worth learning how to do some nice trick with the editor. If you complete the tutorials, you will likely save MUCH more time when developing, than trying to dive right in without a solid foundation on how to use the editor. I followed them all when I was first learning android, and the IDE is a snap for me now. when you are finished with the tutorials, you can look here for more info on integrating JUnit tests with android: http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html Hope this helps --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 Title Bar
Here is an example os custom title bar: http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/app/CustomTitle.html regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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] A bug in Google Calendar?
After I start Google Calendar in week view mode , i tried to view next month's events via dragging page up on touch screen , but it jumped to March , not Febrary , I have to drag back to Febrary for the first time , everything works right afterwards. It works well with trackball but not works in first time of dragging , anyone here met such kind of problem before ? My English is poor and I hope you understood what I meant ... Thanks :) -- Keep It Simple Stupid http://www.ghostunix.org Thomas X. Iverson(A.K.A ghosTM55) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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: Return to initial activity from dialer
Is there a possibility of changing back in the activity during the call? Manually you can switch to other activities by pressing the home-key, the call runs in the background. but i want to do that automatic after the call is connected. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com 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 -~--~~~~--~~--~--~---