[android-developers] BUG: terrible one

2008-05-09 Thread imen
Hi, I am doing an application that with it we can execute J2ME applications on Android platform. I have a problem, that when i compile the application it is correcte and the Android emulator runs but an error appears there : "An error has occured in org.microemu.util.ThreadUtils" I examinate this

[android-developers] developing plug.in-like functionalities for android web browser

2008-05-09 Thread david at seven
In case it’s feasible, I wonder what is easiest way to add further functions to android web browser; otherwise, I’d appreciate to hear from you on how hard it can be to develop my own android-based web browser from scratch… waiting for superb replies ;) dav --~--~-~--~~---

[android-developers] Re: Prevent phone from ringing?

2008-05-09 Thread seandsky
I have not see Andriod code yet. But I think it has such API for your reqirement. Let's walk through a voice call prcess: 1, an incoming voice call happened. 2, Get caller number. Turn on LCD. 3, Search this number in current contact records DB (display number/ number on LCD). Get sth. now? Yes, w

[android-developers] Re: Prevent phone from ringing?

2008-05-09 Thread seandsky
For your second req, you can just dial this number like dial it with keypad. I am sure you can answer this call with such API, because you can call a message sender in Message/Email application. Call application has such functions , I am sure, you just need call it and start a voice call. On 5月8

[android-developers] Re: Prevent phone from ringing?

2008-05-09 Thread seandsky
For your second req, you can just dial this number like dial it with keypad. I am sure you can answer this call with such API, because you can call a message sender in Message/Email application. Call application has such functions , I am sure, you just need call it and start a voice call. On 5月8

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread vitvikt
I am very glad, that this topic got many answers. I think, that it is very important team. > You probably don't want to do that. Bear in mind that Android devices will > have very little RAM for running programs, compared to your average > desktop or notebook PC. > Use a SQLite database so you ca

[android-developers] Re: Can anybody explain collision between resources?

2008-05-09 Thread vitvikt
Now I tried use another variant. But in xml file string http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread Mark Murphy
Bruno Sauer wrote: > This is a non-trivial topic - so - it would be helpful if there was a > simple way for users to test it: i.e. the best way for us users to > understand how it works would be for us to see our app crash (that's > always enlightening :>) Don't know about crashing, but if you

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread Mark Murphy
vitvikt wrote: > Now I want only translate to Android those applications, which work > now in WindowsCE, Palm and Symbian mobiles. All of them use dictionary > about 1Mb. > May be in this case it’s better to save data in SQLite database, but > question is remain. > What techniqes can we use for da

[android-developers] How to do reverse geocoding ??

2008-05-09 Thread scorpio
I tried reverse geocoding with this statemets, GmmGeocoder geocoder = new GmmGeocoder(Locale.getDefault()); Address[] addresses = geocoder.query(null, GmmGeocoder.QUERY_TYPE_REVERSE_GEOCODE, 134786, 801234, 180,360); but its showing error.. null pointer exception, please tell how to do rever

[android-developers] Re: BUG: terrible one

2008-05-09 Thread Renato Mangini
Imen, What "another file" is that? If it is an Android file, it may be that the runtime you are running it on is not the same version as the source you have linked the debugger to (currently the google code page has source code for m5-rc14 only). If it is your own code, there may be some problem

[android-developers] Good to join your group – A t hought : work hard, pay your taxes and smile

2008-05-09 Thread Riter
Hi All. This is my first post here – just want to say Hi – Will make other posts soon. Peace Riter Did you know that your Govt. can make 100% profits through Taxes in 6 hours? – read the story yourself.. http://talefunnytail.blogspot.com/ after that laugh, think, growl or just pay up, but do

[android-developers] Re: Story about interesting Android apps

2008-05-09 Thread jacek
One of my apps is described here http://ambrosoft.com/gregor_android_demo.htm It lets you browse Amazon's music collection utilizing their XML speaking web services. As it is it is not very practical yet; it is merely a technology demo showcasing some very highly optimized XML processing code. A

[android-developers] Re: Android UDP Server

2008-05-09 Thread Dorothy
Hi everyone, I used a socket with BufferedReader and PrintWriter in a httpclient, when I tested in java everything is ok, but in Android, I ain't receive or send any message. Although I used the same code for them. Is there anything important that I missed? Thanks in advance --~--~-~--~-

[android-developers] need a example for TabActivity,TabHost

2008-05-09 Thread Rajab Ma
I want to use TabActivity,but there's no demo or snippet can be referenced. Who can give me a example for this. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Sexi video!

2008-05-09 Thread shrek3
Sexi Video! http://rozrywka.yeba.pl/show.php?id=2293 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe f

[android-developers] Re: JUnit

2008-05-09 Thread vol
Great. Thanks! On May 7, 2:33 pm, Steve918 <[EMAIL PROTECTED]> wrote: > You might want to check out Positron. > > http://code.google.com/p/android-positron/ > > On May 6, 8:40 am, vol <[EMAIL PROTECTED]> wrote: > > > Sorry if someone has already answered this elsewhere, but does anyone > > know h

[android-developers] Re: Story about interesting Android apps

2008-05-09 Thread David Welton
> My name is Vas and I am a reporter for Silicon Alley Insider > (www.alleyinsider.com), a tech news site based out of NYC. I am trying to > put together a story about interesting apps being developed for Android, and > I was hoping that if you're a developer, you would be willing to pitch me > yo

[android-developers] Can not connect lo localhot from emulator using socket

2008-05-09 Thread Oskeol
Hi, I want to access an Eccho server in localhost. Here is the Echo server in localhost import java.net.*; import java.io.*; import java.util.Scanner; public class EchoServer { public static void main(String[] args) { try {

[android-developers] Re: retrieving a user’s geogr aphical location

2008-05-09 Thread Hindin
Look into http://code.google.com/p/wrru/ - it contains code that fetches the location and use it to control MapView On May 8, 5:01 pm, ruben <[EMAIL PROTECTED]> wrote: > In android, I'd like to obtain user’s geographical location, as well > as current time. I wonder if there is any variable, clas

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread Bruno Sauer
thanks BQ, that's good info. But it still doesn't solve the problem and I think a lot of people are missing this so I'll try to explain it a little better: Please have a look at http://code.google.com/android/reference/android/app/Activity.html In the 'Activity Lifecycle' section, there is a

[android-developers] Project post-mortems

2008-05-09 Thread Michael Johnston
Hi everyone, With the development competition now at an end, I decided to write a post-mortem for our project, Duo. You can read it here: http://groups.google.com/group/android-challenge/browse_thread/thread/acc030b51ce6f11a In particular, the second post in that thread contains technical detai

[android-developers] Re: Yahoo Map's and the Map-span???

2008-05-09 Thread [EMAIL PROTECTED]
Hi, One more important thing is that i use the MapImage Api ! BR, Martin On 6 Mai, 14:59, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi guys, > > Does anybody knows how can i get the map span in latitude and > longitude for a given zoomlevel for yahoo map's. > > I know for google maps it's

[android-developers] Re: Project post-mortems

2008-05-09 Thread Matthew Tang
Michael Johnston wrote: > Hi everyone, > > With the development competition now at an end, I decided to write a > post-mortem for our project, Duo. You can read it here: > http://groups.google.com/group/android-challenge/browse_thread/thread/acc030b51ce6f11a > > I watched the youtube link. You

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread Bruno Sauer
humm, that would be real easy then - maybe there is no problem. On the other hand, In onCreate( Bundle icicle ) the icicle you get is the result of what you did in onFreeze(). (btw - I love the 'icicle' nomenclature thanks Android :>). On the initial virgin start after your app is installed o

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread Mark Murphy
> In onCreate( Bundle icicle ) the icicle you get is the result of what you > did in onFreeze(). (btw - I love the 'icicle' nomenclature thanks Android > :>). On the initial virgin start after your app is installed on the > device, the icicle will be null. > > If it is true that you'll get your

[android-developers] What could cause a managed cursor not to update?

2008-05-09 Thread Flik
I have an application that when started if you have none it shows a special message. When you add an item the first one is correctly shown, but after that it seems that the managed cursor has been lost. If I reset the application though by hitting back all the way to the main screen and restart th

[android-developers] Re: What could cause a managed cursor not to update?

2008-05-09 Thread Flik
Could the activity idling cause this? Dalvik Debug gives me an idle timeout warning. On May 9, 3:04 pm, Flik <[EMAIL PROTECTED]> wrote: > I have an application that when started if you have none it shows a > special message. When you add an item the first one is correctly > shown, but after that

[android-developers] PowerManager goToSleep method time interval

2008-05-09 Thread sacoskun
Hello, I was using WakeLocks and they worked without any problem but when I tried to use goToSleep method of PowerManager I faced a problem. When I call goToSleep method by a time such as below, system does not behave as I supposed to. System directly sleeps when come across this line whereas it

[android-developers] Re: Project post-mortems

2008-05-09 Thread Alvaro Rivas
Awesome application!. Sure judges will not bored with your application. Wait for the judges... Best regards 2008/5/9, Matthew Tang <[EMAIL PROTECTED]>: > > > Michael Johnston wrote: > > Hi everyone, > > > > With the development competition now at an end, I decided to write a > > post-mortem for

[android-developers] Re: What could cause a managed cursor not to update?

2008-05-09 Thread Mark Murphy
> I have an application that when started if you have none it shows a > special message. When you add an item the first one is correctly > shown, but after that it seems that the managed cursor has been lost. Could you give us a stack trace and the code around where the cursor is created and fail

[android-developers] Re: What could cause a managed cursor not to update?

2008-05-09 Thread Flik
Here is a link where I posted this issue awile back, and got no reply. I posted some snippets. Please let me know if there is anything else Log INFO/Activi

[android-developers] Re: What could cause a managed cursor not to update?

2008-05-09 Thread Mark Murphy
> Here is a link where I posted this issue awile back, and got no reply. > I posted some snippets. Please let me know if there is anything else > thread/b37e6a20024f0ab6/93c38c5705f337d2? > lnk=gst&q=flik#93c38c5705f337d2> In you

[android-developers] Re: What could cause a managed cursor not to update?

2008-05-09 Thread Flik
Lost as in no longer being managed by the activity. The activity no longer managed the cursor via activity states. On May 9, 3:51 pm, "Mark Murphy" <[EMAIL PROTECTED]> wrote: > > Here is a link where I posted this issue awile back, and got no reply. > > I posted some snippets. Please let me know

[android-developers] Re: What could cause a managed cursor not to update?

2008-05-09 Thread Mark Murphy
> Lost as in no longer being managed by the activity. The activity no > longer managed the cursor via activity states. If you could be more specific about what symptoms you are experiencing under what conditions, that would make it easier to help you. Without a stack trace, and without any specif

[android-developers] Calling a stored procedure and committing

2008-05-09 Thread tmorita
i've written other hh applications in eVB and .NET that pass variables to a .ASP object and in turn, calls a stored procedure and updates sql databases. the problem i had in the past was knowing if the the stored procedure actual succeeded because wireless is not 100% reliable. to get around thi

[android-developers] Changes not appearing in Android

2008-05-09 Thread guysmily
Hello, I'm a brand new Android developer. I have it all running great and was able to run Hello Android fine. Nut I want to make changes to it, and they are not appearing. I edited the main.xml file to change the welcome text, and I edited the .java file to also change the text but for some reaso

[android-developers] Re: Changes not appearing in Android

2008-05-09 Thread Mark Murphy
guysmily wrote: > Hello, I'm a brand new Android developer. I have it all running great > and was able to run Hello Android fine. > > Nut I want to make changes to it, and they are not appearing. I edited > the main.xml file to change the welcome text, and I edited the .java > file to also change

[android-developers] Re: Changes not appearing in Android

2008-05-09 Thread guysmily
Sorry about that. I'm using Eclipse on Windows. On May 9, 8:48 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > guysmily wrote: > > Hello, I'm a brand new Android developer. I have it all running great > > and was able to run Hello Android fine. > > > Nut I want to make changes to it, and they are no

[android-developers] SDK Update?

2008-05-09 Thread Gil
It's been more than two months since the release of m5-rc15. Can anyone from Google give us an update on the next SDK release schedule? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Changes not appearing in Android

2008-05-09 Thread Mark Murphy
guysmily wrote: > Sorry about that. I'm using Eclipse on Windows. Unfortunately, I can't help you there -- hopefully somebody else will chime in on this thread with Eclipse usage tips. -- Mark Murphy (a Commons Guy) http://commonsware.com The Busy Coder's Guide to Android Development -- coming

[android-developers] Re: Class loading order, Xml Document.NormalizeDocument method

2008-05-09 Thread Gene Vayngrib
I have a similar need - in my case to replace the default WebKit CacheManager. Searched everywhere - could not find a proper solution. The only way I have located - was to run dalvikvm via adb shell and specify the standard java command line option -Xbootclasspath See here: http://davanum.wordpres

[android-developers] Re: SDK Update?

2008-05-09 Thread Evan JIANG
Good question. In the same time, Apple had released 5 updates of iphone sdk. On Sat, May 10, 2008 at 9:23 AM, Gil <[EMAIL PROTECTED]> wrote: > > It's been more than two months since the release of m5-rc15. Can > anyone from Google give us an update on the next SDK release schedule? > > > --~--~-

[android-developers] About textfile

2008-05-09 Thread Analdin Judy
Hi, Can anybody please tell me,In the path (data/com.IW.sample/files/judy.txt),i cant find the above path where can i find these path? -- Thanks & Regards Analdin Judy.M InfoWave Knowledgeware. Beyond Multimedia Chennai | INDIA M: +91.98416.64705 www.i-waves.com "The information containe

[android-developers] Re: using mysql

2008-05-09 Thread senthil arjunan
Hi Neo, Try this.. JAVA: String exsistingFileName = "samplefile.txt"; String lineEnd = "\r\n"; String twoHyphens = "--"; String boundary = "*"; String urlString="path/db_conn.php"; HttpURLConnection conn; DataOutputStream dos; try{ Fi