Re: [android-developers] Saving as Bitmap ".BMP" in android

2011-06-10 Thread Mark Murphy
Android has no real support for BMP files. You are welcome to try to find some third-party code that can assist you in encoding in that format. It will need to be C/C++ code that you integrate with JNI and the NDK, as any Java implementation will be slower than the native routines used in Android f

[android-developers] Re: Is there any way to disable landscape mode for widget?

2011-06-10 Thread Alexey Onuchin
Hmm, Ok. Then I will provide additional layouts :) Thanks. On 10 июн, 16:24, Mark Murphy wrote: > On Fri, Jun 10, 2011 at 8:18 AM, Alexey Onuchin wrote: > > I'm developing a simple widget for which I want to leave only portrait > > mode. So is there any way to block lanscape mode like we can do

Re: [android-developers] Simulate UI Actions on device

2011-06-10 Thread Mark Murphy
On Thu, Jun 9, 2011 at 3:41 AM, gorav wrote: > I want to simulate keyboard events, touch events on screen. And, I > don;t want to have dependency on Android SDK. i.e. I want to deploy > apk file on device, which can fire some events. Fortunately, this is impossible, as it would be a massive secur

Re: [android-developers] Detecting Button Clicks

2011-06-10 Thread Mark Murphy
Use setOnClickListener() or android:onClick. On Thu, Jun 9, 2011 at 1:18 PM, c0dege3k wrote: > I'm writing a simple tic-tac-toe game, with regular buttons making up > the grid. What I want to happen is for when one button is clicked, for > the "turn" boolean to switch. There doesn't seem to be a

Re: [android-developers] Re: How can I know when the home button has been pressed?

2011-06-10 Thread TreKing
On Wed, Jun 8, 2011 at 2:01 AM, Andy Fung wrote: > if(keyCode == KeyEvent.KEYCODE_HOME) http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_HOME "This key is handled by the framework and is never delivered to applications." Please read the documentation, test your code,

Re: [android-developers] Re: When does the platform hold wakelocks?

2011-06-10 Thread Mark Murphy
On Fri, Jun 10, 2011 at 1:32 AM, Heikki wrote: > Everything else sounds pretty clear, but the incoming network data > wakeup is still a bit fuzzy. Consider for example doing a synchronous > HTTP request with HttpClient or some other library. Probably you would > have to acquire the wakelock for th

Re: [android-developers] Is there any way to disable landscape mode for widget?

2011-06-10 Thread Mark Murphy
On Fri, Jun 10, 2011 at 8:18 AM, Alexey Onuchin wrote: > I'm developing a simple widget for which I want to leave only portrait > mode. So is there any way to block lanscape mode like we can do it for > Activities? No, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github

Re: [android-developers] NFC: NDEF messages

2011-06-10 Thread Mark Murphy
On Thu, Jun 9, 2011 at 8:53 PM, Dominik wrote: > Question: How do i have to pack this information on the tag? Two > NdefRecords in the same NdefMessage or (if that is possible) two > NdefMessages? AFAIK, neither. As "andrew" said, Google will only launch one startActivity() Intent per tag. Hence

[android-developers] Is there any way to disable landscape mode for widget?

2011-06-10 Thread Alexey Onuchin
Hi to all, I'm developing a simple widget for which I want to leave only portrait mode. So is there any way to block lanscape mode like we can do it for Activities? Thanks in advance, Alexey -- You received this message because you are subscribed to the Google Groups "Android Developers" g

[android-developers] Re: BackupAgent

2011-06-10 Thread b_t
Thank you for your response. All of these options are enabled in my phone but backup still doesn't work. Maybe the problem is about my ROM, I don't know On Jun 10, 1:14 pm, Kostya Vasilyev wrote: > Ok, here is some info: > > http://developer.android.com/guide/topics/data/backup.html#Testing > >

[android-developers] Frame Animation

2011-06-10 Thread Look
Hi, I'm trying to implement Animation in my projectbut i have no luck Below i will mention the code which i used. res/drawable/anim http://schemas.android.com/apk/res/android"; android:oneshot="false"> src/project.java final AnimationD

Re: [android-developers] toasts in new thread

2011-06-10 Thread Kumar Bibek
Toasts can only be created on a UI thread, else a thread which uses Looper.prepare() ; *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Fri, Jun 10, 2011 at 5:37 PM, bob wrote: > How do you make it so a thread you create can do toasts? > > I keep get

[android-developers] toasts in new thread

2011-06-10 Thread bob
How do you make it so a thread you create can do toasts? I keep getting this: 06-10 07:04:19.691: ERROR/AndroidRuntime(2809): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() -- You received this message because you are subscribed to the Google

[android-developers] Custom Progress bar with white background not showing in 3.0 Tablet

2011-06-10 Thread Vinay Julme
Hi Guys, I have created a custom progress dialog which has a white background and contains the circular progress bar which is androids default. It shows perfectly fine on 2.3 emulator with black circular background and a white dot with a tail But when initiated on tablet emulator there is no bla

[android-developers] Animation

2011-06-10 Thread Neha
Hii all, I tried a lot to animate an image without clicking on the image.but i didn't get the result. send me your suggestions. below i mentioned my code * project.java* final ImageView imageView = (ImageView) findViewById(R.id.blankImageView); final

[android-developers] Re: SQL and preference

2011-06-10 Thread Andrei
Спасибо Костя! On 10 июн, 15:08, Kostya Vasilyev wrote: > Yes, one query to get the categories (cities), then, once a city is > selected, another query to get the addresses. Or you could preload the > entire data set and do your own filtering in memory - depending on how large > the data set is.

Re: [android-developers] Good phone for development - and getNeighboringCellInfo()

2011-06-10 Thread Fred Niggle
To answer your question about using a phone for develoment, I use a ZTE Racer - cheap but fully up to the job. However when it comes to findout out why a program crashed the emulator with logcat output is for superior from proving information about the state of variables, etc, than any real phone.

Re: [android-developers] LookUp

2011-06-10 Thread Kostya Vasilyev
That appears to be an AutoCompleteTextView: http://developer.android.com/reference/android/widget/AutoCompleteTextView.html -- Kostya 2011/6/10 Pepijn Van Eeckhoudt > Have a look at the 'Search' documentation ( > http://developer.android.com/guide/topics/search/index.html). Not exactly > what

Re: [android-developers] LookUp

2011-06-10 Thread Pepijn Van Eeckhoudt
Have a look at the 'Search' documentation (http://developer.android.com/guide/topics/search/index.html). Not exactly what you're trying to do, but it's close enough that it should give you some inspiration. Pepijn On 10/06/2011 11:21, MOHIT SHARMA wrote: Hi , Can anybody tell , how create a

Re: [android-developers] Re: BackupAgent

2011-06-10 Thread Kostya Vasilyev
Ok, here is some info: http://developer.android.com/guide/topics/data/backup.html#Testing Ensure that backup is enabled - If using the emulator, you can enable backup with the following command from your SDKtools/ path: adb shell bmgr enable true - If using a device, open the sys

Re: [android-developers] onHomePressed?

2011-06-10 Thread Kostya Vasilyev
There isn't. The home button is special, you can't intercept it. 2011/6/10 bob > I know there is the onBackPressed function to detect back button > presses. > > Is there anything similar with the Home button? > > -- > You received this message because you are subscribed to the Google > Groups "A

Re: [android-developers] SQL and preference

2011-06-10 Thread Kostya Vasilyev
Yes, one query to get the categories (cities), then, once a city is selected, another query to get the addresses. Or you could preload the entire data set and do your own filtering in memory - depending on how large the data set is. Take a look at ListPreference source code - if you wanted the lis

[android-developers] Re: Android 3.1 is too slow

2011-06-10 Thread ThaMe90
I only use the emulator to test screen configurations on different devices... Specs are available on the internet, so you can change your Emulator easily enough to use those specs. For real testing, like say if the application actually works and performance testing, I use a real device. On 10 jun,

Re: [android-developers] need help in ListActivity

2011-06-10 Thread νιנαソkum
Hi Man, Create new workspace ..copy paste the code then run and check it. On Fri, Jun 10, 2011 at 3:57 PM, tekinoypi wrote: > I copied and paste the ListViewDemo codes from the book Beginning > Android 2, page 61. > > There are no errors in Eclipse, BUT when it is executed in Android 2.1 > &

[android-developers] Android Layoutinflator for embedding WebView objects created on the fly

2011-06-10 Thread redVirus
Hello, My requirement is to create an activity that holds WebView. I want my activity to load WebView by creating WebView objects as per the requirements i.e. for every new web pageI want to reuse my activity. For this I have a layout for my activity. And I create new WebView for each request. N

[android-developers] Re: Aw: How to set send to via sms intend

2011-06-10 Thread Amol
Hi, Thanks for the answer. This worked for me. Regards, Amol Ghotankar -- 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] need help in ListActivity

2011-06-10 Thread tekinoypi
I copied and paste the ListViewDemo codes from the book Beginning Android 2, page 61. There are no errors in Eclipse, BUT when it is executed in Android 2.1 & Android 2.2 emulators the application displays a pop-up for a problem or crashes instantly. I am a beginner in Android Development, any he

[android-developers] Re: NFC Secure Element

2011-06-10 Thread Marcus
Hello, I'm in university and i'm working on NFC in Nexus S for three weeks. At time, I'm able to put my devices into emulation mode. I'm getting ATR and UID throuth my OMNIKEY CardMan 5321 : - ATR: 3B 8A 80 01 00 31 C1 73 C8 40 00 00 90 00 90 - The ID of the emulated card is constant even i

[android-developers] Press button makes a spinner "gone" in another screen

2011-06-10 Thread JackD
Hi everyone, I'm trying to make an button activity that when it's pressed a spinner will be "gone" in another screen I have a screen 1 (with the button) and screen 2 (with 2 spinner and several textviews). The main goal is just showing 1 spinner of the 2 in the end. I know the standard code for

[android-developers] Re: NFC: NDEF messages

2011-06-10 Thread Dominik
> I think with Google "Tags" app it only readd one Ndef message (one > smart poster with url) - tbc Even if it reads only one Ndef message, I could add several Ndef records into this message, but if more than one record is contained in the message, then the "Tags"-app does not recognize it. My que

Re: Svar: Re: [android-developers] Building Android programs on the command line

2011-06-10 Thread Rajender
Hello, The link is good and very useful to understand the apk creation process . Suggestion: add the usage of ant tool in building apk it will be helpful Regards, Rajender On Jun 10, 12:46 pm, Kristopher Micinski wrote: > On Fri, Jun 10, 2011 at 3:37 AM, Mark S. wrote: > > The intention of

[android-developers] android wheelpicker

2011-06-10 Thread νιנαソkum
android wheel picker example http://iamvijayakumar.blogspot.com/2011/06/android-wheel-picker-example.html -- "Nobody can go back and start a new beginning, but anyone can start today and make a new ending" - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:09

[android-developers] Re: Android 3.1 is too slow

2011-06-10 Thread String
On Friday, June 10, 2011 5:32:50 AM UTC+1, Raja Nagendra Kumar wrote: How does others manage to use it for development.. > Nobody does. The 3.x emulator is worse than useless; it's not possible to develop for Honeycomb without a real device. [*Worse* than useless? Definitely. If it simply didn

Re: [android-developers] Re: BackupAgent

2011-06-10 Thread Kostya Vasilyev
I remember there being some kind of user setting when configuring a new phone. Can't say exactly what it is, might be the second from the top under Accounts and Sync in Settings. -- Kostya Vasilyev 10.06.2011 13:01 пользователь "b_t" написал: > If I wipe user data when I start emulator then

[android-developers] How to implement zoom and pan controllers [ ArcGIS -API for Android ]

2011-06-10 Thread Narendra Padala
Hi ..Every one, I am new to this world, i created a sample program with help of ArcGIS -API for Android , now i want to add pan and zoom controllers. can any one can help me, or give me some reference sites based on that i can learn. I did example based on this url :

[android-developers] SQL and preference

2011-06-10 Thread Andrei
Hi all. Help me find the right path. I have a database in it one table, the table has a column of city and address when opening the database shows all of the city. I want to create a preference, where you can select a city and display a list of addresses only the selected city. I have to write 3 di

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Emanuele Ricci
I was talking about ORM in general. IOSched is not a so little application so maybe creating an ORM tool to integrate in Android was not a so bad idea :) On Fri, Jun 10, 2011 at 11:47 AM, Nikolay Elenkov wrote: > On Fri, Jun 10, 2011 at 6:30 PM, Emanuele Ricci wrote: > > Why Google in IOSched i

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Nikolay Elenkov
On Fri, Jun 10, 2011 at 6:30 PM, Emanuele Ricci wrote: > Why Google in IOSched is not using it? > Why should they? It's a third-party tool, and maybe they decided it's not worth the trouble. -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Re: can i start an activity from a broadcast?

2011-06-10 Thread ThaMe90
It basically means that though both starting an Activity and a BroadcastReceiver respond to Intents, neither can react to each other's specific Intents. An Activity will only respond to the Intent that is sent with a call to Context.startActivity(), while a BroadcastReceiver listens to system wide

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Emanuele Ricci
Why Google in IOSched is not using it? On Fri, Jun 10, 2011 at 11:27 AM, Nikolay Elenkov wrote: > On Fri, Jun 10, 2011 at 5:24 PM, Emanuele Ricci wrote: > > Ok I solved it: > > > > SELECT posts.post_id, posts.post_title, > > GROUP_CONCAT(categories.category_name) AS categories_name, > > GROUP_C

[android-developers] can i start an activity from a broadcast?

2011-06-10 Thread souissi haythem
Hi, Please i wanna start my activity, when i my broadcast is received. I found this in android.com: Note that, although the Intent class is used for sending and receiving these broadcasts, the Intent broadcast mechanism here is completely separate from Intents that are used to start Activities wit

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Nikolay Elenkov
On Fri, Jun 10, 2011 at 5:24 PM, Emanuele Ricci wrote: > Ok I solved it: > > SELECT posts.post_id, posts.post_title, > GROUP_CONCAT(categories.category_name) AS categories_name, > GROUP_CONCAT(categories.category_id) AS categories_id, > GROUP_CONCAT(tags.tag_id) AS tags_id, GROUP_CONCAT(tags.tag_n

[android-developers] LookUp

2011-06-10 Thread MOHIT SHARMA
Hi , Can anybody tell , how create a lookup , example or tutorial will be helpful .[image: screenshot1.PNG] -- 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 unsubscr

[android-developers] Re: webservice php

2011-06-10 Thread tamer hatoum
Miguel this is open source and all have the right to learn it , and you also have some respect to overseas programmers coz most of the american companies having branches in lebanon , india ,etc for there development work ... thank you guys for your help ... End of Post... On Jun 10, 1:49 am, Migue

[android-developers] Re: BackupAgent

2011-06-10 Thread b_t
If I wipe user data when I start emulator then backup works. There is a setting or something that can disable backup process? What should I do to work it on my phone too? On Jun 10, 10:35 am, b_t wrote: > Hi, > > I'm trying to implement BackupAgent functionality but I have no luck. > > It work

[android-developers] Gmail attachment and custom extension

2011-06-10 Thread NitroG42
I work currently on an Android application that read file with a custom extension. One of the mandatory features, is that the app must be proposed by gmail when the user receive a mail with the attachment .ourextension. I did some research, and found that gmail client on Android doesn't rely on the

R: Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Emanuele Ricci
SELECT posts.post_id, posts.post_title, GROUP_CONCAT(categories.category_name) AS categories_name, GROUP_CONCAT(categories.category_id) AS categories_id, GROUP_CONCAT(tags.tag_id) AS tags_id, GROUP_CONCAT(tags.tag_name) AS tags_name FROM posts INNER JOIN posts_categories ON posts_categories.po

[android-developers] BackupAgent

2011-06-10 Thread b_t
Hi, I'm trying to implement BackupAgent functionality but I have no luck. It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or in my device with 2.3.3. In 2.3.x it just displays when I run "bmgr backup run" in adb shell: 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling ma

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Daniel Drozdzewski
Emanuele, swap OUTER JOIN for INNER JOIN and you will not need to GROUP it. Daniel On Fri, Jun 10, 2011 at 9:24 AM, Emanuele Ricci wrote: > Ok I solved it: > > SELECT posts.post_id, posts.post_title, > GROUP_CONCAT(categories.category_name) AS categories_name, > GROUP_CONCAT(categories.category

[android-developers] encrypt internet connection (GPRS) in Android?

2011-06-10 Thread raman singa
I'm going to develop an android application that get some private details of the of the users from facebook through GPRS. I need to encrypt that connection. I need to know how to do this from the beginning. I found http://lifehacker.com/5803880/how-to-encrypt-all-internet-use-on-your-android-phon

[android-developers] Re: Market total # of downloads stuck?

2011-06-10 Thread patw
I contacted the Android Market Team. They responded pretty quickly. They said they are aware of reports of this problem from some developers and are striving to resolve the problem as soon as possible. On Jun 9, 10:26 am, Stephen Damm wrote: > On 6/9/2011 10:48 AM, Mike wrote: > > > yes, I have

[android-developers] How can I align the height of two EditText views when I do not know the amount of text ahead of time for both views?

2011-06-10 Thread mandel.l...@yahoo.com
I have two EditText views whose height I wish to align. The problem is that I cannot predict which view will have more text and hence using android:layout_alignTop and android:layout_alignBottom will not work. The layout I am experimenting with is below. I have already tried `android:layout_alignTo

Re: [android-developers] Re: Adding animation to LinearLayout

2011-06-10 Thread νιנαソkum
Hi, LinearLayout layout = (LinearLayout) findViewById*(R.layout.menu); (R.id.) * you have to declare layout id only na On Fri, Jun 10, 2011 at 10:44 AM, Mansoor wrote: > hi, > In your onCreate method u doing something wrong > > LinearLayout layout = (LinearLayout) findViewById(R.layout.me

[android-developers] encrypt GPRS in Android?

2011-06-10 Thread raman singa
I'm going to develop an android application that get some private details of the of the users from facebook through GPRS. I need to encrypt that connection. I need to know how to do this from the beginning. I found this http://lifehacker.com/5803880/how-to-encrypt-all-internet-use-on-your-android-

Re: [android-developers] How to Create Image List Please help me

2011-06-10 Thread zheng wu
you can find some examples from APIDemos about Listview or you can google "Listview" ,there are many examples. 2011/6/9 saikrishna > Hello every one I am new to android platform and more over I am > student with no much hands on experience with android. I am aware of > the basics on how to crea

[android-developers] regarding code convert

2011-06-10 Thread νιנαソkum
Hi, Anybody know how to convert blackberry code to android code? -- "Nobody can go back and start a new beginning, but anyone can start today and make a new ending" - Thanks, Regards, νιנαソαkum@r M BloG:http://iamvijayakumar.blogspot.com/ Mob.No:08792527827(Bglr) Mob.No:09751076707(TN)

[android-developers] [HELP] File Dialog

2011-06-10 Thread KENT
Hello there, I want to create a Button that will show File Dialog on onClick event and let user to choose a .txt file, after he choose a file, its file path will be set to a textview via setText I think. But I dont know how to start from. Please help --- Regards, Hoang Nguyen -- You received t

Re: [android-developers] problem with ontouch of surfaceview

2011-06-10 Thread 崔凯
all views?why not only surface view? 在 2011-6-9 中午12:29,"grace" 写道: > Hi, > > I have my layout like this > > > > > > > > > > > > > > I have registered onTouch Listeners for all the views.The LinearLayout > is made invisible at first(default). > Now when i touch the surface view the LinearL

[android-developers] How to access serversocket in emulator?

2011-06-10 Thread из за Угла
I created ServerSocket successfully, however I can't figure out how to access it. If I provide explicit binding to address given me at interfaces enumeration, it reports exception nonexistenhost, but if I ommit binding, socket got created successfully, but I couldn't figure out IP to access. Any he

[android-developers] NFC tag polling loop's interval (Nexus S + 2.3.4)

2011-06-10 Thread asl dev
Hey forum Does anyone know the NFC tag polling loop's interval? I checked the related source ( external/libnfc-nxp/ ) , and though in phNfcConfig.h, we have /**< Presence check interval in milliseconds */ #ifndef PRESENCE_CHECK_INTERVAL #define PRESENCE_CHECK_INTERVAL 500U #endif defined, I

[android-developers] Re: All Renderscript samples fail to run on actual device (Samsung Galaxy Tab 10.1 'google io edition')

2011-06-10 Thread OldYork
Thanks for this workaround. I also had these Renderscript samples running on Moto Xoom (Android 3.0.1, Tegra 2). However I observed a strangely high CPU utility percentage(~74%) when running Balls. Based on my understanding, "Balls" should put most workload on GPU of Tegra by using RenderScriptGL.

[android-developers] crash when click fullscreen button in my browser base webkit

2011-06-10 Thread Light Wang
My browser is based in webkit, which is distributed about in Nov, 2010。 I copy most of the plugin code from webkit in android2.3 source code. Now, my browser can play flash normally. The question is, that it crash when click flash's fullscreen button. All of the plugin codes may be unchanged, and

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Emanuele Ricci
Ok I solved it: SELECT posts.post_id, posts.post_title, GROUP_CONCAT(categories.category_name) AS categories_name, GROUP_CONCAT(categories.category_id) AS categories_id, GROUP_CONCAT(tags.tag_id) AS tags_id, GROUP_CONCAT(tags.tag_name) AS tags_name FROM posts LEFT OUTER JOIN posts_categories ON po

Re: [android-developers] Re: Alternatives to SQLite for static data

2011-06-10 Thread Daniel Drozdzewski
On Thu, Jun 9, 2011 at 9:50 PM, nadam wrote: > Thanks. It's no saving and no search. Just query and display. The > items will be displayed as a ListView and the user can chose two > different ways to sort the list and filter the list based on specific > predefined values. > > To be more specific,

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Daniel Drozdzewski
You should be using INNER JOIN rather than OUTER one. Daniel On Fri, Jun 10, 2011 at 8:24 AM, Emanuele Ricci wrote: > Maybe you don't understand. I'll make an example > > TABLE POSTS: > > POST_ID | POST_TITLE > > 1   | My first post > 2   | My second post! Yay! > > TABLE CATEGORIES > > CAT_ID 

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Emanuele Ricci
This is what I get: http://blobs.ge.tt/8tYJKz4/concat.png?sig=-TB4nxfSNqs5AchU5rFsughxje1g4iFms8w Only a row :/ Am I wrong? Anyway I think that this solution doesn't fit the real scenario. I semplified a bit my query. In the real usage I want to select: SELECT posts.post_id, posts.post_title, ca

Re: [android-developers] passing bitmap via Intent is broken in 2.3?

2011-06-10 Thread Kostya Vasilyev
The logcat says that the receiver timed out - took more than 1000 ms. Perhaps for some reason your receiver crashes or takes too long on 2.3.4, after getting the bitmap? Is there anything else in the logcat, like onReceive crashing? If not, you could put a try / catch block around your onReceive

Re: [android-developers] encrypt internet connection (GPRS) in Android?

2011-06-10 Thread Kostya Vasilyev
Use SSL - as in, HTTPS - for your facebook interaction. 2011/6/9 raman singa > I'm going to develop an android application that get some private > details of the of the users from facebook through GPRS. I need to > encrypt that connection. I need to know how to do this from the > beginning. > >

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Pepijn Van Eeckhoudt
You could use the group_concat aggregation function to concatenate the category titles. That way you'll only have a single row per post. Another alternative is to simply not use CursorAdapter but write your own work-alike instead, possibly starting from the CursorAdapter source code. Pepijn O

[android-developers] Re: Encoding image into Base64

2011-06-10 Thread Jens
That depends wholly on your backend - although a backend that requires you to use Base64 encoding seems a tad bit pointless. Are you sure you're not supposed to post the image directly (using a FileEntity or InputStreamEntity for instance) - with the correct Content-Type set of course? On 9 Juni,

[android-developers] Re: How to get manifest values?

2011-06-10 Thread Jens
AFAIK the GET_INTENT_FILTERS flag in PackageManager has never been implemented (even though it's been declared since version 1 of the API). If it's your own manifest file you want to access Dougs advice is spot on - if you want to inspect the intent-filters of other applications your SOL. On 9 Ju

Re: [android-developers] passing bitmap via Intent is broken in 2.3?

2011-06-10 Thread Nikolay Elenkov
On Fri, Jun 10, 2011 at 4:45 PM, Tony wrote: > Hi guys, > I am passing small bitmaps (about 30k each) from time to time, from a > service to a widget (AppWidgetProvider) via Intent, using > > 06-10 02:34:59.791: ERROR/JavaBinder(96): !!! FAILED BINDER > TRANSACTION !!! > > Again, it works wi

Re: Svar: Re: [android-developers] Building Android programs on the command line

2011-06-10 Thread Kristopher Micinski
On Fri, Jun 10, 2011 at 3:37 AM, Mark S. wrote: > The intention of the guidelineis > not primarily to be able to bypass Eclipse, > but rather provide information and knowledge about the building process > itself: > which stages are involved, which tool

[android-developers] passing bitmap via Intent is broken in 2.3?

2011-06-10 Thread Tony
Hi guys, I am passing small bitmaps (about 30k each) from time to time, from a service to a widget (AppWidgetProvider) via Intent, using this code from service : Intent intent = new Intent(intentAction); intent.putExtra(BITMAP_EXTRA, image); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); service

Svar: Re: [android-developers] Building Android programs on the command line

2011-06-10 Thread Mark S.
The intention of the guideline is not primarily to be able to bypass Eclipse, but rather provide information and knowledge about the building process itself: which stages are involved, which tools are being used etc. This should be vital information fo

Re: [android-developers] Re: SQLite complex query and handling results

2011-06-10 Thread Emanuele Ricci
Maybe you don't understand. I'll make an example TABLE POSTS: POST_ID | POST_TITLE 1 | My first post 2 | My second post! Yay! TABLE CATEGORIES CAT_ID | CATEGORY_TITLE 1 | General 2 | Blog 3 | Sport 4 | Comic TABLE POSTS_CATEGORIES POST_ID | CATEGORY_ID 1 | 1 1 | 2 1 | 3 2 | 2 2 |

Re: [android-developers] Re: New added folder to app

2011-06-10 Thread Miguel Morales
Not sure what you mean, what exactly is complicated? It might help if you explained what you're trying to do more clearly. I *think* there is a way of accessing folders and files that are bundled with your apk. However, I think there are some restrictions as to what you can do with them. Look at:

[android-developers] Re: NFC: NDEF messages

2011-06-10 Thread andrew
I think with Google "Tags" app it only readd one Ndef message (one smart poster with url) - tbc Also many tags are small and it might be tough to get two messages on them... If you host the apk or have a url on your server that has a link or redirects to the apk in the market, then if you form th

Re: [android-developers] Re: Can I use a real phone and emulator in eclipse?

2011-06-10 Thread Nikolay Elenkov
On Fri, Jun 10, 2011 at 4:16 PM, ThaMe90 wrote: > Don't forget to check the Unkown sources checkbox to be able to > install the application from Eclipse. > That is actually not needed. Eclipse installs apps via adb, which doesn't depend on that setting. -- You received this message because you

[android-developers] Re: Can I use a real phone and emulator in eclipse?

2011-06-10 Thread ThaMe90
Don't forget to check the Unkown sources checkbox to be able to install the application from Eclipse. On 10 jun, 08:37, Marcin Orlowski wrote: > yes. enable debugging feature in system prefs (app -> development). you may > also need drivers for your phone (depends on model) > On Jun 10, 2011 3:57

Re: [android-developers] Building Android programs on the command line

2011-06-10 Thread Kristopher Micinski
Might talk about how ant fits into this? Kris On Fri, Jun 10, 2011 at 3:03 AM, Mark S. wrote: > A guideline that shows how to build Android programs using a command line > environment only > has been created: > > http://geosoft.no/development/android.html > > Comments and suggestions are apprec

[android-developers] Building Android programs on the command line

2011-06-10 Thread Mark S.
A guideline that shows how to build Android programs using a command line environment only has been created: http://geosoft.no/development/android.html Comments and suggestions are appreciated. Thanks. Mark -- You received this message because you are subscribed to the Google Groups "Androi

[android-developers] Re: How to get internal storage path for music

2011-06-10 Thread Goutham P N
I'm using Environment api but it is pointing to the sdcard only. but the tablet that am using is having different folders in its internal memory also. So is there any way to get access to that folders. On Jun 8, 12:24 am, RichardC wrote: > Try: > > http://developer.android.com/guide/topics/data/d

<    1   2