[android-developers] Adding contacts to AIDL

2013-11-01 Thread Giles Ian
Is it possible to add constants to AIDL. 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@googlegroups.com To unsubscribe from this group, send email to

[android-developers] How to use out and inout parameters in AIDL

2013-10-28 Thread Giles Ian
When I am using out or inout I am getting following error: 'inout String exception' can only be an in parameter. 'out String exception' can only be an in parameter. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Custom exception in AIDL

2013-10-25 Thread Giles Ian
Can I throw a custom exception from an aidl service. If yes how ?? -- 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] Can a system service read and write files inside app space[Framework]

2013-10-14 Thread Giles Ian
1. Can any system service (lets say SystemServer.java) read and write file inside app space, lets say any file inside files dir 2. Can any system service create dir inside app space Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Uri for accounts table in contacts db

2013-10-03 Thread Giles Ian
Thanks Douglous and Andrew, What I am actually looking for is *account_id* based on *account_name* and * account_type, *and this info is only available in accounts table. On Wed, Oct 2, 2013 at 11:24 PM, Andrew Mackenzie and...@mackenzie-serres.net wrote: The contacts content provider is

[android-developers] Uri for accounts table in contacts db

2013-10-02 Thread Giles Ian
I tried with content://com.android.contacts/accounts but that does not work -- 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

[android-developers] Understanding android multi user framework [Not app related]

2013-09-12 Thread Giles Ian
I want to understand how the multi user profiles work on data level. Like how the data isolation is maintained, how and where is the data kept for different user. I did google but could not find any detailed document by google or aosp except

[android-developers] Reading all accounts on the device

2013-09-12 Thread Giles Ian
Is it possible to developer a app which can read all the accounts on device like FB/Twitter/gmail etc including password. Can it be 3rd party app if yes what permission will it need. Can it be a system app Any help/link would be greatly appreciated. Thanks -- You received this message

[android-developers] http://android.stackexchange.com/questions/53147/getting-all-account-details-including-password-on-rooted-device

2013-09-12 Thread Giles Ian
http://android.stackexchange.com/questions/53147/getting-all-account-details-including-password-on-rooted-device -- 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] ResourceNotFound exception after modifying string in android resource (.arsc) file

2013-07-31 Thread Giles Ian
I have modified one of the strings in android binary resource(.arsc) file successfully. By successfully I mean I am able to replace a string with a bigger one, move other binary data, update offsets and lengths. I also tested it out by trying to parse/read this same modified arsc file. Now the

[android-developers] Re: Modifying an String of Android Resource File (*.arsc)

2013-07-25 Thread giles ian
please find below link for understanding the entire structure binary xml ans .arsc http://justanapplication.wordpress.com/android-internals/ My question is don't we have to move the bytes when we replace the string with bigger one, apart from changing the values you mentioned below On

[android-developers] Modifying an String Binary Resource File (*.arsc) of android

2013-07-25 Thread Giles Ian
Please check the question on the link: http://stackoverflow.com/q/17867452/2585419 -- -- 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,

Re: [android-developers] Re: Modifying an String of Android Resource File (*.arsc)

2013-07-11 Thread giles ian
and not for android. On Thu, Jul 11, 2013 at 8:13 AM, Yaron Reinharts yaron.reinha...@gmail.comwrote: No need to reinvent the wheel: https://code.google.com/p/android-apktool/ Hope this helps Yaron On 07/11/2013 02:13 AM, giles ian wrote: Hi Illyoung Choi, * * *Is it possible for you to share

[android-developers] Parsing + Modifying resource.arsc programmatically [ without apktool ]

2013-07-11 Thread giles ian
Hello All, I need to parse and make changes in resource.arsc programmatically without the help of apktool. Something like http://stackoverflow.com/a/4761689, but this is for android manifest. And the structure of manifest and resource.arsc is different so the above link wont work. Does anyone

[android-developers] Re: Modifying an String of Android Resource File (*.arsc)

2013-07-10 Thread giles ian
Thanks Illyoung Choi for sharing your findings, great help... and dont bother narrow minded people like Zsolt Vasvari On Tuesday, June 21, 2011 8:09:12 PM UTC-7, Illyoung Choi wrote: Hi All. Last day, I made a simple application for parsing an Android Resource File (*.arsc) and modifying

[android-developers] Re: Modifying an String of Android Resource File (*.arsc)

2013-07-10 Thread giles ian
Hi Illyoung Choi, * * *Is it possible for you to share the code for the entire thing. i.e. * * * *1.Parsing* *2. Modifying * On Tuesday, June 21, 2011 8:09:12 PM UTC-7, Illyoung Choi wrote: Hi All. Last day, I made a simple application for parsing an Android Resource File (*.arsc) and

[android-developers] SAX Parsing meta-data tags in menifest file

2013-06-20 Thread giles ian
Hello, I need to parse meta-data tags for SyncAdapter, Authenticator etc. Issue its not necessary that the order of name and resource tag is one after the other. 1. meta-data android:name=android.content.SyncAdapter android:resource=@xml/syncadapter_abc / 2. meta-data

[android-developers] 9GAG like app [ api for images along with some some data attached to it ]

2013-04-01 Thread giles ian
Hello Guys, I am planning to develop 9GAG like for learning purpose. Obviously I dont want to waste time on server building, so is there any dummy server, free images api. So that i can directly start working on android client. Thanks, -- -- You received this message because you are

[android-developers] Facebook Nearby Graph API (with out fragment)

2013-02-12 Thread giles ian
Hello, I need to get nearby places using FB's new graph API. I am able to do that but it returns me Fragment. Is there an API which will return me only content (JSON) Thanks, -Giles -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Push me baby ( or 3rd-party Application Server simulator) like app for android GCM

2012-11-28 Thread giles ian
Is there a push me baby like app for android which will basically work as server simulator for testing client. -- 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] Consume POJO based web services

2012-10-04 Thread giles ian
How can i consume POJO based web services i -- 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

Re: [android-developers] Consume POJO based web services

2012-10-04 Thread giles ian
wrote: On Thu, Oct 4, 2012 at 3:50 AM, giles ian gilesian@gmail.com wrote: How can i consume POJO based web services i Write some code. This has nothing to do with Android specifically

[android-developers] hosting web services (php+mysql)

2012-08-10 Thread giles ian
Hi All, I will be creating a (php + mysql) server, which will expose few web services for android app, Where can i host this for free or may be paid as well. Is app engine as option. Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Menu To Action Bar transition

2012-05-31 Thread giles ian
Hi Developers, I have an app developed for 2.2+. This app has menu options. Now on 4.X i get a compatibly menu button. Now after including action bar i am not sure how the app should behave. I change my app and set targetSdkVersion to 14 with proper min version and include the support jar. Add

Re: [android-developers] Menu To Action Bar transition

2012-05-31 Thread giles ian
to make. On Thu, May 31, 2012 at 5:13 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, May 31, 2012 at 7:38 AM, giles ian gilesian@gmail.com wrote: Hi Developers, I have an app developed for 2.2+. This app has menu options. Now on 4.X i get a compatibly menu button. Now after

[android-developers] set focus not working + show all pins on map

2012-04-18 Thread giles ian
In the below code setfocus is not working. point = new GeoPoint((int)(18.60692*1E6), (int)(73.713276*1E6)); overlayitem = new OverlayItem(point, Me,Me); itemizedOverlayMe.addOverlay(overlayitem); itemizedOverlayMe.setFocus(overlayitem); mapOverlays.add(itemizedOverlayMe); Also, i have to

[android-developers] Force Close like iPhone

2012-04-11 Thread giles ian
What i want is when ever there is a Force close i totally want to exit the app ( just like iOS does) I know im making some of the android dev angry and im also sorry for that. But is there any way to achieve that. PS: I know i can achive that by using try catch and exiting app in catch, but ill

Re: [android-developers] Force Close like iPhone

2012-04-11 Thread giles ian
, TreKing treking...@gmail.com wrote: On Wed, Apr 11, 2012 at 10:00 AM, giles ian gilesian@gmail.comwrote: What i want is when ever there is a Force close i totally want to exit the app ( just like iOS does) Why? This is not iOS

[android-developers] Four Square Integration

2012-04-10 Thread giles ian
I followed this tutorialhttp://www.londatiga.net/featured-articles/how-to-use-foursquare-api-on-android-application/comment-page-1/#comment-12025 . I am getting: 04-08 20:55:40.044: W/System.err(5330): java.io.FileNotFoundException: https://api.foursquare.com/v2/users/self?oauth_token

Re: [android-developers] Re: MapActivity: Couldn't get connection factory client

2012-04-05 Thread giles ian
. On Thu, Apr 5, 2012 at 5:22 AM, lbendlin l...@bendlin.us wrote: I still get that error a lot even with a correct map key (map tiles are loading). Apart from the error message, do you see any negative effects in your app? On Wednesday, April 4, 2012 10:01:35 AM UTC-4, giles ian wrote: After

[android-developers] MapActivity: Couldn't get connection factory client

2012-04-04 Thread giles ian
After a lot of googling I findout this error id because of invalid May Key. And the reason for invalid May Key could be bad debug.keystore file. Any solutions ?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Execute code on app install OR where to put C2DM registration code

2012-03-15 Thread giles ian
I need to execute some code on app install event. How do i do it. After some googleing i found there is no direct way. So which is the best work around for that. What i basically want to achieve is when the user installs app i want to do C2DM Registration. I tried to achieve above thing using

Re: [android-developers] Duplicate Calendar Event

2012-03-14 Thread giles ian
On Tue, Mar 13, 2012 at 7:28 AM, giles ian gilesian@gmail.com wrote: Hi, I am using the below code for adding events. Now the issue is im able to add same event (all details same) multiple times. How to i avoid this. public static void addToCalendar(Context ctx, final String

Re: [android-developers] Duplicate Calendar Event

2012-03-14 Thread giles ian
+ = ? AND + Events.DTSTART + = ? AND + Events.DTEND + = ?; String[] selectionArgs = new String[] {title, Long.toString(startTimeInMillis), Long.toString(endTimeInMillis)}; In the projection, use Events._ID for the event id. On Tue, Mar 13, 2012 at 11:47 PM, giles ian

[android-developers] Open Default Dialog Box on click of Notification item

2012-03-13 Thread giles ian
Hi All, Is there a direct way to open a dialog box on click of Notification item by passing it to pending intent. Is there a better way than this (linkhttp://stackoverflow.com/questions/8146680/how-to-call-dialog-box-from-notification-bar-in-android) or setting dialog theme of activity. -- You

Re: [android-developers] Open Default Dialog Box on click of Notification item

2012-03-13 Thread giles ian
Thanks Mark On Tue, Mar 13, 2012 at 5:36 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Mar 13, 2012 at 8:02 AM, giles ian gilesian@gmail.com wrote: Is there a direct way to open a dialog box on click of Notification item by passing it to pending intent. No, only an Activity

[android-developers] Duplicate Calendar Event

2012-03-13 Thread giles ian
Hi, I am using the below code for adding events. Now the issue is im able to add same event (all details same) multiple times. How to i avoid this. public static void addToCalendar(Context ctx, final String title, final long dtstart, final long dtend) { final ContentResolver cr =

Re: [android-developers] Re: App Design Issue

2012-02-17 Thread giles ian
service data is xml file use saxParser. ( android sax parser) Moktarul anam On Feb 17, 12:09 pm, giles ian gilesian@gmail.com wrote: Hi, I have 2 activities A B. Both display data fetched from 2 different web service lets say ws1 and ws2 When i click on a button on Activity

[android-developers] App Design Issue

2012-02-16 Thread giles ian
Hi, I have 2 activities A B. Both display data fetched from 2 different web service lets say ws1 and ws2 When i click on a button on Activity A i call ws2 in that avtivity itself and show loading dialog there itself and then move to Activity B and display data.(In this case i have to save lot

[android-developers] Toast not working on honeycomb and ics

2012-02-15 Thread giles ian
Hi, The below piece of code is working fine on 2.22.3 but not on 3.0 onwards. Toast.makeText(SomeActivity.this, getResources().getString(R.string.not_implemented), Toast.LENGTH_SHORT).show(); Thanks, Pawan Nimje -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Toast not working on honeycomb and ics

2012-02-15 Thread giles ian
FYI working on Galaxy S 2.2 but not on galaxy tab 10.1 3.2 and Nexus S 4.0.3 On Wed, Feb 15, 2012 at 2:13 PM, giles ian gilesian@gmail.com wrote: Hi, The below piece of code is working fine on 2.22.3 but not on 3.0 onwards. Toast.makeText(SomeActivity.this, getResources().getString

[android-developers] How to run 4 optimised app on a portion of galaxy tab 10.1

2012-02-14 Thread giles ian
Hi, I have developed an app optimised for 4 inch (480X800) Now how can i run this on a portion of a galaxy tab 10.1 screen. Is that possible, if yes what needs to be done. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] How to run 4 optimised app on a portion of galaxy tab 10.1

2012-02-14 Thread giles ian
:( .. any future plans ?? .. btw it was great to hear from you Dianne Hackborn On Wed, Feb 15, 2012 at 3:11 AM, Dianne Hackborn hack...@android.comwrote: Sorry, you can't. On Tue, Feb 14, 2012 at 1:04 AM, giles ian gilesian@gmail.com wrote: Hi, I have developed an app optimised for 4

[android-developers] Java code for xml arrtibute

2012-01-23 Thread giles ian
Hello, I have below code in xml. RadioButton android:layout_margin=5dip android:layout_width=wrap_content android:layout_height=wrap_content android:background=@drawable/button_radio android:gravity=center android:button=@null/ I need java

Re: [android-developers] Java code for xml arrtibute

2012-01-23 Thread giles ian
: There is no android:button attribute on RadioButton. Simply delete it. On Mon, Jan 23, 2012 at 9:23 AM, giles ian gilesian@gmail.com wrote: Hello, I have below code in xml. RadioButton android:layout_margin=5dip android:layout_width=wrap_content

[android-developers] Best encryption method?

2012-01-06 Thread giles ian
Hello, Which is the best encryption method. My need is to encrypt data and store it in DB. Which would be the best among: 1. Base 64 2. AES 3. 3 DES 4. MD - 5 in terms of: 1. Security 2. Performance 3. Easy of implementation -- You received this message because you are subscribed to the

Re: [android-developers] Re: How to route sound to the speaker, even if phones are plugged in?

2012-01-06 Thread giles ian
its the second one On Fri, Jan 6, 2012 at 4:27 PM, Terry terb...@gmail.com wrote: Since I have had no responses on this request so far, I guess that either the solution is so simple that noone bothers to reply, or that noone knows. Which is it? Terry On 4 Jan, 08:24, Terry

Re: [android-developers] Remote wipe SD card Invocation Event

2011-12-12 Thread giles ian
Thanks All for your suggestions and help On Fri, Dec 9, 2011 at 9:10 PM, Erwann Abalea eaba...@gmail.com wrote: Le vendredi 9 décembre 2011 15:24:55 UTC+1, lbendlin a écrit : There are a couple of technical difficulties. First of all the phone is likely too heavy for the AC. Then, even if

[android-developers] Re: Remote wipe SD card Invocation Event

2011-12-09 Thread giles ian
On Fri, Dec 9, 2011 at 1:13 PM, giles ian gilesian@gmail.com wrote: Hi Everyone, I want to remote wipe data on sd card. I know the code of wiping the data on SD card. What I am struggling with is how to invoke this code remotely. Options that i have is *1. Broadcast receiver for SMS

Re: [android-developers] How to Remote wipe SD card

2011-12-09 Thread giles ian
On Fri, Dec 9, 2011 at 1:14 PM, giles ian gilesian@gmail.com wrote: haha u are funny daniel, ok so, I want to remote wipe data on sd card. I know the code of wiping the data on SD card. What I am struggling with is how to invoke this code remotely. Options that i have is *1

[android-developers] How to Remote wipe SD card

2011-12-08 Thread giles ian
Hi All, How to Remote wipe SD card -- 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] Remote wipe SD card Invocation Event

2011-12-08 Thread giles ian
Hi Everyone, I want to remote wipe data on sd card. I know the code of wiping the data on SD card. What I am struggling with is how to invoke this code remotely. Options that i have is *1. Broadcast receiver for SMS.* Shortcoming: SIM Card removed immediately. *3. **Broadcast receiver for

Re: [android-developers] How to Remote wipe SD card

2011-12-08 Thread giles ian
...@gmail.com wrote: On 8 December 2011 11:19, giles ian gilesian@gmail.com wrote: Hi All, How to Remote wipe SD card You cannot be serious... In case you are, here is the answer: With a soft antistatic cloth attached to a stick? -- You received this message because you are subscribed

Re: [android-developers] How to embed (or add) Watermark/Text to a video.

2011-11-10 Thread giles ian
, 2011 at 12:34 AM, giles ian gilesian@gmail.com wrote: Hello, I want to take a video from with in my app and embed(or add) some text/watermark on the video. Plz suggest me how can this be done. And also tell me which of the below method would be suitable: 1. Using Intent

[android-developers] How to embed (or add) Watermark/Text to a video.

2011-11-09 Thread giles ian
Hello, I want to take a video from with in my app and *embed(or add) some text/watermark on the video*. Plz suggest me how can this be done. And also tell me which of the below method would be suitable: 1. Using Intent (android.provider.MediaStore.ACTION_VIDEO_CAPTURE) 2. Using MediaRecorder

[android-developers] Translucent Activity over camera view

2011-10-23 Thread giles ian
Hi All, What i want to do is: I click on a button and the camera starts, now how can i lay a Translucent activity/any view/controls etc over this camera view. Any suggestions how can this be done Thanks -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Android Qualcomm AR

2011-10-22 Thread giles ian
Hi Guys, I am working on an QCAR app. I have managed to change change the Market and overlay a custom 3d Model . But im struggling to find a simple example which handles a Tap event on that 3d Model. Any help ? Thanks -- You received this message because you are subscribed to the Google

[android-developers] Custom Toggle Button

2011-09-27 Thread giles ian
Hello, I could not find a good Custom Toggle button tutorial/example/code.I googled a lot. Any Help ?? -- 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

Re: [android-developers] Which buttons are these [ see image] ??

2011-09-27 Thread giles ian
i tried this ... but im not able to set the text for those radio buttons abd when i do the size of buttons increases... its like the text is written next to the image On Tue, Sep 20, 2011 at 10:03 AM, Daniel Lukashevich danaim...@gmail.comwrote: You can use RadioGroup with custom radio

[android-developers] One View over other

2011-09-26 Thread giles ian
Hello, I have to create a iPhone like edittext (one with cross at extreme right), so im planing to have a edittext and an image on top of it @ extreme right. Which layout can i use? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Which buttons are these [ see image] ??

2011-09-20 Thread giles ian
yea thats sounds a good workaround... will try that On Tue, Sep 20, 2011 at 10:03 AM, Daniel Lukashevich danaim...@gmail.comwrote: You can use RadioGroup with custom radio buttons. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Which buttons are these [ see image] ??

2011-09-19 Thread giles ian
[image: which_buttons.JPG] what are these buttons called in android ?? and how do i develop/design/code them ?? -Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Which buttons are these [ see image] ??

2011-09-19 Thread giles ian
Ok .. but is there something similar to that in android .. something like multiple toggle buttons .. On Tue, Sep 20, 2011 at 9:23 AM, Dianne Hackborn hack...@android.comwrote: Those aren't Android UI elements. On Mon, Sep 19, 2011 at 8:13 PM, giles ian gilesian@gmail.com wrote: [image

[android-developers] Re: Button Issue

2011-09-17 Thread giles ian
Has nobody faced this problem ?? i checked the images in android sdk .. the button is slightly upwards .. any solution/workaround ?? On Sat, Sep 17, 2011 at 10:44 AM, giles ian gilesian@gmail.com wrote: There is some space at bottom of the bottom. Its not centered vertically properly even

[android-developers] Button Issue

2011-09-16 Thread giles ian
There is some space at bottom of the bottom. Its not centered vertically properly even after using android:layout_centerVertical=true. If u look very closely the button is occupying all space vertically (lite shade of green around button after selection) but the actual button image is slightly

[android-developers] Send a Mail and post on FB Wall

2010-08-09 Thread giles ian
Hi All, I want to do following things from within my app 1. Send a mail (gmail to be precise). 2. Post some text on Face Book Wall. I have no idea abt how to do the above things. Any kind of help will do like personal experience, imp links,name of the thing with which this is possible