[android-developers] Re: Haven't received a payment since January 2013

2013-04-30 Thread Pent
 This is seriously disheartening and I am greatly disappointed in the way 
 Google handles this!

Ah, reminds me of my early Android Market days. With a bit more
'Google experience' you'll become disillusioned and resigned instead.

Pent

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] I cracked my screen on my tablet am i able to get it repaired?

2013-04-30 Thread Piren
I do wonder... if you analyze the fractures and how they reflect and 
refract light, maybe it's possible to do manipulate the display in a way 
that counter acts the fracture thus making it appear less visible and the 
display to appear unbroken...

Would still be cracked though :-P

On Tuesday, April 30, 2013 1:06:15 AM UTC+3, Lew wrote:

 Spooky wrote:

 Chris Fraser wrote: 
  I cracked my screen on my tablet am i able to get it repaired?   

 No.  I seriously doubt that you'll be able to develop an Android app to 
 repair your broken screen.  You might be able to get it repaired by some 
 other means besides developing an Android app (using the SDK), but that's 
 a subject for a different e-mail list, forum, etc. 

  
 For other ways than writing an app to repair your screen, see
 http://lmgtfy.com/?q=How+do+you+repair+a+cracked+Android+tablet+screen

 -- 
 Lew



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Camera rotation portrait but playing in landscape.

2013-04-30 Thread Ivan Stamenkovic
I tried, i searched but nothing works. I have this code preparing the 
camera:

http://paste.laravel.com/pP1

and there is myCamera.setDisplayOrientation(90);

But when i playback the video it's in landscape. Is there any way to change 
this or to rotate videoview

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Google Play is not showing my app on wifi-only Tablets

2013-04-30 Thread Mitch Sundt
This app:

https://play.google.com/store/apps/details?id=org.odk.collect.androidhl=en

It stopped being visible with its April 15th update that didn't change any 
permissions, but added a broadcast listener for connectivity changes.
A subsequent April 17th update, adding declarations changing just about 
everything to uses-features-not-required, failed to restore its visibility.

Badging:

aapt dump badging collect\ODK Collect v1.3 rev 1029.apk

package: name='org.odk.collect.android' versionCode='1029' versionName='1.3'
uses-feature-not-required:'android.hardware.location'
uses-feature-not-required:'android.hardware.location.network'
uses-feature-not-required:'android.hardware.location.gps'
uses-feature-not-required:'android.hardware.telephony'
uses-feature-not-required:'android.hardware.wifi'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.ACCESS_WIFI_STATE'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.GET_ACCOUNTS'
uses-permission:'android.permission.USE_CREDENTIALS'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
sdkVersion:'7'
application-label:'ODK Collect'
application-label-ca:'ODK Collect'
application-label-ka:'ODK Collect'
application-label-id:'ODK Collect'
application-label-de:'ODK Collect'
application-label-vi:'ODK Collect'
application-label-nl:'ODK Collect'
application-label-tl:'ODK Collect'
application-label-no:'ODK Collect'
application-label-ro:'ODK Collect'
application-label-fp:'ODK Collect'
application-label-fr:'ODK Collect'
application-label-es:'ODK Collect'
application-label-it:'ODK Collect'
application-label-lt:'ODK Collect'
application-label-pt:'ODK Collect'
application-label-sw:'ODK Collect'
application-icon-120:'res/drawable-mdpi/notes.png'
application-icon-160:'res/drawable-mdpi/notes.png'
application-icon-240:'res/drawable-hdpi/notes.png'
application: label='ODK Collect' icon='res/drawable-mdpi/notes.png'
launchable-activity: 
name='org.odk.collect.android.activities.SplashScreenActivity'  label='ODK 
Collect' icon=''
uses-library-not-required:'com.google.android.maps'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a 
touch screen unless explicitly made optional'
main
other-activities
other-receivers
supports-screens: 'small' 'normal' 'large'
supports-any-density: 'true'
locales: '--_--' 'ca' 'ka' 'id' 'de' 'vi' 'nl' 'tl' 'no' 'ro' 'fp' 'fr' 
'es' 'it' 'lt' 'pt' 'sw'
densities: '120' '160' '240'

The manifest is here: 
http://code.google.com/p/opendatakit/source/browse/AndroidManifest.xml?repo=collect

As is the entire codebase: 
http://code.google.com/p/opendatakit/source/browse?repo=collect

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Problems playing diferents songs with Android MediaPlayer

2013-04-30 Thread Luis Torres Coronel
Hi guys, a question, 
I have three songs in a list (listview), selected one of these will launch 
a new activity and plays the song. Return to the previous activity, select 
a new song and this also is playing together with the above at once, how 
could avoid 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Using API Google Picasa in Android

2013-04-30 Thread Miquel Escarda
Hi,

I am trying to use de Picasa API in my Android Application but i can't not 
find the way for add the jars correctly.

I add the .jar files in the directory /libs and I do Add Building Path 
but always I obtain the same error:

java.lang.NoClassDefFoundError: 
com.google.gdata.client.photos.PicasawebService

I find a lot of people with the same problem in Internet but no solutions.

Somebody know the method for use this API?

Thank you very much,

Miquel

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Question: ContentResolver.openTypedAssetFileDescriptor

2013-04-30 Thread Jonathan Wu
Dear sirs,
Sorry, openTypedAssetFileDescriptor found a very strange place, that is 
marked 
as the red , releaseUnstableProvider seems been performed twice.
Not sure if I understand it correctly, Thank you in advance.
 
*public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri uri,*
  

*String mimeType, Bundle opts) throws FileNotFoundException {  *
  

IContentProvider unstableProvider = 
acquireUnstableProvider(uri);   
if (unstableProvider == null) 
{ 
throw new FileNotFoundException(No content provider:  + 
uri); 

}   
IContentProvider stableProvider = 
null; 
AssetFileDescriptor fd = 
null;  


try 
{   
try 
{   
fd = unstableProvider.openTypedAssetFile(uri, mimeType, 
opts);  
if (fd == null) 
{   
// The provider will be released by the finally{} 
clause
return 
null;

}   
} catch (DeadObjectException e) 
{   
// The remote process has died...  but we only hold an 
unstable 
// reference though, so we might recover!!!  Let's 
try  
// This is 
exciting!!1!!11  

unstableProviderDied(unstableProvider); 
stableProvider = 
acquireProvider(uri);  
if (stableProvider == null) 
{   
throw new FileNotFoundException(No content provider:  + 
uri); 

}   
fd = stableProvider.openTypedAssetFile(uri, mimeType, 
opts);
if (fd == null) 
{   
 // The provider will be released by the finally{} 
clause   
return 
null;

}   

}   


if (stableProvider == null) 
{   
stableProvider = 
acquireProvider(uri);  

}   
*releaseUnstableProvider(unstableProvider);*=   
Redundant??
ParcelFileDescriptor pfd = new 
ParcelFileDescriptorInner(   
fd.getParcelFileDescriptor(), 
stableProvider);  


// Success!  Don't release the provider when exiting, 
let   
// ParcelFileDescriptorInner do that when it is 
closed. 
stableProvider = 
null;  


return new AssetFileDescriptor(pfd, 
fd.getStartOffset(),

fd.getDeclaredLength());


} catch (RemoteException e) 
{   
// Whatever, whatever, we'll go 
away.   
throw new 
FileNotFoundException(
Failed opening content provider:  + 
uri); 
} catch (FileNotFoundException e) 
{ 
throw 
e;
} finally 
{ 
if (stableProvider != null) 
{   

releaseProvider(stableProvider);

}   
if (unstableProvider != null) 
{ 
*releaseUnstableProvider(unstableProvider);*
  

 

[android-developers] Re: Disable spinner item?

2013-04-30 Thread Lisa Neigut
Following up on extrapedestrian's comment, this is what worked for me.  

Inside a custom OptionsSpinnerAdapter (extends ArrrayAdapter implements 
SpinnerAdapter):

@Override
public View getDropDownView(int position, View convertView, ViewGroup 
parent) {

   View view = convertView;

... code to set up view and text ...

if (!option.isAvailable()) {
view.setEnabled(false);  // greys out the text
view.setClickable(true);  // makes item unclickable
}
   
return view;
}

On Saturday, March 13, 2010 10:20:26 AM UTC-5, extrapedestrian wrote:

 I did another workaround.

 Since I implement SpinnerAdapter, In function GetDropdownView, I check
 if item at position x should be disabled, then I make that view (row)
 disabled. Unfortunately, SetEnabled(false) is not working on this
 view, so I found workaround, like this:

 row.SetClickable(true); //makes item unresponsive to clicks(?)
 //grayout text and icon
 TextView.SetTextColor(Color.LTGRAY);
 Image.getDrawable().mutate().setAlpha(70);

 so it looks disabled and doesn't respond to clicks.

 hate workarounds...

 On Jan 29, 4:07 pm, Piwai py.ri...@gmail.com wrote:
  Hi there !
 
  I spent a bit of time trying to create a spinner that would have some
  disabled items, and finally found a SOLUTION ! Yay !
 
  Romain pointed in the right direction, BUT it's not that easy.
 
  If one try to create a specific adapter for the spinner, for
  instance :
 
  ArrayAdapterString spinnerAdapter = new ArrayAdapterString(this,
  android.R.layout.simple_spinner_item,filters) {
public boolean isEnabled(int position) {
  // Specific code to decide whether it's enabled or not
}
public boolean areAllItemsEnabled() {
  return false;
}};
 
  spinner.setAdapter(spinnerAdapter);
  = DOESN'T work yet
 
  When you click on a spinner, it opens a dialog with the items feeded
  from the adapter.
 
  BUT the adapter is wrapped by the spinner class into a DropDownAdapter
  (private class inside the spinner class).
 
  This wrapper delegates almost all method calls, except...
 
  public boolean areAllItemsEnabled() {
return true;
 
  }
 
  public boolean isEnabled(int position) {
return true;
 
  }
 
  I don't know if there's a real reason for that. The delegate is
  wrapped as as SpinnerAdapter, which doesn't hold those methods.
 
  So the solution was pretty simple thought a bit dirty : extends
  Spinner, override performClick() (this is were the adapter is
  wrapped), and basically do the same thing as a spinner, but with a
  patched DropDownAdapter :
 
  /**
   * A patcher spinner so that the wrapping drop down adapter delegates
   * areAllItemsEnabled and isEnabled calls to the wrapped adapter.
   */
  public class PatchedSpinner extends Spinner {
 
  public PatchedSpinner(Context context, AttributeSet attrs, int
  defStyle) {
  super(context, attrs, defStyle);
  }
  public PatchedSpinner(Context context) {
  super(context);
  }
  public PatchedSpinner(Context context, AttributeSet attrs) {
  super(context, attrs);
  }
 
  @Override
  public boolean performClick() {
 
  // boolean handled = super.performClick(); = this line
  removed, we do not want to delegate the click to the spinner.
 
  Context context = getContext();
 
  final DropDownAdapter adapter = new DropDownAdapter(getAdapter
  ());
 
  CharSequence mPrompt = getPrompt();
 
  AlertDialog.Builder builder = new AlertDialog.Builder
  (context);
  if (mPrompt != null) {
  builder.setTitle(mPrompt);
  }
  builder.setSingleChoiceItems(adapter, getSelectedItemPosition
  (), this).show();
 
  return true;
  }
 
  private static class DropDownAdapter implements ListAdapter,
  SpinnerAdapter {
  private SpinnerAdapter mAdapter;
 
  public DropDownAdapter(SpinnerAdapter adapter) {
  mAdapter = adapter;
  }
 
  public int getCount() {
  return mAdapter == null ? 0 : mAdapter.getCount();
  }
 
  public Object getItem(int position) {
  return mAdapter == null ? null : mAdapter.getItem
  (position);
  }
 
  public long getItemId(int position) {
  return mAdapter == null ? -1 : mAdapter.getItemId
  (position);
  }
 
  public View getView(int position, View convertView, ViewGroup
  parent) {
  return getDropDownView(position, convertView, parent);
  }
 
  public View getDropDownView(int position, View convertView,
  ViewGroup parent) {
  return mAdapter == null ? null : mAdapter.getDropDownView
  (position, convertView, parent);
  }
 
  public boolean hasStableIds() {
  return mAdapter != null  mAdapter.hasStableIds();
  }
 
  public void registerDataSetObserver(DataSetObserver observer)
  {
  if (mAdapter != 

[android-developers] Re: Section List

2013-04-30 Thread Vishal Pawale
Why not to use multiple list views in single layout xml?
And if number of list views are dynamic (no of sections changes at runtime) 
add list views from JAVA code.

On Wednesday, April 24, 2013 6:19:41 PM UTC+5:30, Rank wrote:

 How we can create section list in android using JSON.


 i  separate a section with Header name is date.

 i read this example 
 http://mukeshyadav4u.blogspot.in/2012/06/android-section-header.html


 but i have confusion   how we can use this in JSON if we get values in 
 JSONArray

 http://mukeshyadav4u.blogspot.in/2012/06/android-section-header.html

  http://mukeshyadav4u.blogspot.in/2012/06/android-section-header.html
 Please Help
 http://mukeshyadav4u.blogspot.in/2012/06/android-section-header.html
 Thanks in Advance
  http://mukeshyadav4u.blogspot.in/2012/06/android-section-header.html


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Transactions keep getting cancelled by Google for unpublished app

2013-04-30 Thread visualtao Inc
Hello,

I have implemented in-app billing v3 with auto-renewing subscriptions.
Since there is no sandbox environment for testing this feature, I am
making real transactions in order to test the app for cases of
subscription renewal and subscription cancellation.
I have created a few test accounts and tried to perform in-app
purchases with them. Some purchases succeeded, but with some accounts
the transactions were cancelled immediately by Google. The message
that I receive in the application is Your payment could not be
processed at this time. You may receive an email asking you to verify
your account. These accounts did not receive any such emails.
In the Google Wallet Transactions list I can see a transaction for
each failed attempt, and they are all marked as Canceled, with the
following information:

Google has cancelled this purchase.
Comments from Google: We have cancelled your order because your
account is on hold.

I have used both newly created Google users and old users. From both
categories, most of the users attempted got a cancelled transaction.
With the new users I have tried waiting for 48 hours and trying again
(as was suggested by the Wallet support team), but the attempts still
failed.

I have tried using a few different credit cards. Each succeeded a few
times (some only once) and then failed on further attempts. Are credit
cards restricted to only one user?

The app has not been published, but an APK has been uploaded. The in-
app products have been published. All users that I have tried with
were added to Gmail accounts with testing access in the Google Play
Developer Console. Again, some attempts DID succeed, but most end in
failure.

Please help.
Thanks,
Ofra

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Pixelated interface

2013-04-30 Thread Vlad
I wat to create an android app, a tamagochi to be more specific. For that i 
need to create a pixelated interface. How can I simulate a big pixel and 
how can I animate the big pixels?

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] instal different versions of same app

2013-04-30 Thread Carlos Costa
Hi guys

I am developing a game with eclipse, I try it in my mobile phone, to get 
the real feeling

Sometimes I do little changes in my app and I want to install it in the 
phone but without remove the previous version, which is the best way to do 
it?

I tried to change the app name in the manifest, but it doesn't work

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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Face detection returns 0

2013-04-30 Thread AviS
Hi,
 
I am trying to use the face detection method (level 14) I have a device - 
Nexus 7 Level 17 4.2, and it does not detect any faces (returns 0).
 
Please advise.
 
 
Thanks
Avi

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] ADT Demo - UI for each tab of a tabbed activity Issue

2013-04-30 Thread Terran Brown


I've decided after using HTML5 for so long and having got a reasonable 
understanding of it to wade in to Java for Android. Using the Wizard in 
Eclipse ( Scrollable Tabs + Swipe ) and the ADT I've created a basic tabbed 
menu.

My problem is that I have been attempting to take that example further so I 
can refer to different layouts on each tab. I've refereed to two different 
threads on here the results of which you can see as attached code.

Application opens up fine until I slide to the next screen/fragment.

I'm still finding my feet with the log cat but to me the attached log 
doesnt point to a specific error place only that the error occurs.

I would love to get some advice on where to look, if you can see the issue 
or some general pointers to send me in the right direction.

Thanks In Advance

10-28 23:20:17.002: W/dalvikvm(1432): threadid=1: thread exiting with 
uncaught exception (group=0x40a13300) 10-28 23:20:17.064: 
E/AndroidRuntime(1432): FATAL EXCEPTION: main 10-28 23:20:17.064: 
E/AndroidRuntime(1432): java.lang.NullPointerException 10-28 23:20:17.064: 
E/AndroidRuntime(1432): at 
android.support.v4.app.BackStackRecord.doAddOp(BackStackRecord.java:394) 
10-28 23:20:17.064: E/AndroidRuntime(1432): at 
android.support.v4.app.BackStackRecord.add(BackStackRecord.java:389) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.support.v4.app.FragmentPagerAdapter.instantiateItem(FragmentPagerAdapter.java:99)
 
10-28 23:20:17.064: E/AndroidRuntime(1432): at 
android.support.v4.view.ViewPager.addNewItem(ViewPager.java:800) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.support.v4.view.ViewPager.populate(ViewPager.java:991) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.support.v4.view.ViewPager.populate(ViewPager.java:880) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.support.v4.view.ViewPager$3.run(ViewPager.java:238) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.view.Choreographer$CallbackRecord.run(Choreographer.java:725) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.view.Choreographer.doCallbacks(Choreographer.java:555) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.view.Choreographer.doFrame(Choreographer.java:524) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
 
10-28 23:20:17.064: E/AndroidRuntime(1432): at 
android.os.Handler.handleCallback(Handler.java:615) 10-28 23:20:17.064: 
E/AndroidRuntime(1432): at 
android.os.Handler.dispatchMessage(Handler.java:92) 10-28 23:20:17.064: 
E/AndroidRuntime(1432): at android.os.Looper.loop(Looper.java:137) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
android.app.ActivityThread.main(ActivityThread.java:4745) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
java.lang.reflect.Method.invokeNative(Native Method) 10-28 23:20:17.064: 
E/AndroidRuntime(1432): at java.lang.reflect.Method.invoke(Method.java:511) 
10-28 23:20:17.064: E/AndroidRuntime(1432): at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) 
10-28 23:20:17.064: E/AndroidRuntime(1432): at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 10-28 
23:20:17.064: E/AndroidRuntime(1432): at 
dalvik.system.NativeStart.main(Native Method)

import java.util.Locale;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.View;
import android.view.ViewGroup;

public class DodActivity extends FragmentActivity {

/**
 * The {@link android.support.v4.view.PagerAdapter} that will provide
 * fragments for each of the sections. We use a
 * {@link android.support.v4.app.FragmentPagerAdapter} derivative, which
 * will keep every loaded fragment in memory. If this becomes too memory
 * intensive, it may be best to switch to a
 * {@link android.support.v4.app.FragmentStatePagerAdapter}.
 */
SectionsPagerAdapter mSectionsPagerAdapter;

/**
 * The {@link ViewPager} that will host the section contents.
 */
ViewPager mViewPager;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_dod);

// Create the adapter that will return a fragment for each of the three
// primary sections of the app.
mSectionsPagerAdapter = new SectionsPagerAdapter(
getSupportFragmentManager());

// Set up the ViewPager with the sections adapter.
mViewPager = (ViewPager) findViewById(R.id.pager);
mViewPager.setAdapter(mSectionsPagerAdapter);

}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.dod, menu);
return true;
}

/**
 * A 

[android-developers] getVoiceMessageCount?

2013-04-30 Thread steveg1701
I am trying to get the number of voicemails on an Android using 
TelephonyManager, seems it should be easy enough using the 
getVoiceMessageCount() nethod (not documented but its in the source code!  
But I get an error saying there is no such method ;-( 

any ideas?

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How does Hierarchy Viewer tool measure Draw time?

2013-04-30 Thread Artem Danilov
I need to understand whether absolute time makes sense or it is fair only 
for relative comparison with other views on a screen. Some 
experimentshttp://stackoverflow.com/questions/6513716/wrong-draw-time-in-the-hierarchy-viewer
 say 
that it is not straightforward.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] send imageview content to mail.

2013-04-30 Thread vikram raj
I am developing a application in which i want to send image content in 
imageview so please help me if anyone know to do this.

thaks in andvance

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Google Play referrer field no longer encoded on Android version 4?

2013-04-30 Thread John Gu
On my Android 2.3.6, when I open a market intent with a utf-8 encoded 
referrer, it displays in LogCat:

Starting activity: Intent { act=android.intent.action.VIEW 
dat=http://market.android.com/details?id=com.myappreferrer=test%3D1%26test2%3D2
 
cmp=com.android.vending/com.google.android.finsky.activities.MainActivity 
(has extras) } from pid 3044

But on 4.2.2 for the same market url, I see:

START u0 {act=android.intent.action.VIEW 
dat=http://market.android.com/details?id=com.myappreferrer=test=1test2=2 
cmp=com.android.vending/com.google.android.finsky.activities.MainActivity (has 
extras)} from pid 2474


This seems to break how the referrer gets passed to the BroadcastReceiver, as 
when I read onReceive for the com.android.vending.INSTALL_REFERRER intent:


String referrer = intent.getStringExtra(referrer);


The value of referrer is only test=1.



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: My post hasn't appeared after 3 days

2013-04-30 Thread Palmer Eldritch
Excuse me I am facing a similar issue with my (twice posted) Exported 
receiver does not require permission

Is some human moderating the forums or some machine - which obviously fails 
?

Please amend this situation - it is very frustrating - and no, I am no n00b 
- these are no SO questions - check my bug reports for one.


On Wednesday, April 10, 2013 1:21:29 AM UTC+3, Antonym wrote:

 Hi,

 I posted a new topic GLSurfaceView displaying black on Nexus 7 with 
 Android 4.2 3 days ago (6 April 2013) and it hasn't appeared yet. Is it 
 just that it hasn't been moderated yet or has it been blocked for some 
 reason?

 Best regards,

 Tony


 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] SQLite Frustration

2013-04-30 Thread Nathan
I can not figure out what is happening here for the life of me. Everything 
was working fine. I went to bed one night and came back the next and now my 
app will not read or write to my db and gives me no errors. Please help any 
advice would be great.


My DB Handler:
===
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class DatabaseHandler extends SQLiteOpenHelper {
// All Static variables
// Database Version
private static final int DATABASE_VERSION = 1;
 
// Database Name
private static final String DATABASE_NAME = GP;
 
// Contacts table name
private static final String TABLE_VERSION = GPVersion;

 
// Contacts Table Columns names
private static final String KEY_ID = id;
private static final String KEY_VERSION = name;

public DatabaseHandler(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
}

@Override
public void onCreate(SQLiteDatabase db) {
// TODO Auto-generated method stub
String CREATE_VERSION_TABLE = CREATE TABLE IF NOT EXISTS  + 
TABLE_VERSION + (
+ KEY_ID +  INTEGER PRIMARY KEY, + KEY_VERSION +  TEXT 
+ );
db.execSQL(CREATE_VERSION_TABLE);
}

@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
// TODO Auto-generated method stub
//db.execSQL(DROP TABLE IF EXISTS  + TABLE_VERSION);
 
// Create tables again
//onCreate(db);
}

  // Adding new version 
void addGPVersion(String version) {
SQLiteDatabase db = this.getWritableDatabase();
 
ContentValues values = new ContentValues();
values.put(KEY_ID, 0); // Pair
values.put(KEY_VERSION, version); // Pair
 
// Inserting Row
db.insert(TABLE_VERSION, null, values);
db.close(); // Closing database connection
}


// Getting students Count
public String getGPVersion() {
SQLiteDatabase db = this.getReadableDatabase();
String q=SELECT  + KEY_VERSION +  FROM  + TABLE_VERSION +  WHERE  
+ KEY_ID + ='0';
String z;

Cursor cursor = db.rawQuery(q,null);
if (cursor != null  cursor.getCount()0) {
cursor.moveToFirst();
z=cursor.getString(0);
cursor.close();
db.close();
return z;

} 
else
{
cursor.close();
db.close();
 return na;
}
}


===



Main Activity:
===
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); 

setContentView(R.layout.main);
   CheckGPVersion();
}


private void CheckGPVersion()
{
 DatabaseHandler db = new DatabaseHandler(this);
 String a = ;
 a = db.getGPVersion();

 EditText txtEffortCode = (EditText) 
findViewById(R.id.txtEffortCode);
 txtEffortCode.setText(a);
}


public void onGoClick(View view)  // Input Effort Code
{  
 EditText txtEffortCode = (EditText) findViewById(R.id.txtEffortCode);

 if (txtEffortCode.getText().length() != 0){
//Do Something
 DatabaseHandler db = new DatabaseHandler(this);
 
db.addGPVersion(txtEffortCode.getText().toString().toUpperCase(Locale.getDefault()));
 txtEffortCode.setText();
 Toast.makeText(this, Input Success!, Toast.LENGTH_SHORT).show();
 }
 else
 {
 //Alert no code input
 Toast.makeText(this, You must enter 'EFFORT CODE'!, 
Toast.LENGTH_SHORT).show();
 }  
 }  
===


While it creates the database or so I think it does as the app shows under 
data 4.00K. When it was inputting data the other night, the data field 
showed 12.00K. Argh, what is going on here? I use sqlite on many other apps 
and they work fine. Did something get corrupt? I tried cleaning the 
project, rebooting etc. nothing. 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, 

[android-developers] Question: Android video streaming client solutions

2013-04-30 Thread Vinay B


This is a bit of a newbie question and I'm looking for either actual 
answers or general directions in which to research in search of answers.

Background: I'd like to develop a streaming client that consumes multimedia 
feeds from content delivery networks (CDN). I'm consider developing it for 
android sticks / set top boxes rather than for off-the-shelf media 
extenders such as roku.

Questions: 1. Are there ready-to-use turnkey software solutions available 
for android that will allow me to accomplish this or do I have to roll my 
own ?

   1. What should I be looking at in order to skin the OS to provide the 
   user solely my menus, as opposed to the standard android software. For 
   example, if I wanted to emulate the look of a roku or XBMC or whatever, as 
   opposed to the stock android icons

Thanks for your answers.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] how can i delete data from item listview android ?plz help

2013-04-30 Thread Maka ahmed


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Is Nevron.eu Legit?

2013-04-30 Thread Android777
Hello, everyone. I recently received an email from nevron. They said they 
wanted to use my app for their android STBs and I would received payment 
for each copy of my app installed on each STB. Other than their website, I 
was unable to find any information about them online. Has anyone else here 
received communication from them, or is anyone currently in their program? 
If not, what are your thoughts on this?

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Cant reply to user reviews.!

2013-04-30 Thread Suvinay Pawa
I heard we can reply to user reviews but i cant.Please 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Exported receiver does not require permission - what should I do with BOOT receivers

2013-04-30 Thread Mr_and_Mrs_D
I have the following receivers declared :
pre
receiver !-- no warning --
android:name=.receivers.TriggerMonitoringBootReceiver
android:enabled=false 
intent-filter
action android:name=android.intent.action.BOOT_COMPLETED /
/intent-filter
/receiver
receiver !-- no warning --
android:name=.receivers.ScanResultsReceiver
android:enabled=false 
intent-filter
action android:name=android.net.wifi.SCAN_RESULTS /
/intent-filter
/receiver
/pre

These receivers are exported - right ? If I put `exported=false` would 
they still be able to work ?

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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] ADT completely messes up after installing Subversion!

2013-04-30 Thread solocaldeveloper
Dear readers,


I currently have a very, very annoying problem. I'm using ADT to develop an 
Android app. Now that I work with a team, I need the Subversion plugin to 
work with a SVN.
Whenever I install a SVN client, may it be subversion, subclipse etc 
through the in-client ''Install New Software'', my whole installation 
messes up. When I restart, the splashscreen changed from Android Developer 
Tools to Eclipse Juno and alot of buttons in the interface go missing, 
errors everywhere, etcetera.

What am I doing wrong exactly here?

Michael

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] android with wamp

2013-04-30 Thread saritswarts
I can read Hebrew characters from wamp server and see them on my android app 
but I'm trying to insert hebrew charaters to the wamp server but instead of 
Hebrew I get squares ,How can I use Hebrew characters?

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How can I unarchive an archived webpage in Android?

2013-04-30 Thread STAN SHAN


I asked a similar 
questionhttp://stackoverflow.com/questions/14364501/how-can-i-load-an-archived-webpage-properly-in-android
 before.

Apparently, we could load the archived file by using the third party class 
WebArchiveReader.

However, the problem is that I also want to Email the webpage and let the 
user read it directly. I called *webView.saveWebArchive(path)*, and saved a 
webpage on my disk, but I can't open it by any application.

Let's say I have a webpage showing a PDF file. Is there a way to unarchive 
the file which is generated by calling webView.saveWebArchive, and send it 
as an attachment via Email?

If not, is there an alternative way to save web page to local storage 
without Archiving?

I am just curious that why GOOGLE make an API method to archive something 
but do not bother to make another one to unarchive it? What is the point of 
saveWebArchive anyway?

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] 4.2.2 won't show when creating a new project in eclipse

2013-04-30 Thread Kris Adams
I just updated so I can develop for 4.2.2 but when I create a new project, 
only 4.2 shows up as an option (and below) not 4.2.2

Also when I try to plug my phone into my PC to test an app, nothing 
happens, it doesn't show up on my phone. I did develop one for 4.2 and my 
phone is 4.2.2 would that matter when testing?

Cheers

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] android.database.sqlite.SQLiteException

2013-04-30 Thread shoaib khan
I am creating a table named order in the database order.db.
I am getting error during the execution of the function call 
database.execSQL(DATABASE_CREATE).

Error is as follows:

04-17 02:06:35.014: E/AndroidRuntime(4612): 
android.database.sqlite.SQLiteException: near order: syntax error (code 
1): , while compiling: create table order ( _id integer primary key 
autoincrement, orderName text not null, orderCommission text not null, 
orderDate text not null, orderSlot text not null, orderGain text not null, 
orderNO text not null, orderValue text not null);


package com.shoaib.lotteryerp.helper;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;

public class MySQLiteHelperOrder extends SQLiteOpenHelper {

public static final String TABLE_ORDER = Order;
public static final String COLUMN_ID = _id;
public static final String COLUMN_NAME = orderName;
public static final String COLUMN_DATE=orderDate;
public static final String COLUMN_ORDERNO=orderNO;
public static final String COLUMN_SLOT=orderSlot;

public static final String COLUMN_ORDERVALUE=orderValue;
public static final String COLUMN_COMMISSION=orderCommission;
public static final String COLUMN_GAIN=orderGain;
private static final String DATABASE_NAME = order.db;
private static final int DATABASE_VERSION = 2;

// Database creation sql statement
private static final String DATABASE_CREATE = create table 
+ TABLE_ORDER + ( + COLUMN_ID
+  integer primary key autoincrement,  + COLUMN_NAME
+  text not null,  + COLUMN_COMMISSION +  text not null, 

+ COLUMN_DATE +  text not null, 
+ COLUMN_SLOT +  text not null, 
+ COLUMN_GAIN +  text not null, 
+ COLUMN_ORDERNO +  text not null,  + COLUMN_ORDERVALUE
+  text not null);;

MySQLiteHelperOrder(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
}

public void onCreate(SQLiteDatabase database) {
database.execSQL(DATABASE_CREATE);
}

public void onUpgrade(SQLiteDatabase db, int oldVersion, int 
newVersion) {
Log.w(MySQLiteHelperOrder.class.getName(),
Upgrading database from version  + oldVersion +  to 
+ newVersion + , which will destroy all old 
data);
db.execSQL(DROP TABLE IF EXISTS  + TABLE_ORDER);
onCreate(db);
}
}


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] open html pages stored in Dropbox

2013-04-30 Thread JS

Hello,

I write a page in an html file and uploaded it in Dropbox (on my desktop).

I wanted to see how it looks on the android platform before making it live, 
so I downloaded
and installed dropbox in my android.

How can I see the contents of my html file in an android browser?

On my desktop, I downloaded WAMP, so I can work on my local server ( 
https://localhost/path/to/my/index)
I want to do the same in android

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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to add checkbox,Textbox in Gridview in android 2.3

2013-04-30 Thread spshewale
I m new to android . I would like to insert *checkbox* along with data and 
then enter text data and insert this data in SQLLite how should I achieve 
this in android 2.3?
I tried by using ImageView but i didnt succeeded?TEll me how to achieve 
this.Also i tried for TableLayout but it has limitation that no of rows 
fixed .And if this is not possible in android 2.3 then tell me which 
version should i use?

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Use camera for NDK

2013-04-30 Thread shailesh
Hi,
I am new to android and ndk. I want to develop an android application 
which uses camera open in a frame such like instagram application (Camera 
in a frame ). If I make the manually it varies device to device. and 
rotation also. So I think it should better with use of ndk. Is It so. 
Please Help me how to open and control to open camera in frame Universal 
code. Any link or suggestion will be very helpful..



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Recroding an OpenGL Surface

2013-04-30 Thread satish lokkoju
Hi all,

We are working on a project where we are required to record an OpenGL 
Surface. We are planning to use MediaRecorder API by setting the video 
source to
VIDEO_SOURCE_GRALLOC_BUFFER and generate the compressed file

We are using the following code as the base code.

https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/tests/SurfaceMediaSource_test.cpp

I want to know 
1.) If this is the right approach to record an OpenGL (GLsurfaceView) which 
is being displayed?. If not what are the options available.

2.) With the sample code given above, the video and audio are compressed 
and an MP4 file is being generated. but the OpenGL surface is not 
displayed. What am I missing ?


Any help /pointers is greatly appreciated.

thanks,
Satish
 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] how to reverse/retrieve byte to audio/sound source code??

2013-04-30 Thread Indra Wahyono
how to reverse/retrieve byte to audio/sound source code??
i don't know how to make it??
just this, i haven't solve the problem..
please share with me if know about this..

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Android APK 15 - Multiple devices - WebView - Focus on Input field - Soft keyboard appears - WebView flashes - Soft keyboard disappears

2013-04-30 Thread Saurabh Gupta
We have a WebView with absolutely position input element. The input 
element is of type text. This input element shows up at different positions 
on WebView based on user tap. However, when user taps on the input field, 
the soft keyboard flashes on screen and then goes away. 

Here is the sequence of events 
 Focus on Input field - Soft keyboard appears - WebView flashes - Soft 
keyboard disappears

This is true even if the input element doesn't have to re-position itself 
to accommodate for soft keyboard. 

I have looked at following forums for solution for no success. I have tried 
hardware acceleration and idea of fixed position of input element - 
1. https://code.google.com/p/android/issues/detail?id=20446
2. 
http://stackoverflow.com/questions/7097884/black-flickering-on-honeycomb-webview

Has anyone else faced the similar issue? 

thanks,
Saurabh

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] cupcake source is not available

2013-04-30 Thread Sharmila Harsha
hello i am working on android source code...
i need source code of android's cupcake version
it is not available 
https://android.googlesource.com/platform/manifest/+refshere
where can i get t..

can anybody help me in this regard

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] new in development plz help

2013-04-30 Thread yaqub seyidov
hi guys i need your help i wanna make great apps and games for android os 
but i am totally new on this way i mean i have no java knowledge, no 
eclipse experience  even no programming knowledge all i wanna to know that 
can i make great apps and games by reading all articles in this 
site https://developer.android.com? or do i need additional alternative 
books or something? i mean https://developer.android.com is this site is 
enough to know all things about program developmen? make programs?. if yes 
what can u advise to do?  thanks for paying attention

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: WebViews: return an array to javascript-interface

2013-04-30 Thread BearTi
I´ve a defined a WebView with a JavaSciptInterface:

myWebView.addJavascriptInterface(new WebAppInterface(this), Android);


 
In this Interface I have a Method like:

@JavascriptInterface
 public String [] getTest() {
 String [] test = new String[5];
 test [0] = 0..;
 test [1] = 2..;
 return test; 
 }



Now on my website i want to receive this array: 

script type=text/javascript
   var array = new Array();

  array = Android.getTest(); //didn´t work

  array = JSON.parse(Android.getTest()); // didn´t work, too
 /script



The array alwas is displayed as undefined. Am I doing something wrong or 
is it just not possible?

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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Application forced Close

2013-04-30 Thread TreKing
On Mon, Apr 15, 2013 at 10:52 PM, Sachin Sharma sachiins...@gmail.comwrote:

 How to fix it!!!Help


Consider debugging your application.

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

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: WebViews: return an array to javascript-interface

2013-04-30 Thread AndroidBangalore.com
Greetings from Codefrux Technologies!

Learn how to crack or to do a preparation for Android interview in* just 
1500 INR/*-.


Workshop starting on *27 MAY 2013  28 MAY 2013.*
*Other Workshops:*
Learn iPhone app development in 2 days @ just 1500 INR 
Workhsop dates: 18 MAY  19 MAY 2013.
*Other Courses:*
*Big Data* training starting from 01 June 13
*Advance .Net* with sharepiont, WCF,WPF, Webservices- new batch starting 
from 20 May 2013
*Advance Java* with J2EE,Hibernate,Struts,Springs, JBOSS, weblogic,tomcat, 
etc starting from 20 MAY2013.
*Testing Automation tools* like QTP, Selenium,JUNIT starting from 20 
May2013.
*Mobile testing* with Robotium and Junit starting soon!
*Red hat Linux* certification training starting from 01June 2013
For more info, pls contact us @ 08041714862/63 or email us@ 
cont...@codefruxtechnology.com/codef...@gmail.com
Visit us @ www.codefruxtechnology.com


On Monday, April 29, 2013 5:07:57 PM UTC+5:30, BearTi wrote:

 Hi,

 I´ve a little problem with my app which displays a webview.

 I declare a javascript interface in my activity. Now I want to call a 
 function on the website which returns an string-array.
 Problem: I always get undefined when I want to get the content of this 
 array. *Android.getArray().length* for example.

 I it even possbiel to return arrays to the javascript on my website? 
 I also tried it with* JSON.parse*, but it din´t work too.

 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Application forced Close

2013-04-30 Thread Piren
Learning the route to a destination doesn't teach you how to drive a car... 
you should first read the owner's manual.

http://developer.android.com/tools/index.html  (the whole of it, not just 
the first page)

On Tuesday, April 16, 2013 6:52:18 AM UTC+3, Sachin Sharma wrote:

 I am developing my first app using  android tutorials given on android 
 developers site.When i run the app it shows me message  Application has 
 stopped unexpectedly force close.How to fix it!!!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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: findViewById() problem

2013-04-30 Thread Vishal Pawale
Do this-

1. Remove the statement which is importing R
2. Clean the project from Project - Clean 
3. Rebuild.

On Friday, April 19, 2013 7:18:30 AM UTC+5:30, Jacob Bosarge wrote:

 I am having trouble with the findViewById();

 Here is the code


 https://lh4.googleusercontent.com/-BiNog3lL8Hg/UXChRHQPrwI/Adg/YjIIO855dlM/s1600/Capture.PNG

 And here is the XML code

 https://lh4.googleusercontent.com/-BiNog3lL8Hg/UXChRHQPrwI/Adg/YjIIO855dlM/s1600/Capture.PNG


 https://lh3.googleusercontent.com/-ZBm0w3E4ybA/UXChrXfhoVI/Ado/ctrwzFEtLfI/s1600/Capture.PNG

 When I type in findViewById(R.id.) it does not give me my IDs like usual. 
 It gives a list including addtodictionary:int, background:int, 
 button1:int. I have no clue why it will not recognize my IDs. I would 
 appreciate any help!





-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] new in development plz help

2013-04-30 Thread Parthi K
Heloo  seyidov  ,
 According to your requirements you will get solution in internet .
https://developer.android.com  this site enough



Thanks  Regards,
Parthiban.k
Software Engineer
Mode FinServer Pvt. Ltd.
Cell: +7204205850
Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k
@modefinserver.com shoai...@modefinserver.com


On Wed, Apr 17, 2013 at 3:33 AM, yaqub seyidov seyidov.ya...@gmail.comwrote:

 hi guys i need your help i wanna make great apps and games for android os
 but i am totally new on this way i mean i have no java knowledge, no
 eclipse experience  even no programming knowledge all i wanna to know that
 can i make great apps and games by reading all articles in this site
 seyidov or do i need additional alternative books or something? i mean
 https://developer.android.com is this site is enough to know all things
 about program developmen? make programs?. if yes what can u advise to do?
  thanks for paying attention

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Camera rotation portrait but playing in landscape.

2013-04-30 Thread Jadranko Bodiroga
Probaj ovo: (try this :)

super.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);

S.P.


On Mon, Apr 29, 2013 at 10:00 PM, Ivan Stamenkovic peacemaker@gmail.com
 wrote:

 I tried, i searched but nothing works. I have this code preparing the
 camera:

 http://paste.laravel.com/pP1

 and there is myCamera.setDisplayOrientation(90);

 But when i playback the video it's in landscape. Is there any way to
 change this or to rotate videoview

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Camera rotation portrait but playing in landscape.

2013-04-30 Thread Piren
on some devices/older api versions you need to use setRotation instead (in 
the camera params). 

You can also use setOrientationHint instead
http://developer.android.com/reference/android/media/MediaRecorder.html#setOrientationHint(int)

On Monday, April 29, 2013 11:00:36 PM UTC+3, Ivan Stamenkovic wrote:

 I tried, i searched but nothing works. I have this code preparing the 
 camera:

 http://paste.laravel.com/pP1

 and there is myCamera.setDisplayOrientation(90);

 But when i playback the video it's in landscape. Is there any way to 
 change this or to rotate videoview


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] [job] Looking for passionate developer

2013-04-30 Thread gabon
Hi guys, I design and develop for clients compelling user experiences on 
mobile platforms. I am well covered on the iOS front but I would like to 
start offering also Android development.

Design is an important aspect of the projects I work on, so it is mandatory 
having passion and experience on delivering software, especially the 
front-end, at the highest standard.


If interested, please get in touch at: info AT nuthinking DOT com


Have a great day!

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Maps api key v1?

2013-04-30 Thread Craig Payne
Hi Ian,

You mean I can use my release key for development also? I do have one, of
course, but I will have to look into how to do this. Can you point me in
the right direction, perhaps?  That solution will still be a bit fiddly,
because I have a FREE and PRO version of the app which both use different
certs.

On Tue, Apr 30, 2013 at 4:12 AM, Ian Ni-Lewis ile...@google.com wrote:

 I agree, you should have been notified. I do not know why you weren't.

 I don't understand the issue with the debug certificate. Do you not have a
 valid release key certificate that you can use for development?
  Ian


 On Fri, Apr 26, 2013 at 6:59 AM, Craig Payne craig.r.pa...@gmail.comwrote:

 Not quite true, Ian. I am trying to fix a bug in an app I released over a
 year ago, and my debug.keystore certificate has expired. Given that this is
 the default behaviour (365 day expiry), most developers are not going to be
 able to use their old API keys to continue development for very long.

 I need to make a tiny change, and to do this I will be forced to upgrade
 to v2, which means I can no longer support Android 1.6.  This will
 immediately cut out 8% of my users, who will loudly complain and give me
 bad reviews in Google Play.  They are not able to upgrade because of
 fragmentation, and are stuck with an old version of Android, which up to
 now I have been able to support.
 I didn't see the clear communications that this would be deprecated
 either, and I pay special attention to emails from Google.  I WAS told by
 Google that the v2 web-based maps would be deprecated and DID update them
 in time.
 While I might expect something like this from the cowboys at Facebook, I
 hold Google to a higher standard and I am shocked and disappointed.

 It sounds like you're actually from Google, so do you have any solution
 for us developers who are trying to support Android, but who have existing
 keys with expired debug certificates?

 In any case, you appear to be assuming that we shut down a service
 without informing its users. This is not the case. We stopped accepting new
 users into a service which we intend to keep online for a period of several
 years. No existing users were affected by this change. No users who
 obtained an API key before beginning development (as they were clearly
 instructed to do) should have been affected.

   --
 --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/R2dwCWyC3TQ/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Ian Ni-Lewis
 Staff Developer Programs Engineer
 Android Developer Relations

  --
 --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/R2dwCWyC3TQ/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] TalkBack and data tables

2013-04-30 Thread grady
Is there a way to get Talkback to associate data cells to column and row 
headers in a mobile web data table like Voice Over does? The best I can get 
it so far is recognize the aria role columnheader and rowheader in mobile 
chrome but not the association to the data cells.
 
thx

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] I cracked my screen on my tablet am i able to get it repaired?

2013-04-30 Thread lbendlin
Don't you just need to install one of these fake screen crack apps to 
cancel out the effect?

On Tuesday, April 30, 2013 2:54:28 AM UTC-4, Piren wrote:

 I do wonder... if you analyze the fractures and how they reflect and 
 refract light, maybe it's possible to do manipulate the display in a way 
 that counter acts the fracture thus making it appear less visible and the 
 display to appear unbroken...

 Would still be cracked though :-P

 On Tuesday, April 30, 2013 1:06:15 AM UTC+3, Lew wrote:

 Spooky wrote:

 Chris Fraser wrote: 
  I cracked my screen on my tablet am i able to get it repaired?   

 No.  I seriously doubt that you'll be able to develop an Android app to 
 repair your broken screen.  You might be able to get it repaired by some 
 other means besides developing an Android app (using the SDK), but 
 that's 
 a subject for a different e-mail list, forum, etc. 

  
 For other ways than writing an app to repair your screen, see
 http://lmgtfy.com/?q=How+do+you+repair+a+cracked+Android+tablet+screen

 -- 
 Lew



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] To play gif from a file

2013-04-30 Thread Beyza Nur Kökcan
Hi,
I have found tutorials about how to play animated gifs in android by 
reading it from an asset or using a drawable object. But what I want is to 
read a gif file from sdcard. 
I have changed the project reading gif from assets a little bit.

In the main activity, I basically create gifMovieView then setContent(
gifMovieView)
In the constructor of the GifMovieView class, I have initailized the Movie 
object like in the project eu.andlabs.tutorial.animatedgifs. But I have 
used decodeFile giving the file path instead of decodeStream getting 
inputStream.

File file = new File 
(Environment.getExternalStorageDirectory().getAbsolutePath(),piggy.gif);
   
if(file.exists()){

   mMovie = Movie.decodeFile(file.getPath()); 
   }


I HAVE GİVEN I/O EXCEPTION for this line. It finds the file but decodeFile 
gives exception.


In onDraw ;

@Override
protected void onDraw(Canvas canvas) {
canvas.drawColor(Color.TRANSPARENT);
super.onDraw(canvas);
final long now = SystemClock.uptimeMillis();

if (mMoviestart == 0) { 
mMoviestart = now;
}


Log.i(,+mMovie.duration());

Log.i(,+mMoviestart);

final int relTime = (int)((now - mMoviestart) % mMovie.duration());
mMovie.setTime(relTime);
mMovie.draw(canvas, 10, 10);
this.invalidate();
}


BECAUSE OF THE EXCEPTION, movie.duration becomes 0 causing the error.

Any suggestions?

Thank you 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Application forced Close

2013-04-30 Thread bob
The problem is that you are not calling super.onCreate.  Make this the 
first line of your onCreate method:

*super.onCreate(savedInstanceState);*

Thanks.




On Monday, April 15, 2013 10:52:18 PM UTC-5, Sachin Sharma wrote:

 I am developing my first app using  android tutorials given on android 
 developers site.When i run the app it shows me message  Application has 
 stopped unexpectedly force close.How to fix it!!!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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: new in development plz help

2013-04-30 Thread bob
It sounds like you will want to read this book:

*Beginning Android Games* *by Mario Zechner and Robert Green*

I have it, and I enjoyed it greatly.

Thanks.


On Tuesday, April 16, 2013 5:03:21 PM UTC-5, yaqub seyidov wrote:

 hi guys i need your help i wanna make great apps and games for android os 
 but i am totally new on this way i mean i have no java knowledge, no 
 eclipse experience  even no programming knowledge all i wanna to know that 
 can i make great apps and games by reading all articles in this site 
 https://developer.android.com? or do i need additional alternative books 
 or something? i mean https://developer.android.com is this site is enough 
 to know all things about program developmen? make programs?. if yes what 
 can u advise to do?  thanks for paying attention


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Maps api key v1?

2013-04-30 Thread Ian Ni-Lewis
+retomeier, who assured me that this is possible :-)
Ian


On Tue, Apr 30, 2013 at 5:48 AM, Craig Payne craig.r.pa...@gmail.comwrote:

 Hi Ian,

 You mean I can use my release key for development also? I do have one, of
 course, but I will have to look into how to do this. Can you point me in
 the right direction, perhaps?  That solution will still be a bit fiddly,
 because I have a FREE and PRO version of the app which both use different
 certs.


 On Tue, Apr 30, 2013 at 4:12 AM, Ian Ni-Lewis ile...@google.com wrote:

 I agree, you should have been notified. I do not know why you weren't.

 I don't understand the issue with the debug certificate. Do you not have
 a valid release key certificate that you can use for development?
  Ian


 On Fri, Apr 26, 2013 at 6:59 AM, Craig Payne craig.r.pa...@gmail.comwrote:

 Not quite true, Ian. I am trying to fix a bug in an app I released over
 a year ago, and my debug.keystore certificate has expired. Given that this
 is the default behaviour (365 day expiry), most developers are not going to
 be able to use their old API keys to continue development for very long.

 I need to make a tiny change, and to do this I will be forced to upgrade
 to v2, which means I can no longer support Android 1.6.  This will
 immediately cut out 8% of my users, who will loudly complain and give me
 bad reviews in Google Play.  They are not able to upgrade because of
 fragmentation, and are stuck with an old version of Android, which up to
 now I have been able to support.
 I didn't see the clear communications that this would be deprecated
 either, and I pay special attention to emails from Google.  I WAS told by
 Google that the v2 web-based maps would be deprecated and DID update them
 in time.
 While I might expect something like this from the cowboys at Facebook, I
 hold Google to a higher standard and I am shocked and disappointed.

 It sounds like you're actually from Google, so do you have any solution
 for us developers who are trying to support Android, but who have existing
 keys with expired debug certificates?

 In any case, you appear to be assuming that we shut down a service
 without informing its users. This is not the case. We stopped accepting new
 users into a service which we intend to keep online for a period of several
 years. No existing users were affected by this change. No users who
 obtained an API key before beginning development (as they were clearly
 instructed to do) should have been affected.

   --
 --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/R2dwCWyC3TQ/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Ian Ni-Lewis
 Staff Developer Programs Engineer
 Android Developer Relations

  --
 --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/R2dwCWyC3TQ/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 --
 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
 ---
 You received this message because you are subscribed to a topic in the
 Google Groups Android Developers group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/android-developers/R2dwCWyC3TQ/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 android-developers+unsubscr...@googlegroups.com.
 For more options, visit 

[android-developers] Re: Getting error Unfortunately App Stopped... Fed up...

2013-04-30 Thread Ravi Tewari
Thanks so much.. Since I was novice so couldn't catch it. I am speeding up 
now... Hope to do better now..
 
Peaceful time ahead..
 

On Monday, April 29, 2013 8:17:37 PM UTC+5:30, tibig...@gmail.com wrote:

 you must call setContentView(R.layout.activity_main) 
 before findViewById(R.id.callButton)

 On Wednesday, April 24, 2013 11:01:13 PM UTC+3, Ravi Tewari wrote:

 Can anyone tell wats wrong here... I am new to Android but NOT to Java.. 
 I am getting the error Unfortunately App Stopped while running it in 
 emulator. 
 Can anyone help to figure the error out here: (Plz note that I have 
 already set the permission for Intent. Actually below ACTION_CALL Intent is 
 working fine without adding any Button. But when I add the button and 
 registers the OnClickListener, it starts giving the error.) So wats wrong 
 below while registering the listener?
  
 Appreciate the response.. Let me know if any other info u need to debug..
  
 *My activity java file is:*
 package os.androidphonedialer;
 import android.os.Bundle;
 import android.app.Activity;
 import android.view.Menu;
 import android.view.View;
 import android.content.Intent;
 import android.net.Uri;
 import android.widget.Button;
 public class MainActivity extends Activity {
 @Override
 protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 final Button callButton = (Button) findViewById(R.id.callButton);
 callButton.setOnClickListener(new Button.OnClickListener() 
 {public void onClick(View v){
  Intent callIntent = new 
 Intent(Intent.ACTION_CALL,Uri.parse(tel:5551212));
  callIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  startActivity(callIntent);
  }
 });
 setContentView(R.layout.activity_main);
 }
@Override
 public boolean onCreateOptionsMenu(Menu menu) {
 // Inflate the menu; this adds items to the action bar if it is 
 present.
 getMenuInflater().inflate(R.menu.main, menu);
 return true;
 }
  }
  
 *And the layout file is:*
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android
 
 xmlns:tools=http://schemas.android.com/tools;
 android:layout_width=match_parent
 android:layout_height=match_parent
 android:paddingBottom=@dimen/activity_vertical_margin
 android:paddingLeft=@dimen/activity_horizontal_margin
 android:paddingRight=@dimen/activity_horizontal_margin
 android:paddingTop=@dimen/activity_vertical_margin
 tools:context=.MainActivity 
 Button
 android:id=@+id/callButton
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:text=Show Dialer /
 /RelativeLayout



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Application forced Close

2013-04-30 Thread Piren
Are you clairvoyant? how did you figure that is the issue from looking just 
at the screenshot of a Fatal Exception?

On Tuesday, April 30, 2013 5:14:27 PM UTC+3, bob wrote:

 The problem is that you are not calling super.onCreate.  Make this the 
 first line of your onCreate method:

 *super.onCreate(savedInstanceState);*

 Thanks.




 On Monday, April 15, 2013 10:52:18 PM UTC-5, Sachin Sharma wrote:

 I am developing my first app using  android tutorials given on android 
 developers site.When i run the app it shows me message  Application has 
 stopped unexpectedly force close.How to fix it!!!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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Running a song after every one hour..

2013-04-30 Thread Ravi Tewari
 
I need to create an app that will play a song after every one hour. The app 
will be running all the times but in background. As soon as it is 9 
o'clock, it will play a song. Once song is over, app should go idle. Again 
as soon as it is 10 o'clock, it will again play that song. So on for 
365*24*7... Even after boot up the device, the app should get started 
automatically.
 
So is this possible, if yes, can you help/guide me in this?
Appreciate your response !
 
Peaceful time ahead...
 
 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Running a song after every one hour..

2013-04-30 Thread Piren
http://developer.android.com/guide/topics/media/mediaplayer.html
http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED
http://developer.android.com/reference/android/app/AlarmManager.html

Figure it out :)

On Tuesday, April 30, 2013 5:40:59 PM UTC+3, Ravi Tewari wrote:

  
 I need to create an app that will play a song after every one hour. The 
 app will be running all the times but in background. As soon as it is 9 
 o'clock, it will play a song. Once song is over, app should go idle. Again 
 as soon as it is 10 o'clock, it will again play that song. So on for 
 365*24*7... Even after boot up the device, the app should get started 
 automatically.
  
 So is this possible, if yes, can you help/guide me in this?
 Appreciate your response !
  
 Peaceful time ahead...
  
  


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: To play gif from a file

2013-04-30 Thread bob
 

I have played animated GIFs on Android before simply by loading them in a *
WebView*.


Thanks.



On Tuesday, April 30, 2013 9:09:26 AM UTC-5, Beyza Nur Kökcan wrote:

 Hi,
 I have found tutorials about how to play animated gifs in android by 
 reading it from an asset or using a drawable object. But what I want is to 
 read a gif file from sdcard. 
 I have changed the project reading gif from assets a little bit.

 In the main activity, I basically create gifMovieView then setContent(
 gifMovieView)
 In the constructor of the GifMovieView class, I have initailized the Movie 
 object like in the project eu.andlabs.tutorial.animatedgifs. But I have 
 used decodeFile giving the file path instead of decodeStream getting 
 inputStream.

 File file = new File 
 (Environment.getExternalStorageDirectory().getAbsolutePath(),piggy.gif);

 if(file.exists()){
 
mMovie = Movie.decodeFile(file.getPath()); 
}


 I HAVE GİVEN I/O EXCEPTION for this line. It finds the file but decodeFile 
 gives exception.


 In onDraw ;

 @Override
 protected void onDraw(Canvas canvas) {
 canvas.drawColor(Color.TRANSPARENT);
 super.onDraw(canvas);
 final long now = SystemClock.uptimeMillis();

 if (mMoviestart == 0) { 
 mMoviestart = now;
 }

 
 Log.i(,+mMovie.duration());
 
 Log.i(,+mMoviestart);
 
 final int relTime = (int)((now - mMoviestart) % mMovie.duration());
 mMovie.setTime(relTime);
 mMovie.draw(canvas, 10, 10);
 this.invalidate();
 }


 BECAUSE OF THE EXCEPTION, movie.duration becomes 0 causing the error.

 Any suggestions?

 Thank you 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] How to get scrolling to just scroll endlessly when you swipe the screen up or down?

2013-04-30 Thread Daniel Chacon
I will try and post the code later tonight or tomorrow to see if someone
can point out what ive done wrong..


On Mon, Apr 29, 2013 at 8:14 PM, TreKing treking...@gmail.com wrote:


 On Mon, Apr 29, 2013 at 9:35 AM, Dan Cha cuban...@gmail.com wrote:

 when i swipe the screen up or down, it only moves while i have my finger
 on the screen.


 That should not be the case. Have you done anything to interfere with the
 scroll behavior?


 I would like to be able to swipe like other apps that it just scrolls
 until it slows down.

 What controls should i be using to accomplish this task?


 This is the default behavior for any control that scrolls.


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

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Running a song after every one hour..

2013-04-30 Thread Ravi Tewari
Thanks Piren.. Will look at it... But I was looking if someone already has
done similar


On Tue, Apr 30, 2013 at 8:23 PM, Piren gpi...@gmail.com wrote:

 http://developer.android.com/guide/topics/media/mediaplayer.html

 http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED
 http://developer.android.com/reference/android/app/AlarmManager.html

 Figure it out :)


 On Tuesday, April 30, 2013 5:40:59 PM UTC+3, Ravi Tewari wrote:


 I need to create an app that will play a song after every one hour. The
 app will be running all the times but in background. As soon as it is 9
 o'clock, it will play a song. Once song is over, app should go idle. Again
 as soon as it is 10 o'clock, it will again play that song. So on for
 365*24*7... Even after boot up the device, the app should get started
 automatically.

 So is this possible, if yes, can you help/guide me in this?
 Appreciate your response !

 Peaceful time ahead...



  --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: WebViews: return an array to javascript-interface

2013-04-30 Thread MathieuB
My guess is that you cannot send a Java array to javascript directly. 

Maybe if you convert the Java array to JSONArray before sending it to 
javascript, then you could parse the JSONArray when received.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: NOOB Android Beginner Development Question!?!?

2013-04-30 Thread bob
 

I would try putting it here:

https://lh5.googleusercontent.com/-Oknzy-fCVvU/UX_fQGfhM2I/AbM/T-ix19zlXxM/s1600/sendmsg2.png



Thanks.




On Friday, April 26, 2013 7:48:00 PM UTC-5, Akshay Kumar wrote:

 I am having some trouble with the development tutorials on 
 developer.android.com.

 They say that I have to add:

 /** Called when the user clicks the Send button */
 public void sendMessage(View view) {
 // Do something in response to button
 }

 in the MainActivity class. The problem is, I don't know where to put this 
 code!!

 After the above step is completed, they say:

 Inside the sendMessage() method, create an 
 Intenthttp://developer.android.com/reference/android/content/Intent.html to 
 start an activity called DisplayMessageActivity:

 I cant find the sendMessage ()!!! All i have is the sendMessage (View 
 view)..

 Here is a link to the tutorial : 
 http://developer.android.com/training/basics/firstapp/starting-activity.html

 here is a 
 screenshothttps://lh4.googleusercontent.com/-FFzKe7_JG8I/UXsf4uzKGII/AcA/ZzjLVuazRno/s1600/forum+help.png
 link if the screenshot didn't show up: 
 http://s13.postimg.org/mtks800kn/forum_help.png


 Sorry if this is a noob question. I am new to development. 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Problems playing diferents songs with Android MediaPlayer

2013-04-30 Thread bob
 

Maybe in the *onPause* method of the SongPlay activity, you tell it to stop 
playing the song?


Thanks.



On Monday, April 29, 2013 4:44:53 PM UTC-5, Luis Torres Coronel wrote:

 Hi guys, a question, 
 I have three songs in a list (listview), selected one of these will launch 
 a new activity and plays the song. Return to the previous activity, select 
 a new song and this also is playing together with the above at once, how 
 could avoid 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Running a song after every one hour..

2013-04-30 Thread bob
Maybe this will help? 

*// Get a reference to the Alarm Manager *
*AlarmManager alarmManager = (AlarmManager) getSystemService( 
Context.ALARM_SERVICE); *
*// Set the alarm to wake the device if sleeping. *
*int alarmType = AlarmManager.ELAPSED_REALTIME_WAKEUP; *
*
*
*// Schedule the alarm to repeat every half hour. *
*
*
*long timeOrLengthofWait = AlarmManager.INTERVAL_HALF_HOUR; *
*
*
*// Create a Pending Intent that will broadcast and action *
*String ALARM_ACTION = ALARM_ACTION; *
*Intent intentToFire = new Intent( ALARM_ACTION); *
*PendingIntent alarmIntent = PendingIntent.getBroadcast( this, 0, 
intentToFire, 0); *
*
*
*// Wake up the device to fire an alarm in half an hour, and every *
*// half-hour after that. *
*
*
*alarmManager.setInexactRepeating( alarmType, timeOrLengthofWait, 
timeOrLengthofWait, alarmIntent);*

*Meier, Reto (2012-04-05). Professional Android 4 Application Development 
(Wrox Professional Guides) (Kindle Locations 9250-9257). John Wiley and 
Sons. Kindle Edition. *




On Tuesday, April 30, 2013 9:58:19 AM UTC-5, Ravi Tewari wrote:

 Thanks Piren.. Will look at it... But I was looking if someone already has 
 done similar


 On Tue, Apr 30, 2013 at 8:23 PM, Piren gpi...@gmail.com javascript:wrote:

 http://developer.android.com/guide/topics/media/mediaplayer.html

 http://developer.android.com/reference/android/content/Intent.html#ACTION_BOOT_COMPLETED
 http://developer.android.com/reference/android/app/AlarmManager.html

 Figure it out :)


 On Tuesday, April 30, 2013 5:40:59 PM UTC+3, Ravi Tewari wrote:

  
 I need to create an app that will play a song after every one hour. The 
 app will be running all the times but in background. As soon as it is 9 
 o'clock, it will play a song. Once song is over, app should go idle. Again 
 as soon as it is 10 o'clock, it will again play that song. So on for 
 365*24*7... Even after boot up the device, the app should get started 
 automatically.
  
 So is this possible, if yes, can you help/guide me in this?
 Appreciate your response !
  
 Peaceful time ahead...
  
  

  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to android-developers+unsubscr...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] 4.2.2 won't show when creating a new project in eclipse

2013-04-30 Thread Daniel Chacon
Im sure its set, but did you make sure USB debugging is enabled on the
phone? its under developer options( this is for the connecting to pc issue
you listed)


On Sun, Apr 28, 2013 at 3:16 PM, Kris Adams shinigami.k...@gmail.comwrote:

 I just updated so I can develop for 4.2.2 but when I create a new project,
 only 4.2 shows up as an option (and below) not 4.2.2

 Also when I try to plug my phone into my PC to test an app, nothing
 happens, it doesn't show up on my phone. I did develop one for 4.2 and my
 phone is 4.2.2 would that matter when testing?

 Cheers

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] android.database.sqlite.SQLiteException

2013-04-30 Thread Daniel Chacon
Not sure about SQLite, but order is a reserved word for SQL, maybe that
is the issue
maybe try orders instead.


On Tue, Apr 16, 2013 at 10:17 PM, shoaib khan skksho...@gmail.com wrote:

 I am creating a table named order in the database order.db.
 I am getting error during the execution of the function call
 database.execSQL(DATABASE_CREATE).

 Error is as follows:

 04-17 02:06:35.014: E/AndroidRuntime(4612):
 android.database.sqlite.SQLiteException: near order: syntax error (code
 1): , while compiling: create table order ( _id integer primary key
 autoincrement, orderName text not null, orderCommission text not null,
 orderDate text not null, orderSlot text not null, orderGain text not null,
 orderNO text not null, orderValue text not null);


 package com.shoaib.lotteryerp.helper;

 import android.content.Context;
 import android.database.sqlite.SQLiteDatabase;
 import android.database.sqlite.SQLiteOpenHelper;
 import android.util.Log;

 public class MySQLiteHelperOrder extends SQLiteOpenHelper {

 public static final String TABLE_ORDER = Order;
 public static final String COLUMN_ID = _id;
 public static final String COLUMN_NAME = orderName;
 public static final String COLUMN_DATE=orderDate;
 public static final String COLUMN_ORDERNO=orderNO;
 public static final String COLUMN_SLOT=orderSlot;

 public static final String COLUMN_ORDERVALUE=orderValue;
 public static final String COLUMN_COMMISSION=orderCommission;
 public static final String COLUMN_GAIN=orderGain;
 private static final String DATABASE_NAME = order.db;
 private static final int DATABASE_VERSION = 2;

 // Database creation sql statement
 private static final String DATABASE_CREATE = create table 
 + TABLE_ORDER + ( + COLUMN_ID
 +  integer primary key autoincrement,  + COLUMN_NAME
 +  text not null,  + COLUMN_COMMISSION +  text not
 null, 
 + COLUMN_DATE +  text not null, 
 + COLUMN_SLOT +  text not null, 
 + COLUMN_GAIN +  text not null, 
 + COLUMN_ORDERNO +  text not null,  + COLUMN_ORDERVALUE
 +  text not null);;

 MySQLiteHelperOrder(Context context) {
 super(context, DATABASE_NAME, null, DATABASE_VERSION);
 }

 public void onCreate(SQLiteDatabase database) {
 database.execSQL(DATABASE_CREATE);
 }

 public void onUpgrade(SQLiteDatabase db, int oldVersion, int
 newVersion) {
 Log.w(MySQLiteHelperOrder.class.getName(),
 Upgrading database from version  + oldVersion +  to
 
 + newVersion + , which will destroy all old
 data);
 db.execSQL(DROP TABLE IF EXISTS  + TABLE_ORDER);
 onCreate(db);
 }
 }


  --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: HLS audio and getDuration / seekTo strangeness

2013-04-30 Thread Ian Ni-Lewis
This is a known issue that will be fixed in a future version of Android. 
Calling prepare() unfortunately has no effect.
Ian

On Saturday, April 27, 2013 12:45:33 PM UTC-7, Larry Meadors wrote:

 I'm trying to play an hls audio stream, and start playback at a specific 
 point in the stream. It's an audio book, and in trying to resume where it 
 was stopped the last time the app was used.

 I've got the time saved and I can see in the debugger that I'm restoring 
 it before starting playback, but every time, it's starting at the beginning 
 of the file.

 After debugging more, I noticed that the duration when I call seekTo is 
 always zero.

 After starting playback, the duration is accurate. 

 If I call start, then call pause, then insert a delay and check the 
 duration, it eventually doors return the correct value. 

 The unfortunate side effect is that it pays the beginning of the stream 
 for a second or so, and then finally goes to the correct playback position.

 Any suggestions?

 Larry


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: HLS audio and getDuration / seekTo strangeness

2013-04-30 Thread Larry Meadors
Thanks Ian - any known workaround?

Larry

On Tue, Apr 30, 2013 at 10:28 AM, Ian Ni-Lewis ile...@google.com wrote:
 This is a known issue that will be fixed in a future version of Android.
 Calling prepare() unfortunately has no effect.
 Ian


 On Saturday, April 27, 2013 12:45:33 PM UTC-7, Larry Meadors wrote:

 I'm trying to play an hls audio stream, and start playback at a specific
 point in the stream. It's an audio book, and in trying to resume where it
 was stopped the last time the app was used.

 I've got the time saved and I can see in the debugger that I'm restoring
 it before starting playback, but every time, it's starting at the beginning
 of the file.

 After debugging more, I noticed that the duration when I call seekTo is
 always zero.

 After starting playback, the duration is accurate.

 If I call start, then call pause, then insert a delay and check the
 duration, it eventually doors return the correct value.

 The unfortunate side effect is that it pays the beginning of the stream
 for a second or so, and then finally goes to the correct playback position.

 Any suggestions?

 Larry

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: HLS audio and getDuration / seekTo strangeness

2013-04-30 Thread Ian Ni-Lewis
Only the one you've already found: wait for a couple seconds until the
stream duration becomes non-zero.
Ian


On Tue, Apr 30, 2013 at 9:32 AM, Larry Meadors larry.mead...@gmail.comwrote:

 Thanks Ian - any known workaround?

 Larry

 On Tue, Apr 30, 2013 at 10:28 AM, Ian Ni-Lewis ile...@google.com wrote:
  This is a known issue that will be fixed in a future version of Android.
  Calling prepare() unfortunately has no effect.
  Ian
 
 
  On Saturday, April 27, 2013 12:45:33 PM UTC-7, Larry Meadors wrote:
 
  I'm trying to play an hls audio stream, and start playback at a specific
  point in the stream. It's an audio book, and in trying to resume where
 it
  was stopped the last time the app was used.
 
  I've got the time saved and I can see in the debugger that I'm restoring
  it before starting playback, but every time, it's starting at the
 beginning
  of the file.
 
  After debugging more, I noticed that the duration when I call seekTo is
  always zero.
 
  After starting playback, the duration is accurate.
 
  If I call start, then call pause, then insert a delay and check the
  duration, it eventually doors return the correct value.
 
  The unfortunate side effect is that it pays the beginning of the stream
  for a second or so, and then finally goes to the correct playback
 position.
 
  Any suggestions?
 
  Larry




-- 
Ian Ni-Lewis
Staff Developer Programs Engineer
Android Developer Relations

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] How does Hierarchy Viewer tool measure Draw time?

2013-04-30 Thread Romain Guy
Measurement happens on the device and it measures how much time it takes to
execute the draw() method of a View.


On Sun, Apr 28, 2013 at 5:56 PM, Artem Danilov tema.dani...@gmail.comwrote:

 I need to understand whether absolute time makes sense or it is fair only
 for relative comparison with other views on a screen. Some 
 experimentshttp://stackoverflow.com/questions/6513716/wrong-draw-time-in-the-hierarchy-viewer
  say
 that it is not straightforward.

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Romain Guy
Android framework engineer
romain...@android.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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] android.database.sqlite.SQLiteException

2013-04-30 Thread lbendlin
if you have to use it, encapsulate it with square brackets. 

Create table [order] ...

On Tuesday, April 30, 2013 12:06:39 PM UTC-4, Dan Cha wrote:

 Not sure about SQLite, but order is a reserved word for SQL, maybe that 
 is the issue
 maybe try orders instead.


 On Tue, Apr 16, 2013 at 10:17 PM, shoaib khan skks...@gmail.comjavascript:
  wrote:

 I am creating a table named order in the database order.db.
 I am getting error during the execution of the function call 
 database.execSQL(DATABASE_CREATE).

 Error is as follows:

 04-17 02:06:35.014: E/AndroidRuntime(4612): 
 android.database.sqlite.SQLiteException: near order: syntax error (code 
 1): , while compiling: create table order ( _id integer primary key 
 autoincrement, orderName text not null, orderCommission text not null, 
 orderDate text not null, orderSlot text not null, orderGain text not null, 
 orderNO text not null, orderValue text not null);


 package com.shoaib.lotteryerp.helper;

 import android.content.Context;
 import android.database.sqlite.SQLiteDatabase;
 import android.database.sqlite.SQLiteOpenHelper;
 import android.util.Log;

 public class MySQLiteHelperOrder extends SQLiteOpenHelper {
 
 public static final String TABLE_ORDER = Order;
 public static final String COLUMN_ID = _id;
 public static final String COLUMN_NAME = orderName;
 public static final String COLUMN_DATE=orderDate;
 public static final String COLUMN_ORDERNO=orderNO;
 public static final String COLUMN_SLOT=orderSlot;
 
 public static final String COLUMN_ORDERVALUE=orderValue;
 public static final String COLUMN_COMMISSION=orderCommission;
 public static final String COLUMN_GAIN=orderGain;
 private static final String DATABASE_NAME = order.db;
 private static final int DATABASE_VERSION = 2;
 
 // Database creation sql statement
 private static final String DATABASE_CREATE = create table 
 + TABLE_ORDER + ( + COLUMN_ID
 +  integer primary key autoincrement,  + COLUMN_NAME
 +  text not null,  + COLUMN_COMMISSION +  text not 
 null, 
 + COLUMN_DATE +  text not null, 
 + COLUMN_SLOT +  text not null, 
 + COLUMN_GAIN +  text not null, 
 + COLUMN_ORDERNO +  text not null,  + COLUMN_ORDERVALUE
 +  text not null);;
 
 MySQLiteHelperOrder(Context context) {
 super(context, DATABASE_NAME, null, DATABASE_VERSION);
 }
 
 public void onCreate(SQLiteDatabase database) {
 database.execSQL(DATABASE_CREATE);
 }
 
 public void onUpgrade(SQLiteDatabase db, int oldVersion, int 
 newVersion) {
 Log.w(MySQLiteHelperOrder.class.getName(),
 Upgrading database from version  + oldVersion +  
 to 
 + newVersion + , which will destroy all old 
 data);
 db.execSQL(DROP TABLE IF EXISTS  + TABLE_ORDER);
 onCreate(db);
 }
 }


  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google Groups 
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to android-developers+unsubscr...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Any good guide lines for using TAG when using Log. statements

2013-04-30 Thread Subodh Nijsure
I am wondering if there any good practices that people have come up
when it comes to defining TAG prefix for large android applications.
So one can easily filter your application logs.

Currently all my code uses:

final String TAG = MyClassName.class.getSimpleName();

We have just recently moved to adding our company prefix to the TAG so
we can only see log messages to our own application.

i.e.

final String TAG = GlobalConst.companyName + MyClassName.class.getSimpleName();

Are there any other techniques people have used to define TAG for log.X()?

-Subodh

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] open street maps with native android apps

2013-04-30 Thread Gink Labrev
How to use open street maps with native android apps ?
There are a lot of applications in this link, but any information about
used components.

http://wiki.openstreetmap.org/wiki/Android

Regards,
  Gink

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Application forced Close

2013-04-30 Thread TreKing
On Tue, Apr 30, 2013 at 9:14 AM, bob b...@coolfone.comze.com wrote:

 The problem is that you are not calling super.onCreate.  Make this the
 first line of your onCreate method:

 *super.onCreate(savedInstanceState);*

 Thanks.


No, no, no. It's clearly a NullPointerException on line 42 of
MainActivity.java trying to access the variable poodle. *DUH.*

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

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] open street maps with native android apps

2013-04-30 Thread Jacky Alciné
What are you trying to do? You want Google Maps to use its map information?

Jacky Alciné
home.jalcine.me - blog.jalcine.me - linkedin.jalcine.me


On Tue, Apr 30, 2013 at 2:28 PM, Gink Labrev gink.lab...@gmail.com wrote:

 How to use open street maps with native android apps ?
 There are a lot of applications in this link, but any information about
 used components.

 http://wiki.openstreetmap.org/wiki/Android

 Regards,
   Gink

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Check a particular point lies on a route of Google Map

2013-04-30 Thread TreKing
On Wed, Apr 24, 2013 at 9:46 AM, Ayan Ghosh ayan.supert...@gmail.comwrote:

 Can anyone help  me out on this??


Probably not as this is not specific to Android development. Check a group
or forum dedicated to the Maps or Directions APIs.

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

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] new in development plz help

2013-04-30 Thread TreKing
On Tue, Apr 16, 2013 at 5:03 PM, yaqub seyidov seyidov.ya...@gmail.comwrote:

 i have no java knowledge


Before you do anything else, get some Java knowledge, outside of Android.

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

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Check a particular point lies on a route of Google Map

2013-04-30 Thread lbendlin
You would need to use the directions API to calculate the route and then 
compare your point E to each of the route segments. You will also need to 
define what lies on the route means in terms of precision.

On Wednesday, April 24, 2013 10:46:25 AM UTC-4, Ayan Ghosh wrote:

 Hello,

  We are searching for a solution to check whether a point is lying on a 
 route of goole map. We can get the start and end location 's latitude and 
 longitude. For example Mr X is starting from point A and will reach point B 
 via point C and D. Now Mr Y will start from point E and we want to check 
 whether this point E lies on the route of Mr A or not. 

  We have search Google map api but not able to finf any solution.

  Can anyone help  me out on this??

  Waiting for your reply.

 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Any good guide lines for using TAG when using Log. statements

2013-04-30 Thread lbendlin
Adding the company name is not necessary as the Eclipse debug widget 
already gives you the option to filter by your app.

On Tuesday, April 30, 2013 2:02:41 PM UTC-4, Subodh Nijsure wrote:

 I am wondering if there any good practices that people have come up 
 when it comes to defining TAG prefix for large android applications. 
 So one can easily filter your application logs. 

 Currently all my code uses: 

 final String TAG = MyClassName.class.getSimpleName(); 

 We have just recently moved to adding our company prefix to the TAG so 
 we can only see log messages to our own application. 

 i.e. 

 final String TAG = GlobalConst.companyName + 
 MyClassName.class.getSimpleName(); 

 Are there any other techniques people have used to define TAG for log.X()? 

 -Subodh 


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Cant reply to user reviews.!

2013-04-30 Thread TreKing
On Tue, Apr 16, 2013 at 9:40 AM, Suvinay Pawa suvinay...@gmail.com wrote:

 I heard we can reply to user reviews


Said who? Some of us have had the feature enabled, but that does not
guarantee it has been rolled out to everyone.


 but i cant.


Define can't.


 Please help.


What do you want anyone here to do for you? Particularly when you provide
almost no information?

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

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: How to get scrolling to just scroll endlessly when you swipe the screen up or down?

2013-04-30 Thread bob
I've tested this layout:

*ScrollView xmlns:android=http://schemas.android.com/apk/res/android*
*android:layout_width=fill_parent*
*android:layout_height=fill_parent *
*
*
*TextView*
*android:id=@+id/tv*
*android:layout_width=wrap_content*
*android:layout_height=wrap_content*
*android:text=@string/hello_world /*
*
*
*/ScrollView*

with this code:

* @Override*
* protected void onCreate(Bundle savedInstanceState) {*
* super.onCreate(savedInstanceState);*
* setContentView(R.layout.activity_main);*
*
*
* TextView tv = (TextView) findViewById(R.id.tv);*
* for (int ctr = 0; ctr  100; ctr++)*
* tv.append(ctr + . text\n);*
* }*


It scrolls correctly.  In other words, flinging works.

Thanks.



On Monday, April 29, 2013 9:35:25 AM UTC-5, Dan Cha wrote:

 I have an app i have a textview control on and lists out my data, when i 
 swipe the screen up or down, it only moves while i have my finger on the 
 screen.
 I would like to be able to swipe like other apps that it just scrolls 
 until it slows down.
  
 What controls should i be using to accomplish this task?
  
  


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe 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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Console stopped giving output.

2013-04-30 Thread Tobiah

That's about it.  I went as far as to reboot my system,
but when I run or debug Android apps, I get nothing anymore
out of the Console.  I'm pretty new to Eclipse so thanks
for any help.

Tobiah

--
--
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
--- 
You received this message because you are subscribed to the Google Groups Android Developers group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: validating indian currency in java using regular expressions

2013-04-30 Thread bob
I would say the pattern would probably be this:

\d*\.\d\d

Of course, all \ will become \\.

So…

*boolean is_valid_currency(String yourString)*
*{*
*
*
*   String regEx = \\d*\\.\\d\\d;*
*
*
*   boolean matches = yourString.matches(regEx);*
*
*
*   return matches;*
*}*


Thanks.



On Monday, April 29, 2013 6:27:23 AM UTC-5, SIVAKUMAR.J wrote:

 Dear All,

   I want to get input from user and valid it is a india currency. for 
 example the correct ones is 12.34,1010.23,etc
   the wrong ones is 12.999,12.99.99,etc.
   After decimal if it is more than 3 digits means it is wrong.
   Please provide the ideas to valid the above things in java.

 -- 
 *Thanks  Regards,
 SIVAKUMAR.J http://stackoverflow.com/users/385138/sivakumar-j
 * 


-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Any good guide lines for using TAG when using Log. statements

2013-04-30 Thread Subodh Nijsure
But I wanted to run something outside the eclipse.

Something like adb logcat | grep -i 'packagename' or adb logcat | grep
-i companyname from command line.


-Subodh

On Tue, Apr 30, 2013 at 2:04 PM, lbendlin l...@bendlin.us wrote:
 Adding the company name is not necessary as the Eclipse debug widget already
 gives you the option to filter by your app.


 On Tuesday, April 30, 2013 2:02:41 PM UTC-4, Subodh Nijsure wrote:

 I am wondering if there any good practices that people have come up
 when it comes to defining TAG prefix for large android applications.
 So one can easily filter your application logs.

 Currently all my code uses:

 final String TAG = MyClassName.class.getSimpleName();

 We have just recently moved to adding our company prefix to the TAG so
 we can only see log messages to our own application.

 i.e.

 final String TAG = GlobalConst.companyName +
 MyClassName.class.getSimpleName();

 Are there any other techniques people have used to define TAG for log.X()?

 -Subodh

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] open street maps with native android apps

2013-04-30 Thread Gink Labrev
I intend to use open street maps instead of google maps


2013/4/30 Jacky Alciné jackyalc...@gmail.com

 What are you trying to do? You want Google Maps to use its map information?

 Jacky Alciné
 home.jalcine.me - blog.jalcine.me - linkedin.jalcine.me


 On Tue, Apr 30, 2013 at 2:28 PM, Gink Labrev gink.lab...@gmail.comwrote:

 How to use open street maps with native android apps ?
 There are a lot of applications in this link, but any information about
 used components.

 http://wiki.openstreetmap.org/wiki/Android

 Regards,
   Gink

 --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 --
 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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] My published app does not appear in Google Play

2013-04-30 Thread scrayne
It appears on the website, but not in Google Play on my phone, even using 
the direct url.  I have attached the manifest, and I don't think there are 
any filtering problems.  The phone is a Droid Razr M running Android 
version 4.1.2.  I have successfully run this app on the phone during 
development.  Any help would be much appreciated.

Susan

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




AndroidManifest.xml
Description: XML document