Posted on Leave a comment

Not everyone will fit in !

The most common misconception that most corporate have is the idea that everyone can be replaced in a day ! I believe, from the country that I reside in, that employees tend to be exploited with this idea. In India, we had a huge exponential rise in the people who wanted to do engineering in the past few years.

Since the number of job seekers are significantly higher than the job opportunities, most people are ready to work even for a very low wage to earn experience or thinking that earning a bit is even better than earning nothing at all. This had resulted in undervalued work.

The corporate world always wants to get the maximum value of money that they pay for a person. They, in fact, do not bother about the person as a whole. The money and organisation is placed well above the humanitarian consideration. Corporate world often (mostly the people I have met) thinks that, replacing an employee is quite easy and does not impact the work, as the new person also has the same skill-set as the one being replaced.

When viewed from the other perspective, not all information and knowledge will be shared to the organisation by the individual. He might have missed things, or may be thought the information was not useful. The employee who had experience in the project, would be thereby, knowing a lot more, maybe even more specific information regarding the project than the senior or the manager as the work done is more at the lower ends of the organisation, when it comes to technical sections. Since the new comer would have no idea regarding this, he would either miss information or even if he does catch up, will spend a few days or months catching up depending on the depth of the project. Well, time is money.

Most people think that, hiring a new employee with lower salary and then completing the project was an achievement. It might be so, or maybe it seemed so. Maybe the old employee, who had to be paid more, would have helped you complete the work much earlier, with an improved set of features. No one can be sure, but then not everyone fits in !

Posted on Leave a comment

Android ImageView not displaying image in few phones only

Issue:

Android ImageView was not displaying image on Redmi Note Prime, when tested. But the same code when used in Redmi 4A shows image. 

Image which was being used

Solutions tried:

  1. Setting Image using XML
    Used: 
    android:src
  2. Setting image using Java code
    Used: 
    ImageView img;
    img = (ImageView) findViewById(R.id.startscreen);
    img.setImageResource(R.drawable.startimage);
  3. Setting background to different colour
    Used:
    android:background
  4. Changing the background colour of image
  5. Using AppCompat
    Used: 
    app:srcCompat

Solution that worked:

After googling all possible methods, we came across a comment where ‘Resizing the image’ was an option.

Initially, our image had a resolution of 1587 x 2245. We reduced the pixels by half (50%). And then tried without changing the code. Changing the image resolution did the trick for us !

In case you are stuck with image being displayed on a device and not on another, either use multi-resolution content, or use content that fits into all.

Posted on Leave a comment

Android Code : Ping a domain/IP & Latency Calculation

The following code may be used to ping the IP / Domain addresses and to obtain latency

Tested in Android 4.4.2, 6.0
Mobile handsets: Lenovo A6000, Redmi Note 4A
Working application: PUBG Network Quality Check
Minimum API Tested: 19

public long pingg (String domain){
        Runtime runtime = Runtime.getRuntime();
        try {
            long a = (System.currentTimeMillis() % 100000);
            Process ipProcess = runtime.exec("/system/bin/ping -c 1 "+domain);
            ipProcess.waitFor();
            long b = (System.currentTimeMillis() % 100000);
            if (b <= a) {
                timeofping = ((100000 - a) + b);
            } else {
                timeofping = (b - a);
            }
        }catch (Exception e){

        }
        return timeofping;
    }

Explanation:
The code fetches the current time in milliseconds to a variable.
The ping function is then called, with the domain as the parameter.
The code waits till the pinging is over.
The current time in milliseconds is fetched again.
The time interval between this is calculated as latency.

Special Thanks to StackOverflow for the idea and code concept !

Posted on Leave a comment

Announcing Introduction of Knowledge Centers

Dear well-wishers and followers,

We are glad to announce the introduction of ‘Knowledge centers’. When we were working on our android project, we came across a few obstacles in coding. Apart from the normal coding practices and logic, we came across a few libraries and repositories which could be of help.

Knowledge center was selected on the basis of polls in our Facebook Group –https://www.facebook.com/groups/regaldreamtech/ where most people chose that the knowledge and lessons learnt are to be made available for the people who follow us.

We will soon be introducing the Knowledge Center on our home page. This will be in the blog, but categorized separately, with home page featuring the link to the knowledge center.

Knowledge center may be found at https://www.regaldreamtech.com/knowledge-center/

Stay tuned for the updates !

Regards,
The Team,
RegalDream Technologies

Posted on Leave a comment

Happy New Year 2019 !

Dear Well-wishers,

Thank you for following us closely and wishing us success, though we were just starting up in the year 2018. The year has been not so eventful when it comes to the company and its product launches. We managed to register our company in India, in November 2018. And since then, we have been striving hard to bring in products for the people.

We thank you for following and encouraging us throughout the year, since our registration and beginning thereby. We hope that we would deliver products, in 2019, and we guarantee this as well. Your presence has kept our hopes alive, and we make a new years wish to grow up to the expectations.

We, the team, wish you all a Happy New Year 2019 ! May this year bring us all, the fortunes and luck that we wish for !

The Team,
RegalDream Technologies

Posted on Leave a comment

Updated timeline RDOne

Project RDOne, our electronics based initial project, had an expected launch date of Dec 24, when seen from October. Though initially, the project had met its milestones on time, due to the unexpected delays from the assembly house, we were unable to release it on time.

The current status of the project is that we are expecting the prototype to be working by Jan end. The PCBs are already available to be assembled, and we are just waiting for the boards to be assembled.

Stay tuned for the updates ! Thank you for the support extended 🙂

Posted on Leave a comment

The accidental step into the “Big Data”

When we tried to build our android app “GeoSpeed”, we stumbled upon a lot of issues. The most prominent, and unexpected being the amount of data. Well, to be exact, the data was too huge to handle.

When we go unplanned, and then find something great, things go way out of hand. We found an untamed dragon – “The Big Data”. Then the question of handling and interpreting it came into our minds. How do we tame the dragon ?

There are people who have tamed them well, and then we went on to see the masters. We started with the simpler spell to cast – “Python”. Well, most masters believe this spell to be slower. And in fact, it seems to be true as well. Spell is pretty easy to learn and cast though. We did try to tame the dragon with the spell and it kind of worked when the dragon was smaller, and if it was not about to eat us the next moment. When the data is relatively small, and quick processing might not matter, python may be used.


Most wizards, suggested better spells, which could be faster; the spells for dragons – “Scala” & “Spark”. These spells are for the bigger dragons, and mostly helps when you are about to get eaten or fried. Mastering the spell though, is not easy as it was with “Python”. These languages are equipped to run on parallel systems or clusters, and thus is expected to be much faster compared to python.

I believe, we would share our spell reviews after we have tried to tame the quick spells. Stay tuned for our updates on Big Data !

Posted on Leave a comment

RDTwo: Our Experiments with Android

The emerging platform of Smartphones, and android operating system was one of the most important factors in the start up boom and culture here in India. Since the investment required was considerably less compared to hardware platforms, and as the SDK by Google was quite helpful with StackOverflow being able to solve most problems, android application grew, and with it, the startups.

Most unicorn start ups, has android application presence. We too had earlier experiences with Android Application development, and Windows Phone Application development as well.

Both SDK was pretty good to start with. Stack overflow being the encyclopedia for us.

Our Project RDTwo, is just a big analytical project. We collect data and just display the data. While working on Project RDOne, which is hardware related, we stumbled upon a few issues, and though, we should do that as well. We already had plans of expanding to Android Application Development, but didn’t even had idea that RDOne schedule would fall not behind RDTwo.

RDTwo – will be probably released as ‘GeoSpeed’. Stay tuned for more updates.

Expected release: December 1st week
Current Status: In Development

Posted on Leave a comment

Start Up Tips: The Money Game

When it comes to money, most start ups are brave enough to secure funding from the stage when they are struck with the idea of creating a startup.

Where does money come from ?

The money mostly comes from the founders, if they have initially. And then later on, the start ups if they are good enough to pitch well and convince others that they can make money, would be pumped in with money, and in some cases, a lot !

Why do they get money / investment ?

There are big companies/individuals who have cash surplus, or are looking into venturing into a new field. Some think of investing money in start ups, which in future, can be of huge value.

How to use money ?

In business terms, if you don’t have cash in hand, the game is over. This means, you should always have a minimum cash in hand left so as to sustain your operations.

Start ups will have to rent space. Most start ups look into higher rent bigger areas at the heart of city so as to project a descent image. Well, this seems OK to do so. But from a financial point of view, start ups usually have to minimize their recurring expenses. The space rent, would be higher in cities. This expense is to be borne by the company every month, which increases the expenses. This would mean that the company has to have a higher sales, to become profitable.  A cheaper, but well placed offices in semi-urban or well connected villages, are good to start with, or even for later as well. This would lower down the expenses as well as give you nearly same facilities as the ones at the heart of the city.

Hiring talent is costly. I have seen people who are willing to hire highly skilled people at any cost. For start ups with less cash in hand, this would be highly risky. Every hiring decision has to come from ‘necessity’. In smaller companies, one person tend to fill a lot of positions. For instance, an engineer can also work for procurement when the company is small. These multi talents will save you a lot of money. Also, hire people with passion, just because, they tend to pump in a lot of suggestions and ideas, which would come handy, unlike people who are much confined to a post. Freelancing of work is also suggested so as to reduce the recurring costs.

“Reducing Expenses Is A Key To Early Profits”

How did RegalDream take these into account ?

RegalDream Technologies is a tiny start up. Though we could seek funds, we wanted to take the hard way of not securing a funding initially. We invested our hard earned money into the start up company. Isn’t that the better way to start a business ?

We took a small office room in a village, but well connected to the city. The office is just a few kilometers away from major tech park in the state. When co-working spaces in cities were priced at about 6-8K INR, the 100 sq ft office was rented at 2.5K a month. We would be expanding to a bigger office once the start up becomes fully operational.

Hiring talents is of great importance as well as of greater difficulty. We, instead of hiring talent, became a jack of all trades. We learnt to acquire the minimal talents to run a business, from creating contents to mechanical and electronic designs. We consult people when required, but mostly do on our own. We also confined our initial projects to smaller designs, to consume less resources, and would step into bigger ones, once we feel good at what we have accomplished from our smaller products.

We have kept aside the funding and major hiring part for the future 😉

Posted on Leave a comment

Project RDOne: 3D Drawing – New Version – Lessons of screw holes for 3D Print

A few days back, we had given a brief introduction on 3D printing that we had done for prototyping stage. Once the 3D Printing was done, and tested, we understood that there are a few difference between 3D Printed plastics when compared to the molded ones. For instance, we had a screwing mechanism to be used to screw in the PCB and cover to the main body. We were planning for a M2 x 6 mm screw to be used and thought of going with 1.9 mm hole so that the screw can create it’s own thread while being screwed.

Little did we know that while using 3D printing, there are chances that the material might flow in and out a bit, changing the dimensions. This means that our 1.9 mm hole in drawing will in actual model would be somewhere much less than 1.9 mm. Our 3D printing friend, Magesh, gave us a suggestion of going with +0.1 mm for the dimension of hole.

If the screw hole is more, you can always use ABS glue to reduce the size of the hole. ABS glue, as I read, is made by mixing ABS Plastic in acetone. We will try this method, and keep you updated !

Follow us and stay updated on our progress and life at RegalDream Technologies !