Friday 28 December 2012

Hi Guys,

    If you want to dismiss/change view or perform any other tasks while our app enters in to the background the following link may useful to you.

http://stackoverflow.com/questions/9516472/how-to-close-a-modal-view-when-the-application-enter-in-background-on-ios


Thursday 13 December 2012

Hi Friends, Good Day
       I had implementing an Application, In This Application containing AVFoundation (Sound Files)
as used, The Audio Functionality will Work in iPad1 But The Audieo Functionality Won't Work in iPad2.  
  The Application Code Developed in Xcode 4.5 Work in 5.0,6.0 Simulators.
 i Don't Get Any Clarification Regarding to these.......
If Any one Knows Suggest me ..............

Friday 7 December 2012

USB OTG adapter

About USB OTG adapter for Android devices

Hi,

Today when i am researching for the possibility chances of a project(regarding the USB connections) I came to know one interesting thing.

Have you ever thought connecting the devices like keyboards, external USB hard drives and even gaming controllers to your Android smartphone or tablet computer?

But we can..it is possible through a USB OTG( On-The-Go) adapter.
With this adapter Android tablet will act like a mini computer to work on it.

USB On-The-Go introduces the concept that a device can perform both the master and slave roles.
The device(smartphone or a tablet) can act as either a host and a slave.

This didn't came into light due to various reasons.
However, If you are interested in knowing the interesting facts about this USB OTG adapter
take a look on this link

http://usbtips.com/usb-otg-adapter-connects-usb-accessories-to-your-android-device/

Thursday 6 December 2012

Text to Voice

Hai,

 I'm Working on Disability spelling app. In that user just enter the text , when click on voice button automatically corresponding pronounce for that is spelled.
Is there any mechanism to convert text to voice in iOS?

Monday 3 December 2012



When am running the  application i got this statement ... i.e., in randomly..
Can i run this application in continuously 5 to 7 times this statement Occured..



Named service 'com.apple.PersistentURLTranslator.Gatekeeper' not found. assetsd is down or misconfigured. Things will not work the way you expect them to.

Saturday 1 December 2012

How to post our data in to tumblr?




Tumblr is one of the social networking website..

can any one have an idea about tumblrPosting...

Tuesday 27 November 2012

Hi friends, Very Good Morning
     here is the link is very useful to i.O.S Developer, Here containing the Complete history of ios
Check is Once...........................
http://www.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2011-fall



Monday 26 November 2012

Issues faced and Resolved while doing HotSpot app.


Issues faced from HotSpot:

 Third party API integration for iOS development

if you have source code(.m files) , no need to follow below steps. You just drag source code folder into your Xcode project.

-> If you want to integrate any third party API's and when you have only .a(binary) file,
- you just need to drag the .a file in to your frameworks folder.
- Make sure that it is added to build phases
(goto Build phases and check in link Binary with libraries option, there you should see .a file).
- You have to Set two paths for that API in to your xcode project:
- one is for .h files (header search path)
- one is for .a file  (Library search path)
Here you can't see the .m files when you download these type of API's
- Following are the examples for 2 paths.
../build/include
../build/lib/arm
- If you are not able to access the .m files from that API, and not able to read any c,c++ headers from that library,
- just rename the extensions of .m files of your project to .mm file extension(.mm is for Objective-C++ source file. if you are using c++ API's, you need to change the files form .m to .mm).
Thus you can access the headers from your downloaded APIs.

How to see the logs in device?

-> If you want to see the device logs,
- connect the device
- run the app
- open the organizer in xcode
- select the devices tab
- choose device logs from your selected devices.

Even though your device is not recognized by xcode, you can see the logs from device by using organizer in your xcode.


How to see/get the data from device?
Generally whenever we want to see the data(list of files or folders) in documents folder, we have to go through the document path like  /Users/systemname/Library/Application Support/iPhone Simulator/5.0/Applications/appID/Documents/filename.

but whenever you are going to debug the app on the device (iPhone or iPod or iPad), you can see all the device's data also.
The following are the steps to see the device's data:
- Connect the device.
- open the "organizer" in your xcode.
- choose "devices" tab in organizer window.
- select the connected device.
- select the option "applications" from your device, it will list out the applications that your device  contains.
- you can choose any one of them and see the data of your app in device.
- you can download the data from your device by clicking on download button below.

comparison between two button images


How to Compare two button images ?

am doing like this but it's not executing..



if ([button1.imageView.image isEqual:@"1.png"] && [button9.imageView.image isEqual:@"1.png"])
            {
               
                nslog(@"Image mathcing");
            }
else
{
      NSLog(@"not matching..");
}

Friday 23 November 2012

How to send email and How to get the user conformation in Android

Hi,

     I am sending the email by using an intent. How can I get confirmation that the email has sent or there has been an error back into the activity it was called from??
    This is my sample code....

  send.setOnClickListener(new OnClickListener() {
                                                             //    @Override
 public void onClick(View v) {
                                                                         
 RelativeLayout lila1 = (RelativeLayout) findViewById(R.id.relativeLayout2);
 lila1.removeAllViews(); // if you want to empty it
 lila1.setVisibility(8);
                                                                                        
rl = (RelativeLayout)findViewById(R.id.Home_relativelayout);
 View v1 = rl.getRootView();
 //    setDrawingCacheEnabled(true);
 v1.setDrawingCacheEnabled(true);
  final Bitmap bm = v1.getDrawingCache();

  String path = Images.Media.insertImage(getContentResolver(), bm, "title", null);
                                                                                                  
  Uri bUri= Uri.parse(path);                            
 Intent sendIntent;
 sendIntent = new Intent(Intent.ACTION_SEND);
                                                                                          sendIntent.putExtra(android.content.Intent.EXTRA_EMAIL,"");
                                                                        sendIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Test");
                                                                                                sendIntent.putExtra(android.content.Intent.EXTRA_STREAM,bUri);
                                                                                 sendIntent.setType("image/png");
                                                                                                sendIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Hy Testing");
                                                                                startActivity(Intent.createChooser(sendIntent, "Send Mail"));
                                                                         

Toast.makeText(getApplicationContext(), "Image"+(pos+1),Toast.LENGTH_SHORT).show();
                                                                         
     }
  });
                                                             

 }

Here I need to do something on a successfully sent ........

Here using May be Start ActivityForResult ???

      Please Suggest me.....


Thursday 22 November 2012

HOW TO USE YOUR DESKTOP KEYBOARD ON ANDROID EMULATOR

Hi,

              Daily i am work with my android emulator to test my apps.But my emulator does not recognize my desktop keyboard.. Every time i need to entering the input through mouse.It makes some headache.I want to fix the issue to make my self easy.After some search i found the solution .Below i explained how  can i fixed this issue step by step..



Step 1: Open your AVD manger in eclipse.
                           
                                 go to Eclipse > Window menu > AVD Manager
                     
Step 2: Select your emulator .
                               
                                  click on your emulator in the list of emulators select edit button.

Step 3: Under heard ware ,Click new.

Step 4:Select Keyboard Support then click OK.

Step 5: Edit its value to yes..


                        This works fine for me .If you are not understand  follow my video.Happy coding. 
            

DissMissModelViewController

Hi Friends,

Here i am implementing a project on gaming, i will navigate every view by PresentModelViewController, in the seerise of 1 --> 2 --> 3 --> 4 -->5-->6.
Here i want to dissMiss from 5th ----> to 2nd View (With Out using popViewController).

Plese suggest me Anyone................

Xcode Crash

HI friends,
 Here i am developing an iOS application, When i want to edit the some setting on the button.
like as plane to attribute After i want to Convert to Plane "It Will Creash the XCode (4.5)  and ask Reopen" Why it will Occure?
   Please Explain me...................

Sunday 18 November 2012

How to make subString of a NSString bold in iOS

Hi all,

     How to make subString of a NSString bold,is it possible to change subString font?

     Example: "Hi i am working in Eminosoft"
         from above statement i want to make "Eminosoft" is bold
like   "Hi i am working in Eminosoft".

please suggest me...

-iOS Developer

Friday 16 November 2012

How to overcome the header fixing error in phoneGap with jQuerymobile?



         At the development time of   Fashion Girl Problems App using phone-Gap I faced some problem while fixing the page header in iPhone App. Here in my app pages has large list with scrolling for the designing implementation I used jQuery mobile . 

General header fixing snippet in mobile jQuery


<div data-theme="a" data-role="header” data-position="fixed” style="background-color: #FF679A"> 

data-position="fixed” –> Sometimes this property won't work properly in iPhone means header will move along with scroll, this is one error .

How to overcome??

 Instead of using data-position="fixed” property you need to add some css snippet manually like

                         .header {
                                        position : fixed;
                                        z-index  : 10;
                                         top      : 0;
                                         width    : 100%
                                      }

Header fixing using user defined css snippet . . . !

<div data-theme="a" data-role="header" class="header" style="background-color: #FF679A">

Face Detection on Camera Functionality


HI Every Bady.............
i am developing application for iPhone, i want to add the face detection (for any number of faces).

if any one knows Suggest me. 

Sql server Issue in Dedicated Server


We have licensed version of Sqlserver software in Dedicated server.In that we are maintaining Database for my application
In Database  one table has 3,33,000 records ,when we are  retrieving at first time of execution it should fetch entire records at a time(3,33,000)
But it  fetches  1,80,000 records .For next text time execution it will show 1,90,000 ,and for next time execution it increases like this happens.
finally i will get the result  after many times of execution.

For this i have done surfing on google by implementing below options.
1.By increasing command time out in Sqlserver
References:
1)http://www.hosting.com/support/sql/configure-query-timeout-period-in-sql-management-studio
2)http://stackoverflow.com/questions/1137190/changing-the-commandtimeout-in-sql-management-studio

2.By increasing command time out in functionality wise.
set command timeout="50000" in web.config file

i have used above options,but not yet resolved .

Can you please give an idea to resolve this issue.

Wednesday 7 November 2012

Error #2044: Unhandled NetStatusEvent



Recently we worked on the simple application using actionscript. While doing this application, we made one  common mistake.But this simple mistake makes real headache. We are sharing hear our mistake .

Scenario: When the application did not find any face in front of camera, it needs start playing some flv file. For this we created the flv player and added the flv file to the player. Below is the code for that.
?
nc=new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
vid = new Video(320,240);
                        
addChild(vid);
client = new Object();
ns.client = client;
client.onMetaData = nsMetaDataCallback;
vid.attachNetStream( ns );                       
//This file we are going to play in the player
ns.play( "trailer.flv" );

When we try to compile the code, we got the below error.

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound

The reason for the above problem is, file path is not proper. Check for the file name or path for the given flv file. we have given tralier.flv instead oftrailer.flv

Possible error codes are :
  • NetStream.Buffer.Empty
  • NetStream.Buffer.Full
  • NetStream.Buffer.Flush
  • NetStream.Play.Start
  • NetStream.Play.Stop
  • NetStream.Seek.InvalidTime
  • NetStream.Seek.Notify      

Error code .1120: Access of undefined property NetStatusEvent. in Action Script


Error code .1120: Access of undefined property         NetStatusEvent.

when repeating the flv file in action script.


                               
Recently we  developed a project in action script .In that project we are playing the flv file by using  NetStream object in action script. Here we face problem as mentioned above. We want to repeat the file(video) when it is reaches the end . For that we add an event to the NetStream object.

Below the snippet of code
                      
                  ns.addEventListener (NetStatusEvent.NET_STATUS, onStatus1)

                              //   "ns" means netStream object


We write the code in onStaus1() function.
                             

                               public function onStatus1(item:Object):void
                                {                             
                                       if (item.info.code == "NetStream.Unpause.Notify")
                                                {
                                                if (Math.floor(ns.bufferLength)>=Math.floor(lastPosition))
                                                                {             
                                                                                ns.seek(0);
                                                                                ns.resume();     
                                                                }
                                                }
                              }

           After compiling this code we got error like  Error code .1120: Access of undefined property NetStatusEvent. We felt everything is good but it shows error. After some search we found the solution. We need to import package as mentioned below.

Import flash.events.NetStatusEvent;
             
                  After adding this package we got out put what we expected. Happy coding.

Thursday 11 October 2012

How to find the logs on iPhone device?

Recently while developing a iPhone application basing on Augmented reality concept, we faced one problem like crashing the application on the device. We can't test this augmented reality concept on iOS simulator, we need to test it on the device only. And while testing the application , it was crashing. When an application was crashed, we generally takes the Backtrace and we will analyze the logs. If it is on iOS simulator, we can easily get the the logs and analyze. But our application is crashing on the device, we don't know how to get the logs for the crashing which was happend on the device.

    We tried in many ways, and no use. Fortunately one of our friend is also working in the same domain, so  he suggested one way of getting logs, when the application was crashed on the device. here are the steps.

  1. Connect your device(iPhone) to the System.
  2. Run your application(reproduce the crash scenario)
  3. Go to organizer tab in the XCode IDE
  4. Go to devices tab 
  5. If your device is identified by the system, it will be displayed in this tab list.
  6. Just select your device, you will get the logs.

Happy Coding,
Eminosoft