Re: [android-developers] Re: Deleting An Application with ContentProvider Other Applications not working

2010-03-24 Thread Rajiv
Hi Kantesh,

Thanks for the reply.

Yes i have used the cursor in the following way:

  Uri allTitles = Uri.*parse*(com.sky.android.project.projectname/data
);

 Cursor c = managedQuery(allTitles, *null*, *null*, *null*, username
desc);
 c.close();

Regards
Rajiv

On Tue, Mar 23, 2010 at 10:23 PM, Kantesh kantesh@gmail.com wrote:

 hi,
 If u r using cursor, r closing after done with that?

 On Mar 23, 7:11 pm, Rajiv rajiv...@gmail.com wrote:
  Hi all
  I have a problem to uninstalling the product in android.
  I have used *ContentProvider* to share data in multiple applications. I
  used  in Android Manifest file
   *provider android:name=Provider
   android:authorities=com.sky.android.project.projectname/
  *
   and uri in Provider Class file
   Uri uri = com.sky.android.project.projectname/data
 
   It is working fine to Insert, delete and update in the application.
 
  In other application I have used the
 
   Uri allTitles = Uri.parse(com.sky.android.project.projectname/data);
   to fetch the data.
 
   It is working fine.
 
   But when i uninstall one of the application other applications using
 same
  Uri(com.sky.android.project.projectname/data) are not working.
 
   I got the Error message while loading the applications are:
  * java.lang.RuntimeException: Cannot determine device identification
  *
  I have also tried this with shared user ID but it also not working.
 
  Let me know how to overcome with these situation, Or any other way to
 share
  the data.
 
  Regards,
  Rajiv

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Displaying a PDF file in android application

2010-03-24 Thread Parse
Hi..

I have a pdf library to render pdf file in desktop application.

I want to use it in android application.

Can you help me, which layout should I use to display pdf file??

P.S. : The library displays the pdf page on JPanel, Container for
desktop application.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: hello-Jni Andriod ndk

2010-03-24 Thread Anandi
Can you send the complete logcat and the steps you followed to execute
the application?
Are you running NDK's hello-jni application? If yes then follow this
link:

http://developer.android.com/sdk/ndk/index.html

Anu

On Mar 23, 11:56 pm, rizwan rizcs...@gmail.com wrote:
 Hi ,

 I m trying to run the sample Hello-jni application but it's crashing
 on emulator ,the application hello nji has stopped unexpectedly . can
 you suggest what' wrong with it ? I am running on Android 2.1

 I/installd(   31): move /data/dalvik-cache/
 d...@a...@vmdl32924@classes.dex -
  /data/dalvik-cache/d...@a...@com.example.hellojni@classes.dex
 D/PackageManager(   53): New package installed in /data/app/
 com.example.hellojni
 .apk
 D/AndroidRuntime(  117): Shutting down VM
 D/dalvikvm(  117): DestroyJavaVM waiting for non-daemon threads to
 exit
 D/dalvikvm(  117): DestroyJavaVM shutting VM down
 D/dalvikvm(  117): HeapWorker thread shutting down
 E/AndroidRuntime(  117): ERROR: thread attach failed
 D/dalvikvm(  117): HeapWorker thread has shut down
 D/jdwp    (  117): JDWP shutting down net...
 I/jdwp    (  117): adbd disconnected
 D/dalvikvm(  117): VM cleaning up
 D/dalvikvm(  117): LinearAlloc 0x0 used 620804 of 5242880 (11%)
 D/dalvikvm(   53): GC freed 13131 objects / 715120 bytes in 1217ms
 W/dalvikvm(   99): threadid=3: spin on suspend #0 threadid=15
 (h=3315448)
 W/dalvikvm(   99): dumping state: process - 99
 I/dalvikvm(   99): main prio=5 tid=3 RUNNABLE
 I/dalvikvm(   99):   | group=main sCount=0 dsCount=0 s=N
 obj=0x4001b268 self=0
 xbd00
 I/dalvikvm(   99):   | sysTid=99 nice=0 sched=0/0 cgrp=default
 handle=-134400138
 4
 I/dalvikvm(   99):   at
 java.lang.AbstractStringBuilder.enlargeBuffer(AbstractSt
 ringBuilder.java:~97)
 I/dalvikvm(   99):   at
 java.lang.AbstractStringBuilder.append0(AbstractStringBu
 ilder.java:155)
 I/dalvikvm(   99):   at
 java.lang.StringBuilder.append(StringBuilder.java:216)
 I/dalvikvm(   99):   at
 android.content.ComponentName.flattenToShortString(Compo
 nentName.java:136)
 I/dalvikvm(   99):   at
 com.android.globalsearch.SearchableSuggestionSource.ini
 t(SearchableSuggestionSource.java:90)
 I/dalvikvm(   99):   at
 com.android.globalsearch.SearchableSuggestionSource.ini
 t(SearchableSuggestionSource.java:82)
 I/dalvikvm(   99):   at
 com.android.globalsearch.SuggestionSources.addExternalSo
 urces(SuggestionSources.java:251)
 I/dalvikvm(   99):   at
 com.android.globalsearch.SuggestionSources.updateSources
 (SuggestionSources.java:240)
 I/dalvikvm(   99):   at
 com.android.globalsearch.SuggestionSources.load(Suggesti
 onSources.java:194)
 I/dalvikvm(   99):   at
 com.android.globalsearch.SuggestionProvider.onCreate(Sug
 gestionProvider.java:100)
 I/dalvikvm(   99):   at
 android.content.ContentProvider.attachInfo(ContentProvid
 er.java:710)
 I/dalvikvm(   99):   at
 android.app.ActivityThread.installProvider(ActivityThrea
 d.java:4267)
 I/dalvikvm(   99):   at
 android.app.ActivityThread.installContentProviders(Activ
 ityThread.java:4042)
 I/dalvikvm(   99):   at
 android.app.ActivityThread.handleBindApplication(Activit
 yThread.java:4001)
 I/dalvikvm(   99):   at android.app.ActivityThread.access
 $2900(ActivityThread.ja
 va:119)
 I/dalvikvm(   99):   at android.app.ActivityThread
 $H.handleMessage(ActivityThrea
 d.java:1901)
 I/dalvikvm(   99):   at
 android.os.Handler.dispatchMessage(Handler.java:99)
 I/dalvikvm(   99):   at android.os.Looper.loop(Looper.java:123)
 I/dalvikvm(   99):   at
 android.app.ActivityThread.main(ActivityThread.java:4363
 )
 I/dalvikvm(   99):   at java.lang.reflect.Method.invokeNative(Native
 Method)
 I/dalvikvm(   99):   at java.lang.reflect.Method.invoke(Method.java:
 521)
 I/dalvikvm(   99):   at com.android.internal.os.ZygoteInit
 $MethodAndArgsCaller.r
 un(ZygoteInit.java:860)
 I/dalvikvm(   99):   at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:
 618)
 I/dalvikvm(   99):   at dalvik.system.NativeStart.main(Native Method)
 I/dalvikvm(   99):
 I/dalvikvm(   99): ApplicationsProviderUpdater prio=5 tid=15
 RUNNABLE
 I/dalvikvm(   99):   | group=main sCount=1 dsCount=0 s=N
 obj=0x43bb43f8 self=0
 x331838
 I/dalvikvm(   99):   | sysTid=134 nice=10 sched=0/0
 cgrp=bg_non_interactive hand
 le=3315448
 I/dalvikvm(   99):   at
 android.database.sqlite.SQLiteProgram.clearBindings(SQLi
 teProgram.java:~209)
 I/dalvikvm(   99):   at android.database.DatabaseUtils
 $InsertHelper.prepareForIn
 sert(DatabaseUtils.java:958)
 I/dalvikvm(   99):   at
 com.android.providers.applications.ApplicationsProvider.
 updateApplicationsList(ApplicationsProvider.java:449)
 I/dalvikvm(   99):   at
 com.android.providers.applications.ApplicationsProvider.
 access$300(ApplicationsProvider.java:56)
 I/dalvikvm(   99):   at
 com.android.providers.applications.ApplicationsProvider$
 UpdateHandler.handleMessage(ApplicationsProvider.java:171)
 I/dalvikvm(   99):   at
 android.os.Handler.dispatchMessage(Handler.java:99)
 I/dalvikvm(   99):   at 

Re: [android-developers] Re: Did Google really remove the ability to call the CropImage activity from Android 2.x apps?

2010-03-24 Thread Paul Tongyoo
At the moment I'm just running the code against the 2.0 emulatorhm.

On Tue, Mar 23, 2010 at 8:08 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:

 ... very strange, how come it works fine on my Droid (2.0.1),
 on my G1 (1.6) and my Nexus One (2.1-u1)...? I just tried it on all
 three phones.

 What phone are you trying it on?

 On Mar 23, 6:46 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
  I received this error:
 
  03-23 15:40:13.871: ERROR/AndroidRuntime(308):
 java.lang.RuntimeException:
  Failure delivering result ResultInfo{who=null, request=1, result=-1,
  data=null} to activity {...}: android.content.ActivityNotFoundException:
 No
  Activity found to handle Intent { act=com.android.camera.action.CROP
  /temp-image.jpg (has extras) }
  03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
  android.app.ActivityThread.deliverResults(ActivityThread.java:3224)
  03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
  android.app.ActivityThread.handleSendResult(ActivityThread.java:3266)
  03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
  android.app.ActivityThread.access$2600(ActivityThread.java:116)
  03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
  android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
 
  I then tried adding this line:
 
  intent.putExtra(return-data, true);
 
  ... which then gave me this error:
 
  03-23 15:45:49.880: ERROR/AndroidRuntime(377): Caused by:
  android.content.ActivityNotFoundException: No Activity found to handle
  Intent { act=com.android.camera.action.CROP
  dat=file:///sdcard//temp-image.jpg (has extras) }
  03-23 15:45:49.880: ERROR/AndroidRuntime(377): at
 
 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1­484)
  03-23 15:45:49.880: ERROR/AndroidRuntime(377): at
  android.app.Instrumentation.execStartActivity(Instrumentation.java:1454)
  03-23 15:45:49.880: ERROR/AndroidRuntime(377): at
  android.app.Activity.startActivityForResult(Activity.java:2661)
 
  What do you think?
 
  On Tue, Mar 23, 2010 at 2:57 PM, Streets Of Boston
  flyingdutc...@gmail.comwrote:
 
 
 
   Did you try my example? It works fine on my Motorola Droid and many
   other droids i know of.
 
   On Mar 23, 5:29 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
Thanks guys -- I jumped the gun after poking around at the source and
   seeing
my code not working on a Droid, however further debugging shows the
 code
works on my 2.0 emulator ... Are there any known issues with crop
 code
   and
the Droid?
 
@SOB:  For some reason, my code requires that I explicitly call:
 
intent.setClassName(com.android.camera,
   com.android.camera.CropImage);
 
... or else I get the following error:
 
03-23 14:17:09.119: ERROR/AndroidRuntime(222): Caused by:
android.content.ActivityNotFoundException: No Activity found to
 handle
Intent { act=com.android.camera.action.CROP ...
 
Maybe I'm missing a required configuration somewhere else?
 
--Paul
 
On Tue, Mar 23, 2010 at 2:22 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
 
 I tried this on G1, N1 and Nexus one, and it works for me:
 
 final Intent intent = new Intent(com.android.camera.action.CROP);
 intent.setData(mImgUris[1]);
 intent.putExtra(noFaceDetection, false);
 //intent.putExtra(outputX, width);
 //intent.putExtra(outputY, height);
 //intent.putExtra(aspectX, width);
 //intent.putExtra(aspectY, height);
 //intent.putExtra(scale, true);
 //intent.putExtra(output, fileUri);
 startActivityForResult(intent, R.id.view_image_menu_crop);
 
 On Mar 23, 5:12 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
  I'm no longer seeing an Intent Filter declared for the CropImage
   activity
 in
  the Eclair ... is there another way to re-use this activity?
 
  http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=.
 ..
 
  TIA!!
  Paul
 
 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 android-developers%2bunsubs­cr...@googlegroups.com
   android-developers%2bunsubs­cr...@googlegroups.com
 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
 
 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words
   REMOVE
 ME as the subject.- Hide quoted text -
 
- Show quoted text -
 
   --
   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 

[android-developers] Internal links in Webview

2010-03-24 Thread Farha Ansari
How can we find out when we click an internal link in WebvIew?

Thanks,
Farha

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Sequence of Events for video playback using MediaPlayer

2010-03-24 Thread Sandeep Prakash
Hi All,

I have 2 doubts in using the MediaPlayer class exposed in android:
1. What is the correct sequence of events for playing the same video
clip multiple times without exiting the player? The sequence I am
following is:
(surfaceCreated)-new MediaPlayer-setDataSource-setDisplay-
prepare-(onPrepared)-play-stop/EOS-prepare-
(onPrepared)-play-stop/EOS..
Is the sequence correct or Am I missing any step?

2. What is the correct sequence of events for playing different videos
one after the other without exiting the player?
(surfaceCreated)-new MediaPlayer-setDataSource-setDisplay-
prepare-onPrepared)-play-stop/EOS-setDataSource-setDisplay-
prepare-(onPrepared)-play-stop/EOS..
Is the sequence correct or Am I missing any step?

Please let me know the details or point to any post regarding this.

Thanks in advance.
Sandeep

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Is it possible to embed an app widget in an activity?

2010-03-24 Thread Kumar Bibek
I don't think this is possible. Morever, I guess, there is no
practical use of this. AppWidgets are not meant to be put on an
Activity.

Thanks and Regards,
Kumar Bibek

On Mar 19, 11:05 am, Benny dongdong.w...@gmail.com wrote:
 Hi, I want to embed the analog clock in my application.
 I use
 AnalogClock
              android:layout_width=wrap_content
              android:layout_height=wrap_content /
 in my layout XML file, but the clock's appearance is different from
 the one added in Home screen.
 I know I can copy the AlarmClock's images to my project. And in xml
 file, set the android:dial, android:hand_hour,and android:hand_minute
 to my project's images.
 But I want to know is there a way to directly reference the resource
 in the AnalogClock?

 second question,
 Can I add the app widget from code?
 I tried use following code to add a appwidget, but it seems the
 getAppWidgetIds don't work?
 Anybody knows why?

         AppWidgetManager mAppWidgetManager;
         AppWidgetHost mAppWidgetHost;

          ComponentName THIS_APPWIDGET =new ComponentName(com.android.music,
 com.android.music.MediaAppWidgetProvider);

             mAppWidgetManager = AppWidgetManager.getInstance(this);

             int[]
 appWidgetId=mAppWidgetManager.getAppWidgetIds(THIS_APPWIDGET);
             int b=appWidgetId.length;  //always 0 

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Displaying Installed Packages name

2010-03-24 Thread perumal316
Hi All,

I have managed to list down all the installed packages. I have used
ArrayList and ArrayAdapter to list down the installed packages.

Now if a user click on any one of it I want to start the respective
activity. How do I go about doing it?

Because to use an intent to start the activity I need both the package
name and class name. Eg.

Intent intent = new Intent();
intent.setComponent(new ComponentName(com.android.alarmclock,
com.android.alarmclock.AlarmClock));
startActivity(intent);

How do I get the class name? Is there any other way that upon clicking
can start that particular activity?

Regards,
Perumal

On Mar 24, 10:45 am, perumal316 perumal...@gmail.com wrote:
 Thanks Murali,

 It is working now. But it is displaying a whole chunk of data. I want
 to display just the Activity Class and package name.

 Any idea how to do it? Am I correct to use getInstalledPackages() or
 is there any other methods I can use to get the Activity Class and the
 corresponding package name.

 Thanks In Advance,
 Perumal

 On Mar 24, 10:36 am, murali raju manutd...@gmail.com wrote:

  PackageManager pack = getPackageManager();

  On Wed, Mar 24, 2010 at 7:32 AM, perumal316 perumal...@gmail.com wrote:
   Hi,

   I want to display all the installed packages to user. Below is the
   code snippet I used but not sure why it is not working.

           int flags=0;
          PackageManager pack = null;
          ListPackageInfo packInfo= pack.getInstalledPackages(flags);
          CharSequence[] items = new CharSequence[packInfo.size()];

          Vector ProcessallProcesses = new Vector Process();
          for (int i=0;ipackInfo.size();i++)
          {
                  String packI = Packages+packInfo;
                  Toast.makeText(this, packI, Toast.LENGTH_LONG).show();

          }

   I just to display the entire list of packages to user. Any idea what's
   the problem with the above code?

   Thanks In Advance,
   Perumal

   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

   To unsubscribe from this group, send email to android-developers+
   unsubscribegooglegroups.com or reply to this email with the words REMOVE
   ME as the subject.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Is this the limitation of Intent.ACTION_SEND

2010-03-24 Thread AJ
Kantesh you got it right :)


- AJ

On Mar 24, 7:14 am, Kantesh kantesh@gmail.com wrote:
 Hi mike,
  u r telling about the limitation made by network operators, but Aj is
 about  where his framework limiting it.

 On Mar 24, 2:50 am, AJ ajeet.invinci...@gmail.com wrote:

  Hi Mike
  I think you misunderstood. I am just talking about limitation of
  sending text to SMS through IntentACTION_SEND.
  I am not talking about how the SMS is sending the message.

  Thanks
  AJ

  On Mar 23, 11:25 pm, mike enervat...@gmail.com wrote:

   Er, um, isn't SMS limited to 160 chars?

   Mike

   On 03/23/2010 02:08 PM, AJ wrote:

Hi Mark,

Thanks for the reply

I am also using the same what you written. But in my device it is
limited to only 200 characters.

I checked the code and verified the result again.

Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType(text/plain);
intent.putExtra(Intent.EXTRA_TEXT, some very big
tet);
_activity.startActivity(intent);

In my device the limit is 200 and in your device its 552. Its ok.
Anyway we can't send unlimited data to SMS throughACTION_SEND.

But I am curious to know where the limitation is being defined. So
that I can check that.

Thanks
AJ

On Mar 23, 10:32 pm, Mark Murphymmur...@commonsware.com  wrote:

AJ wrote:

Hi All

I am invoking SMS application through Intent.ACTION_SENDwith some
text. My text has more than 200 characters. But when the SMS
application gets invoked it has only first 200 characters.

Is this is the limitation of Intent.ACTION_SEND?

You have asked this several times today.

I have just successfully sent 552 characters viaACTION_SENDto the
Messaging application.

Therefore, my guess is that the problem lies in your code somewhere. I
would get rid of the sms_body extra and just use Intent.EXTRA_TEXT.

--
Mark Murphy (a Commons 
Guy)http://commonsware.com|http://twitter.com/commonsguy

Android 2.0 Programming Books:http://commonsware.com/books

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Problem on getting SOAP response

2010-03-24 Thread Prasanjit Deka
While connecting to web service i am getting an Exception:
SoapFault - faultcode: 'soap:Client' faultstring:
'System.Web.Services.Protocols.SoapException: Server did not recognize the
value of HTTP Header SOAPAction:
http://115.108.40.174/hionstockws/GetHomePageRecos.

Here the code is
Please help me out...


private static final String SOAP_ACTION = 
http://115.108.40.174/hionstockws/GetHomePageRecos;;
private static final String METHOD_NAME = GetHomePageRecos;
private static final String NAMESPACE = 
http://115.108.40.174/hionstocks/;;
private static final String URL = 
http://115.108.40.174/hionstockws/service1.asmx;;

// private Object resultRequestSOAP = null;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

Log.i(Comies, im the lay);
try {
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
Log.i(Comies, request.getName());
// Add Property
request.addProperty(country, 1);
request.addProperty(recordPerPage, 1);
request.addProperty(pageNumber, 5);

/**
 * String ip = 193.99.144.80; PropertyInfo ipaddress = new
 * PropertyInfo(); ipaddress.setName(IPAddress);
 * ipaddress.setValue(ip); request.addProperty(ipaddress);
 **/
SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(
SoapEnvelope.VER11);
// .Net
envelope.dotNet = true;

envelope.setOutputSoapObject(request);
HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
androidHttpTransport.call(SOAP_ACTION, envelope);
// XML Version Tag
androidHttpTransport
.setXmlVersionTag(?xml version=\1.0\
encoding=\UTF-8\?);

SoapObject result = (SoapObject) envelope.getResponse();

// Get the Header and Body of the Request and Response
SoapObject resultsRequestSOAP = (SoapObject) envelope.bodyOut;
SoapObject resultsResponseSOAP = (SoapObject) envelope.bodyIn;
Log.i(Envelope Request: , resultsRequestSOAP.toString());
Log.i(Envelope Response:, resultsResponseSOAP.toString());


Exception:SoapFault - faultcode: 'soap:Client' faultstring:
'System.Web.Services.Protocols.SoapException: Server did not recognize the
value of HTTP Header SOAPAction:
http://115.108.40.174/hionstockws/GetHomePageRecos.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] cannot install radio update

2010-03-24 Thread Nate
I have a G1 Dev Phone. I am unable to install the 1.6 radio update
from this page:
http://developer.htc.com/adp.html
The file name is:
ota-radio-2_22_19_26I.zip
I push it to the phone as update.zip, do a shell sync, wait 5 minutes,
reboot into recovery mode, press alt+L, then alt+S. I get:

-- Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Installation aborted.

While it says Verifying update package... a progress bar slowly
grows in the background. When it gets to about 50%, the next 2
messages appear and then I'm back to the system recovery menu.

Why are there no error message? What am I supposed to do now?

I have tried a factory reset. I have tried redownloading the package
and doing all the steps again. My phone still works, but I no longer
get 2G (I'm on an ATT carrier with a SIM from an iPhone, so I have
never gotten 3G). WIFI and making/receiving calls still works, just no
2G (which is extremely frustrating).

I have Googled my eyes and fingertips off. Others are having this
problem, some exactly the same symptoms, some with error messages. No
one has had any solutions. I can't imagine I broke my phone by
following the standard instructions. I want my 2G back!

I'm already pissed that I paid extra for a Dev Phone when a regular
phone would have been fine for me. I'll accept that as being my fault
for lack of research, but I certainly wasn't told that I can't
download paid apps with a Dev Phone. On top of that, now my phone is
apparently broken and I have no one to turn to because it is a Dev
Phone!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-24 Thread Jeremy Slade
My interpretation, not to be confused with legal advice: Add-on
products purchased via an app do not qualify as products distributed
via the Market.  However, something like a pro version of an app,
purchased via a lite version that was distributed via the Market,
would be subject to this part of the agreement.  Similarly, ad revenue
earned from a Market app is not subject to this clause, because the
product (for which you are being paid) is ad impressions / clicks,
which are not distributed via the Market.

I don't think I want to be first to prove that interpretation,
however...


On Mar 23, 8:53 am, TreKing treking...@gmail.com wrote:
 Interesting discussion.

 3.3 - All fees received by Developers for Products distributed via the
 Market must be processed by the Market’s Payment Processor.

 One could argue that fees received by Developers for Products distributed
 via the Market only applies to apps sold through the market. If you then
 used your app to allow the user to buy stuff from your website, those fees
 would not be for products distributed via the Market, they would be for
 products distributed via your website and would not be subject to being
 processed by the Payment Processor.

 Thoughts?

 -
 TreKing - Chicago transit tracking app for Android-powered 
 deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: What's The Typical Hourly Rate for Freelance Work?

2010-03-24 Thread ko5tik


On Mar 24, 6:01 am, Matt mattsjor...@gmail.com wrote:
 I've recently been contacted about doing some freelance Android app
 development via the email developer button on an app I have in the
 Market.  It's my first freelance opportunity and I'm not really sure
 what I should charge - what's the typical hourly rate you guys have
 charged/seen?  Thanks

Hourly rate depends on who is ordering and where is he located.
Basically, I would charge as much as I can
get out of them.  Thogh not especially for android,  in germany you
can charge something in between EUR 50 to
90 per hour. If you are freelancing in SAP area  then even more.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Dynamic Table Problems

2010-03-24 Thread Chirayu Dalwadi
Please Reply

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Displaying a PDF file in android application

2010-03-24 Thread MobDev
Well obviously not all J2SE functionality (and thus libraries) are
compatible...
You could have a look in the Reference (http://developer.android.com/
intl/fr/reference/packages.html) which of those classes (the one you
were mentioning like JPanel tec) are available..
If those aren't then I'd simply say it's not compatible...
You also might want to contact the distributor of that pdf library and
ask which platforms are supported...

On 24 mrt, 07:28, Parse paritosh6...@gmail.com wrote:
 Hi..

 I have a pdf library to render pdf file in desktop application.

 I want to use it in android application.

 Can you help me, which layout should I use to display pdf file??

 P.S. : The library displays the pdf page on JPanel, Container for
 desktop application.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: glDrawElements vs glDrawArrays with glColorPointer in opengl es GL10

2010-03-24 Thread Perty

Hi Robert, thanks for your help.

Yes, thats makes sense and it's exactly how I do it I think.

But does the relationship (1 to 1 to 1 to 1,
vertexarray,colorarray,normalarrat, textmaparray) still apply when you
use glDrawElements ?

For example a when creating a 3D cube, the same vertex could have
three different colors and three different normals depending on the
triangle it belongs to, so the arrays can't have (?) the same one to
one relationship.

So, the question is how do I map the colors to the indexed vertex?

/Perty


On 24 mar, 06:00, Robert Green rbgrn@gmail.com wrote:
 Vertices, Texture coordinates, Normals and Colors have a 1 to 1 to 1
 to 1 relationship.  That means that for any given vertex, you can
 define:

 The vertex's location
 The texture coordinate
 The normal
 The color

 If you define 4 vertices (with or without any of the other attributes,
 doesn't matter), you can draw 2 triangles using drawElements.

 Let's say that your verts define the following for a 2d square:

 top left, top right, bottom right, bottom left

 Easy enough, clockwise rotation.

 Your indices would look like:  0,1,2, 0,2,3

 let's say you put that into a directly-allocated ShortBuffer called
 indexBuffer.
 You'd then just call glDrawElements(GL10.GL_TRIANGLES, 6,
 indexBuffer);
 which says, draw triangles using 6 points indexed by this index
 buffer

 Make sense?

 On Mar 23, 6:09 pm, Perty pertyj...@gmail.com wrote:

  Hi,

  If I use a glColorPointer together with a glVertexPointer and a
  glNormalPointer the vertex is all in the same position in the array
  (taking into accont the stride).

  Thats working fine.

  But if I want to use the glDrawElement to save some memory
  (performance?) I do not understand how I should map
   the normals and the colors.

  How does the vertexIndex lookup table relates to the colors and
  normals?

  The glDrawElements is rendering the triangles fine but the normals and
  colors is all messed up. So I manually traverse the the index and
  creates a vertexArray now.

  It feels like I have just made a simple error.

  /Regards Perty

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Stop an Activity (Urgent)

2010-03-24 Thread SREEHARI
Use finish() inside onStop() of the activities u want to hide.

A starts B. B starts C.. If u give finish() inside onStop() of B.
Then u can directly go to A from C by clicking the back button..

Regards,
SREEHARI

On Mar 19, 8:02 pm, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote:
 Thanks Karan And TreKing

 And it was urgent because i need to complete that task asap

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] ScrollableSurfaceView and ScrollableGLSurfaceView

2010-03-24 Thread Datoh
I would like to share with you ScrollableSurfaceView and
ScrollableGLSurfaceView, which are respectively, a scrollable
SurfaceView and a scrollable GLSurfaceView.

See this web page: http://datoh.com/android/code/ScrollableSurfaceView/

Regards,
Datoh.

http://twitter.com/datoh
TabDroid - http://datoh.com/tabdroid

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Accessing External Database

2010-03-24 Thread Bob Kerns

Brion gave some good suggestions, so let me address this from a more
architectural standpoint.

You don't WANT to access the tables direction. A web service acts as
an intermediary -- it sits between your application and the database.

This allows more control over how the application can access the
information. You can limit the application to change only certain
fields, or apply different security models.

It also allows you to CHANGE your database. For example, to split a
table into two linked tables to achieve better normalization. If the
application could access the database directly, the SQL queries would
need to change (especially for updates). You would face an impossible
situation, as you simply cannot force people to upgrade their
applications. This is perhaps the biggest reason why web services are
so popular, and direct database connections are almost never used in
end-user applications these days.

It also allows better performance -- through caching, connection
pooling, and other techniques. Database servers are simply not
designed for huge numbers of connections.

A web service has direct connections to the database. It has as much
access to the tables as it needs. It's up to the web service what that
data looks like to the client application, and how much access the
client has.

It can certainly present a model that parallels the database schema.
With a RESTful interfaice, you could have URIs that denote tables,
returning a list of URIs denoting primary keys in the table, and those
URIs in turn would return the content of the rows, etc.

But usually it makes more sense to operate at a somewhat higher level,
where the URIs in the interface denote domain entities. For example, a
music service might have URIs that denote albums, composers, artists,
tracks, etc. Or, more likely, it would not have 'tracks' at all, and
asking for an album would return EVERYTHING about the album that the
application might need, because you can do that in a single step,
without repeatedly asking the server.

This allows much better scaling, and much better performance and
reliability in the application, than asking for the same information
one piece at a time. This is yet another example of why you want a web
service, rather than accessing things at the database level. On a
phone in particular, there is a lot of latency. Each time you ask a
question, you have to wait for the information to flow both ways, and
all those delays add up. The web service has very fast connection to
the database, and can do all that quickly, so you only need to ask ONE
question, and get a faster answer.

When designing a web service, it is entirely up to you what form the
data comes back in. You can construct whatever JSON or XML objects
that are convenient representations for the data the service provides
or uses. Whether you use JSONObject or an XML parser is up to you.

 From: uday kiran uday.pic...@gmail.com
 Date: Mar 22, 8:15 am
 Subject: Accessing External Database
 To: Android Developers


 So, if we r using RESTful webservice is it possible to access the
 Tables present in the database???
 and doing some operations on the database i.e) Adding/Deleting a row/
 column into the database table??

 I saw one example which uses JSON Object for getting the stream..
 So if i want to access databases which class we need to use??

 If u have any related code regarding this please let me know...

  Expecting more information regarding example code...

 Thanks in advance

 --Cheers
 Uday Kiran Pichika

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] IPSec and Android

2010-03-24 Thread Ofer Goren
Hi all.
I was wondering if Android supports IPSec. I have a Linux application,
written in C, that I need to port to Android. I couldn't find the ipsec
related header files. Do I need to download something in order to add
support for this feature?

Thanks,
Ofer

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Guru
I have been trying to convert .flv to .mp4 in the server with ffmpeg ,and
stream it through the android browser:-This is the command I have been using
:

ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 25 -b 56 -s 610x340
-acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4*

The output streams like a charm on the iPhone,but i have had no luck on the
android G1 developer phone,has any one tried this?If so what are the
parameters that I may be missing.I am not even a beginner as far as media
related libraries are concerned.Any pointers will be helpful.

Thanks
Guru

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Maximum character that we can send to SMS application.

2010-03-24 Thread timo prill

http://en.wikipedia.org/wiki/SMS

[...]  it was necessary to limit the length of the messages to 128 bytes 
(later improved to 140 bytes, or 160 7-bit characters), so that the 
messages could fit into the existing signaling formats[...]


cheers

Bob Kerns schrieb:

It doesn't matter. The first S in SMS stands for 'Short'. Short as in
140 bytes.

Even if you managed to stuff 300 characters (which may be as much as
600 bytes in size) into the SMS app -- it has to either truncate or
give an error.

I think this 140 limit is warping our society in unfortunate ways
(e.g. Twitter), but nonetheless, it's something we just have to deal
with.

On Mar 23, 4:24 am, AJ ajeet.invinci...@gmail.com wrote:
  

Hi Marek,

Thanks for the information. But This I know. I think you misunderstood
my question.

Actually I am invoking SMS application from my app. I am sending some
text [which is around 300 characters] in sms_body. These characters
are being cut when SMS application is being invoked. I could find only
200 characters in the SMS app.

I want to know where is the limitation? Is this a framework
limitation?

I already pasted my code above.
Note: I am sending through Intent.ACTION_SEND

Anyways thanks for being generous and reply
AJ

On Mar 23, 12:13 pm, Marek Pola marek.p...@gmail.com wrote:





A SMS is limited to 140 bytes (octets), maybe this is the boundary you
are experiencing? I don't know if Android supports concatenated SMS.
  
http://en.wikipedia.org/wiki/SMS
  
/Marek
  
On Mar 22, 5:51 pm, AJ ajeet.invinci...@gmail.com wrote:
  

Hi group

I facing one strange problem.

I am sending some text to SMS app as a body. But when the text size

increases more than 200 characters, it cuts the body from there. Only
first 200 characters are appearing in the SMS body. But I can write
more text when SMS gets launched :(

Is there any limitation while sending characters to SMS?

if yes then its ok
But if no then where i am doing wrong?

My code looks like :-

String txt =  characters  more than 200 ;

Intent intent = new Intent(Intent.ACTION_SEND);

intent.setType(text/plain);
intent.putExtra(sms_body, txt);
intent.putExtra(Intent.EXTRA_TEXT, txt);
_activity.startActivity(Intent.createChooser(intent,
_activity.getText(text titte)));

Thanks,

Ajeet Singh



  


--
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[android-developers] Re: USB driver doesn't work with Xperia 10

2010-03-24 Thread Kirrrilka
I did it!!! I connected Xperia 10 to Windows!!!

I used Android usb driver r3.
I modified android_winusb.inf

Add the foloowing into [Google.NTx86] and [Google.NTamd64] sections:
;Xperia X10
%SingleAdbInterface%= USB_Install, USB\VID_0FCEPID_E12E
%CompositeAdbInterface% = USB_Install, USB\VID_0FCEPID_E12EMI_01

Reboot PC and update driver for Xperia.

Have fun!


On Feb 17, 12:43 pm, zeeshan genx...@gmail.com wrote:
 i am able to connect my HTC magic but still struggling withxperia10
 t connect with debugger.

 On Feb 16, 1:06 pm, Jonas Petersson jonas.peters...@xms.se wrote:



  zeeshan wrote:
   Thanks for your reply Jonas,
   i am using Windows 7. got the USB driver revision 3 by Android setup
   but it doesn't work with my device

  Can't help you there - I've only used Windows 7 for as long as it took
  me to figure out the hardware details needed to install Ubuntu ;-) (And
  that was not even needed in the end since everything worked out of the box.)

                  Good luck / Jonas

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Problems With webview and UTF-8

2010-03-24 Thread Bob Kerns
Sigh. I wish it weren't done that way.

The Description contains text. Sometimes that text is intended to be
interpreted itself as HTML.

When you read the outer XML (i.e. the Description tag), the contents
are interpreted as text. The lt; turns into .

Now, if you want to properly display that, you have to parse that
text as HTML. Not XML, since it's likely not valid XHTML And then
render it as a HTML, not text.

However, if you're not displaying that description as HTML in a
browser, you'll need to strip out the tags. Some of them you can leave
in -- Android supports tags like b to make things bold, etc; see the
Html class's javadoc.

On Mar 23, 12:43 pm, alejandro alejandr...@gmail.com wrote:
 Thanks Bob,
 Something more is going bad , I'm trying to parse the RSS with Sax
 component , but in some situtions like :

 Descriptionlt;pgt; [...] /Description

 It extrac this content at description part       , y think that is
 decoding lt; like the beginning of a new xml tag

 It's difficult to explain, sorry.

 If someone understand me or have an example about RSS parser it could
 be helpfull.
 Thanks

 On 23 mar, 07:12, Bob Kerns r...@acm.org wrote:



  Your English is fine, it's your HTML that has problems!  (English is
  harder!)

  Well, first, you should use all lower-case in your HTML these days.
  Certainly, not mixed case!

  Second -- you just fed it text, with the '' and '' properly encoded
  as text. So it did just what you asked it to.

  If you want HTML tags to be processed, you have to supply them as HTML
  tags. That means no lt; and no gt;

          String s = new String(img src='http://www.december.com/html/
  images/icon.gif' alt='logo');

  Perhaps you got this from some site which did this trying to get it to
  display correctly, but it wasn't needed...?

  On Mar 21, 11:28 am, alejandro alejandr...@gmail.com wrote:

   Hi!
   I want to render one UTF-8 encoded string what is provided by a rss
   feed like that:

    WebView webview = new WebView(this);
           setContentView(webview);
           String s = new String(lt;IMG Src='http://www.december.com/
   html/images/icon.gif' alt='logo'gt;);
           webview.loadData(s, mimeType, encoding);

   it shows at the emulator
          IMG Src='http://www.december.com/html/images/icon.gif'
   alt='logo'
   like plain text , but it isn't rendered 
   What I'm doing bad?

   thanks in advance , and sorry if my english is not correctly.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] coonection between MediaRecorder and PVMediaRecorder

2010-03-24 Thread Anandi
Hello all,

Can anyone please explain me how JNI implementation of MediaRecorder
api's invokes the PVMediaRecorder's methods?

Thanks in advance
Anu

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Problem on getting SOAP response

2010-03-24 Thread Bob Kerns
Your server is telling you the problem -- you have the wrong value for
SOAP_ACTION.

It's likely that the correct value is . SOAPAction is similar in
intent to METHOD_NAME. It is not a URL; it does not have to have a
protocol and hostname,. But if you're supplying the method in the body
of the request, it's likely that the server is configured with the
SOAPAction being .

On Mar 24, 12:29 am, Prasanjit Deka prasanjitd...@gmail.com wrote:
 While connecting to web service i am getting an Exception:
 SoapFault - faultcode: 'soap:Client' faultstring:
 'System.Web.Services.Protocols.SoapException: Server did not recognize the
 value of HTTP Header 
 SOAPAction:http://115.108.40.174/hionstockws/GetHomePageRecos.

 Here the code is
 Please help me out...

 private static final String SOAP_ACTION = 
 http://115.108.40.174/hionstockws/GetHomePageRecos;;
     private static final String METHOD_NAME = GetHomePageRecos;
     private static final String NAMESPACE = 
 http://115.108.40.174/hionstocks/;;
     private static final String URL = 
 http://115.108.40.174/hionstockws/service1.asmx;;

     // private Object resultRequestSOAP = null;
     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);

         Log.i(Comies, im the lay);
         try {
             SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
             Log.i(Comies, request.getName());
             // Add Property
             request.addProperty(country, 1);
             request.addProperty(recordPerPage, 1);
             request.addProperty(pageNumber, 5);

             /**
              * String ip = 193.99.144.80; PropertyInfo ipaddress = new
              * PropertyInfo(); ipaddress.setName(IPAddress);
              * ipaddress.setValue(ip); request.addProperty(ipaddress);
              **/
             SoapSerializationEnvelope envelope = new
 SoapSerializationEnvelope(
                     SoapEnvelope.VER11);
             // .Net
             envelope.dotNet = true;

             envelope.setOutputSoapObject(request);
             HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
             androidHttpTransport.call(SOAP_ACTION, envelope);
             // XML Version Tag
             androidHttpTransport
                     .setXmlVersionTag(?xml version=\1.0\
 encoding=\UTF-8\?);

             SoapObject result = (SoapObject) envelope.getResponse();

             // Get the Header and Body of the Request and Response
             SoapObject resultsRequestSOAP = (SoapObject) envelope.bodyOut;
             SoapObject resultsResponseSOAP = (SoapObject) envelope.bodyIn;
             Log.i(Envelope Request: , resultsRequestSOAP.toString());
             Log.i(Envelope Response:, resultsResponseSOAP.toString());

 Exception:SoapFault - faultcode: 'soap:Client' faultstring:
 'System.Web.Services.Protocols.SoapException: Server did not recognize the
 value of HTTP Header 
 SOAPAction:http://115.108.40.174/hionstockws/GetHomePageRecos.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Mark Murphy
Guru wrote:
 I have been trying to convert .flv to .mp4 in the server with ffmpeg
 ,and stream it through the android browser:-This is the command I have
 been using :
 
 ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 25 -b 56 -s 610x340
 -acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4*
 
 The output streams like a charm on the iPhone,but i have had no luck on
 the android G1 developer phone,has any one tried this?If so what are the
 parameters that I may be missing.I am not even a beginner as far as
 media related libraries are concerned.Any pointers will be helpful.

Try running:

MP4Box -hint output.mp4

and see if that helps. There may be an ffmpeg flag that does this, but
there are a seemingly infinite number of ffmpeg options...

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in NYC: 10-11 April 2010: http://guruloft.com

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Problem on getting SOAP response

2010-03-24 Thread Prasanjit Deka
Thanks a lot for ur reply,

I want to ask u one more doubt,

I got a envelope response in a String ,
The structure of String is like that.

03-24 17:36:52.588: INFO/R1(216):
anyType{schema=anyType{element=anyType{complexType=anyType{choice=anyType{element=anyType{complexType=anyType{sequence=anyType{element=anyType{};
element=anyType{}; element=anyType{}; element=anyType{}; element=anyType{};
element=anyType{}; element=anyType{}; element=anyType{}; element=anyType{};
element=anyType{}; element=anyType{}; element=anyType{}; element=anyType{};
element=anyType{}; }; }; };
element=anyType{complexType=anyType{sequence=anyType{element=anyType{}; };
}; }; }; }; }; }; *diffgram*=anyType{NewDataSet=anyType{*Table*=anyType{*
predictionMessage*=ADRX; *predictionPostDate*=Mar  8 2010 ; *RecoPrice*=Rs.
0.00; *TargetPrice*=Rs.  55.95; *CurrentPrice*=Rs.  0.00; *feedId*=134; *
feedType*=2; *userId*=46; *loginName*=username; *feedName*=username BEST
IDEAS; feedTypeName=Short Term(Weekly); predictionExpDate=Mar 14 2010 ;
rank=0; Row=1; }; Table=anyType{predictionMessage=ADRX;
predictionPostDate=Mar  8 2010 ; RecoPrice=Rs.  0.00; TargetPrice=Rs.
55.95; CurrentPrice=Rs.  0.00; feedId=134; feedType=2; userId=46;
loginName=username; feedName=username BEST IDEAS; feedTypeName=Short
Term(Weekly); predictionExpDate=Mar 14 2010 ; rank=0; Row=2; };
*Table*=anyType{predictionMessage=ADRX;
predictionPostDate=Mar  8 2010 ; RecoPrice=Rs.  0.00; TargetPrice=Rs.
55.95; CurrentPrice=Rs.  0.00; feedId=134; feedType=2; userId=46;
loginName=username; feedName=username BEST IDEAS; feedTypeName=Short
Term(Weekly); predictionExpDate=Mar 14 2010 ; rank=0; Row=3; };
*Table*=anyType{predictionMessage=ADRX;
predictionPostDate=Mar  8 2010 ; RecoPrice=Rs.  0.00; TargetPrice=Rs.
55.95; CurrentPrice=Rs.  0.00; feedId=134; feedType=2; userId=46;
loginName=username; feedName=username BEST IDEAS; feedTypeName=Short
Term(Weekly); predictionExpDate=Mar 14 2010 ; rank=0; Row=4; };*
Table*=anyType{predictionMessage=ADRX;
predictionPostDate=Mar  8 2010 ; RecoPrice=Rs.  0.00; TargetPrice=Rs.
55.95; CurrentPrice=Rs.  0.00; feedId=134; feedType=2; userId=46;
loginName=username; feedName=username BEST IDEAS; feedTypeName=Short
Term(Weekly); predictionExpDate=Mar 14 2010 ; rank=0; Row=5; }; }; }; }

So this is nothing but a String which produce by XML, so how do i parse it
and diaplay all the data in the mobile screen.
In the above String ,records are present in Table tag, So please help me out
on this

Here all the table tag having the records of data , should i have split it
by java program ? or there some methods are there to parse the attribute
element SOAp object.








On Wed, Mar 24, 2010 at 5:36 PM, Bob Kerns r...@acm.org wrote:

 Your server is telling you the problem -- you have the wrong value for
 SOAP_ACTION.

 It's likely that the correct value is . SOAPAction is similar in
 intent to METHOD_NAME. It is not a URL; it does not have to have a
 protocol and hostname,. But if you're supplying the method in the body
 of the request, it's likely that the server is configured with the
 SOAPAction being .

 On Mar 24, 12:29 am, Prasanjit Deka prasanjitd...@gmail.com wrote:
  While connecting to web service i am getting an Exception:
  SoapFault - faultcode: 'soap:Client' faultstring:
  'System.Web.Services.Protocols.SoapException: Server did not recognize
 the
  value of HTTP Header SOAPAction:
 http://115.108.40.174/hionstockws/GetHomePageRecos.
 
  Here the code is
  Please help me out...
 
  private static final String SOAP_ACTION = 
 http://115.108.40.174/hionstockws/GetHomePageRecos;;
  private static final String METHOD_NAME = GetHomePageRecos;
  private static final String NAMESPACE = 
 http://115.108.40.174/hionstocks/;;
  private static final String URL = 
 http://115.108.40.174/hionstockws/service1.asmx;;
 
  // private Object resultRequestSOAP = null;
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.main);
 
  Log.i(Comies, im the lay);
  try {
  SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
  Log.i(Comies, request.getName());
  // Add Property
  request.addProperty(country, 1);
  request.addProperty(recordPerPage, 1);
  request.addProperty(pageNumber, 5);
 
  /**
   * String ip = 193.99.144.80; PropertyInfo ipaddress = new
   * PropertyInfo(); ipaddress.setName(IPAddress);
   * ipaddress.setValue(ip); request.addProperty(ipaddress);
   **/
  SoapSerializationEnvelope envelope = new
  SoapSerializationEnvelope(
  SoapEnvelope.VER11);
  // .Net
  envelope.dotNet = true;
 
  envelope.setOutputSoapObject(request);
  

Re: [android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Guru
Hi Marck...did not quite understand what this command actually does..?I got
this on my command line

Hinting file with Path-MTU 1450 Bytes
Saving to src.flv: 0.500 secs Interleaving

On Wed, Mar 24, 2010 at 5:39 PM, Mark Murphy mmur...@commonsware.comwrote:

 Guru wrote:
  I have been trying to convert .flv to .mp4 in the server with ffmpeg
  ,and stream it through the android browser:-This is the command I have
  been using :
 
  ffmpeg -i *input.flv* -f mp4 -vcodec mpeg4 -r 25 -b 56 -s 610x340
  -acodec aac -ac 2 -ab 64 -ar 44100 *output.mp4*
 
  The output streams like a charm on the iPhone,but i have had no luck on
  the android G1 developer phone,has any one tried this?If so what are the
  parameters that I may be missing.I am not even a beginner as far as
  media related libraries are concerned.Any pointers will be helpful.

 Try running:

 MP4Box -hint output.mp4

 and see if that helps. There may be an ffmpeg flag that does this, but
 there are a seemingly infinite number of ffmpeg options...

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 Android Training in NYC: 10-11 April 2010: http://guruloft.com

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks and Regards
Gurudutt P.S.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Mark Murphy
Guru wrote:
 Hi Marck...did not quite understand what this command actually does..?I
 got this on my command line
 
 Hinting file with Path-MTU 1450 Bytes
 Saving to src.flv: 0.500 secs Interleaving

http://groups.google.com/group/android-developers/browse_thread/thread/8f8adc65f0d8c5d7
https://help.ubuntu.com/community/AndroidVideoEncoding
http://justdevelopment.blogspot.com/2009/10/video-streaming-with-android-phone.html
http://stackoverflow.com/questions/1425502/how-to-display-video-in-the-android-emulator-from-remote-url

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Guru
Thanks Mark.I tried the command with no luck.:(

On Wed, Mar 24, 2010 at 5:56 PM, Mark Murphy mmur...@commonsware.comwrote:

 Guru wrote:
  Hi Marck...did not quite understand what this command actually does..?I
  got this on my command line
 
  Hinting file with Path-MTU 1450 Bytes
  Saving to src.flv: 0.500 secs Interleaving


 http://groups.google.com/group/android-developers/browse_thread/thread/8f8adc65f0d8c5d7
 https://help.ubuntu.com/community/AndroidVideoEncoding

 http://justdevelopment.blogspot.com/2009/10/video-streaming-with-android-phone.html

 http://stackoverflow.com/questions/1425502/how-to-display-video-in-the-android-emulator-from-remote-url

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 Android Development Wiki: http://wiki.andmob.org

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.




-- 
Thanks and Regards
Gurudutt P.S.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: What's The Typical Hourly Rate for Freelance Work?

2010-03-24 Thread Warren
I'm also interested to hear what people are thinking. I have a similar
situation and was planning to ask for $50 per hour. Does that seem too
low?


On Mar 24, 3:24 am, MobDev developm...@mobilaria.com wrote:
 mostly it's also based on experience and knowledge of the developer...
 As in a Junior programmer ( 2 years experience) will be asking less
 than a Medior or Senior programmer..
 Also I guess you could first determine how complex of an architecture
 (if any) should be implemented, and how modulare/expandable the
 software should become... It will take more time but because the
 software will be more structured you also might get a higher fee per
 hour...
 If the contractor is some Indian/Chinese company then they aree most
 probably used to a much lower fee per hour than for example in
 Europe... But even in Europe nowadays there are big differences
 (Romania vs Germany for example)...
 So as mentioned by ko5tik it depends on where you and your contractor
 are located...

 On 24 mrt, 06:01, Matt mattsjor...@gmail.com wrote:

  I've recently been contacted about doing some freelance Android app
  development via the email developer button on an app I have in the
  Market.  It's my first freelance opportunity and I'm not really sure
  what I should charge - what's the typical hourly rate you guys have
  charged/seen?  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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Integrate IPhone Safari like view in Android?

2010-03-24 Thread javame_android
Hi All,

I want to implement IPhone safari like view in Android. The scrolling
can be done using Gallery I think. But how to minimize the views as
done in the IPhone Safari.

The Android Browser also have minimized view, can anyone tell me how
to implement it?

Any help in this regard would be really appreciable.

Hope to get a quick reply.


Thanks  Regards
Sunil

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] listview doesnt repaint inside gallery when scrolling at random times

2010-03-24 Thread social hub
I have gallery which contains a listview.

when you scroll sometimes the views inside the listview doesnt appear. i can
see a shadow which belongs to listview but nothing inside listview appears

i have tried using invalidateviews on listview whenever the view becomes
selected.

I am not sure how to resolve this.

Can you guys give me some suggestions how to go about this.

Thanks for  your 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 from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Problem installing apk via code

2010-03-24 Thread A R
Hi, I am trying to install a apk file by starting Intent.ACTION_VIEW
but in 1.6 and lower I see the initial install screen but on clicking
on 'install' nothing happens. This works fine on N1... anyone else
expereinced this? Am I doing somethig wrong?

String fileName = Environment.getExternalStorageDirectory() + /
myApp.apk;
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(fileName)), application/
vnd.android.package-archive);
startActivity(intent);

I also have uses-permission
android:name=android.permission.INSTALL_PACKAGES/uses-permission
in my manifest file.

Any pointers?

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] DatePicker - years prior to 2000

2010-03-24 Thread kanatacrude
This has problem has been mentioned before but for anyone that
encounters a problem with the DatePicker refusing to select years
earlier than 2000, the following snippet of layout solved my problem.

DatePicker
android:id=@+id/startdate_picker
 android:layout_width=wrap_content
 android:layout_gravity=center_horizontal
 android:textColor=#8C00
 android:startYear=1900
 android:endYear=2100
 android:layout_height=wrap_content/DatePicker

Adding startYear and endYear fixed this problem for me.  This is a
very sporadic and rare issue and seems to happen almost exclusively on
Samsung phones for some reason.

Hope this helps someone else.

Garnet Ulrich

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Platform 1.1 gone?

2010-03-24 Thread TreKing
On Tue, Mar 23, 2010 at 4:37 PM, Xavier Ducrohet x...@android.com wrote:

 However there is little point in using 1.1 as you can see from the
 chart at:
 http://developer.android.com/resources/dashboard/platform-versions.html


That chart is nearly 3 months old. Is there any expectation of getting it
updated? This has been asked repeatedly on these groups with no response.

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Avoid Black Screen on starting application?

2010-03-24 Thread javame_android
Hi,

Thanks a lot Mark.

That was really helpful.


Thanks  Regards
Sunil

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Did Google really remove the ability to call the CropImage activity from Android 2.x apps?

2010-03-24 Thread Streets Of Boston
Note that the emulator's camera application is NOT the ones running on
most actual devices.
Test it on an actual device, a few of them if possible.

On Mar 24, 2:35 am, Paul Tongyoo paul.tong...@gmail.com wrote:
 At the moment I'm just running the code against the 2.0 emulatorhm.

 On Tue, Mar 23, 2010 at 8:08 PM, Streets Of Boston
 flyingdutc...@gmail.comwrote:



  ... very strange, how come it works fine on my Droid (2.0.1),
  on my G1 (1.6) and my Nexus One (2.1-u1)...? I just tried it on all
  three phones.

  What phone are you trying it on?

  On Mar 23, 6:46 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
   I received this error:

   03-23 15:40:13.871: ERROR/AndroidRuntime(308):
  java.lang.RuntimeException:
   Failure delivering result ResultInfo{who=null, request=1, result=-1,
   data=null} to activity {...}: android.content.ActivityNotFoundException:
  No
   Activity found to handle Intent { act=com.android.camera.action.CROP
   /temp-image.jpg (has extras) }
   03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
   android.app.ActivityThread.deliverResults(ActivityThread.java:3224)
   03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
   android.app.ActivityThread.handleSendResult(ActivityThread.java:3266)
   03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
   android.app.ActivityThread.access$2600(ActivityThread.java:116)
   03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
   android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)

   I then tried adding this line:

                   intent.putExtra(return-data, true);

   ... which then gave me this error:

   03-23 15:45:49.880: ERROR/AndroidRuntime(377): Caused by:
   android.content.ActivityNotFoundException: No Activity found to handle
   Intent { act=com.android.camera.action.CROP
   dat=file:///sdcard//temp-image.jpg (has extras) }
   03-23 15:45:49.880: ERROR/AndroidRuntime(377):     at

  android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1­­484)
   03-23 15:45:49.880: ERROR/AndroidRuntime(377):     at
   android.app.Instrumentation.execStartActivity(Instrumentation.java:1454)
   03-23 15:45:49.880: ERROR/AndroidRuntime(377):     at
   android.app.Activity.startActivityForResult(Activity.java:2661)

   What do you think?

   On Tue, Mar 23, 2010 at 2:57 PM, Streets Of Boston
   flyingdutc...@gmail.comwrote:

Did you try my example? It works fine on my Motorola Droid and many
other droids i know of.

On Mar 23, 5:29 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
 Thanks guys -- I jumped the gun after poking around at the source and
seeing
 my code not working on a Droid, however further debugging shows the
  code
 works on my 2.0 emulator ... Are there any known issues with crop
  code
and
 the Droid?

 @SOB:  For some reason, my code requires that I explicitly call:

 intent.setClassName(com.android.camera,
com.android.camera.CropImage);

 ... or else I get the following error:

 03-23 14:17:09.119: ERROR/AndroidRuntime(222): Caused by:
 android.content.ActivityNotFoundException: No Activity found to
  handle
 Intent { act=com.android.camera.action.CROP ...

 Maybe I'm missing a required configuration somewhere else?

 --Paul

 On Tue, Mar 23, 2010 at 2:22 PM, Streets Of Boston
 flyingdutc...@gmail.comwrote:

  I tried this on G1, N1 and Nexus one, and it works for me:

  final Intent intent = new Intent(com.android.camera.action.CROP);
  intent.setData(mImgUris[1]);
  intent.putExtra(noFaceDetection, false);
  //intent.putExtra(outputX, width);
  //intent.putExtra(outputY, height);
  //intent.putExtra(aspectX, width);
  //intent.putExtra(aspectY, height);
  //intent.putExtra(scale, true);
  //intent.putExtra(output, fileUri);
  startActivityForResult(intent, R.id.view_image_menu_crop);

  On Mar 23, 5:12 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
   I'm no longer seeing an Intent Filter declared for the CropImage
activity
  in
   the Eclair ... is there another way to re-use this activity?

   http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=.
  ..

   TIA!!
   Paul

  --
  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.comandroid-developers%2bunsubs­cr...@googlegroups.com
  android-developers%2bunsubs­cr...@googlegroups.com
android-developers%2bunsubs­cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

  To unsubscribe from this group, send email to android-developers+
  unsubscribegooglegroups.com or reply to this email with the words
REMOVE
  

[android-developers] Is there a place to write temporary files

2010-03-24 Thread lordjoe
I am writing a content provider to access data in a zip file. The plan
is to extract data as needed to temporary files since the API REQUIRES
a file descriptor (as opposed to an input stream). The question is
where can an Android app write files - we can assume these are small
and regularly purged. I do not believe the /sdcard is required - any
thoughts?

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Is there a place to write temporary files

2010-03-24 Thread Mark Murphy
lordjoe wrote:
 I am writing a content provider to access data in a zip file. The plan
 is to extract data as needed to temporary files since the API REQUIRES
 a file descriptor (as opposed to an input stream). The question is
 where can an Android app write files - we can assume these are small
 and regularly purged. I do not believe the /sdcard is required - any
 thoughts?

getFilesDir(), and make yourself some temporary directory in there if
you want.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: listview doesnt repaint inside gallery when scrolling at random times

2010-03-24 Thread social hub
I kind of have this theory.

Sometimes the listiview is not fast enough to give its size and bitmap to
Gallery Widget when it requests the particular item size and bitmap. In this
case item is listview and it didnt had time to give one or something the
Gallery widget assumes it's an empty view and didnt care to draw anything
and just draws a blank screen.

Is my theory correct. Anyone has any thoughts on this one.

Thanks

On Wed, Mar 24, 2010 at 8:54 AM, social hub shubem...@gmail.com wrote:

 I have gallery which contains a listview.

 when you scroll sometimes the views inside the listview doesnt appear. i
 can see a shadow which belongs to listview but nothing inside listview
 appears

 i have tried using invalidateviews on listview whenever the view becomes
 selected.

 I am not sure how to resolve this.

 Can you guys give me some suggestions how to go about this.

 Thanks for  your 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 from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Subscribe to onDialogClosed

2010-03-24 Thread draf...@gmail.com
Can anyone give me an example or explain to me how i subscribe to the
onDialogClosed method of an EditTextPreference?

http://developer.android.com/intl/fr/reference/android/preference/EditTextPreference.html#onDialogClosed%28boolean%29

I want to know when a dialog have had its OK or Cancel button clicked
and retrive the information from the EditText.

Is there any examples/tutorials of this available or can anyone point
me in the right direction?

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: Did Google really remove the ability to call the CropImage activity from Android 2.x apps?

2010-03-24 Thread Paul Tongyoo
Thanks Streets, I'll give it a shot.  If the issue was due to missing
hardware though, wouldn't I get a different (lower-level) type of error?

Best,
Paul

On Wed, Mar 24, 2010 at 7:26 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:

 Note that the emulator's camera application is NOT the ones running on
 most actual devices.
 Test it on an actual device, a few of them if possible.

 On Mar 24, 2:35 am, Paul Tongyoo paul.tong...@gmail.com wrote:
  At the moment I'm just running the code against the 2.0 emulatorhm.
 
  On Tue, Mar 23, 2010 at 8:08 PM, Streets Of Boston
  flyingdutc...@gmail.comwrote:
 
 
 
   ... very strange, how come it works fine on my Droid (2.0.1),
   on my G1 (1.6) and my Nexus One (2.1-u1)...? I just tried it on all
   three phones.
 
   What phone are you trying it on?
 
   On Mar 23, 6:46 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
I received this error:
 
03-23 15:40:13.871: ERROR/AndroidRuntime(308):
   java.lang.RuntimeException:
Failure delivering result ResultInfo{who=null, request=1, result=-1,
data=null} to activity {...}:
 android.content.ActivityNotFoundException:
   No
Activity found to handle Intent { act=com.android.camera.action.CROP
/temp-image.jpg (has extras) }
03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
android.app.ActivityThread.deliverResults(ActivityThread.java:3224)
03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
android.app.ActivityThread.handleSendResult(ActivityThread.java:3266)
03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
android.app.ActivityThread.access$2600(ActivityThread.java:116)
03-23 15:40:13.871: ERROR/AndroidRuntime(308): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
 
I then tried adding this line:
 
intent.putExtra(return-data, true);
 
... which then gave me this error:
 
03-23 15:45:49.880: ERROR/AndroidRuntime(377): Caused by:
android.content.ActivityNotFoundException: No Activity found to
 handle
Intent { act=com.android.camera.action.CROP
dat=file:///sdcard//temp-image.jpg (has extras) }
03-23 15:45:49.880: ERROR/AndroidRuntime(377): at
 
  
 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1­­484)
03-23 15:45:49.880: ERROR/AndroidRuntime(377): at
   
 android.app.Instrumentation.execStartActivity(Instrumentation.java:1454)
03-23 15:45:49.880: ERROR/AndroidRuntime(377): at
android.app.Activity.startActivityForResult(Activity.java:2661)
 
What do you think?
 
On Tue, Mar 23, 2010 at 2:57 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
 
 Did you try my example? It works fine on my Motorola Droid and many
 other droids i know of.
 
 On Mar 23, 5:29 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
  Thanks guys -- I jumped the gun after poking around at the source
 and
 seeing
  my code not working on a Droid, however further debugging shows
 the
   code
  works on my 2.0 emulator ... Are there any known issues with crop
   code
 and
  the Droid?
 
  @SOB:  For some reason, my code requires that I explicitly call:
 
  intent.setClassName(com.android.camera,
 com.android.camera.CropImage);
 
  ... or else I get the following error:
 
  03-23 14:17:09.119: ERROR/AndroidRuntime(222): Caused by:
  android.content.ActivityNotFoundException: No Activity found to
   handle
  Intent { act=com.android.camera.action.CROP ...
 
  Maybe I'm missing a required configuration somewhere else?
 
  --Paul
 
  On Tue, Mar 23, 2010 at 2:22 PM, Streets Of Boston
  flyingdutc...@gmail.comwrote:
 
   I tried this on G1, N1 and Nexus one, and it works for me:
 
   final Intent intent = new
 Intent(com.android.camera.action.CROP);
   intent.setData(mImgUris[1]);
   intent.putExtra(noFaceDetection, false);
   //intent.putExtra(outputX, width);
   //intent.putExtra(outputY, height);
   //intent.putExtra(aspectX, width);
   //intent.putExtra(aspectY, height);
   //intent.putExtra(scale, true);
   //intent.putExtra(output, fileUri);
   startActivityForResult(intent, R.id.view_image_menu_crop);
 
   On Mar 23, 5:12 pm, Paul Tongyoo paul.tong...@gmail.com
 wrote:
I'm no longer seeing an Intent Filter declared for the
 CropImage
 activity
   in
the Eclair ... is there another way to re-use this activity?
 

 http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=.
   ..
 
TIA!!
Paul
 
   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
 

[android-developers] Re: LOGV

2010-03-24 Thread André Barbosa
hi all,
i want to see all the logs of android source code, i already tried
alter the log.h (system/core/include/cutils), however, when i compile
the android source code, the compile show me errors on some cpp files.

Someone already did this change? what i have to modify in log.h to
activate all logs (LOGE, LOGI, LOGD, LOGV, LOGW)?

Regards,
André Barbosa

On 17 Mar, 16:32, André Barbosa afilipebarb...@gmail.com wrote:
 Dear All,

 I'm running the mediaplayer of android and i would like to see 
 theLOGVgenerated by mediaplayer, but they do not appear in logcat.
 these logs are stored in a file? how can I debug them?

 Regards,
 André Barbosa.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Informational: are there any charting packages for Android

2010-03-24 Thread Satya Komatineni
A few folks have asked me this question. Here is a link to the
research I have started on this subject

http://www.androidbook.com/akc/display?url=DisplayNoteIMPURLownerUserId=androidreportId=3465

Here is a brief summary


JQuery based flot
http://code.google.com/p/flot/

Chart Droid
http://code.google.com/p/chartdroid/

AChartEngine
http://www.achartengine.org/index.html

Chart from J4L
http://www.java4less.com/charts/chart.php?info=android

Android Chart from keepedge.com
http://www.keepedge.com/products/android_charting

http://code.google.com/p/charts4j/
Charts4J

http://code.google.com/apis/charttools/index.html
Google Charts API

Thanks
Satya Komatineni
(http://www.androidbook.com)
(http://www.satyakomatineni.com)

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-24 Thread chris harper
I hate to say it but I have to agree with Disconnect. I re-read the
agreement and it does say:

3.3 *All fees received* by Developers for Products *distributed* via the
Market must be processed by the Market’s Payment Processor.

To me that means any additional money that you make from any product (i.e.
app) that you distribute from the Market must go though the Market's Payment
Processor.
Or another way to put it from Google side. We distributed your app so any
money you make off it then we want our cut.
I don't like it but that is how I read it.
But want is pretty lame is that they are making developers abide to this but
they have not set up the infrastructure to support it.
Meaning the  the market does not  provide a way to distribute virtual
products one might want a user to buy and upload within their app like a
movie or music or in my case extra characters that my app uses.
There are no Market Libraries that you can use within your app to use to
process a payment though the Market. The Google guys have been silent to
answer this because there is no way to support it.

 So *unless anyone that reads this knows of any another way*. The only way I
can see to abide by goggles legal request is to bundle up every single
character I want to sell and upload within my app as as a separate apk and
put it on the market as a separate download.
I don't want to do that but to stay legal  then that is the road I am going
to have to take.

Thank you
-Chris


On Wed, Mar 24, 2010 at 1:36 AM, Jeremy Slade jeremy.g.sl...@gmail.comwrote:

 My interpretation, not to be confused with legal advice: Add-on
 products purchased via an app do not qualify as products distributed
 via the Market.  However, something like a pro version of an app,
 purchased via a lite version that was distributed via the Market,
 would be subject to this part of the agreement.  Similarly, ad revenue
 earned from a Market app is not subject to this clause, because the
 product (for which you are being paid) is ad impressions / clicks,
 which are not distributed via the Market.

 I don't think I want to be first to prove that interpretation,
 however...


 On Mar 23, 8:53 am, TreKing treking...@gmail.com wrote:
  Interesting discussion.
 
  3.3 - All fees received by Developers for Products distributed via the
  Market must be processed by the Market’s Payment Processor.
 
  One could argue that fees received by Developers for Products
 distributed
  via the Market only applies to apps sold through the market. If you then
  used your app to allow the user to buy stuff from your website, those
 fees
  would not be for products distributed via the Market, they would be for
  products distributed via your website and would not be subject to being
  processed by the Payment Processor.
 
  Thoughts?
 
 
 -
  TreKing - Chicago transit tracking app for Android-powered deviceshttp://
 sites.google.com/site/rezmobileapps/treking

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 To unsubscribe from this group, send email to android-developers+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Did Google really remove the ability to call the CropImage activity from Android 2.x apps?

2010-03-24 Thread Streets Of Boston
The system's cropping activity comes with the camera app (camera.git).
Since the emulator's camera activity is very different, i can imagine
that the cropping activity is not quite the same either or may not
even exist on the emulator. If this is the case, then they(google) at
least should've made the cropping activity the same... it's not
dependent on any hardware, me thinks.


On Mar 24, 10:57 am, Paul Tongyoo paul.tong...@gmail.com wrote:
 Thanks Streets, I'll give it a shot.  If the issue was due to missing
 hardware though, wouldn't I get a different (lower-level) type of error?

 Best,
 Paul

 On Wed, Mar 24, 2010 at 7:26 AM, Streets Of Boston
 flyingdutc...@gmail.comwrote:



  Note that the emulator's camera application is NOT the ones running on
  most actual devices.
  Test it on an actual device, a few of them if possible.

  On Mar 24, 2:35 am, Paul Tongyoo paul.tong...@gmail.com wrote:
   At the moment I'm just running the code against the 2.0 emulatorhm.

   On Tue, Mar 23, 2010 at 8:08 PM, Streets Of Boston
   flyingdutc...@gmail.comwrote:

... very strange, how come it works fine on my Droid (2.0.1),
on my G1 (1.6) and my Nexus One (2.1-u1)...? I just tried it on all
three phones.

What phone are you trying it on?

On Mar 23, 6:46 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
 I received this error:

 03-23 15:40:13.871: ERROR/AndroidRuntime(308):
java.lang.RuntimeException:
 Failure delivering result ResultInfo{who=null, request=1, result=-1,
 data=null} to activity {...}:
  android.content.ActivityNotFoundException:
No
 Activity found to handle Intent { act=com.android.camera.action.CROP
 /temp-image.jpg (has extras) }
 03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
 android.app.ActivityThread.deliverResults(ActivityThread.java:3224)
 03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
 android.app.ActivityThread.handleSendResult(ActivityThread.java:3266)
 03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
 android.app.ActivityThread.access$2600(ActivityThread.java:116)
 03-23 15:40:13.871: ERROR/AndroidRuntime(308):     at
 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)

 I then tried adding this line:

                 intent.putExtra(return-data, true);

 ... which then gave me this error:

 03-23 15:45:49.880: ERROR/AndroidRuntime(377): Caused by:
 android.content.ActivityNotFoundException: No Activity found to
  handle
 Intent { act=com.android.camera.action.CROP
 dat=file:///sdcard//temp-image.jpg (has extras) }
 03-23 15:45:49.880: ERROR/AndroidRuntime(377):     at

  android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1­­­484)
 03-23 15:45:49.880: ERROR/AndroidRuntime(377):     at

  android.app.Instrumentation.execStartActivity(Instrumentation.java:1454)
 03-23 15:45:49.880: ERROR/AndroidRuntime(377):     at
 android.app.Activity.startActivityForResult(Activity.java:2661)

 What do you think?

 On Tue, Mar 23, 2010 at 2:57 PM, Streets Of Boston
 flyingdutc...@gmail.comwrote:

  Did you try my example? It works fine on my Motorola Droid and many
  other droids i know of.

  On Mar 23, 5:29 pm, Paul Tongyoo paul.tong...@gmail.com wrote:
   Thanks guys -- I jumped the gun after poking around at the source
  and
  seeing
   my code not working on a Droid, however further debugging shows
  the
code
   works on my 2.0 emulator ... Are there any known issues with crop
code
  and
   the Droid?

   @SOB:  For some reason, my code requires that I explicitly call:

   intent.setClassName(com.android.camera,
  com.android.camera.CropImage);

   ... or else I get the following error:

   03-23 14:17:09.119: ERROR/AndroidRuntime(222): Caused by:
   android.content.ActivityNotFoundException: No Activity found to
handle
   Intent { act=com.android.camera.action.CROP ...

   Maybe I'm missing a required configuration somewhere else?

   --Paul

   On Tue, Mar 23, 2010 at 2:22 PM, Streets Of Boston
   flyingdutc...@gmail.comwrote:

I tried this on G1, N1 and Nexus one, and it works for me:

final Intent intent = new
  Intent(com.android.camera.action.CROP);
intent.setData(mImgUris[1]);
intent.putExtra(noFaceDetection, false);
//intent.putExtra(outputX, width);
//intent.putExtra(outputY, height);
//intent.putExtra(aspectX, width);
//intent.putExtra(aspectY, height);
//intent.putExtra(scale, true);
//intent.putExtra(output, fileUri);
startActivityForResult(intent, R.id.view_image_menu_crop);

On Mar 23, 5:12 pm, Paul Tongyoo paul.tong...@gmail.com
  wrote:
 I'm no longer seeing an Intent Filter declared for the
  CropImage
  activity
in
 the Eclair ... is there another way 

[android-developers] Re: What's The Typical Hourly Rate for Freelance Work?

2010-03-24 Thread Yahel
It really depends on where you are yourself.

If it's your fist client and your fist job, you don't want to scare
them away, after all this is the beginning of your portfolio.

I'm french, I've been a freelance web developer for 10 years now, I
live in a small town in the south, and I charge 80 €/hour.

If I were in Paris I could charge as much as a 100-120 €.

But when I began, I was charging around 50 €/hour and it was great,
it's a lot of money already :D

Estimate how much time it will take you, add a good 10-15% and sell
that to the client.
Then estimate when you think you'll be done with the project, then add
3 weeks and give him this date as the end of the project.
You may think that will scare your client but in the end you'll be the
reliable guy that delivers before schedule or on schedule instead of
the guy who can't follow a schedule(even thought most of the time lost
in the project will be on your client not delivering the content  :)

And good luck on your new full time job :D

Yahel

On Mar 24, 2:11 pm, Warren warrenba...@gmail.com wrote:
 I'm also interested to hear what people are thinking. I have a similar
 situation and was planning to ask for $50 per hour. Does that seem too
 low?

 On Mar 24, 3:24 am, MobDev developm...@mobilaria.com wrote:



  mostly it's also based on experience and knowledge of the developer...
  As in a Junior programmer ( 2 years experience) will be asking less
  than a Medior or Senior programmer..
  Also I guess you could first determine how complex of an architecture
  (if any) should be implemented, and how modulare/expandable the
  software should become... It will take more time but because the
  software will be more structured you also might get a higher fee per
  hour...
  If the contractor is some Indian/Chinese company then they aree most
  probably used to a much lower fee per hour than for example in
  Europe... But even in Europe nowadays there are big differences
  (Romania vs Germany for example)...
  So as mentioned by ko5tik it depends on where you and your contractor
  are located...

  On 24 mrt, 06:01, Matt mattsjor...@gmail.com wrote:

   I've recently been contacted about doing some freelance Android app
   development via the email developer button on an app I have in the
   Market.  It's my first freelance opportunity and I'm not really sure
   what I should charge - what's the typical hourly rate you guys have
   charged/seen?  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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: glDrawElements vs glDrawArrays with glColorPointer in opengl es GL10

2010-03-24 Thread Mario Zechner
You can't specify that with indices. Instead you will have to
duplicate those vertices which share the same position but have
different normals, colors and texture coordinates. Think of it this
way: You have an array of vertices, each defined by a position, color,
normal and texture coordinates. When you specify the different
glXXXPointers you simply tell OpenGL where to look for the position,
normal, color and texture coordinates of a single vertex. The pointers
you give OpenGL point to the first vertex' attributes. When you then
specify your indices later on when invoking glDrawElements the indices
map to that vertices array. An index of 0 will take the first position
from the pointer you passed to glVertexPointer, the first color from
the pointer you passed to glColorPointer and so on. You can not say:
use the position at index 0 in the vertex position array and the color
from position 3 in the color array for this vertex. Thus the 1:1:1:1
mapping.

On 24 Mrz., 10:11, Perty pertyj...@gmail.com wrote:
 Hi Robert, thanks for your help.

 Yes, thats makes sense and it's exactly how I do it I think.

 But does the relationship (1 to 1 to 1 to 1,
 vertexarray,colorarray,normalarrat, textmaparray) still apply when you
 use glDrawElements ?

 For example a when creating a 3D cube, the same vertex could have
 three different colors and three different normals depending on the
 triangle it belongs to, so the arrays can't have (?) the same one to
 one relationship.

 So, the question is how do I map the colors to the indexed vertex?

 /Perty

 On 24 mar, 06:00, Robert Green rbgrn@gmail.com wrote:

  Vertices, Texture coordinates, Normals and Colors have a 1 to 1 to 1
  to 1 relationship.  That means that for any given vertex, you can
  define:

  The vertex's location
  The texture coordinate
  The normal
  The color

  If you define 4 vertices (with or without any of the other attributes,
  doesn't matter), you can draw 2 triangles using drawElements.

  Let's say that your verts define the following for a 2d square:

  top left, top right, bottom right, bottom left

  Easy enough, clockwise rotation.

  Your indices would look like:  0,1,2, 0,2,3

  let's say you put that into a directly-allocated ShortBuffer called
  indexBuffer.
  You'd then just call glDrawElements(GL10.GL_TRIANGLES, 6,
  indexBuffer);
  which says, draw triangles using 6 points indexed by this index
  buffer

  Make sense?

  On Mar 23, 6:09 pm, Perty pertyj...@gmail.com wrote:

   Hi,

   If I use a glColorPointer together with a glVertexPointer and a
   glNormalPointer the vertex is all in the same position in the array
   (taking into accont the stride).

   Thats working fine.

   But if I want to use the glDrawElement to save some memory
   (performance?) I do not understand how I should map
    the normals and the colors.

   How does the vertexIndex lookup table relates to the colors and
   normals?

   The glDrawElements is rendering the triangles fine but the normals and
   colors is all messed up. So I manually traverse the the index and
   creates a vertexArray now.

   It feels like I have just made a simple error.

   /Regards Perty

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Maximum character that we can send to SMS application.

2010-03-24 Thread Yahel
Sorry I don't know the limitation of the Action_Send to SMS, but you
can just try it by yourself, if your being truncated, then your reach
the limit.

But you are right to ask, because even though SMS stands for short
message, almost all new phones allow you to send larger messages than
the 140 character allowed simply by splitting them into two or more
messages. And all of the modern phones will recombine successfuly the
messages into one upon reception.

So even if it was not intended to be used that way, I think
Action_Send for sms should allow longer messages(and maybe it can).
At least give a parameter to change the default.

You could try to download a replacement app for Sms' dans see if the
limitation still exists, maybe it's not the Action_Send wich truncates
the message, but the default Sms app in Android.

Yahel

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] ActivityGroup and LocalActivityManager

2010-03-24 Thread oriharel
Hi All!
I need a to create a layout that holds to other layouts.
each one of the layout should be populated by a different activity.

I've done some research and came across the fact that I need to
implement an ActivityGroup and use it's LocalActivityManager.
problem is that I don't understand the View hierarchy in such a
situation. a naive attempt to find the view of the parent window
(simple findViewById) fails (returns NULL).

I can't find any examples on the web.
have anyone done it before?

thanks,
Ori

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-24 Thread polyclefsoftware
Got my Nexus One today via FedEx. I'm in Lafayette, Louisiana USA.

Has anyone in the US gotten a Droid? I'm happy with the Nexus...just
wondering.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] ActivityGroup and LocalActivityManager

2010-03-24 Thread Mark Murphy
oriharel wrote:
 I need a to create a layout that holds to other layouts.
 each one of the layout should be populated by a different activity.

Why?

What do you think you gain versus just using ordinary Views?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Persistent listening to text enteted across all apps globally?

2010-03-24 Thread John T. Haggerty
So I was planning to have an app to wake up and do something but I need to
know if say @@ (at sign twice or similar gets pressed. To do that
unfortunately that would require monitoring across all apps; if possible
please I need to know 1. How best to do this and 2. Some potential code to
be able to read globally from all apps regardless. Thanks in advance.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: ActivityGroup and LocalActivityManager

2010-03-24 Thread oriharel
ok,
someone here wrote a nice web activity that I want to use.
however, I want to use it differently, say adding an area on the top
that will be populated by news feed or adds.

his activity takes over the entire layout it resides in, and doesn't
support adding another layout inside.

so I want an activity group that will hold that news feed activity
and the implemented web activity.



On Mar 24, 5:57 pm, Mark Murphy mmur...@commonsware.com wrote:
 oriharel wrote:
  I need a to create a layout that holds to other layouts.
  each one of the layout should be populated by a different activity.

 Why?

 What do you think you gain versus just using ordinary Views?

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 _Beginning Android 2_ from Apress Now Available!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: What's The Typical Hourly Rate for Freelance Work?

2010-03-24 Thread JP
In the US: Careful with Section 1706, which is a powerful tool that
the IRS uses to reclassify you as an employee. Over years, plus
punitive penalties, this can add up to six figure amounts. Remember
the guy that flew his plane into a building a couple months ago?
BTW, in Germany, possibly other countries, similar provisions exist.
You may want to look into getting an employer of reference that gives
you a W-2, runs billing and accounts payable, etc. in case this gets
serious. I've lined one up a few years ago, but in the end never had
to contract through them. At any rate, they shouldn't take more than
15% off the top for their services (IMO, and that's probably high) and
give you an itemized breakdown showing employer tax, social security,
their fee etc. when you ask for a quote. I sorted the scammers out
that way...
As far as rates go; with experience, in a developed country, you'll be
asking in the range of what the others stated. I wouldn't bother with
less than $50/h, even if you're inexperienced and it's on the side,
with expenses such as health insurance, social security and so forth
covered through your dayjob. And consider, you're boss needs to be
cool with this (which can be a major issue). I believe we had a guy
here on the list a few years ago who worked for a contract shop in
India cranking out J2ME code who got into Android development and got
canned when his boss got wind of it


On Mar 23, 10:01 pm, Matt mattsjor...@gmail.com wrote:
 I've recently been contacted about doing some freelance Android app
 development via the email developer button on an app I have in the
 Market.  It's my first freelance opportunity and I'm not really sure
 what I should charge - what's the typical hourly rate you guys have
 charged/seen?  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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: ActivityGroup and LocalActivityManager

2010-03-24 Thread Mark Murphy
oriharel wrote:
 ok,
 someone here wrote a nice web activity that I want to use.
 however, I want to use it differently, say adding an area on the top
 that will be populated by news feed or adds.
 
 his activity takes over the entire layout it resides in, and doesn't
 support adding another layout inside.
 
 so I want an activity group that will hold that news feed activity
 and the implemented web activity.

If you have the source code to the nice web activity, fix it to work
the way you want, and skip all this ActivityGroup stuff.

If you do not have the source code, and are trying to use the other
app's APK, you will not be able to integrate the nice web activity
into your application.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Persistent listening to text enteted across all apps globally?

2010-03-24 Thread Mark Murphy
John T. Haggerty wrote:
 So I was planning to have an app to wake up and do something but I need
 to know if say @@ (at sign twice or similar gets pressed. To do that
 unfortunately that would require monitoring across all apps; if possible
 please I need to know 1. How best to do this and 2. Some potential code
 to be able to read globally from all apps regardless. Thanks in advance.

It is not possible, sorry.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Persistent listening to text enteted across all apps globally?

2010-03-24 Thread John T. Haggerty
what about a keyboard element added to the stock keyboard? Would Textwatcher
work?

On Mar 24, 2010 10:08 AM, Mark Murphy mmur...@commonsware.com wrote:

John T. Haggerty wrote:
 So I was planning to have an app to wake up and do something but I need
 ...
It is not possible, sorry.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
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.comandroid-developers%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to android-developers+
unsubscribegooglegroups.com or reply to this email with the words REMOVE
ME as the subject.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: In-App Purchasing and the Market Agreement

2010-03-24 Thread Yahel
 3.3 *All fees received* by Developers for Products *distributed* via the
 Market must be processed by the Market’s Payment Processor.

 To me that means any additional money that you make from any product (i.e.
 app) that you distribute from the Market must go though the Market's Payment
 Processor.

Say I sell gold point, or tickets through my app, then it doesn't fit
into  *distributed* via the Market , since it is not distributed
through the Market at all, but through my app.
Intrepretation is in the eye of the beholder...Whatever that means :D

Anyway, there is no need to argue. We need Google's take on it.
Because only them know what they want and don't want.

Yahel

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Need help plz dot it

2010-03-24 Thread Ali Murtaza
Hi


I want to use the alarm clock applicaiton in my applicaiton plz tell me how
i will use
i am new in android

-- 
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murt...@pucit.edu.pk

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Persistent listening to text enteted across all apps globally?

2010-03-24 Thread Mark Murphy
John T. Haggerty wrote:
 what about a keyboard element added to the stock keyboard? Would
 Textwatcher work?

You can only access key events from your own activities, with the
exception of a couple of keys (e.g., CAMERA) for which there are
broadcast Intents.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.4 Available!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Record a presentation of android application

2010-03-24 Thread Kieu Anh Tuan
Hi,
I'm looking for a tool to record a presentation of my application. Does
anybody know an application that can do something like:
http://www.youtube.com/watch?v=RUfTzdxON4E

I know that I could use some tools to record my PC screen with an emulator
on it, but I mean, instead of have a mouse pointer, I would like to have
something finger-like as in the video.

Thank you!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Query 1:

2010-03-24 Thread Dinesh Adwani
Could you please tell me how to use notification code inside Broadcast
Reciever.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Favor From a Developer With a Samsung Moment

2010-03-24 Thread Little Killers
The game crashes when it starts on this phone and only this phone very
odd

Can some one with a Samsung Moment Down load our app Bad-A** Game Lite
and connect it to the debugger and give us the stacktrace.

Thanks a bunch!!!
Chad

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Deploying shared resources

2010-03-24 Thread Jargon
Hi,

We are investigating the possibilities to package  deploy platform UI
extensions which can contain both Java code and resources - which then
can be (re-)used by applications using uses-library tag in the
AndroidManifest.xml.

One solution which has been discussed was to use the aapt -x option
together with the new --custom-package option introduced in November
to generate unique resource identifiers for the shared resource
package.

Then, just as the uses-library information in the manifest file
would bootstrap the class loader with the listed  extension packages,
it would add these packages to the asset manager as well - allowing
the asset manager to locate and load the extension resources. (This
would require a platform extension.)

So, my question is really if this is a way forward - using the 8
package bits in the resource identifiers? This solution would probably
work initially for one vendor since the allocation of unique package
identifiers would be an internal issue, but if extension packages
where to be exchanged within the android community there would be a
high risk of packages using the same identifiers.

BR
Jörgen Ekström
Software Engineer
Sony Ericsson

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] How to get the actual(measured) view size before doing layout?

2010-03-24 Thread lewis.lee
I wrote some layout xml files.
In this files, there are some views that the attributes,
android:visibility, are View.GONE.
And, in the code, the attributes are changed with View.VISIBLE.
I already have checked that the layoutParams(i.e. left, top, right and
bottom) was updated after doing layout (by requestLayout?).

Is it possible to know the updated values of layoutParams before doing
layout?

Additionally, can I modify and apply the size and position of the view
before displaying on launching time(like Activity.onCreate)?

Thanks in advance.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Estimated Time App Verification

2010-03-24 Thread leo
Hello,

I'm planning to develop an application for android and I want to
submit the application to Android Market.

My question how long my application will get published since the app
submitted?
Please give the estimated time for this process.

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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] LED is not working

2010-03-24 Thread AKarmakar
Hi All,

I wrote a small application to test LED. Here is the code snippet:

private void RedFlashLight()
{
NotificationManager nm = ( NotificationManager )
getSystemService( NOTIFICATION_SERVICE );
Notification notif = new Notification();
notif.ledARGB = 0xFFff;
notif.flags = Notification.FLAG_SHOW_LIGHTS;
notif.ledOnMS = 1000;
notif.ledOffMS = 1000;
nm.notify(LED_NOTIFICATION_ID, notif);

}

But LED is not turning ON at all. Is any work-arround there or this is
a known bug.

Thanks,
AKarmakar.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Please Help!!!!

2010-03-24 Thread Amir
Hi
I need farsi font!
And How Android Persian support?
Plese 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 from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] calling SOAP service in android

2010-03-24 Thread Lakshmi
Hi Developers, please provide me a sample app by calling SOAP service
and display the results in list view.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] android keyboard

2010-03-24 Thread Jay
Is it possible, that you can update the dial pad like the dial pad of
the iphone for the on screen android keyboard

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Update to Platform Versions.

2010-03-24 Thread rpond
Would it be possible to get an update to

http://developer.android.com/resources/dashboard/platform-versions.html

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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] how to get the camera's focal length

2010-03-24 Thread g k
Hello,

I allready saw Kumar asking  - Subject: [android-developers] How to
get camera specs. - msg#00106 ,

Haven't seen any response on this.

Thanks,
gilad

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Certificates

2010-03-24 Thread ABhi
Hi,

I've this doubt regarding the certification authorities that Android
phone supports.

With my previous experience with J2ME, which states that some of the
phones doesn't support thawt, while some other doesn't support
verisign and so on. Net, net, there wasn't any certification authority
which was supported by all the devices.

Now before diving Android development, i wanted to find out which
certification i should buy which would help me sign my final
application and will be allowed in Android market.

Please help me answer below queries.

1. Which SSL certificates are supported to access my website through
android phone?

2. With which certification authority i should sign my application in
order to let it run on all the android phone.


Thanks in Advance  Regards,
Abhishek

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Hi has anyone met problem about usb driver of XPERIA X10 (mini)?

2010-03-24 Thread Qingyan(Evan) Liu
Hi everyone,

Recently I got a phone Sony Ericsson XPERIA X10 mini. When I wanted to
connect it to my PC to develop on it, I met the usb driver problem.

Firstly I enabled the usb debugging of the handset.

Then I plugged it to my PC. The handset said the message USB debugging is
connected.
The windows vista showed a dialog telling me it cannot find any driver for
Sony Ericsson USB Driver.

I tried many times, neither letting windows find the driver nor choosing
android SDK directory worked.

Also I found an article
http://androidforums.com/sony-ericsson-xperia-x10/41892-help-need-usb-drivers.html.
I tried as it said, but failed too.

So, obviously, adb devices won't show my X11 mini

BTW, I have had my HTC tatto work quite well :)

Therefore, I post here to ask if anyone have met the same problem with me?
If you know the way to solve the problem please help me, thanks a lot!

BR/Evan

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Contact suggestions

2010-03-24 Thread Fabian
If you're about to compose a sms at Android you will get suggestions
if you begin to type in a receiver for the sms. Can anyone of you tell
me how this works? I mean is there any way to have a look at the
source code of how the android developers did that?

I've been playing around with AutoCompleteTextViews and tried to do
something similar, but my own version doesn't work very well.

If you know where I can find the source code I'm looking for, you
would help me very much. Thank you.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] EditText password attribute

2010-03-24 Thread eRGo
Hello there,

i'm developing a password manager for android.
I have one Activity that displays the details of an entry.
by default all edittext elements of this view are disabled and the
edittext that shows the actual password of this entry has the
android:password=true attribute assigned in the xml file of this
view.
Now i have a togglebutton at the bottom of the view which can dis/
enable all edittext elements to modify the entry.

My problem is:
i cannot find a way to change the password value of the password
field.
what i want is:
when the togglebutton isn't checked, the password field should show
only dots.
if the user pressed the button, this field should show the password in
cleartext.


the following doesn't work:

editBtn.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
lockOrUnlockEntry(editBtn.isChecked());
if (editBtn.isChecked()) {
passPass.setInputType(InputType.TYPE_CLASS_TEXT);
} else {
passPass.setTransformationMethod(new
PasswordTransformationMethod());

passPass.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);
}
}
});

private void lockOrUnlockEntry(boolean b) {
passTitle.setEnabled(b);
passTitle.setFocusable(b);
passURL.setEnabled(b);
passURL.setFocusable(b);
passUser.setEnabled(b);
passUser.setFocusable(b);
passCompany.setEnabled(b);
passCompany.setFocusable(b);
passPass.setEnabled(b);
passPass.setFocusable(b);
passNotes.setEnabled(b);
passNotes.setFocusable(b);
}


any suggestions?

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Databases and Activity life-cycle (OnCreate -- onResume)

2010-03-24 Thread Anders Widen
Hi!

How to best handle databases during the Activity life-cyle?

My example:

1. When I start the Activity I want to open the database so I create a
new dbAdapter and open it.

2. onCreate calls populateFields and data is read from the database I
just opened. The database remains opened because other functions in
the Activity needs the database.

3. the Activity gets Paused so I want to close my open database to
release resources : onPause -- dbAdapter.close()

4. the Activity gets Resumed so I need to open the database again:
onResume -- dbAdapter.open()

The problem: This will create two open instances of the database. When
the Activity starts the first time after onCreate has finished
onResume will be called (see: 
http://developer.android.com/intl/fr/images/activity_lifecycle.png).
What's best practise to solve this?

This error of handling databases is also present in the Notepad
Tutorial.

//Anders

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Hi every one

2010-03-24 Thread hany
I am the new learner in android.

so please send ever basic code and examples


thanking you.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


Re: [android-developers] Re: zoom for gallery

2010-03-24 Thread hanumanthu
REMOVE ME

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Android monkey tool script

2010-03-24 Thread zafar
Android Monkey tool can use user supplied script to run,
but very few information are present in this regarding to writing
android monkey script.

one guy only copied the stuff from source code and apart from that no
information is present.

Can anyone tell abount the sysntax of android monkey script to launch
browser using the command from script and to browse particular
website.

Any suggestion will be appreciated.

MD ZAFAR ZIYA

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Service that can report my location all the time

2010-03-24 Thread Kateling
Hi, there
I want to create a service that runs on Android which can collect all
of my location information. Either write the information to a file or
send to a server using 3G/wiki network.
I was thinking about using a service that runs forever as a daemon.
After reading Diamonds are forever, services are not by Mark Murphy,
I realized that it is not a good idea.
However, I need to somehow acquire the moving trajectory information
on the Android phone. Without a daemon service running forever, how do
I do that ?

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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] ADP3? When?

2010-03-24 Thread cloudguy
I'm waiting to buy an android phone until I can get a developer phone
that has as much power as a Motorolo Droid or a Nexus One. Spending
any money on a two year old clunker isn't my idea of good financial
sense.

Any idea when we will get an up-to-date dev phone?

Jamie

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] I cant close emulator.

2010-03-24 Thread Jane
Hi.

I cant close my android emulator.
I had click to X btn on emulator but that didn't not work.
In addition , i cant log off or system shutdown after trying close
emulator.
i try to kill process emulator.exe but failed.

I am using Eclipse 3.5 with android-sdk_r05-windows.zip on XP-32
bit.

Hope your 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 from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] SMS

2010-03-24 Thread irfan
Hello all
I am trying to make an application in android that can intercept an
incomming sms. I then want to parse it and then trigger certain events
according to certail header present in that sms or text message. Can
any one help me regarding this as i am a very beginner in android
development.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-24 Thread Willem
Nothing received yet in the EU (The Netherlands)

On Mar 24, 9:04 am, ratson materem...@gmail.com wrote:
 Nord America seems to be fine.
 what about EU?

 On márc. 24, 06:09, Alexey alex...@gmail.com wrote:



  Received the Nexus 1 in BC, Canada. Too bad it's not ATT version to
  use with Rogers/Fido but I'm liking it and ready to write some cool
  new apps. Thank you Google,
  thankyouthankyouthankyouthankyouthankyouthankyouthankyouthankyou...- Hide 
  quoted text -

 - Show quoted text -

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Modifying audio in real time

2010-03-24 Thread Simone
Hi everyone, I'll try to explain briefly what I need to do.
I need to load an audio resource and play it, but I also need to be
able to modify some parameters (like the volume, or the playback rate)
while the audio is being played.
For example, I might want to play a 10 seconds audio stream, and
change the volume only after 3 seconds.
Is there a way to do it? I've been experimenting a little with
AudioTrack without results.
Thanks,
Simone

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Simple mapController.animateTo(point) problem.

2010-03-24 Thread hwrdprkns
Hello,

I am getting a force close whenever I try to run this application. I
am trying to do something very simple by just animating the map to
show a set of coordinate that I am giving it.

This is my pastebin:

http://pastebin.com/embed_js.php?i=8Qjsurck

Any help on this matter would be greatly appreciated. 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Running Flash 10 on Android 2.1

2010-03-24 Thread Saurabh
I have seen various articles and videos of Adobe running Flash 10.1 on
Droid/HTC Hero and Nexus 1. However, these are all ARM processors with
500MHz or higher.
We are putting Android 2.1 on another type of device which doesnt have
an ARM processor. Will I be able to run Flash 10.1(browser based) on
that? Are there any sites that'll help on finding information on
this?

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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Problems calling GeoCoder.

2010-03-24 Thread Sergio Visinoni
Hi all,

I'm having a problem calling GeoCoder.getFromLocation();

I have a LocationListener calling an updateLocation() method in my
class, which in turns
calls GeoCoder.getFromLocation() with the current location.


private void updateLocation(Location currentLocation) {
if (currentLocation != null) {
Geocoder geoCoder = new Geocoder(this);

try {
addressList =
geoCoder.getFromLocation(currentLocation.getLatitude(),
currentLocation.getLongitude(), 1);
} catch (IOException ioException) {
Log.v(TAG, Error getting address);
return;
}



When I run this code on a device (HTC Magic 1.6) I get the following error :

D/LocationMasfClient(15392): getAddressFromProtoBuf(): Ignore feature
0,1er Arrondissement Paris
D/AndroidRuntime(21403): Shutting down VM
W/dalvikvm(21403): threadid=3: thread exiting with uncaught exception
(group=0x4001da38)
E/AndroidRuntime(21403): Uncaught handler: thread main exiting due to
uncaught exception


If I run the same code on an emulator (1.6 with google api) the error I get is :

D/GpsLocationProvider(   52): setMinTime 0
E/LocationMasfClient(   52): reverseGeocode(): no feature in GLocation

Am I doing something wrong? Does anyone have the same problem or a
solution for this kind of issue?

Thanks in advance
s

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] How to get the Calendar application on emulator?

2010-03-24 Thread haritha polose
Hi,

I am using Calendar  code from mydroid.To get the application on
emulator i followed the steps below.

  1I make mydroid using make command.
  2Using make sdk command, i got the sdk.
  3Run the emulator by setting the
android-sdk_eng.root_linux-
x86 sdk to eclipse.
  4Make both the Calendar and CalendarProvider
applications.
  5I installed both the .apk files on that
emulator.
   But i am not getting the Calendar application on emulator.
   After that i registered with my mail-id on emulator.It's added to
contactsList.But not syncing with Google Server.
  So,anyone can suggest me that How to get an Calendar
application on emulator?.
   Thanks in advance.



-- 
Thanks  Regards,
Haritha.P

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: webkit onGestureXXX

2010-03-24 Thread Atlantix
I would like to know too, and also I would like to know if Android
browser supports multitouch DOM events like Safari for iPhone.
Please, let me know! Thanks.

Flavio

On 19 Mar, 17:38, mike enervat...@gmail.com wrote:
 Is there any plans to support the onGestureXXX set of events
 like the iPhone's webkit has?

 Mike, curious

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Sending custom headers in WebView

2010-03-24 Thread alien9
what recourse is there for developers using WebViews that run into
Length Required messages from IIS, after a form is POSTed?

I just want to set Content-Length :)

On Mar 13, 9:20 am, Mark Murphy mmur...@commonsware.com wrote:
 kelvin wrote:
  I've found some information about this topic, but I was curious as to
  whether anyone has had any success loading webpages in aWebViewwith
  customheaders.  There doesn't seem to be any simple way of doing
  this.

 There is noWebViewAPI for setting customheaders, mostly because Web
 browsers don't usually send customheaders. It's not like you can link
 to a Web page and embed customheadersinto the link.

 AFAIK, customheadersis a technique mostly for Web services (which
 wouldn't useWebView) or for browser plug-ins (which Android doesn't
 support at the SDK level).

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_
 Version 1.3 Available!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Contact API new contact is invisible

2010-03-24 Thread sebastian.kroll.cont...@googlemail.com
I simply want create a new contact on a android 2.0 device. The
created contact must appear in the native contacts application of the
device.

I tried to add a new contact using the ContactManager sample from the
android sdk: 
http://developer.android.com/resources/samples/ContactManager/index.html

On our motorola mindstorm device the contact gets created but is not
visible in the native contacts appplication. It is only visible in the
ContactManager app if the option show invisible contacts is enabled.

How can i add a contact which is visible ?

If we use the old depricated api method
Contacts.People.addToMyContactsGroup() it will 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 to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: adb push hosts file into /system/etc/ - No space left on device error

2010-03-24 Thread Antonin Hildebrand
I have exactly the same problem:

~/android-sdk/platforms/android-7 ➔ adb remount
remount succeeded
~/android-sdk/platforms/android-7 ➔ adb push /etc/hosts /system/etc/
hosts
failed to copy '/etc/hosts' to '/system/etc/hosts': No space left on
device

The reason why I need to use my local hosts file is simply because I'm
running local server which needs to be accessed by android emulator.
Not that uncommon setup I guess. I wonder why it is not working out of
the box.

Any help greatly appreciated. Thanks
Antonin

On Mar 23, 8:47 am, Marek Pola marek.p...@gmail.com wrote:
 Hello,

 Probably the reason why it's not working is that the /system partition
 is mounted read-only for obvious (security) reasons. You need to
 remount it. Search on this mail list for the exact commands.

 But why do you need to edit the hosts file? Can't you use DNS to find
 the IP address of your host?

 Regards
 Marek

 On Mar 22, 5:04 am, Tushneem tushn...@gmail.com wrote:



  I am trying to edit the hosts file to access rest services in my local
  network. Using adb pull I am able to get the hosts file for the
  emulator and edit it. However I get the error Nospacelefton
 device when I do an adb push.

  Does anyone know how to resolve this issue? Can we increase thespace
  for /system? If so how? Are there any other easier ways to access
  local area network (without creating a DNS server).

  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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Internet full of helping Hands

2010-03-24 Thread Vikas
Hello Friends,

I am a regular user of the internet and using it since my childhood.
As I got more experienced internet user I disconved that internet is
full of possibilities and it is endless. The thing that trying to
point out is that we all use internet and buy goods and services
online, but the thing that we should notice is that if we buy goods
and services directly from the vendors online then it will not effect
you but will surely effect those people who are promoting those goods
and services online just to earn some living.

It might not be a matter of concern of yours but the evolution of the
internet says that if we are together then only I am ( INTERNET ) in
existance. Internet have created a broderless earth where we all are
interconnected directly or indirectly. So I request you all the people
that if you buy are buying some goods or service then find out if
there is any person referring the same vendor of the same goods or
services for which you are looking for and then buy that good by his
referrence because it will cost you the same it will help that person
to generate some income.

Just that what I wanted to tell you all.

Vikas Aggarwal
http://www.softwagon.com/

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Bluetooth headset muted when playing FM Radio

2010-03-24 Thread jgui
The Bluetooth headset is muted by the FM Radio app, when connecting
wired headphones to use them as antenna -otherwise it won't play at
all.

Would it be possible to redirect this audio signal to the Bluetooth
headset?

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-24 Thread BM
Thank you all for the info... being more impatient than most, here is
what I did:

I called Fedex and said I was expecting a package today but didn't
have the tracking number. They asked for my street address and name,
then told me there was a package expected to arrive on Friday. I asked
if it was from Indiana to be sure and she said it only showed up as
Brightpoint (wireless distribution company based in IN) and I knew it
was it!

They don't give you a tracking number, but at least I know when to
expect it now.

Hope this helps... and that Fedex doesn't get too many calls because
of me!

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words REMOVE ME as the subject.


  1   2   3   >