[android-developers] Re: Controlling Android init process / staged boot
Thank You for the info! I'll try my luck :-) On 26 Feb., 19:03, TreKing treking...@gmail.com wrote: On Fri, Feb 25, 2011 at 5:28 AM, ale ale.noval...@googlemail.com wrote: Any help on that subject is very much appreciated. I think you're in the wrong group. Try the platform group if you're mucking with the source code. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Controlling Android init process / staged boot
Hi, I am trying to achieve something like a controlled or 'staged' boot process, where I can make sure that a specific program or script is executed first in the init process and then the remainnig services are started. I was able to start my own services from the init script (init.rc) in Android, following the guides found at: http://www.androidenea.com/2009/08/init-process-and-initrc.html or with the official documentation found at http://android.git.kernel.org/?p=platform/system/core.git;a=blob;f=init/readme.txt;hb=HEAD There is a trigger called on service-exit-name where 'name' is the name of the service which has to exit before the actions of this trigger are executed. However, this trigger does not seem to work. I started a small shell script as a service and created the trigger accordingly to start all remaining services afterwards. The init process seems to be stuck after the execution of my script and does not continue with the remaining services. Example layout: on boot #default entries # changed from start of default services to class initialize class_start initialize #service section for my own app to be started first before anything else service runfirst /system/bin/logwrapper /sbin/myapp class initialize oneshot on service-exited-runfirst #start remaining services class_start default # further service descriptions, e.g. service zygote ... etc. Any help on that subject is very much appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Questions about Custom (Compound) control
Hi Kostya, thank you for your reply, with your hints I worked out all my problems ;) On 10 Gen, 16:12, Kostya Vasilyev kmans...@gmail.com wrote: Ale, 1 - You can model your notification on the type of interface callback mechanism used by Android views and widgets: http://developer.android.com/reference/android/view/View.html#setOnCl...) In your case, you'd define your own interface with a notification method (onCountdownReachedZero or something). 2 - Search for declare styleable. This is the first link from Google: http://blog.pocketjourney.com/2008/05/02/android-tutorial-42-passing-... -- Kostya 10.01.2011 18:06, Ale пишет: Hi, I've developed a custom (compound) control with a count-down progress bar that I want to embed in some my activities. Now I have the following questions: 1 - I want, when the count down stops, to let the activity that contains the control that the count down has stopped. How to do that? 2 - From Android documentation I read the following: Note that you also might introduce your own attributes and parameters into the XML that can be pulled out and used by your constructor But how? Do I just need to declare in the control my own attributes, and how to declare them in XML? Thank you in advance! -- Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Questions about Custom (Compound) control
Hi, I've developed a custom (compound) control with a count-down progress bar that I want to embed in some my activities. Now I have the following questions: 1 - I want, when the count down stops, to let the activity that contains the control that the count down has stopped. How to do that? 2 - From Android documentation I read the following: Note that you also might introduce your own attributes and parameters into the XML that can be pulled out and used by your constructor But how? Do I just need to declare in the control my own attributes, and how to declare them in XML? Thank you in advance! -- 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] Loop Mount system.img file of Android emulator
Hi, is there a way to mount the system.img file included in the Android emulator from the SDK. I tried to loop mount the file but mount keeps telling me that I need to specify the FS-Type. I think they are YAFFS type but I am sure that this forum knows how to mount the image so I can access the files in the image. Any hints are welcome. Thanks, Andreas -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: What is the best way to sent/receive data from remote database such as mysql on android?
Hi,I am a beginer and I've got the same question. How can i access remote database like MySQL on Android? Is it true i can't connect MySQL directly? How about other dbs? Thanks~ On 3月7日, 上午12时20分, best6...@gmail.com best6...@gmail.com wrote: Hi , Guys , I'm try to sent/receive data from my remote db server (MySQL) , I know I can't connect the MySQL directly on android . And I'm trying to use the soap , but I'm not sure if this is the right way ? I don't have any experience on it , so my question is: what is the way to sent/receive data from remote db server in general ? Does it have any examples I can see ? Like the project :Cab4Me(http://www.cab4me.com/) , Does it have remote DB ? What is the method they can sent/receive the data from DB ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: T-mobile G1 for testing purposes
Hi Hong, how can I unlock it in US? And what about You can buy a G1 here..., do you refer to the 399$ G1? I've been told they don't sell it in T-Mobile stores. Anyway, if it si unlocked either the 3G and the EDGE will work On Oct 27, 8:10 pm, Hong [EMAIL PROTECTED] wrote: You can buy a G1 here in US, and unlock it. You can use GSM calls/sms, wifi at your country. 3G will obviously not work. EDGE might. But wifi should be good enough. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: T-mobile G1 for testing purposes
Sorry Timbobsteve, I just realized I made a mistake in my previous email: I wrote free device but I did'nt mean free of charge but free of lock, unlocked. I realize it was quite stupid, sorry for my english. My concern is that in my country Android is not going to come until 2009 and I would like to buy a G1 in USA but I don't know if the ones that they sell in T-Mobile stores are unlocked or not. I know that the full price is 399 but will I be able to use the device abroad, with mi SIM? Can you explain me more about the 90 days unlock? I mean, if I came to the USA and I buy a G1 how can I unlock it after 90 days? Is the unlock something like a software update or it is a physical modification? Thank you very much! AB On Oct 24, 10:57 am, Timbobsteve [EMAIL PROTECTED] wrote: What I don't understand is why people are deluded enough to think that they should get one of these devices for free? I would like to develop programs for Windows, PSP and Nintendo DS Should I get free consoles and a new PC as a result? No... that would be ludicrous. I have to pay for the devices just like everyone else. My guess is that you may be able to get these devices straight from HTC, if you have some sort of developer connection (and if they support that kind of setup)... otherwise you have to buy into the contract like everyone else. There is always the option to get the contract and after 90 days, request the phone be unlocked. From what I hear T-Mobile are quite good with that kind of thing and usually oblige. My 2 cents... I'm now off to find some free donuts and free coffee and enjoy a free trip to the premier of Quantum of Solace. Ale wrote: Hi guys, I'm wondering whether for strangers it will be possible to buy the G1 and use it abroad for testing (and for enjoing Android ;) ). I read that the device can be bought at full price 399$ but I think that it will be unlocked.. Any idea on how to get a free device for testing purposes? Thank you in advance!!! AB --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: T-mobile G1 for testing purposes
shadowdrakken, I know that more phones are coming out with Android, but apart from the USA, the situation is quite confusing. In many european countries we still don't know when and if Android phones are hitting the market. I will try to buy a G1 next month in NY, if it will not be possible I will take one from eBay, like Timbobsteve suggested, even though I don't still know if the ones from eBay are real G1s or fakes. Anybody knows something about the unlocking after 90 days from T- Mobile? Is that a software modification? Anyway I read on some blogs that in T-Mobile stores they don't want to sell G1s at full price, so I think it will be very hard to get one in USA... On Oct 27, 10:52 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: There are more Android phones coming on other service providers. For now, the emulator should be fine until one of the other phones comes out. Sprint has been waffling on it, saying they will have Android phones soon but at the same time saying Android isn't good enough yet (I think they mean it's not big enough yet for them to invest into) so just hold tight, they're coming, and they will be big :) On Oct 27, 4:20 am, Teo [EMAIL PROTECTED] wrote: This is an excellent question. T-Mobile isn't in my country as well. There are some rumors it will come, but nothing official yet. So will there be a legitimate way to get an Android phone that will work with our own SIM cards? Thanks, Teo On Oct 27, 10:33 am, Ale [EMAIL PROTECTED] wrote: Sorry Timbobsteve, I just realized I made a mistake in my previous email: I wrote free device but I did'nt mean free of charge but free of lock, unlocked. I realize it was quite stupid, sorry for my english. My concern is that in my country Android is not going to come until 2009 and I would like to buy a G1 in USA but I don't know if the ones that they sell in T-Mobile stores are unlocked or not. I know that the full price is 399 but will I be able to use the device abroad, with mi SIM? Can you explain me more about the 90 days unlock? I mean, if I came to the USA and I buy a G1 how can I unlock it after 90 days? Is the unlock something like a software update or it is a physical modification? Thank you very much! AB On Oct 24, 10:57 am, Timbobsteve [EMAIL PROTECTED] wrote: What I don't understand is why people are deluded enough to think that they should get one of these devices for free? I would like to develop programs for Windows, PSP and Nintendo DS Should I get free consoles and a new PC as a result? No... that would be ludicrous. I have to pay for the devices just like everyone else. My guess is that you may be able to get these devices straight from HTC, if you have some sort of developer connection (and if they support that kind of setup)... otherwise you have to buy into the contract like everyone else. There is always the option to get the contract and after 90 days, request the phone be unlocked. From what I hear T-Mobile are quite good with that kind of thing and usually oblige. My 2 cents... I'm now off to find some free donuts and free coffee and enjoy a free trip to the premier of Quantum of Solace. Ale wrote: Hi guys, I'm wondering whether for strangers it will be possible to buy the G1 and use it abroad for testing (and for enjoing Android ;) ). I read that the device can be bought at full price 399$ but I think that it will be unlocked.. Any idea on how to get a free device for testing purposes? Thank you in advance!!! AB- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: T-mobile G1 for testing purposes
I agree with you: I think the G1 on eBay are fake, anyway I will check the auctions feedbacks. In Italy, we have Telecom Italia that is in the open handset alliance, but there are no info about an Android release date. Anyway I hope in the future that it will be possible to install Android on other devices, like Nokia; it will be much easier for developers... especially not in the USA. On Oct 27, 3:41 pm, whitemice [EMAIL PROTECTED] wrote: I am a T-Mobile customer/Android developer living in Germany, and we have been promised a device sometime in Q1/2009 (after USA, then UK). As it takes 90 days to get an officially locked T-Mobile USA device, I am assuming that all unlocked G1’s currently listed on eBay are fake. I am also unsure of how well a device apparently *optimised* for T- Mobile USA 3G frequencies will perform on my local network. Ironically, for such a developer centric device, they are starving the community of phones: e.g.http://www.biggu.com/2008/10/23/t-mobile-says-no-g1-for-you/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] T-mobile G1 for testing purposes
Hi guys, I'm wondering whether for strangers it will be possible to buy the G1 and use it abroad for testing (and for enjoing Android ;) ). I read that the device can be bought at full price 399$ but I think that it will be unlocked.. Any idea on how to get a free device for testing purposes? Thank you in advance!!! AB --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---