[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, How to call another activity when i press the back button. Thanks, vijay.k -- 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 g

[android-developers] trace mobile location through phone number

2012-06-14 Thread Narendra Singh Rathore
Hello all, I want to trace the mobile location using phone number. What should be my approach for that. Please suggest me what to do for that. Or direct me the way, from where I should start proceeding. Thanks & Regards, NSR -- You received this message because you are subscribed to the Google G

[android-developers] Re: Help with App crackers

2012-06-14 Thread imran ali
Hi, Really, it is very shameful. I think best option to apply in-app billing to sell android application. Regards Imran Ali On Friday, June 15, 2012 11:30:37 AM UTC+5:30, Giuseppe wrote: > > Dear guys, > We work about two months, six people to make possible VOICE > PRO

Re: [android-developers] AIDL callbacks leak memory?

2012-06-14 Thread Dianne Hackborn
The underlying binder mechanisms keeps track of references across objects. Native IBinder objects are reference counted; the framework holds a reference on them as long as remote processes hold references. The JNI wrapper holds a reference on the Java object as long as the native binder object is

[android-developers] Re: Using TableLayout to perform like expandable listview.

2012-06-14 Thread Raneez
Okay, I have customized BaseExpandableListAdapter class and in getChildView() method i have created layouts for different groups : public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) { if(groupPosition==0) { // Return Ta

[android-developers] Help with App crackers

2012-06-14 Thread Giuseppe
Dear guys, We work about two months, six people to make possible VOICE PROborn. We use PROGUARD and LICENSING together, but the day after the publication, we found

Re: [android-developers] Get details of contact in single query

2012-06-14 Thread Anieeh
Thanks Asheesh for your reply but it uses Contect URI Contacts.People which is depricated http://developer.android.com/reference/android/provider/Contacts.People.html it is suggected to use ContactsContract in pla

Re: [android-developers] Re: Controlling a SAXParser using buttons

2012-06-14 Thread TreKing
On Thu, Jun 14, 2012 at 7:56 PM, r4f4 wrote: > Isn't that too big to keep in memory ? That would depend on the device. You're not going to be able to efficiently "play" and "rewind" through an XML document without having it in memory. Otherwise you're looking at reparsing it from the beginning

[android-developers] Re: ApiDemos/OS/Sensors application canvas drawings blurred when built with SDK level 15

2012-06-14 Thread Kartic
Richard, did you make any change other than disabling hardware acceleration in manifest to fix this issue? I tried doing the same but still getting the blurred circles on Nexus S with 4.0.4 build. Thanks, kartic On Saturday, June 2, 2012 4:01:35 AM UTC+5:30, RichardC wrote: > > It's something t

Re: [android-developers] Get details of contact in single query

2012-06-14 Thread asheesh arya
just go through this link http://thinkandroid.wordpress.com/2010/01/19/retrieving-contact-information-name-number-and-profile-picture/ -- 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@g

Re: [android-developers] email attachment

2012-06-14 Thread asheesh arya
try to save your file into sd card and gave location of your file stored into sd card in the source code i provided its work fine for 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-deve

[android-developers] AIDL callbacks leak memory?

2012-06-14 Thread G. Blake Meike
I've been digging into Android IPC, recently and there's something puzzling me. Suppose I define a Parcelable that, as one of its arguments, takes a callback listener which is also Parcelable. Like this: oneway interface MyService { void start(in MyRequest req, in MyResponseListener listen

Re: [android-developers] Handling JSON(Google/Finance) with escape character within Android.

2012-06-14 Thread wdziemia
I was able to go char by char and detect the escape character, then the x and the hex values. Converted hex to decimal, then cast the decimal as a character. I stored the stream in a local char array to accomplish this. As per http://www.w3schools.com/tags/ref_ascii.asp , the ASCII Entity code

Re: [android-developers] about the communication channels between android apps

2012-06-14 Thread Kristopher Micinski
On Wed, Jun 13, 2012 at 1:33 AM, michael wrote: > Hi, > > the following is one statement, is it correct? : > that applications do not run natively and inter-app communications > must take place via IPC is not entirely true. There are ways for > application to communicate without going through pre-

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-14 Thread Nikolay Elenkov
On Fri, Jun 15, 2012 at 12:14 PM, Kaiduan Xie wrote: > Nikolay, > > Thank you for quick response. > > Does it support for a non HTTPS connection? What is a 'non HTTPS' connection? SNI is for SSL. If you are using HTTP all you need is to set the Host header properly. > > I would like to have an A

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-14 Thread Kaiduan Xie
Nikolay, Thank you for quick response. Does it support for a non HTTPS connection? I would like to have an API to set the SNI value while starting handshake. /Kaiduan On Thu, Jun 14, 2012 at 10:59 PM, Nikolay Elenkov wrote: > On Fri, Jun 15, 2012 at 11:50 AM, Kaiduan Xie wrote: >> Hi, >> >>

Re: [android-developers] SSL SNI support on SSL package of SDK

2012-06-14 Thread Nikolay Elenkov
On Fri, Jun 15, 2012 at 11:50 AM, Kaiduan Xie wrote: > Hi, > > For client side, does SSL package of Android SDK support SSL SNI > extension? If yest, what is the API to set SNI value when starting SSL > handshake to a server. If not what is the plan? > HttpsURLConnection should support SNI since

[android-developers] SSL SNI support on SSL package of SDK

2012-06-14 Thread Kaiduan Xie
Hi, For client side, does SSL package of Android SDK support SSL SNI extension? If yest, what is the API to set SNI value when starting SSL handshake to a server. If not what is the plan? Thanks, /Kaiduan -- You received this message because you are subscribed to the Google Groups "Android Dev

[android-developers] Re: onConfigurationChanged() is not called when flipping between landscape and reverse landscape?

2012-06-14 Thread Streets Of Boston
You could write a listener to the sensors to get the *rotation*. On Thursday, June 14, 2012 7:36:41 PM UTC-4, Farmer wrote: > > Thanks guys for your reply! > > I tried to set > android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize", > but it

Re: [android-developers] Re: onConfigurationChanged() is not called when flipping between landscape and reverse landscape?

2012-06-14 Thread Dianne Hackborn
This is simply not a configuration change. There is no notification the platform provides for when it does this, because it is invisible to the environment the app is in. On Thu, Jun 14, 2012 at 4:36 PM, Farmer wrote: > Thanks guys for your reply! > > I tried to set > android:configChanges="key

[android-developers] Re: Controlling a SAXParser using buttons

2012-06-14 Thread r4f4
> Use Document, which stores the data in memory, allowing you to traverse the > hierarchy in any order. That could work, but I forgot to mention that the file has something like 8 Mb. Isn't that too big to keep in memory ? -- You received this message because you are subscribed to the Google Gr

Re: [android-developers] Controlling a SAXParser using buttons

2012-06-14 Thread TreKing
On Thu, Jun 14, 2012 at 6:48 PM, Rafael Pinto wrote: > Has anyone an idea how i could implement such feature ? Use Document, which stores the data in memory, allowing you to traverse the hierarchy in any order.

Re: [android-developers] email attachment

2012-06-14 Thread lbendlin
copy the file to external storage, attach to email, delete from external storage. On Thursday, June 14, 2012 5:55:48 AM UTC-4, Jags wrote: > > > thanks ashish, > > but i need something else, file in /data/data/mypackage/files/ to be sent > as an attachment, it is mode_world_readable, but not at

[android-developers] Controlling a SAXParser using buttons

2012-06-14 Thread Rafael Pinto
Hi, I'm developing an app and i want that an user can navigate through a xml file using buttons. I created media buttons (play, pause, forward and backward) and when the user press the play button the document is parsed and information is shown to the user. When the user press pause, the document

[android-developers] Re: onConfigurationChanged() is not called when flipping between landscape and reverse landscape?

2012-06-14 Thread Farmer
Thanks guys for your reply! I tried to set android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize", but it didn't help. To Hoang, I can understand that Configuration does not change when I flip the phone. Actually I am calling getRotation()

[android-developers] Re: about the communication channels between android apps

2012-06-14 Thread alex b
I don't know of any way that an application can communicate with another app outside of the OS. It's my understanding that in order for an app to communicate with another app it has to call startActivityForResult() and then it would get the result of the activity that it started. It can also

[android-developers] Re: understanding unique visitors on mobiles

2012-06-14 Thread alex b
'more precise' is a matter of what you want to know. Do you care about how many users are using your app (unique visitors), or how much your users are using the app (visitors)? I can see both numbers being important under differenct scenarios. I noticed your android app has twice the number o

Re: [android-developers] GridLayout cannot be found after installing android support package

2012-06-14 Thread Mark Murphy
GridLayout is not in a JAR, but in an Android library project. You should find it in the extras/android/support/v7/gridlayout/ directory in your SDK. On Thu, Jun 14, 2012 at 6:46 PM, alex b wrote: > I'm trying to use the Android Support package in my Android 2.3.3 eclipse > app.  I've downloaded

[android-developers] GridLayout cannot be found after installing android support package

2012-06-14 Thread alex b
I'm trying to use the Android Support package in my Android 2.3.3 eclipse app. I've downloaded the package, created the \libs folder, copied 'android-support-v7-gridlayout.jar' into that folder, and added it to the build path, however when I attempt to add a tag to my layout I get the compile

[android-developers] Re: How to properly implement dismissing HTML5 video from WebView

2012-06-14 Thread Brian
Hi Dongsheng, You may want to post some code, and the stacktrace and logcat console of the crash your experiencing. --Brian -- 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@google

Re: [android-developers] Need Help :android passing lat/long as parameter to web service

2012-06-14 Thread TreKing
On Thu, Jun 7, 2012 at 6:01 AM, Olfa Dhaouadi wrote: > i want to send touched markers properties(long/lat) as parameter to a web > service .. > how can i do it?? > 1-Write a web service that accepts lat and long parameters. The details of this are off-topic for this list. 2-Write code in your ap

Re: [android-developers] Unable to Add Account in Settings -> Account_sync_settings on Set top Box

2012-06-14 Thread TreKing
On Mon, Jun 11, 2012 at 5:38 AM, demo account wrote: > Unable to Add Account in Settings -> Account_sync_settings on Set top Box > > What could be possible reasons for this ? > Are you trying to develop on this set top box? If not, this is the wrong list and you should probably call tech suppor

[android-developers] Re: How to properly implement dismissing HTML5 video from WebView

2012-06-14 Thread Mariusz
Hi, You need to create your own class extending WebChromeClient and override onShowCustomView method. Your webview should use your webchromeclient. Regards, Mariusz On Tuesday, June 12, 2012 9:25:06 PM UTC+2, dongsheng wrote: > > Hi, Brian and Mariusz > > I have the same problem: I have a WebVi

RE: [android-developers] Implementing TwoLineListItem

2012-06-14 Thread Bernard FitzGerald
Thanks for the that. I'd googled around (a lot) until I found a good way of implementing it. Found a solution here http://beginnerdroid.wordpress.com/ It was all in the detail as they say. I just had to create a customised ArrayAdapter and I was fine. Thanks! From: magouyaw...@gmail.com Date:

[android-developers] Re: Question: Is it possible to get the RAW camera data?

2012-06-14 Thread JackN
RAW is just a bitmap that is unprocessed. Each pixel represents what the sensor saw without compression or other processing applied to it. Still don't know if you can get this from the android api. if you are not printing images, megapixels don't matter. Quality wise, The bigger problem is th

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Justin Anderson
Interesting... I've used OnDateChangedListener() before and never had any problems with it... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 14, 2012 at 1:28 PM, Rafael Botelho wrote: > Thanks, but I already tried the first option (the same ha

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread JackN
You have it. Use the above code and adapt it to use arc (capture the ups and downs and use the difference for the diameter). or perhaps someone will code it for you and post it here. On Thursday, June 14, 2012 10:41:58 AM UTC-7, Sadhna Upadhyay wrote: > > Thanks Guys, >for giving me an

Re: [android-developers] Handling JSON(Google/Finance) with escape character within Android.

2012-06-14 Thread Kostya Vasilyev
Ah, yes, interpreting them as two hex digits certainly makes more sense than my original Unicode guess. According to JSON.org, \x** is not valid string content: http://www.json.org/ ... which is probably why the parser throws the backslashes away. TextUtils.htmlEncode won't help because that's

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Rafael Botelho
Thanks, but I already tried the first option (the same happens) and I was avoiding the second one, but it is my only scape. Anyway, thanks!!! On Thu, Jun 14, 2012 at 3:03 PM, Justin Anderson wrote: > I would probably do one of the following: > >1. Use the OnDateChagnedListener: > > http:/

Re: [android-developers] UTF-8 encoding and decoding

2012-06-14 Thread Kostya Vasilyev
On the Android side, at the most basic level, you can use: byte[] b = String.getBytes("utf-8") String s = new String(b, "utf-8") to convert back and forth. UTF-8 encoding is designed in such a way that it won't interfere with regular ASCII characters, including special ones that may have meanin

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Kostya Vasilyev
Here is one simple way: // Library: package FooBar; class WidgetCommon extends AppWidgetProvider { . All functionality is implemented here protected void enableFullAppMode(boolean enable) { // if necessary - enable full (unlocked) features } } // Application A package AppA; c

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Bryan
I'm considering that option, though I'm concerned about frustrating users. I suppose it's not terrible to ask them to recreate their widgets, but I hate to negatively impact them. On Thursday, June 14, 2012 2:55:51 PM UTC-4, TreKing wrote: > > Why not stop doing all this and tell your users (via

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread TreKing
Why not stop doing all this and tell your users (via changelog in Market, in app popup, or whatever) that they need to re-create their widgets this one time? Sure would save you a lot of headaches down the line. --

Re: [android-developers] How to enable Bluetooth programmatically

2012-06-14 Thread Kristopher Micinski
What did you try? Post some example code of how you tried to enable Bluetooth. On Wed, Jun 13, 2012 at 4:20 AM, İsacan Akkoca wrote: > Hi everyone, > I want open bluetooth from my application but i didn't open. Can you show > how to work this? > > -- > You received this message because you are s

[android-developers] UTF-8 encoding and decoding

2012-06-14 Thread Francisco M. Marzoa Alonso
Hi, I am implementing an standalone client/server protocol to make one of my games online capable. One of the problems I have found is that some strings passwed between client and server may have characters that must be encoded on UTF-8 (like spanish ñ for example). The first thing I though was u

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Bryan
Could I please get some further confirmation on how to handle intents with using this library and subclassing everything in the manifest? The classes in the library create intents, just as... new Intent(this, MyActivity.class) ...however, that won't resolve as the manifest defines the activity

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread Rahul Radhakrishnanunnithan K
thanks for your information On Thu, Jun 14, 2012 at 7:27 PM, David Olsson wrote: > Check out facebook's example or try use www.google.com > > On Thu, Jun 14, 2012 at 11:01 AM, Rahul Radhakrishnanunnithan K < > rahu...@whiteovaltechnologies.com> wrote: > >> How can i create an android applicatio

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-14 Thread Justin Anderson
> > It seems i implemented the OnClickListener correctly, my phone makes a > sound when i click the button > Just because you get a sound when you press the button doesn't mean that you implemented your OnClickListener correctly. > Intent i = new Intent(this, dagensbilde.class); *there is an erro

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread Rahul Radhakrishnanunnithan K
yes i want whole application for retrieve feeds from Facebook and show in my application.if any source code available for that On Thu, Jun 14, 2012 at 8:09 PM, Saurav wrote: > Hi Rahul, > > Sounds like you want the whole application. > What is your question? Is it how to use ListView? Or is it ho

Re: [android-developers] get intent filter action of installed services

2012-06-14 Thread Justin Anderson
Call PackageManager.GetInstallledPackages to get a list of PackageInfo objects... Each PackageInfo object has an array of ServiceInfo objects... Not exactly what you are looking for but this might be the closest thing to what you are after... Thanks, Justin Anderson MagouyaWare Developer http://s

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-14 Thread Lars
It seems i implemented the OnClickListener correctly, my phone makes a sound when i click the button, but does'nt open the next activity. My code is below, but i don't know what the error means. btw i bought a book a couple a months ago; Hello android, third edition. It got me started but it se

Re: [android-developers] Regarding Freelancing

2012-06-14 Thread Miguel Morales
The best way to find a job is to show off your creations. Employers value developers who take the time and program application on their own. Link to the applications you've developed and people will notice. On Thu, Jun 14, 2012 at 8:44 AM, Justin Anderson wrote: > Put your Android experience on L

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Justin Anderson
I would probably do one of the following: 1. Use the OnDateChagnedListener: http://developer.android.com/reference/android/widget/DatePicker.OnDateChangedListener.html 2. Use DatePickerDialog and update components when the dialog finishes Thanks, Justin Anderson MagouyaWare Developer h

Re: [android-developers] Handling JSON(Google/Finance) with escape character within Android.

2012-06-14 Thread wdziemia
The Characters are ASCII(hexadecimal notation), that im sure off. Compare feeds from Google to the raw JSON data shows this aswell. http://www.asciitable.com/ \(escape) :: x(signifies 2 char hex value) :: 3c(the hex value) \x3c = < \x3c = > The above uses the Hex values for the characters.

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Rafael Botelho
Because other components will appear depending on the date that is informed. I don't know if exist some way of get the event of the elements inside the DatePicker. I looked for but didn't find anything. Thanks, Rafael Botelho On Thu, Jun 14, 2012 at 2:03 PM, Justin Anderson wrote: > Ok, in that

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-14 Thread Sadhna Upadhyay
Thanks Guys, for giving me answer. i want to make circle with the help of finger,if i use path ()then line is jig jack,but i want draw circle with the help of draw arc() but m not able to do this,pls help me if any of you have any idea. -- You received this message because you are subscrib

Re: [android-developers] Implementing TwoLineListItem

2012-06-14 Thread Justin Anderson
> > Does anyone have any sample code of how to implement a > TwoLineListItem. > http://lmgtfy.com/?q=android+TwoLineListItem+tutorial So far I have been able to create a custom LinearLayout with two > TextViews and have gotten this working but I believe I should be using > a TwoLineListItem to ac

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Justin Anderson
Ok, in that case, why are you wanting to use an OnFocusChangeListener()? It very well may be that the child elements inside of it are getting the focus... In which case there is nothing you can do, AFAIK. What exactly are you trying to accomplish? If we know what you are wanting to do at a higher

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread TreKing
On Thu, Jun 14, 2012 at 9:35 AM, Saurav wrote: > Could someone convey this to Google, that, loosing a keystore is possible, > highly STUPID, but possible. > They should have a fall back plan! > Really though, *you* should have a fall back plan. You backed up your APKs? Why didn't you back up the

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 12:49 PM, Dianne Hackborn wrote: > On Thu, Jun 14, 2012 at 6:06 AM, Mark Murphy > wrote: >> >> It'd be nice if there were a way for app widgets to be identified by a >> custom action string in an , so refactoring could be >> easier and less risky, but that's not an availab

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Rafael Botelho
Thanks Justin, I just didn`t put the code because no matter what I put inside the method, never is called. My code: DatePicker VdpDate = (DatePicker) findViewById(R.id.dpDate); VdpDate.setOnFocusChangeListener(new View.OnFocusChangeListener() { public void onFocusChange(View v, boolean

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Dianne Hackborn
On Thu, Jun 14, 2012 at 6:06 AM, Mark Murphy wrote: > It'd be nice if there were a way for app widgets to be identified by a > custom action string in an , so refactoring could be > easier and less risky, but that's not an available option AFAIK. > Then you have lots of potential problems with pe

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Dianne Hackborn
On Thu, Jun 14, 2012 at 9:05 AM, Mark Murphy wrote: > On Thu, Jun 14, 2012 at 10:35 AM, Saurav > wrote: > > They should have a fall back plan! To upgrade the application, with > another > > keystore or some other secure procedure. Just a thought! > That would be the responsibility of the Play Sto

Re: [android-developers] How to use onFocusChangeListner in the DatePicker

2012-06-14 Thread Justin Anderson
Well, for one, your onFocusChange() method is empty... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 13, 2012 at 6:24 AM, Rafael Botelho wrote: > I am using a simple DatePicker and I set focuse change listner for > DatePicker, but after I lea

Re: [android-developers] having problem updating listview.

2012-06-14 Thread Justin Anderson
All data displayed in the listview should be stored in your adapter. Have the dialog update the adapter and then call notifyDataSetChanged() Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 12, 2012 at 4:24 AM, androidandall wrote: > i want to

Re: [android-developers] Why can't I build VUE (a java based tool)

2012-06-14 Thread Justin Anderson
What does this have to do with Android? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Jun 12, 2012 at 8:32 AM, Sumit Gupta wrote: > Error log: > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 10:35 AM, Saurav wrote: > They should have a fall back plan! To upgrade the application, with another > keystore or some other secure procedure. Just a thought! That would be the responsibility of the Play Store people, who are not on this list AFAIK. -- Mark Murphy (a C

Re: [android-developers] Regarding Freelancing

2012-06-14 Thread Justin Anderson
Put your Android experience on LinkedIn... I have gotten contacted a couple times for some contract Android work due to my LinkedIn Profile... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 14, 2012 at 9:23 AM, yogendra G wrote: > freelancer

[android-developers] Regarding Freelancing

2012-06-14 Thread yogendra G
Hi All, I have got 2+ years of experience on Android development and am looking for freelancing stuff,so if any one need any task can give so that can do it as required or suggest me for some places for freelancing projects but not of freelancer as cant win bids over their. Thanks & Br, Yogi --

Re: [android-developers] pushing new APKs

2012-06-14 Thread yogendra G
Hi bob, Even i was looking for same thing and i found like for updation of app we can use c2dm concept of google or any third party clouding concepts like ultraairpush,mqtt and all according to your requirement. Yogi.. On Thu, Jun 14, 2012 at 8:40 PM, bob wrote: > Let's say you want to create

[android-developers] pushing new APKs

2012-06-14 Thread bob
Let's say you want to create a set of Android kiosks, and you want to update them from a central location. The kiosks will allow people to press buttons and watch movies and maybe go to web sites. Any idea how to best make this updatable from a central place? Any way to push new APKs to t

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Kristopher Micinski
On Thu, Jun 14, 2012 at 10:35 AM, Saurav wrote: > Thanks Mark. > You have always helped me out, now and in the past! > I know that the encryption is irreversible, wanted to know if there is a > workaround for upgrading! > > Could someone convey this to Google, that, loosing a keystore is possible,

Re: [android-developers] SeekBars in ListView with crosslink/interlock

2012-06-14 Thread Justin Anderson
The values of your Seekbars need to be stored in your adapter... You can then query the adapter for the information you need. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Jun 14, 2012 at 8:11 AM, superpsycho wrote: > I have a Problem with my c

Re: [android-developers] App not working on phone

2012-06-14 Thread Saurav
Hi Shekhar, The above link should get you started! My suggestion is, not to use absolute values, place your components based on calculations. Extract the window height and breadth, and place all your components. Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 6:44 PM, David Olsson wrote:

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread Saurav
Hi Rahul, Sounds like you want the whole application. What is your question? Is it how to use ListView? Or is it how to use the Facebook Android SDK? Could you be more specific? Regards, Saurav Mukherjee. On Thu, Jun 14, 2012 at 7:27 PM, David Olsson wrote: > Check out facebook's example or

Re: [android-developers] Recover Certificate from APK

2012-06-14 Thread Saurav
Thanks Mark. You have always helped me out, now and in the past! I know that the encryption is irreversible, wanted to know if there is a workaround for upgrading! Could someone convey this to Google, that, loosing a keystore is possible, highly STUPID, but possible. They should have a fall back p

[android-developers] SeekBars in ListView with crosslink/interlock

2012-06-14 Thread superpsycho
I have a Problem with my customized ListView. Most of my Listviews recommend a seekbar, so I created a custom layout with one and create a arrayadapter that matches to it. If I undestood right, every row in the ListView is an own View. So far everything work fine. \o/ New recommendations let me i

Re: [android-developers] Show all feeds from Facebook in application

2012-06-14 Thread David Olsson
Check out facebook's example or try use www.google.com On Thu, Jun 14, 2012 at 11:01 AM, Rahul Radhakrishnanunnithan K < rahu...@whiteovaltechnologies.com> wrote: > How can i create an android application which show all the feeds from my > facebook account in dynamic list view ,i already complet

Re: [android-developers] App not working on phone

2012-06-14 Thread David Olsson
Use dps for sizes or weights, use the different folders at your disposal. Read through: http://developer.android.com/guide/practices/screens_support.html On Wed, Jun 13, 2012 at 8:52 PM, Shekhar wrote: > Guys I made an application , the app is working correctly on my emulator > all the xml files

Re: [android-developers] IndexOutofBoundsException thrown from getViewAt() in RemoteViewFactory

2012-06-14 Thread Ethan Gao
I didn't ask for getViewAt(index>=1), this method is called by android framework(I think it's called by RemoteViewsAdater). I can not figure out the reason RemoteViewsAdatper is calling getViewAt(index>=1) after it called getCount() which returns 1. I suspect that this is an android bug, since

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 8:48 AM, Bryan wrote: > It seems like I'm on the right track then, by > extended my core classes in local classes to preserve the receiver names in > the manifest. Yes. Basically, the class name is part of the public API of an app widget, and you cannot change the public A

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Bryan
Mark, Thanks for the clarifications and sorry for my rough example, I should have used a receiver in my example. It seems like I'm on the right track then, by extended my core classes in local classes to preserve the receiver names in the manifest. Thanks again! Bryan -- You received this me

[android-developers]

2012-06-14 Thread Vijay Krishnan
Hi all, I am unable to compile the tesseract-3.01 for my ocr application.If anybody having knowledge in this,share it. Thanks, vijay.k -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 8:25 AM, Bryan wrote: > Let's say my 2 app manifests contain something like this: > > > > > > There is no package attribute on . I presume you mean the package attribute on the root element. > Here's where the problem started. Any existing appwidgets on the > homescr

Re: [android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-14 Thread Bryan
I hope that I'm wrong, but here's my understanding... Let's say my 2 app manifests contain something like this: Rather than maintaining 2 copies of MyActivity, I move them into a library: Now the references in my apps need to be updated: Here's where the problem started. Any exis

[android-developers] Re: android build from command line

2012-06-14 Thread Jags
i could dig further and see this error ERROR: Unknown option '--generate-dependencies' why would this come ? On Jun 14, 4:11 pm, Jags wrote: > hi all, > after struggling to install adt in eclipse and spending considerable time, > i am trying to create a project from command line and build it. >

[android-developers] Re: startActivityforResult does not return any result on Samsung Galaxy

2012-06-14 Thread Fina Perez
I had some problems with Samsung also, and it is due to getExternalStorageDirectory() . I cant find the link now but I read that Samsung threats the external storage differently so you have to "hack" your code or create your specific path. This code gives you the right path: try { path = Envi

Re: [android-developers] Exception

2012-06-14 Thread Mark Murphy
This has nothing to do with this list, which is for developing applications using the Android SDK. For questions regarding TaintDroid, please contact the TaintDroid authors. For questions regarding custom firmware development, please visit http://source.android.com. On Thu, Jun 14, 2012 at 7:54

[android-developers] Exception

2012-06-14 Thread marie
Hello, I found these three structures in the taintrdoid source code and I want to know : - what is the role of each structure and how to handle exeption in android? - Where can I find the stored exceptions associated to a given methode? - Where the declared_exceptio

[android-developers] Re: Play Store hijacking focus after in-app purchase dialog

2012-06-14 Thread kj
When you get this behavior to occur, try taking snapshots of the activity stack via adb shell dumpsys activity Do this at each step of the in-app purchase flow for your app to see what exactly is and is not a part of your apps history stack. You may have mis-configured activity and task launchi

Re: [android-developers] Handling JSON(Google/Finance) with escape character within Android.

2012-06-14 Thread Kostya Vasilyev
Those \x*** look like Unicode characters to me. For example, 0x3cb is the lowercase "u" with those dot things above: http://www.fileformat.info/info/unicode/char/3cb/index.htm I'm not familiar with JSON character encoding rules, but here is a couple of ideas: 1) Decode the \x** characters yours

Re: [android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Kostya Vasilyev
Yes, the code that calls Android SDK dialog method appears to be inside PhoneGap (DroidGap?) 06-14 15:09:25.083: E/WindowManager(497): at android.app.Dialog.show(Dialog.java:241) 06-14 15:09:25.083: E/WindowManager(497): at android.app.AlertDialog$Builder.show(AlertDialog.java:802) 06-14

[android-developers] android build from command line

2012-06-14 Thread Jags
hi all, after struggling to install adt in eclipse and spending considerable time, i am trying to create a project from command line and build it. i could create a project but while building ant debug get following error BUILD FAILED D:\personal\Android\android-sdk_r18-windows\android-sdk-windo

Re: [android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Rocky
Hi Kostya, thanks for info, But I'm not creating any kind of AlertDialog, same code is working on different machine. On Thu, Jun 14, 2012 at 4:08 PM, Kostya Vasilyev wrote: > Someone somewhere somehow (some code inside PhoneGap, by the looks of it) > created an AlertDialog and didn't destroy

Re: [android-developers] IndexOutofBoundsException thrown from getViewAt() in RemoteViewFactory

2012-06-14 Thread Harri Smått
On Jun 14, 2012, at 1:37 PM, Ethan Gao wrote: > Firstly, getCount() methods return 1, but the consequence getViewat() is > still trying to get view at position 1 and 2. If getCount() returns 1, you shouldn't ask for getViewAt(index) where index >= 1. It's your responsibility to make sure you do

Re: [android-developers] Activity has leaked window - no solution at stack

2012-06-14 Thread Kostya Vasilyev
Someone somewhere somehow (some code inside PhoneGap, by the looks of it) created an AlertDialog and didn't destroy it when the activity got destroyed. -- K 2012/6/14 Rocky > All, > > I'm getting error Activity has leaked windows, when i'm calling index.html > page through my Activity. > > *Her

[android-developers] IndexOutofBoundsException thrown from getViewAt() in RemoteViewFactory

2012-06-14 Thread Ethan Gao
I am attempting to create a widget for android 4.0 phone. But the widget might crash after user clicks the "clear data" button in application's setting view. I looked into logcat, it says"IndexOutofBoundsException" in getViewat() method. This is super weird in my eyes, since I put log in both g

Re: [android-developers] Java 1.7

2012-06-14 Thread Mark Murphy
Further discussion on how to modify Dalvik to support Java 7 belongs someplace else, as it is off-topic for this list. If you are planning on contributing to this work, try the android-contrib Google Group. If not, try the android-discuss Google Group. On Thu, Jun 14, 2012 at 5:27 AM, al wrote:

Re: [android-developers] build non-stub version of android.jar

2012-06-14 Thread Mark Murphy
On Thu, Jun 14, 2012 at 2:48 AM, Andrew wrote: > The android.jar found in android-sdk is simply a stub. All methods will > throw a runtime exception "stub"! Do anyone know how to get a non-stub > version of android.jar? Or how to build one from the android source code > (not android OS source code

[android-developers] Get details of contact in single query

2012-06-14 Thread Anieeh
Hi all I am trying to get contact information from the contact database using ContentResolver with these field want to get name, number, FORMATTED_ADDRESS, PHOTO details for a contact in one single query. So basically I need to make 3 queries per contact to obtain these details. What I want t

  1   2   >