[android-developers] Re: Fingerprint Scanner
Hi shiva, In reality the app you mentioned isn't real finger print scanner. It's simply custom unlock screen and once you hold your finger it animates. it will count the amount of animation done and compare with the value you've given within the app. When you take away your hand from bit, it's going to} compare each and therefore the app will unlock the screen if both matches. http://stackoverflow.com/questions/18732483/custom-view-like-lock-unlock-screen-of-android http://stackoverflow.com/questions/7983143/where-can-i-find-examples-or-tutorials-about-creating-a-custom-android-lockscree http://stackoverflow.com/questions/14191929/fingerprint-scanner-using-camera On Wednesday, 2 April 2014 10:57:50 UTC+5:30, shiva pendem wrote: Hello all, i am planing to make a application with finger print as a securit to that application, but i am unable to find the correct data or reference to my plan of making the application, i have seen the application https://play.google.com/store/apps/details?id=mobi.thinkchange.fingerscannerlite in this similar way, to access my application it should ask for fingerprint scan, how can i achieve the process of scanning the finger print, all the reference links and sample codes are most welcome, Thanks, Pendem Shiva Shankar, Gtalk:pendem.shiva89, msn:shi...@live.com javascript:, www.shivaapps.in. -- 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/d/optout.
Re: [android-developers] My developer account has been canceled., Anybody knows the reason???
Hi the_edge123, I have a started learning IPhone application development., Thanks for a lot for all your responsive replies., Regards, Juliousraj. On Saturday, August 18, 2012 2:51:16 AM UTC-7, the_edge123 wrote: On 18/08/2012 07:33, julious raj wrote: Hi the_edge123, Thanks for your reply., Currently i am not getting any mails from google., some of my friends also faced this kind of issue., Now i have only two ways 1. try to register a new account If you read carefully the message sent by google, you would not try that. -- 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
Re: [android-developers] My developer account has been canceled., Anybody knows the reason???
Hi the_edge123, Thanks for your reply., Currently i am not getting any mails from google., some of my friends also faced this kind of issue., Now i have only two ways 1. try to register a new account 2. Move to some other development (IPhone, Web) Once again thanks for your responsive reply. Regards, Julious raj. On Tuesday, August 14, 2012 12:29:45 AM UTC-7, the_edge123 wrote: On 10/08/2012 11:58, julious raj wrote: Your Google Play Publisher account has been suspended due to prior violations of our terms of service by an associated account. It seems that your account is linked to another account that was suspended. - Fabien -- 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
Re: [android-developers] My developer account has been canceled., Anybody knows the reason???
Hi the_edge123, I have not published even a single app., My application is under development only., Regards, Julious raj. On Friday, August 10, 2012 5:05:40 AM UTC-7, the_edge123 wrote: On 10/08/2012 11:58, julious raj wrote: Hi Developers, I am an Android application developer and i have created a developer account before several months., i have planned and developed an application to publish in my account., But Google team blocked my account before a week., and I have asked the reason., Which app did you publish ? -- 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
[android-developers] My developer account has been canceled., Anybody knows the reason???
Hi Developers, I am an Android application developer and i have created a developer account before several months., i have planned and developed an application to publish in my account., But Google team blocked my account before a week., and I have asked the reason., But i am not getting a exact reason from them., I've not violated any of the terms i think., and also i am always getting a same response from them., I think it is a system generated message., If anybody knows please reply me why this happens., I got the message as below., Thank you for your note. Your Google Play Publisher account has been suspended due to prior violations of our terms of service by an associated account. You may view these terms here: http://www.android.com/us/developer-distribution-agreement.html#agreement http://www.android.com/market/terms/developer-content-policy.html Please note that Google Play Publisher suspensions are associated with developers, and may span multiple account registrations and related Google services. Please do not attempt to register a new developer account. Any subsequent registrations without an explicit reinstatement will be closed and your developer account fee not refunded. We will not be reinstating your account and we are unable to provide further details regarding this issue. We recommend your utilizing an alternative application distribution system and payment method for future orders. Regards, The Google Play Team -- 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
[android-developers] Re: Merge two bitmaps
You can create a framelayout as parent and add two imageviews as it's child. then add the images in imageviews and do the following View v = (FrameLayout)findViewById(R.id.parent) v.setDrawingCacheEnabled(true); Bitmap bm = v.getDrawingCache(); The Above bitmap is a merged one. Use it for your purposes. -- 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
[android-developers] Pinch Zoom on Two Views in Single Viewgroup android
I am doing a project in which i need two imageviews in single layout with zooming options. AFAIK android allows one view to make zoom easily. But my problem is not like that. I have two imageviews one over another. I've try to do it in Frame Layout. but the results are not so good. The images are shrink when it goes out of bounds of layout and the zooming is not so smooth. I have tried to do it with the deprecated Absolute layout.but it doesn't work. All suggestions are welcomed. My Code is here: int x = (int)event.getRawX(); int y = (int)event.getRawY(); ImageView view = (ImageView) v; switch (event.getAction() MotionEvent.ACTION_MASK) { case MotionEvent.ACTION_DOWN: savedMatrix.set(matrix); start.set(event.getX(), event.getY()); mode = DRAG; hoffset = x - v.getLeft(); voffset = y - v.getTop(); break; case MotionEvent.ACTION_POINTER_DOWN: oldDist = spacing(event); Log.d(TAG, oldDist= + oldDist); if (oldDist 10f) { savedMatrix.set(matrix); midPoint(mid, event); mode = ZOOM; Log.d(TAG, mode=ZOOM); } break; case MotionEvent.ACTION_UP: // moveView(v, x - hoffset, y - voffset); case MotionEvent.ACTION_POINTER_UP: mode = NONE; Log.d(TAG, mode=NONE); break; case MotionEvent.ACTION_MOVE: if (mode == DRAG) { moveView(v, x - hoffset, y - voffset); hrecent = x; vrecent = y; } else if (mode == ZOOM) { newDist = spacing(event); if (newDist 10f) { matrix.set(savedMatrix); float scale = newDist / oldDist; matrix.postScale(ScaleFactorForZoom, ScaleFactorForZoom, mid.x, mid.y); float delta =10.0f+ (newDist -oldDist)/oldDist; // view.setImageMatrix(matrix); float newHeight; float newWidth; newHeight=(float) ((delta)+view.getHeight()); newWidth=(float) ((delta)+view.getWidth()); oldDist = newDist; zoomView(view, newWidth, newHeight); } } break; } return true; } The MoveView Function is : public void moveView(View v, int x, int y) { ViewGroup.LayoutParams params = v.getLayoutParams(); if (params instanceof FrameLayout.LayoutParams) { FrameLayout.LayoutParams par = (FrameLayout.LayoutParams)params; View parent = (View)(v.getParent()); x = Math.min(x, parent.getWidth()); x = Math.max(x, 0); y = Math.min(y, parent.getHeight()); y = Math.max(y, 0); par.leftMargin=x; par.topMargin=y; v.setLayoutParams(par); } } The Zoom Function is here : public void zoomView(View v, float width, float height) { ViewGroup.LayoutParams params = v.getLayoutParams(); if (params instanceof FrameLayout.LayoutParams) { FrameLayout.LayoutParams par = (FrameLayout.LayoutParams)params; par.width = (int)width; par.height = (int)height; v.setLayoutParams(par); } } -- 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
[android-developers] Problem with MediaPlayer while playing sequence (or) Multiple Files
Hello developers, I am facing one big issue with my application. AFAIK the mediaplayer datasource should be Uri(or) FileDescriptor(or) Path. I have loaded my Files to assets. So i used FileDescriptor as datasource for my player. My problem is whenever i try to play any file the first file from assets played. It doesnot respond to the input i've given. I am new to Android development.I am googling it but does not find a better answer. I also faced the issue in the below link. http://code.google.com/p/android/issues/detail?id=957 Thanks in advance for Spending your valuable time. My code is Below: player = new MediaPlayer(); playnext = (Button)findViewById(R.id.button2); seekplay = (SeekBar)findViewById(R.id.seekBar1); button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { AssetFileDescriptor afd; try { if(player.isPlaying()) { player.stop(); player.release(); player = new MediaPlayer(); } afd = assetManager.openFd(edho.mp3); playFile(afd.getFileDescriptor()); } catch (IOException e) { Log.e(Play File, e.toString()); e.printStackTrace(); } } }); playnext.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { AssetFileDescriptor afd; try { if(player.isPlaying()) { player.stop(); player.release(); player = new MediaPlayer(); } afd = assetManager.openFd(jugg.mp3); playFile(afd.getFileDescriptor()); } catch (IOException e) { Log.e(Play Next File, e.toString()); e.printStackTrace(); } } }); } void playFile(FileDescriptor name) { // if(player ==null) // player = new MediaPlayer(); try { player.reset(); player.setAudioStreamType(AudioManager.STREAM_MUSIC); player.setDataSource(name); player.prepare(); player.setOnPreparedListener(new OnPreparedListener() { @Override public void onPrepared(final MediaPlayer mp) { seekplay.setMax(mp.getDuration()); new Thread(new Runnable() { @Override public void run() { while(mp.getCurrentPosition()mp.getDuration()) { seekplay.setProgress(mp.getCurrentPosition()); } } }).start(); player.start(); } }); } catch (IllegalArgumentException e) { Log.e(IllegalAArgumentException, e.toString()); } catch (IllegalStateException e) { Log.e(IllegalStateException, e.toString()); } catch (IOException e) { Log.e(IOException, e.toString()); } } -- 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
[android-developers] Re: Problem with MediaPlayer while playing sequence (or) Multiple Files
Hello Jeremy, Thanks for the Immediate Reply. I've used that solution.The File is playing well. My problem is whatever button i've clicked the song plays from the alphabetical order from assets. I can not call a specific file at runtime that's why i'm struggling. On Sep 27, 1:38 am, Jeremy Dagorn jeremy.dag...@gmail.com wrote: Hi, So with the link describing someone with the same issue, there is a kind of solution by calling different methods in the catch for the IllegalStateException. Did you try it? On Sep 26, 3:58 am, julious raj julious...@gmail.com wrote: Hello developers, I am facing one big issue with my application. AFAIK the mediaplayer datasource should be Uri(or) FileDescriptor(or) Path. I have loaded my Files to assets. So i used FileDescriptor as datasource for my player. My problem is whenever i try to play any file the first file from assets played. It doesnot respond to the input i've given. I am new to Android development.I am googling it but does not find a better answer. I also faced the issue in the below link.http://code.google.com/p/android/issues/detail?id=957 Thanks in advance for Spending your valuable time. My code is Below: player = new MediaPlayer(); playnext = (Button)findViewById(R.id.button2); seekplay = (SeekBar)findViewById(R.id.seekBar1); button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { AssetFileDescriptor afd; try { if(player.isPlaying()) { player.stop(); player.release(); player = new MediaPlayer(); } afd = assetManager.openFd(edho.mp3); playFile(afd.getFileDescriptor()); } catch (IOException e) { Log.e(Play File, e.toString()); e.printStackTrace(); } } }); playnext.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { AssetFileDescriptor afd; try { if(player.isPlaying()) { player.stop(); player.release(); player = new MediaPlayer(); } afd = assetManager.openFd(jugg.mp3); playFile(afd.getFileDescriptor()); } catch (IOException e) { Log.e(Play Next File, e.toString()); e.printStackTrace(); } } }); } void playFile(FileDescriptor name) { // if(player ==null) // player = new MediaPlayer(); try { player.reset(); player.setAudioStreamType(AudioManager.STREAM_MUSIC); player.setDataSource(name); player.prepare(); player.setOnPreparedListener(new OnPreparedListener() { @Override public void onPrepared(final MediaPlayer mp) { seekplay.setMax(mp.getDuration()); new Thread(new Runnable() { @Override public void run() { while(mp.getCurrentPosition()mp.getDuration()) { seekplay.setProgress(mp.getCurrentPosition()); } } }).start(); player.start(); } }); } catch (IllegalArgumentException e
[android-developers] Re: How to select a text line from Radio Button
http://www.androidpeople.com/android-radiobutton-example See this example On Aug 25, 12:57 pm, ashish kumar ashishkumar...@gmail.com wrote: Hi all, I want to design an app in which there are multiple radio buttons, every radio button has some text in multiple lines associated with it, when a radio button is selected i want to take one line from those multiple text lines. 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
[android-developers] Problem with dynamic table layout
Hi all, I've generated table layout dynamically.But nothing displays in the activity. My program is below. I am beginner in Android.I don't know where the problem is? Please help me. package com.maag.tableproject; import android.app.Activity; import android.os.Bundle; import android.view.ViewGroup.LayoutParams; import android.widget.TableLayout; import android.widget.TableRow; import android.widget.TextView; public class TableProjectActivity extends Activity { /** Called when the activity is first created. */ TableLayout tble; TableRow tbr; TextView tv; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); tv= new TextView(this); tv.setText(This is text View); tv.setLayoutParams(new LayoutParams(TableRow.LayoutParams.FILL_PARENT, TableRow.LayoutParams.WRAP_CONTENT)); tv.setId(10); tbr= new TableRow(this); tbr.setLayoutParams(new LayoutParams(TableLayout.LayoutParams.FILL_PARENT,TableLayout.LayoutParams.WRAP_CONTENT)); tbr.addView(tv); tble=(TableLayout)findViewById(R.id.table); tble.addView(tbr,new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.WRAP_CONTENT )); // setContentView(tble); } } ?xml version=1.0 encoding=utf-8? TableLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/table android:layout_width=wrap_content android:layout_height=wrap_content /TableLayout -- 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
[android-developers] Help me to create my application(data to be edited real time)
I want to create an application which stores the given data such as name, DOB, address, mail, and etc., into sqlite database and then goes to another activity and that activity shows the data like tableview . i've done this by listing data in listview in column. But it is not aligned well. the address field is not synchronized with name. My aim is to edit the data in real time(means when i press long in a row it must be editable ) and update the edited data to sqlite database. Any one please help me. Give me ideas how to do it? -- 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