[android-beginners] activity dosnt show on the app menu
i have a widget project im adding an activity to the project that i want to be available from the app menu it is registerd on the manifest as well as intentfilter and category but it refuses to add the activity to the menu what am i doing wrong or is there any thing im missing ? --~--~-~--~~~---~--~~ 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 find out the screen orientation used at a point of time?
an activity can be used on a - port mode - land mode land mode can be showed when the keyboard is open or orientation is land how do i find out what is the currant orientation used by the device from the code ? Cheers --~--~-~--~~~---~--~~ 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: Ticker and Merquee
i found the TextSwitcher object this one can be a good replacer for a ticker or a merquee On Jun 9, 3:54 pm, RTX wrote: > what hapend to the Ticker object ? > i cant find it any more > > also Merquee is implemented only on a focusable objects > and only horizontal > > what about vertical > and what about runing by itself > > did anyone tried to ipmlement 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] Ticker and Merquee
what hapend to the Ticker object ? i cant find it any more also Merquee is implemented only on a focusable objects and only horizontal what about vertical and what about runing by itself did anyone tried to ipmlement 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] How to compile Android Project in to Jar file ?
im using the same code base in a few projects its kind of stupid to copy the code to every project and also very hard to keep track on code versions and mistakes on the copy how do i compile the code to Jar om not a comig from JAVA im a .Net so its kind of diffrent please help --~--~-~--~~~---~--~~ 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 build an android class lib
Hi Guys any help ? On Jun 1, 11:59 am, RTX wrote: > im working on a few apps that share the sam core > > i wonder how to build a class lib fro android > that is using android classes not only java based classes > so it will be used as class lib > > i understand it might be a stupid quastion but im not comming from the > java world and it is not clear to 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: How to set the timeout to the HttpClient
i found the answer thanks you all for your help :) HttpParams my_httpParams = new BasicHttpParams(); HttpConnectionParams.setConnectionTimeout(my_httpParams, connection_Timeout); HttpConnectionParams.setSoTimeout(my_httpParams, connection_Timeout); HttpClient httpClient = new DefaultHttpClient(my_httpParams); // get http client with given params On Jun 3, 2:17 pm, RTX wrote: > Hi > > How do i set the timeout to the HttpClient > here is the code im using > > please help me i need to kill the request if its taking to long > otherwise its openning a Force Close > > HttpClient httpClient = new DefaultHttpClient(); > InputStream result = null; > try > { > String url = "..."; > Log.d(tag, "HttpGet " + url); > HttpGet method = new HttpGet(new URI(url)); > HttpResponse response = httpClient.execute(method); > if (response != null) > { > > result = response.getEntity().getContent(); > } > } > catch(Exception e) > { > Log.e(tag,e.getMessage(),e); > } > return result; --~--~-~--~~~---~--~~ 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 set the timeout to the HttpClient
Hi How do i set the timeout to the HttpClient here is the code im using please help me i need to kill the request if its taking to long otherwise its openning a Force Close HttpClient httpClient = new DefaultHttpClient(); InputStream result = null; try { String url = "..."; Log.d(tag, "HttpGet " + url); HttpGet method = new HttpGet(new URI(url)); HttpResponse response = httpClient.execute(method); if (response != null) { result = response.getEntity().getContent(); } } catch(Exception e) { Log.e(tag,e.getMessage(),e); } return result; --~--~-~--~~~---~--~~ 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 build an android class lib
im working on a few apps that share the sam core i wonder how to build a class lib fro android that is using android classes not only java based classes so it will be used as class lib i understand it might be a stupid quastion but im not comming from the java world and it is not clear to 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] XML iteration on android
hi i found out that sometimes xmlData is containing more then one child even if there is no child node for example if the text contain " or some other special chars and it is an a forign charSet it will create a secondery ChildNode from that text so make sure you are iterating all the nodes in your ChildNode so you will not loos data it toolk me sometime to figure it out i hope i explaind it clear enough Thanks Mark for your help here :) --~--~-~--~~~---~--~~ 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 check in intenet connction is avaliable
some times when internet connction is down for conctivity reasons my app crashes i want to know how to check intrnet connction before i make a request ftom the web --~--~-~--~~~---~--~~ 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 set title icon on Dialog Theme
i want to set an icon on the title of the dialog theme i saw it on a few apps but i dont know how to applay it to my dialog thanks --~--~-~--~~~---~--~~ 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 set TrueType to a TextView from remote View
its very easy to do on an activity but the widget got a diffrent way of seeting the activity views the remoteViews can only set a few things like calling methods and setting viewText how do i set the TrueType to a TextView from remote View thanks --~--~-~--~~~---~--~~ 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] XmlReader with InputSource encoding issue
XmlReader with InputSource crash when xml encoding is "windows-1255" what can i do i tried to set inputSource.SetEncoding(cp1255) then it gives me unknown encoding i know its probebly a java thing and not android but i will be happy to get help here --~--~-~--~~~---~--~~ 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 change Widget layout when screen is opend
please any help will be welcome im stuck with vertical widget that looks like hell on horizontal what event is being fierd when screen is being opend i can probebly change the images by the code in there if i would only knew what event is fired and what filter do i need but im sure there is a buitin functionality for the layout changing but i couldnt find anything again any help will be great --~--~-~--~~~---~--~~ 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] work with widget and screen oriantation
i m working on a widget and i have trubles changing the widget layout whenscreen oriantation changed so my quastion is How to change the widget layout when the screen oriantation is changed ? --~--~-~--~~~---~--~~ 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 convert inputStream to string
im retriving XML file from url im currantly using XmlReader but for some xml its crashing on me i whould like to manipulate the xml before parsing but i dont know how to get the xml String from the ImputStream --~--~-~--~~~---~--~~ 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] Modal Window
Hi Guys please help im trying to implement a modal window with activity instead of a fullscreen activity i saw something with window manager and inflate but i didnt get it any chance anyone allready got that thanks --~--~-~--~~~---~--~~ 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] widget Ticker
hi im trieng to build a widget ticker that will move on the desktop do anyone have a demo ? thanks Rotor --~--~-~--~~~---~--~~ 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: Best way to update clock
im trying to ACTION_TIME_TICK but when i register it to the reciver it is not being called any ideas ? here is the manifest : http://schemas.android.com/apk/res/android"; package="learn.Class_01" android:versionCode="1" android:versionName="1.0"> On May 4, 1:02 pm, kaloer wrote: > Thank you very much! That's exactly what i was looking for. > > On 4 Maj, 16:32, MrSnowflake wrote: > > > > > I believe you are updating you clock every minute. If that's true, you > > could(/should?) use the ACTION_TIME_TICK intent (http:// > > developer.android.com/reference/android/content/ > > Intent.html#ACTION_TIME_TICK). Register to it from you Activity and > > your BroadcastReceiver will be called every minute. > > > On 4 mei, 14:38, kaloer wrote: > > > > Hi, > > > > I have a method in my application which updates a clock. But what is > > > the best way to run the method so that it automatically updates the > > > clock? > > > > Should i use a Timer (i have heard, that it does not work very well in > > > android) or what should i use? > > > I will be glad if you could please post a simple example :-) > > > > Currently the part of my code that contains the thread looks like > > > this, but it does not work (I don't get an exeption, but it simply > > > does not run the updateTime() method.) : > > > > public class NightClock extends Activity { > > > > private final ScheduledExecutorService scheduler = > > > Executors.newScheduledThreadPool(1); > > > ScheduledFuture updateHandle; > > > > /** Called when the activity is first created. */ > > > @Override > > > public void onCreate(Bundle savedInstanceState) { > > > super.onCreate(savedInstanceState); > > > setContentView(R.layout.main); > > > Calendar cal = Calendar.getInstance(); > > > updateTime(); > > > long toTimerStart = ( 60 - cal.get(Calendar.SECOND) ) * 1000; > > > Runnable mUpdateTimeTask = new Runnable() { > > > public void run() { > > > updateTime(); > > > } > > > }; > > > > updateHandle = scheduler.scheduleAtFixedRate(mUpdateTimeTask, > > > toTimerStart, 1000, TimeUnit.MILLISECONDS); > > > > } > > > > Thank you very much! > > > > //Kaloer- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---