Re: [android-developers] malloc() in the Renderscript

2011-09-24 Thread Macotonalds
Thank you for your reply. I'm sorry for a belated reply. Does it means that the only way to allocate memory is the procedure of Working with dynamic memory allocations in the Dev Guide? http://developer.android.com/guide/topics/renderscript/index.html#dynamic. Why renderscript does not allow to

[android-developers] intend

2011-09-24 Thread anandhi krishnamurthy
how to switch from one page to another page by using intend -- 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] intend

2011-09-24 Thread Ratheesh Valamchuzhy
Hi not intend , Intent is corect... startActivity(new Intent(this, NextActivity.class)); or we can use Intent i = new Intent(this,nextActivity.class); startActivity(i); Also read some tutorial.

[android-developers] Hello look here!!

2011-09-24 Thread vikas kumar
Dear friend I am one of the members of www.ausuk.com,and here I will tell you a good news: this website is holding a 10-year anniversaries now, all their products sold on discount with free shipping costs. www.ausuk.com is a reliable online shopping platform and this is a valuable chance, hope you

[android-developers] Not creating libs/armeabi/libpjsipjni.so $ libs/armeabi-v7a/libpjsipjni.so file in csipsimple (NDK) project

2011-09-24 Thread vishal singh
Hi All, Thanks for great development and fast response.Now i am facing some problem to compile the latest release of CSipSimple project( using NDK). I am not able to generate the libpjsipjni.so file using the instruction how to build from the http://code.google.com/p/csipsimple/ wiki/HowToBuild

Re: [android-developers] Where the Apk files are stored in Device ?

2011-09-24 Thread Appaholics
The downloaded files are normally stored in the cache folder, which is not accessible on a out-of-the-box phone. On Sat, Sep 24, 2011 at 11:04 AM, Chirag Raval chirag.android.develo...@gmail.com wrote: As the subject suggest , I want to know where all the apk files are stored in device which

[android-developers] Re: Where the Apk files are stored in Device ?

2011-09-24 Thread skink
On Sep 24, 7:34 am, Chirag Raval chirag.android.develo...@gmail.com wrote: As the subject suggest , I want to know where all the apk files are stored in device which were downloaded from market ? Thanks in advance. Regards, Chirag Raval. It's /data/app I think pskink -- You received

[android-developers] display one view from 2 different activity

2011-09-24 Thread android_dev
Hi, I have 2 activity, one activity is rendering form view and one common date activity is rendering view for data picker. i want to render both output in one view. I am using the date view in multiple place, i want to avoid writing date picker code in form activity. Please help me to achieve

[android-developers] getting Latitude and Longitude from MyLocationOverlay

2011-09-24 Thread Pedro Teixeira
Hi there, This is probably linear, but I can't seem to find the answer around. I'm using the class MyLocationOverlay to represent the user on the map. mlo = new MyLocationOverlay(this, mapView) ; mlo.enableCompass(); mlo.enableMyLocation();

Re: [android-developers] getting Latitude and Longitude from MyLocationOverlay

2011-09-24 Thread David SHI
Dear Pedro Teixeira, Can it be made to a very simple HTML demo on Android? Which language are you using? Regards. David On Sat, Sep 24, 2011 at 5:14 PM, Pedro Teixeira pedroteixeir...@gmail.comwrote: Hi there, This is probably linear, but I can't seem to find the answer around. I'm

Re: [android-developers] getting Latitude and Longitude from MyLocationOverlay

2011-09-24 Thread TreKing
On Sat, Sep 24, 2011 at 11:14 AM, Pedro Teixeira pedroteixeir...@gmail.comwrote: I've tried creating a geopoint with getMyLocation() so I could get the lat/long from a location created with the geopoint but it's always null. MyLocationOverlay essentially wraps a LocationManager object. It

Re: [android-developers] Fragment Compatibility Library SDK 1.6/2.1 Exception

2011-09-24 Thread Kostya Vasilyev
Eric, It looks like your adapter's getView method returns null. Line 1276 in my copy of the 1.6 sources accesses the child view returned by the adapter. Add code to log the value of view returned from getView, where you currently have code that logs About to return view (presumably?), make

[android-developers] Re: Newbie question about SimpleAdapter and ViewBinder

2011-09-24 Thread gageller
Hi everyone, I was able to get this to work. Set cOptionSet; Integer iSortOrder = null; Iterator cOptionIterator; TreeMapInteger, MapString, String tmSortOptions = new TreeMapInteger, MapString,

Re: [android-developers] Fragment Compatibility Library SDK 1.6/2.1 Exception

2011-09-24 Thread Eric Carman
Thank you for your response. I tried what you suggested. The getView code snippet from the base adapter is here. It definitely would return a non-null value, but the error above appears to happen before this gets a chance to be called. (The debug statement didn't get executed.) public View

Re: [android-developers] Fragment Compatibility Library SDK 1.6/2.1 Exception

2011-09-24 Thread Eric Carman
Looking closer at the place you suggested, I changed the colorCacheHint on the listview which kept it from crashing at line 1276. Still crashes, but later. Your point about the childview not returning a value seems to be spot on. 1274

Re: [android-developers] Fragment Compatibility Library SDK 1.6/2.1 Exception

2011-09-24 Thread Kostya Vasilyev
Ah, ok, I must have misunderstood this line in your log (taking it to mean the return from getView). 09-24 16:02:20.688: DEBUG/MGCM(357): About to return view Anyway, you could assign the adapter right away, and just make it return 0 from getView if there is no data yet. -- Kostya

Re: [android-developers] Fragment Compatibility Library SDK 1.6/2.1 Exception

2011-09-24 Thread Eric Carman
I've tried a number of different ways to inflate the footer, but it doesn't seem that this matters. Pre-2.2, the listview doesn't seem to want to suffer the footer - at least without the adapter already set. So, again, back to your latest suggestion, I have set the adapter and things are

[android-developers] weird crash

2011-09-24 Thread bob
I found this in my ACRA crash log. Anyone know what it means? java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:200) at java.util.concurrent.FutureTask $Sync.innerSetException(FutureTask.java:274)

[android-developers] getting contact call with time in Call Log with code?

2011-09-24 Thread Duygu Kahraman
i want to use monthly call log detail in my project but i have no idea about that and i want to last call with time.Have you got any ideas? thx for advice. Duygu -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] weird crash

2011-09-24 Thread Rakshith Raj
First thing is you doing multi threading inside doInbackground or try doing it outside the async task. -- 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] Fragment Compatibility Library SDK 1.6/2.1 Exception

2011-09-24 Thread Kostya Vasilyev
ListView implements header and footer views by wrapping your application-side adapter with its own, so this makes sense. In any case, your own adapter provides an abstraction layer that's under your control, to handle the case when the data has not been loaded yet. -- Kostya 24.09.2011

Re: [android-developers] weird crash

2011-09-24 Thread Kostya Vasilyev
Your async task's worker function crashes with the exception below. Some part of your code tries to parse an integer from Acc, which is not a valid string representation of a number. The exception here is unchecked, so the compiler didn't make you wrap the call to Integer.parse() with a catch

[android-developers] Listing all top level elements in strings.xml

2011-09-24 Thread jpathak
Hi, I wanted my application to be able to discover what string resources (including string arrays, but only the name of the string array) it has, on startup at runtime. I didn't find a way to do this in the API docs, or perhaps I'm missing something. Can someone help ? Thanks, -Jay. -- You

Re: [android-developers] Listing all top level elements in strings.xml

2011-09-24 Thread Kristopher Micinski
On Sat, Sep 24, 2011 at 4:49 PM, jpathak jay.pat...@gmail.com wrote: Hi, I wanted my application to be able to discover what string resources (including string arrays, but only the name of the string array) it has, on startup at runtime. I didn't find a way to do this in the API docs, or

Re: [android-developers] Listing all top level elements in strings.xml

2011-09-24 Thread Kostya Vasilyev
You can use Java reflection on the R.strings class. This can be slow, but will provide you with the necessary data. 25.09.2011 0:49, jpathak пишет: Hi, I wanted my application to be able to discover what string resources (including string arrays, but only the name of the string array) it has,

Re: [android-developers] Re: How to create a x509 certificate?

2011-09-24 Thread Simon Trigona
I used SpongyCastle which is BouncyCastle renamed to avoid the conflict with Android's hidden version. To be specific the classes to generate a X509 certificate are located within the SMIME/CMS (mail) JAR. Simon On Mon, Sep 5, 2011 at 2:25 AM, al achim.leub...@googlemail.com wrote: You could

Re: [android-developers] weird crash

2011-09-24 Thread Nick Risaro
It looks like the server is sending a bad response to your phone's request. Check both ends, the client and the server and try to figure out why the server is sending the string Acc in the response code field. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: ListFragment with a custom view hierarchy?

2011-09-24 Thread worked
Also to note, I'm using android-support-v4. From the android docs, it clearly states: ListFragment has a default layout that consists of a single list view. However, if you desire, you can customize the fragment layout by returning your own view hierarchy from onCreateView(LayoutInflater,

[android-developers] Re: Listing all top level elements in strings.xml

2011-09-24 Thread jpathak
Hi Kris, Thanks for replying. The reason I want to do this is because there is a pre-build step in which strings.xml is itself generated by another script and I want Java code to iterate through all strings in this xml. Perhaps as Kostya suggested I can use reflection, but I haven't tried it yet.

[android-developers] admarvel ads

2011-09-24 Thread bob
Anyone here know how to add admarvel ads? I need to be able to tell if an ad has been loaded and show/hide the AdMarvelView accordingly. I cant figure it out based on the docs from Admarvel. -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: weird crash

2011-09-24 Thread bob
I don't have any AsyncTasks in my code. Could this be Greystripe, Admob, or ACRA? On Sep 24, 2:31 pm, Kostya Vasilyev kmans...@gmail.com wrote: Your async task's worker function crashes with the exception below. Some part of your code tries to parse an integer from Acc, which is not a valid

[android-developers] Re: ListFragment with a custom view hierarchy?

2011-09-24 Thread worked
Got it! :) I wasn't returning the new view, within the onCreateView method of the ListFragment class. View view = inflater.inflate(R.layout.main, null); return view; On Sep 24, 6:55 pm, worked contact.edmur...@gmail.com wrote: Also to note, I'm using android-support-v4. From the android

Re: [android-developers] Where the Apk files are stored in Device ?

2011-09-24 Thread 劲男王
/system/bin/app? 2011/9/24, Chirag Raval chirag.android.develo...@gmail.com: As the subject suggest , I want to know where all the apk files are stored in device which were downloaded from market ? Thanks in advance. Regards, Chirag Raval. -- You received this message because you are

Re: [android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output

2011-09-24 Thread Anil Sasidharan
Hi Taylor, Thanks a lot. Based on what have experienced, I guess the Samsung Tab 10.1 with Android-3.1 firmware does not yet support USB Host APIs whereas Acer's Iconia A500 supports the same. Would you please let me know the exact version of the Android firmware on A500 that worked for you. I've

[android-developers] How to use SensorSimulator @ http://code.google.com/p/openintents/wiki/SensorSimulator

2011-09-24 Thread KK
Hi All, Can someone help me on how to use the SensorSimulator @ http://code.google.com/p/openintents/wiki/SensorSimulator I went through the instructions at the above wiki page, regarding adding/using the SensorEventListeners and other Sensor related classes from this package, but when I tried

[android-developers] Private and Google calendar on Java, Android

2011-09-24 Thread andr
I use following code: ContentResolver contentResolver=this.getContentResolver(); Uri.Builder builder = Uri.parse(content://calendar/instances/ when).buildUpon(); long now = new Date().getTime(); ContentUris.appendId(builder, now - DateUtils.WEEK_IN_MILLIS); ContentUris.appendId(builder, now +

[android-developers] Re: Where the Apk files are stored in Device ?

2011-09-24 Thread skink
On Sep 25, 2:27 am, 劲男王 wjn...@gmail.com wrote: /system/bin/app? There is no such path. Apks are store either in /data/app or /system/app pskink -- 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] Re: weird crash

2011-09-24 Thread Chris
Yes. -- 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+unsubscr...@googlegroups.com For more options,