[android-developers] Get activity theme from network and apply it programmatically

2011-03-14 Thread Premier
I want to download themes.xml from network because i need dinamically change application theme. So after application starts, download file themes.xml from network, saves it locally and apply to current activity. How i can do this? Thank you. -- You received this message because you are

[android-developers] Unable to use Fragmentation API with android compatibility package

2011-03-04 Thread Premier
In http://android-developers.blogspot.com/2011/03/fragments-for-all.html Xavier Ducrohet, Android SDK Tech Lead says Google releases an Android Compatibility Package by SDK Manager. I've installed it, but, how i can use it now? how can i integrate Android Compatibility Package in my project?

[android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-04 Thread Premier
Where did you found example, please? I need it. Thank you. On 4 Mar, 15:04, marlan marlan12...@googlemail.com wrote: Ok, I found the samples that uses the compatibility packages (FragmentDialogOrActivitySupport etc.). I changed the base class from FragmentLayout to FragmentLayout extends

[android-developers] Re: How to use the static fragment library in legacy apps?

2011-03-04 Thread Premier
FragmentActivity (FragmentLayoutSupport.java for example). On 4 Mrz., 16:32, Premier a.grum...@gmail.com wrote: Where did you found example, please? I need it. Thank you. On 4 Mar, 15:04, marlan marlan12...@googlemail.com wrote: Ok, I found the samples that uses

[android-developers] android resources error after upgrade to honeycomb and adt v10

2011-02-24 Thread Premier
Hello, i've created a new android project target 8, with default activity I've assigned an id to textview with text Hello world. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical

[android-developers] Re: custom attributes in library projects

2011-02-08 Thread Premier
Same problem. On 18 Gen, 07:48, egg t.eg...@gmail.com wrote: I also just encountered a same problem. On  2010年12月28日, 午後4:08, schwiz sch...@gmail.com wrote: Ag!! hopefully a hot fix soon?? On Nov 23, 12:13 pm, Leif l...@leifrilbe.com wrote: And same here too... On 9

[android-developers] Re use gradient drawable with theme-dipendent colors

2011-02-07 Thread Premier
Hello, in two different activities i want to use same gradient drawable but with different colors. I think to refer gradient colors to activity theme in follow way: i've added follow rows in attrs.xml attr name=backgroundTopColor format=color / attr name=backgroundBottomColor format=color / in

[android-developers] Custom button border

2011-01-28 Thread Premier
Hello, i want to make a breadcrumb for my android app. In breadcrumb on the left there is an imagebutton with arrow border. On the right there is a text title. When user tap on imagebutton, application performs specific task. So, how i can create a button with arrow on border right? Thank you.

[android-developers] Re: Android Library project and widget xml referes in AndroidManifest.xml

2010-11-28 Thread Premier
...) that are declared relative to the library package in the library manifest. They must be expanded as the package of the main application is different. Xav On Fri, Nov 26, 2010 at 6:46 AM, Premier a.grum...@gmail.com wrote: For example, for android default resource you can use

[android-developers] Android Library project and widget xml referes in AndroidManifest.xml

2010-11-26 Thread Premier
Hello, i'm using Android Project Library (http://goo.gl/7vvxI). In Android docs, it copys all items from android library project AndroidManifest.xml in application AndroidManifest.xml like in example, AndroidManifest.xml of library project manifest ... application ... activity

[android-developers] Re: Android Library project and widget xml referes in AndroidManifest.xml

2010-11-26 Thread Premier
For example, for android default resource you can use @android:anim/ cycle_interpolator And for resource in library project? On 26 Nov, 15:37, Premier a.grum...@gmail.com wrote: Hello, i'm using Android Project Library (http://goo.gl/7vvxI). In Android docs, it copys all items from android

[android-developers] Make Software Library

2010-11-13 Thread Premier
Hello, in Android Market exists Apps category named Software library, what is it? is it an apk in which i can put my application common code and use it in other apps? For example i create software library to parse xml from my server, i called this software library common.apk. Now i want to create

[android-developers] Re: Make Software Library

2010-11-13 Thread Premier
Hello, thank you. My application design wants to solve follow problem: i've to create an application template. I sell this template to my customers. They extend my application with their ui. My solutions are: - create a jar library, in this way customers can integrate my jar in their app.

[android-developers] Re: how to debug APK in emulator with maven dependency

2010-11-11 Thread Premier
Hello Hugo, i need to debug my application (i use maven-android-plugin) at startup. Do you have some suggests, please? Thanks, bye. On 12 Ott, 12:40, Hugo Josefson (Jayway) h...@josefson.org wrote: Hi Mohammad, I have now documented this on the maven-android-plugin wiki:

[android-developers] Re: how to debug APK in emulator with maven dependency

2010-11-11 Thread Premier
Moreover, i want to debug by test. I've setted a test in instruments app. After launch mvn clean install, tests are executed with succesfull. How i can launch single test in eclipse and debug? Thanks, bye On Oct 12, 12:40 pm, Hugo Josefson (Jayway) h...@josefson.org wrote: Hi Mohammad, I have

[android-developers] How to customize quick search box? can i add another button?

2010-08-05 Thread Premier
Hello, i'm using android qsb feature in my app. Qhen user click len button on hes keyboard, i open quick search box with one input box and one button. I want to know if i can add another button in qsb. I think it is possible, Google has added search by voice button in qsb. Thanks -- You

[android-developers] Emulate android preference category look and feel

2010-07-29 Thread Premier
hello, i like title bar style in android preference category. In my activity (no preferenceactivity) i want to use same style, how i can do? Thanks. -- 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] PreferenceActivity and appWidgetId relation

2010-07-04 Thread Premier
Hello, i'm using PreferenceActivity class to configure my widget. PreferenceActivity class automatically saves user preferences, so in widget update service i can call context.getSharedPreferences() and i obtain user preferences. Problem is follow: if you have many widget of same type, how

[android-developers] Re: PreferenceActivity and appWidgetId relation

2010-07-04 Thread Premier
I want to know how i can get shared preferences for each appWidgetId. Regards. On 4 Lug, 18:56, Premier a.grum...@gmail.com wrote: Hello, i'm using PreferenceActivity class to configure my widget. PreferenceActivity class automatically saves user preferences, so in widget update service i

[android-developers] Re: PreferenceActivity and appWidgetId relation

2010-07-04 Thread Premier
://kmansoft.wordpress.com/2010/06/22/per-widget-options-stale-wid... -- Kostya 04.07.2010 21:22, Premier пишет: I want to know how i can get shared preferences for each appWidgetId. Regards. On 4 Lug, 18:56, Premiera.grum...@gmail.com  wrote: Hello, i'm using PreferenceActivity

[android-developers] Re: PreferenceActivity and appWidgetId relation

2010-07-04 Thread Premier
: http://kmansoft.wordpress.com/2010/06/22/per-widget-options-stale-wid... -- Kostya 04.07.2010 21:22, Premier пишет: I want to know how i can get shared preferences for each appWidgetId. Regards. On 4 Lug, 18:56, Premiera.grum...@gmail.com  wrote: Hello, i'm using

[android-developers] Re: PreferenceActivity and appWidgetId relation

2010-07-04 Thread Premier
see in the code posted by Kostya. On Sun, Jul 4, 2010 at 7:22 PM, Premier a.grum...@gmail.com wrote: I want to know how i can get shared preferences for each appWidgetId. Regards. On 4 Lug, 18:56, Premier a.grum...@gmail.com wrote: Hello, i'm using PreferenceActivity class

[android-developers] Re: A clear, concise tutorial on PreferenceActivity Preferences?

2010-07-04 Thread Premier
Hello Mark. I want to use PreferenceActivity to set preferences for my widget. How i can retrieve widget preferences if i have many widget instances? Thanks On 1 Giu, 18:39, Mark Murphy mmur...@commonsware.com wrote: Donal Rafferty wrote: Thanks Mark. To access my preferences outside my

[android-developers] Context menu on Mapactivity

2009-08-11 Thread Premier
Hello, how i can create context menù on MapActivity? Regards --~--~-~--~~~---~--~~ 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

[android-developers] AppAccelerator for Android and iPhone

2009-08-10 Thread Premier
does someone knows and uses appaccelerator (http:// www.appcelerator.com/products/titanium-mobile/) for android? What do you think about? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] json serializer / deserializer

2009-08-02 Thread Premier
Hello do you know a library or method to serialize / deserialize java bean to json in android? how i can introspect a javabean and fill its fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Can't display GoogleMaps in application

2009-07-24 Thread Premier
Do you set satellite off? I had the same problem, after set satellite off, it has worked. Post your source code On Jul 22, 7:02 pm, Alex agmon...@gmail.com wrote: Hi guys, I'm trying to display GoogleMaps in my application, but instead of map I just get an empty screen with crosses and

[android-developers] ContextWrapper: how do you use it?

2009-07-06 Thread Premier
Hello, i need to add database support to application context. I'd like extend Context, add database support, and use database in each activity that extends Context. I look at ContextWrapper, can i use it? how? regards. --~--~-~--~~~---~--~~ You received this

[android-developers] It doesn't works

2009-06-22 Thread Premier
I used eyes-free in my application started on emulator. It gives error no description. do you have some ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Read a file and parse xml

2008-10-26 Thread Premier
Hello world, i'd like to open a popup into my application and read the selected file. That file is xml-file, and i want to parse it. Now i'm using context.getAssets().open(fileName); but it requires text file and not xml. Help me pls. Regards

[android-developers] Re: Read a file and parse xml

2008-10-26 Thread Premier
] wrote: Premier wrote: Hello world, i'd like to open a popup into my application and read the selected file. That file is xml-file, and i want to parse it. Now i'm using context.getAssets().open(fileName); but it requires text file and not xml. If the file is part of your APK, make

[android-developers] Re: Read a file and parse xml

2008-10-26 Thread Premier
Ok i've solved with you suggest. Is there a widget to get a file? On Oct 26, 3:59 pm, Mark Murphy [EMAIL PROTECTED] wrote: Premier wrote: I used XMLPullParser, but in this way i can't parse the file two times. Yes you can. XmlPullParser xpp= ctx.getResources().getXml(R.xml.file

[android-developers] Re: How to detect whenever any Textbox gains focus?

2008-10-17 Thread Premier
Did you tried to implement onFocusChangeListener interface in an activity? On Oct 16, 9:23 pm, CM [EMAIL PROTECTED] wrote: I want to be able to set up a listener that can determine when any textbox in any application gains focus.  Is this possible?  Do I create a service with some kind of

[android-developers] Re: SQLite problems: how to use LIKE expression

2008-10-17 Thread Premier
The problem is '%?%' . It doesn't recognize that string. On 17 Ott, 12:48, Mark Murphy [EMAIL PROTECTED] wrote: Premier wrote: Hello world, like in object, i want to use LIKE expression in Android [CODE] private SQLiteDatabase db; ... Cursor resultCursor= null; resultCursor

[android-developers] Pass SmsMessage from broadcastreceiver to activity

2008-10-10 Thread Premier
Hello, like in subject, in my BroadcastReceiver class, i've some data (sms list received), and i want to show it in a new activity. How i have to pass data to activity? Regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the